diff --git a/.gitignore b/.gitignore index c539383e..70f4b628 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ static-single .php_cs.cache .php-cs-fixer.cache coverage.xml +coverage.clover test-report.xml /prettier.config.js diff --git a/daux_libraries/katex.min.css b/daux_libraries/katex.min.css index 7b8b7331..3d27397c 100644 --- a/daux_libraries/katex.min.css +++ b/daux_libraries/katex.min.css @@ -1 +1 @@ -@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.7"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} +@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{text-rendering:auto;font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.8"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/daux_libraries/search.min.js b/daux_libraries/search.min.js index 7c60a50c..1c06c937 100644 --- a/daux_libraries/search.min.js +++ b/daux_libraries/search.min.js @@ -1,9 +1,9 @@ -(function(){"use strict";var n,l,u,t,r,o,f,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,s){var r,i,o,l={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:l[o]=t[o];if(arguments.length>2&&(l.children=arguments.length>3?n.call(arguments,2):s),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===l[o]&&(l[o]=e.defaultProps[o]);return p(e,l,r,i,null)}function p(e,t,n,s,r){var i={type:e,props:t,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(i),i}function _(e){return e.children}function k(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tn&&t.sort(f));w.__r=0}function x(e,t,n,r,i,o,l,h,a,u){var f,d,g,m,v,y,x,k=r&&r.__k||s,w=k.length;for(n.__k=[],f=0;f0?p(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(g=k[f])||g&&m.key==g.key&&m.type===g.type)k[f]=void 0;else for(d=0;d=0;t--)if((n=e.__k[t])&&(s=$(n)))return s;return null}function H(e,t,n,s,r){var i;for(i in n)"children"===i||"key"===i||i in t||T(e,i,null,n[i],s);for(i in t)r&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||T(e,i,t[i],n[i],s)}function I(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||a.test(t)?n:n+"px"}function T(e,t,n,s,r){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof s&&(e.style.cssText=s=""),s)for(t in s)n&&t in n||I(e.style,t,"");if(n)for(t in n)s&&n[t]===s[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?s||e.addEventListener(t,i?z:j,i):e.removeEventListener(t,i?z:j,i);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function j(e){return this.l[e.type+!1](l.event?l.event(e):e)}function z(e){return this.l[e.type+!0](l.event?l.event(e):e)}function L(e,t,n,s,r,i,o,a,c){var u,f,d,p,g,m,v,y,b,w,S,C,L,P,F,T=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,a=t.__e=n.__e,t.__h=null,i=[a]),(u=l.__b)&&u(t);try{e:if("function"==typeof T){if(y=t.props,b=(u=T.contextType)&&s[u.__c],w=u?b?b.props.value:u.__:s,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in T&&T.prototype.render?t.__c=f=new T(y,w):(t.__c=f=new k(y,w),f.constructor=T,f.render=q),b&&b.sub(f),f.props=y,f.state||(f.state={}),f.context=w,f.__n=s,d=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=T.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,T.getDerivedStateFromProps(y,f.__s))),p=f.props,g=f.state,f.__v=t,d)null==T.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==T.getDerivedStateFromProps&&y!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,w)||t.__v===n.__v){for(t.__v!==n.__v&&(f.props=y,f.state=f.__s,f.__d=!1),f.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),S=0;S2&&(l.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===l[o]&&(l[o]=e.defaultProps[o]);return d(e,l,i,s,null)}function d(e,t,n,r,i){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++u:i};return null==i&&null!=l.vnode&&l.vnode(s),s}function k(e){return e.children}function b(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&i.sort(f));x.__r=0}function P(e,t,n,r,i,o,l,a,u,f,_){var p,v,y,m,b,x,w,S,P,T=0,j=r&&r.__k||s,R=j.length,N=R,D=t.length;for(n.__k=[],p=0;p0?d(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)?(m.__=n,m.__b=n.__b+1,-1===(S=A(m,j,w=p+T,N))?y=c:(y=j[S]||c,j[S]=void 0,N--),L(e,m,y,i,o,l,a,u,f,_),b=m.__e,(v=m.ref)&&y.ref!=v&&(y.ref&&O(y.ref,null,m),_.push(v,m.__c||b,m)),null!=b&&(null==x&&(x=b),(P=y===c||null===y.__v)?-1==S&&T--:S!==w&&(S===w+1?T++:S>w?N>D-w?T+=S-w:T--:T=S(null!=a?1:0))for(;o>=0||l=0){if((a=t[o])&&i==a.key&&s===a.type)return o;o--}if(l=s))))break;if(n){if(i)return ta(h,s,0);return void(t[t.length]=h)}}return!n&&h}function ta(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function ua(e,t,n,s){return n?(s=s&&t>n,e=(e=e[s?t:n])&&e[s?n:t]):e=e[t],e}function N(e,t,n,s,r){let i=0;if(e.constructor===Array)if(r)t=e.indexOf(t),-1!==t?1=this.B&&(u||!c[d])){var i=L(f,s,_),o="";switch(this.G){case"full":if(2i;l--)if(l-i>=this.B){var h=L(f,s,_,r,i);o=d.substring(i,l),M(this,c,o,h,e,n)}break}case"reverse":if(1=this.B&&M(this,c,o,L(f,s,_,r,l),e,n);o=""}case"forward":if(1=this.B&&M(this,c,o,i,e,n);break}default:if(this.C&&(i=Math.min(i/this.C(t,d,_)|0,f-1)),M(this,c,d,i,e,n),u&&1=this.B&&!r[d]){r[d]=1;const t=this.l&&d>i;M(this,a,t?i:d,L(o+(s/2>o?0:1),s,_,l-1,h-1),e,n,t?d:i)}}}}this.m||(this.register[e]=1)}}return this},t.search=function(e,t,n){n||(!t&&C(e)?(n=e,e=n.query):C(t)&&(n=t));let s,r=[];let i,o=0;if(n){e=n.query||e,t=n.limit,o=n.offset||0;var l=n.context;i=n.suggest}if(e&&(e=this.encode(""+e),s=e.length,1=this.B&&!n[t]){if(!(this.s||i||this.map[t]))return r;h[l++]=t,n[t]=1}e=h,s=e.length}if(!s)return r;let a;t||(t=100),l=this.depth&&1t||n)&&(r=r.slice(n,n+t)),s&&(r=za.call(this,r)),{tag:e,result:r}}function za(e){const t=Array(e.length);for(let n,s=0;sr(e*s.show)},e+1)));return y("div",{className:"SearchResults__footer"},y("ul",{className:"SearchResults__footer__links Pager"},n>0&&y("li",{className:"Pager--prev"},y("a",{className:"SearchResults__footer__link",onClick:()=>r(n-s.show)},textLinkPrevious)),h,o+1!==i&&y("li",{className:"Pager--next"},y("a",{className:"SearchResults__footer__link",onClick:()=>r(n+s.show)},textLinkNext))))}function Result(e){let{settings:t,item:n}=e;let s;return n.text&&(s=n.text.split(" ").slice(0,t.descriptiveWords).join(" "),n.text.length{this.props.onClose()};scrollTop=()=>{this.resultRef&&(this.resultRef.scrollTop=0)};handlePaginate=e=>{this.setState({start:e},this.scrollTop)};handleChange=e=>{this.setState({search:e.target.value,start:0},this.scrollTop),this.props.settings.field.value=e.target.value};getResults(){const{settings:e}=this.props;const{start:t}=this.state;const n=[];let s=0;let r=[];if(this.state.search.length(t.result.forEach((t=>{e.hasOwnProperty(t.id)||(e[t.id]={url:t.id,title:t.doc.title,text:t.doc.text})})),e)),{}));if(s=i.length,0===s)return n.push(textSearchNoResults),{warnings:n,counter:s,results:r,start:t};return e.showTitleCount&&this.props.onTitleChange(`(${s})`),r=i.filter(((n,s)=>s>=t&&sthis.resultRef=e},y("input",{className:"Search__field",placeholder:"Search...",autoComplete:"on",autoSave:"text_search",type:"search",value:this.state.search,onInput:this.handleChange}),y("button",{className:"SearchResults__close",onClick:this.handleClose},"×"),y("div",{className:"SearchResults__count"},1===n?textSearchOneResult:textSearchResults.replace("!count",n)),t.map((e=>y("div",{key:e,className:"SearchResults__warning"},e))),s.map((t=>y(Result,{key:t.title,item:t,settings:e}))),n>e.show&&y(Pagination,{counter:n,start:r,settings:e,onPageSelect:this.handlePaginate})))}}const originalTitle=document.title;function getURLP(e){const t=new RegExp(`[?|&]${e}=([^&;]+?)(&|#|;|$)`).exec(window.location.search);return decodeURIComponent((t&&t[1]||"").replace(/\+/g,"%20"))||null}class SearchEngine{constructor(e){this.settings={field:document.getElementById("search_input"),form:document.getElementById("search_form"),show:10,showURL:!0,showTitleCount:!0,minimumLength:3,descriptiveWords:25,highlightTerms:!0,highlightEveryTerm:!1,contentLocation:"daux_search_index.js",...e},this.searchIndex={pages:[]}}loadData(){if(!this.loadingPromise){const e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=this.settings.base_url+this.settings.contentLocation;const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t),this.loadingPromise=new Promise((e=>{window.load_search_index=t=>e(t)})).then((e=>{this.searchIndex=new flexsearch_bundleExports.Document({doc:{id:"url",tag:"tags",field:["title","text"],store:["title","text"]}});let t=e.pages;if(window.searchLanguage){const e=`${window.searchLanguage}/`;t=t.filter((t=>0===t.url.indexOf(e)))}t.forEach((e=>this.searchIndex.add(e)))}))}return this.loadingPromise}run(){getURLP("q")&&(this.settings.field.value=getURLP("q"),this.loadData().then((()=>{this.displaySearch()}))),this.settings.field.addEventListener("keyup",(e=>{this.loadData(),13===parseInt(e.keyCode,10)&&this.loadData().then((()=>{this.displaySearch()}))})),this.settings.form.addEventListener("submit",(e=>{e.preventDefault(),this.loadData().then((()=>{this.displaySearch()}))}))}keyUpHandler=e=>{27===e.which&&this.handleClose()};handleClose=()=>{document.title=originalTitle,document.removeEventListener("keyup",this.keyUpHandler),document.body.classList.remove("with-search"),B(null,this.resultContainer),this.resultContainer=null};displaySearch(){this.resultContainer||(this.resultContainer=document.createElement("div"),document.body.appendChild(this.resultContainer)),document.addEventListener("keyup",this.keyUpHandler),B(y(Search,{onSearch:e=>this.searchIndex.search(e,{enrich:!0}),onClose:this.handleClose,onTitleChange:e=>{document.title=`${e} ${originalTitle}`},settings:this.settings}),this.resultContainer),document.body.classList.add("with-search"),document.body.scrollTop=0}}function search(e){const t=new SearchEngine(e);t.run()}window.search=search})(); + * FlexSearch.js v0.7.31 (Bundle) + * Copyright 2018-2022 Nextapps GmbH + * Author: Thomas Wilkerling + * Licence: Apache-2.0 + * https://github.com/nextapps-de/flexsearch + */flexsearch_bundle.exports,function(module){(function _f(self){try{module&&(self=module)}catch(e){}var t;function u(e){return"undefined"===typeof e||e}function aa(e){const t=Array(e);for(let n=0;n=r))))break;if(n){if(s)return ta(a,r,0);return void(t[t.length]=a)}}return!n&&a}function ta(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function ua(e,t,n,r){return n?(r=r&&t>n,e=(e=e[r?t:n])&&e[r?n:t]):e=e[t],e}function N(e,t,n,r,i){let s=0;if(e.constructor===Array)if(i)t=e.indexOf(t),-1!==t?1=this.B&&(u||!h[d])){var s=L(f,r,_),o="";switch(this.G){case"full":if(2s;l--)if(l-s>=this.B){var a=L(f,r,_,i,s);o=d.substring(s,l),M(this,h,o,a,e,n)}break}case"reverse":if(1=this.B&&M(this,h,o,L(f,r,_,i,l),e,n);o=""}case"forward":if(1=this.B&&M(this,h,o,s,e,n);break}default:if(this.C&&(s=Math.min(s/this.C(t,d,_)|0,f-1)),M(this,h,d,s,e,n),u&&1=this.B&&!i[d]){i[d]=1;const t=this.l&&d>s;M(this,c,t?s:d,L(o+(r/2>o?0:1),r,_,l-1,a-1),e,n,t?d:s)}}}}this.m||(this.register[e]=1)}}return this},t.search=function(e,t,n){n||(!t&&C(e)?(n=e,e=n.query):C(t)&&(n=t));let r,i=[];let s,o=0;if(n){e=n.query||e,t=n.limit,o=n.offset||0;var l=n.context;s=n.suggest}if(e&&(e=this.encode(""+e),r=e.length,1=this.B&&!n[t]){if(!(this.s||s||this.map[t]))return i;a[l++]=t,n[t]=1}e=a,r=e.length}if(!r)return i;let c;t||(t=100),l=this.depth&&1t||n)&&(i=i.slice(n,n+t)),r&&(i=za.call(this,i)),{tag:e,result:i}}function za(e){const t=Array(e.length);for(let n,r=0;r0&&y("li",{className:"Pager--prev"},y("a",{className:"SearchResults__footer__link",onClick:function(){return i(n-r.show)}},textLinkPrevious)),a,o+1!==s&&y("li",{className:"Pager--next"},y("a",{className:"SearchResults__footer__link",onClick:function(){return i(n+r.show)}},textLinkNext))))}function Result(e){var t=e.settings,n=e.item;var r;return n.text&&(r=n.text.split(" ").slice(0,t.descriptiveWords).join(" "),n.text.length=t&&rt.show&&y(Pagination,{counter:i,start:o,settings:t,onPageSelect:this.handlePaginate})))}}]),n}(b);var originalTitle=document.title;function getURLP(e){var t=new RegExp("[?|&]".concat(e,"=([^&;]+?)(&|#|;|$)")).exec(window.location.search);return decodeURIComponent((t&&t[1]||"").replace(/\+/g,"%20"))||null}var SearchEngine=/*#__PURE__*/function(){function e(t){var n=this;_classCallCheck(this,e),_defineProperty(this,"keyUpHandler",(function(e){27===e.which&&n.handleClose()})),_defineProperty(this,"handleClose",(function(){document.title=originalTitle,document.removeEventListener("keyup",n.keyUpHandler),document.body.classList.remove("with-search"),D(null,n.resultContainer),n.resultContainer=null})),this.settings=_objectSpread2({field:document.getElementById("search_input"),form:document.getElementById("search_form"),show:10,showURL:!0,showTitleCount:!0,minimumLength:3,descriptiveWords:25,highlightTerms:!0,highlightEveryTerm:!1,contentLocation:"daux_search_index.js"},t),this.searchIndex={pages:[]}}return _createClass(e,[{key:"loadData",value:function(){var e=this;if(!this.loadingPromise){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=this.settings.base_url+this.settings.contentLocation;var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),this.loadingPromise=new Promise((function(e){window.load_search_index=function(t){return e(t)}})).then((function(t){e.searchIndex=new flexsearch_bundleExports.Document({doc:{id:"url",tag:"tags",field:["title","text"],store:["title","text"]}});var n=t.pages;if(window.searchLanguage){var r="".concat(window.searchLanguage,"/");n=n.filter((function(e){return 0===e.url.indexOf(r)}))}n.forEach((function(t){return e.searchIndex.add(t)}))}))}return this.loadingPromise}},{key:"run",value:function(){var e=this;getURLP("q")&&(this.settings.field.value=getURLP("q"),this.loadData().then((function(){e.displaySearch()}))),this.settings.field.addEventListener("keyup",(function(t){e.loadData(),13===parseInt(t.keyCode,10)&&e.loadData().then((function(){e.displaySearch()}))})),this.settings.form.addEventListener("submit",(function(t){t.preventDefault(),e.loadData().then((function(){e.displaySearch()}))}))}},{key:"displaySearch",value:function(){var e=this;this.resultContainer||(this.resultContainer=document.createElement("div"),document.body.appendChild(this.resultContainer)),document.addEventListener("keyup",this.keyUpHandler),D(y(Search,{onSearch:function(t){return e.searchIndex.search(t,{enrich:!0})},onClose:this.handleClose,onTitleChange:function(e){document.title="".concat(e," ").concat(originalTitle)},settings:this.settings}),this.resultContainer),document.body.classList.add("with-search"),document.body.scrollTop=0}}]),e}();function search(e){var t=new SearchEngine(e);t.run()}window.search=search})(); //# sourceMappingURL=search.min.js.map diff --git a/daux_libraries/search.min.js.map b/daux_libraries/search.min.js.map index 90c64fef..eb933fb6 100644 --- a/daux_libraries/search.min.js.map +++ b/daux_libraries/search.min.js.map @@ -1 +1 @@ -{"version":3,"file":"search.min.js.map","sources":["../node_modules/preact/dist/preact.module.js","../node_modules/flexsearch/dist/flexsearch.bundle.js","../src/js/search/translation.js","../src/js/search/Pagination.js","../src/js/search/Result.js","../src/js/search/Search.js","../src/js/search/index.js"],"sourcesContent":["var n,l,u,i,t,r,o,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,i){var t,r,o,f={};for(o in u)\"key\"==o?t=u[o]:\"ref\"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),\"function\"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u:o};return null==o&&null!=l.vnode&&l.vnode(f),f}function d(){return{current:null}}function _(n){return n.children}function k(n,l){this.props=n,this.context=l}function b(n,l){if(null==l)return n.__?b(n.__,n.__.__k.indexOf(n)+1):null;for(var u;ll&&t.sort(f));w.__r=0}function x(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,g,m,w=i&&i.__k||s,x=w.length;for(u.__k=[],h=0;h0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=w[h])||y&&d.key==y.key&&d.type===y.type)w[h]=void 0;else for(v=0;v=0;l--)if((u=n.__k[l])&&(i=$(u)))return i;return null}function H(n,l,u,i,t){var r;for(r in u)\"children\"===r||\"key\"===r||r in l||T(n,r,null,u[r],i);for(r in l)t&&\"function\"!=typeof l[r]||\"children\"===r||\"key\"===r||\"value\"===r||\"checked\"===r||u[r]===l[r]||T(n,r,l[r],u[r],i)}function I(n,l,u){\"-\"===l[0]?n.setProperty(l,null==u?\"\":u):n[l]=null==u?\"\":\"number\"!=typeof u||a.test(l)?u:u+\"px\"}function T(n,l,u,i,t){var r;n:if(\"style\"===l)if(\"string\"==typeof u)n.style.cssText=u;else{if(\"string\"==typeof i&&(n.style.cssText=i=\"\"),i)for(l in i)u&&l in u||I(n.style,l,\"\");if(u)for(l in u)i&&u[l]===i[l]||I(n.style,l,u[l])}else if(\"o\"===l[0]&&\"n\"===l[1])r=l!==(l=l.replace(/Capture$/,\"\")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?z:j,r):n.removeEventListener(l,r?z:j,r);else if(\"dangerouslySetInnerHTML\"!==l){if(t)l=l.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(\"width\"!==l&&\"height\"!==l&&\"href\"!==l&&\"list\"!==l&&\"form\"!==l&&\"tabIndex\"!==l&&\"download\"!==l&&l in n)try{n[l]=null==u?\"\":u;break n}catch(n){}\"function\"==typeof u||(null==u||!1===u&&\"-\"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u))}}function j(n){return this.l[n.type+!1](l.event?l.event(n):n)}function z(n){return this.l[n.type+!0](l.event?l.event(n):n)}function L(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,b,g,m,w,A,P,C,$,H,I=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l.__b)&&s(u);try{n:if(\"function\"==typeof I){if(g=u.props,m=(s=I.contextType)&&t[s.__c],w=s?m?m.props.value:s.__:t,i.__c?b=(a=u.__c=i.__c).__=a.__E:(\"prototype\"in I&&I.prototype.render?u.__c=a=new I(g,w):(u.__c=a=new k(g,w),a.constructor=I,a.render=q),m&&m.sub(a),a.props=g,a.state||(a.state={}),a.context=w,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=I.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,I.getDerivedStateFromProps(g,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==I.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==I.getDerivedStateFromProps&&g!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,w),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,w)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=g,a.state=a.__s,a.__d=!1),a.__e=!1,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),A=0;A2&&(f.children=arguments.length>3?n.call(arguments,2):i),p(l.type,f,t||l.key,r||l.ref,null)}function F(n,l){var u={__c:l=\"__cC\"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,m(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},k.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),\"function\"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),m(this))},k.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),m(this))},k.prototype.render=_,t=[],o=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},w.__r=0,e=0;export{k as Component,_ as Fragment,E as cloneElement,F as createContext,y as createElement,d as createRef,y as h,D as hydrate,i as isValidElement,l as options,B as render,P as toChildArray};\n//# sourceMappingURL=preact.module.js.map\n","/**!\r\n * FlexSearch.js v0.7.31 (Bundle)\r\n * Copyright 2018-2022 Nextapps GmbH\r\n * Author: Thomas Wilkerling\r\n * Licence: Apache-2.0\r\n * https://github.com/nextapps-de/flexsearch\r\n */\r\n(function _f(self){'use strict';try{if(module)self=module}catch(e){}self._factory=_f;var t;function u(a){return\"undefined\"!==typeof a?a:!0}function aa(a){const b=Array(a);for(let c=0;c=this.B&&(w||!n[l])){var f=L(q,d,r),g=\"\";switch(this.G){case \"full\":if(2f;h--)if(h-f>=this.B){var k=L(q,d,r,e,f);g=l.substring(f,h);M(this,n,g,k,a,c)}break}case \"reverse\":if(1=this.B&&M(this,n,\r\ng,L(q,d,r,e,h),a,c);g=\"\"}case \"forward\":if(1=this.B&&M(this,n,g,f,a,c);break}default:if(this.C&&(f=Math.min(f/this.C(b,l,r)|0,q-1)),M(this,n,l,f,a,c),w&&1=this.B&&!e[l]){e[l]=1;const p=this.l&&l>f;M(this,m,p?f:l,L(g+(d/2>g?0:1),d,r,h-1,k-1),a,c,p?l:f)}}}}this.m||(this.register[a]=1)}}return this};\r\nfunction L(a,b,c,d,e){return c&&1=this.B&&!c[q])if(this.s||f||this.map[q])k[w++]=q,c[q]=1;else return d;a=k;e=a.length}if(!e)return d;b||(b=100);h=this.depth&&1=d)))break;if(n){if(f)return ta(k,d,0);b[b.length]=k;return}}return!c&&k}function ta(a,b,c){a=1===a.length?a[0]:[].concat.apply([],a);return c||a.length>b?a.slice(c,c+b):a}\r\nfunction ua(a,b,c,d){c?(d=d&&b>c,a=(a=a[d?b:c])&&a[d?c:b]):a=a[b];return a}t.contain=function(a){return!!this.register[a]};t.update=function(a,b){return this.remove(a).add(a,b)};\r\nt.remove=function(a,b){const c=this.register[a];if(c){if(this.m)for(let d=0,e;db||c)e=e.slice(c,c+b);d&&(e=za.call(this,e));return{tag:a,result:e}}}function za(a){const b=Array(a.length);for(let c=0,d;c{f + 1});\n } else {\n items.push(\n
  • \n onPageSelect(f * settings.show)}\n >\n {f + 1}\n \n
  • \n );\n }\n }\n\n return (\n
    \n
      \n {start > 0 && (\n
    • \n onPageSelect(start - settings.show)}\n >\n {textLinkPrevious}\n \n
    • \n )}\n {items}\n {page + 1 !== pages && (\n
    • \n onPageSelect(start + settings.show)}\n >\n {textLinkNext}\n \n
    • \n )}\n
    \n
    \n );\n}\n","import * as preact from \"preact\";\n/** @jsx preact.h */\n\n// TODO :: restore highlight\n/*function highlightText(search, text) {\n if (settings.highlightTerms) {\n var pattern = new RegExp(\n `(${search})`,\n settings.highlightEveryTerm ? \"gi\" : \"i\"\n );\n text = text.replace(\n pattern,\n '$1'\n );\n }\n\n return text;\n}*/\n\nexport default function Result({ settings, item }) {\n let text;\n if (item.text) {\n text = item.text\n .split(\" \")\n .slice(0, settings.descriptiveWords)\n .join(\" \");\n if (\n item.text.length < text.length &&\n text.charAt(text.length - 1) !== \".\"\n ) {\n text += \" ...\";\n }\n }\n\n return (\n
    \n \n {settings.showURL && (\n \n )}\n {text &&
    {text}
    }\n
    \n );\n}\n","import * as preact from \"preact\";\n\nimport Pagination from \"./Pagination\";\nimport Result from \"./Result\";\nimport {\n textSearchNoResults,\n textSearchOneCharacterOrMore,\n textSearchOneResult,\n textSearchResults,\n textSearchShouldBeXOrMore,\n textSearchTooShort\n} from \"./translation\";\n\n/** @jsx preact.h */\n\nexport default class Search extends preact.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n search: this.props.settings.field.value || \"\",\n start: 0\n };\n }\n\n // \"click\", \".SearchResults__close\"\n handleClose = () => {\n this.props.onClose();\n };\n\n scrollTop = () => {\n if (this.resultRef) {\n this.resultRef.scrollTop = 0;\n }\n };\n\n handlePaginate = start => {\n this.setState({ start }, this.scrollTop);\n };\n\n handleChange = event => {\n this.setState({ search: event.target.value, start: 0 }, this.scrollTop);\n\n this.props.settings.field.value = event.target.value;\n };\n\n getResults() {\n const { settings } = this.props;\n const { start } = this.state;\n\n const warnings = [];\n let counter = 0;\n let results = [];\n\n if (this.state.search.length < settings.minimumLength) {\n warnings.push(textSearchTooShort);\n warnings.push(\n settings.minimumLength === 1\n ? textSearchOneCharacterOrMore\n : textSearchShouldBeXOrMore.replace(\n \"!min\",\n settings.minimumLength\n )\n );\n\n return { warnings, counter, results, start };\n }\n\n const found = Object.values(\n this.props\n .onSearch(this.state.search)\n .reduce((acc, fieldResult) => {\n // FlexSearch returns results per field\n // We de-duplicate them here and have a single array of results\n fieldResult.result.forEach(result => {\n if (!acc.hasOwnProperty(result.id)) {\n acc[result.id] = {\n url: result.id,\n title: result.doc.title,\n text: result.doc.text\n };\n }\n });\n\n return acc;\n }, {})\n );\n\n counter = found.length;\n\n if (counter === 0) {\n warnings.push(textSearchNoResults);\n return { warnings, counter, results, start };\n }\n\n if (settings.showTitleCount) {\n this.props.onTitleChange(`(${counter})`);\n }\n\n results = found.filter(\n (item, itemNumber) =>\n itemNumber >= start && itemNumber < settings.show + start\n );\n\n return { warnings, counter, results, start };\n }\n\n render() {\n const { settings } = this.props;\n const { warnings, counter, results, start } = this.getResults();\n\n return (\n
    \n
    \n (this.resultRef = el)}\n >\n \n \n ×\n \n
    \n {counter === 1\n ? textSearchOneResult\n : textSearchResults.replace(\"!count\", counter)}\n
    \n {warnings.map(warning => (\n
    \n {warning}\n
    \n ))}\n {results.map(result => (\n \n ))}\n {counter > settings.show && (\n \n )}\n
    \n
    \n );\n }\n}\n","import * as preact from \"preact\";\nimport { Document } from \"flexsearch\";\n\nimport Search from \"./Search\";\n\n/** @jsx preact.h */\n\nconst originalTitle = document.title;\n\nfunction getURLP(name) {\n const elements = new RegExp(`[?|&]${name}=([^&;]+?)(&|#|;|$)`).exec(\n window.location.search\n );\n\n return (\n decodeURIComponent(\n ((elements && elements[1]) || \"\").replace(/\\+/g, \"%20\")\n ) || null\n );\n}\n\nclass SearchEngine {\n constructor(options) {\n this.settings = {\n field: document.getElementById(\"search_input\"),\n form: document.getElementById(\"search_form\"),\n show: 10,\n showURL: true,\n showTitleCount: true,\n minimumLength: 3,\n descriptiveWords: 25,\n highlightTerms: true,\n highlightEveryTerm: false,\n contentLocation: \"daux_search_index.js\",\n ...options\n };\n\n this.searchIndex = {\n pages: []\n };\n }\n\n loadData() {\n if (!this.loadingPromise) {\n // We do this as jsonp instead of an XHR or fetch request\n // to be compatible with usage from filesystem\n const po = document.createElement(\"script\");\n po.type = \"text/javascript\";\n po.async = true;\n po.src = this.settings.base_url + this.settings.contentLocation;\n const s = document.getElementsByTagName(\"script\")[0];\n s.parentNode.insertBefore(po, s);\n\n this.loadingPromise = new Promise(resolve => {\n window.load_search_index = data => resolve(data);\n }).then(json => {\n this.searchIndex = new Document({\n doc: {\n id: \"url\",\n tag: \"tags\",\n field: [\"title\", \"text\"],\n store: [\"title\", \"text\"]\n }\n });\n\n let pages = json.pages;\n\n // Only keep the pages related to the current language\n if (window.searchLanguage) {\n const pagePrefix = `${window.searchLanguage}/`;\n pages = pages.filter(\n item => item.url.indexOf(pagePrefix) === 0\n );\n }\n\n pages.forEach(page => this.searchIndex.add(page));\n });\n }\n\n return this.loadingPromise;\n }\n\n run() {\n if (getURLP(\"q\")) {\n this.settings.field.value = getURLP(\"q\");\n\n this.loadData().then(() => {\n this.displaySearch();\n });\n }\n\n this.settings.field.addEventListener(\"keyup\", event => {\n // Start loading index once the user types text in the field, not before\n this.loadData();\n\n if (parseInt(event.keyCode, 10) === 13) {\n this.loadData().then(() => {\n this.displaySearch();\n });\n }\n });\n\n this.settings.form.addEventListener(\"submit\", event => {\n event.preventDefault();\n this.loadData().then(() => {\n this.displaySearch();\n });\n });\n }\n\n keyUpHandler = e => {\n if (e.which === 27) {\n //escape\n this.handleClose();\n }\n };\n\n handleClose = () => {\n document.title = originalTitle;\n\n document.removeEventListener(\"keyup\", this.keyUpHandler);\n\n document.body.classList.remove(\"with-search\");\n preact.render(null, this.resultContainer);\n this.resultContainer = null;\n };\n\n displaySearch() {\n if (!this.resultContainer) {\n this.resultContainer = document.createElement(\"div\");\n document.body.appendChild(this.resultContainer);\n }\n\n document.addEventListener(\"keyup\", this.keyUpHandler);\n\n preact.render(\n \n this.searchIndex.search(term, { enrich: true })\n }\n onClose={this.handleClose}\n onTitleChange={title => {\n document.title = `${title} ${originalTitle}`;\n }}\n settings={this.settings}\n />,\n this.resultContainer\n );\n\n document.body.classList.add(\"with-search\");\n document.body.scrollTop = 0;\n }\n}\n\n// Main containers\n\nfunction search(options) {\n const instance = new SearchEngine(options);\n instance.run();\n}\n\n// Declare globally\nwindow.search = search;\n"],"names":["n","l","u","t","r","o","f","c","s","a","h","v","parentNode","removeChild","y","i","arguments","length","children","call","defaultProps","p","type","props","key","ref","__k","__","__b","__e","__d","__c","__h","constructor","__v","vnode","_","k","this","context","b","indexOf","g","base","m","push","w","__r","debounceRendering","e","sort","shift","__P","L","__n","ownerSVGElement","M","x","d","Array","isArray","A","C","$","nextSibling","S","O","appendChild","insertBefore","H","T","I","setProperty","test","style","cssText","replace","toLowerCase","slice","addEventListener","z","j","removeEventListener","removeAttribute","setAttribute","event","P","contextType","value","__E","prototype","render","q","sub","state","_sb","__s","getDerivedStateFromProps","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","forEach","componentWillUpdate","componentDidUpdate","getChildContext","getSnapshotBeforeUpdate","N","diffed","some","localName","nodeType","document","createTextNode","createElementNS","createElement","is","data","childNodes","dangerouslySetInnerHTML","attributes","name","__html","innerHTML","checked","current","unmount","componentWillUnmount","B","firstChild","getDerivedStateFromError","setState","componentDidCatch","forceUpdate","Promise","then","bind","resolve","setTimeout","_f","self","module","aa","Object","create","ba","D","ca","da","E","J","split","filter","_factory","ea","fa","keys","F","RegExp","ha","ja","encode","ia","G","ka","la","async","apply","ma","na","cache","oa","query","get","search","set","qa","memory","charset","performance","depth","match","score","default","ra","JSON","stringify","export","K","preset","assign","lang","register","resolution","tokenize","bidirectional","optimize","fastupdate","minlength","boost","map","rtl","matcher","stemmer","includes","sa","ua","Math","min","ta","concat","splice","va","_index","args","task","options","factory","Function","FlexSearch","Index","id","postMessage","msg","append","add","update","substring","limit","offset","suggest","contain","remove","searchCache","doc","opt","import","parse","wa","toString","window","exports","xa","worker","on","onmessage","eval","Worker","URL","createObjectURL","Blob","Q","store","tag","index","field","U","V","join","ya","za","result","pluck","enrich","bool","searchAsync","pa","R","X","all","Ba","Aa","Ca","normalize","Ea","Da","Fa","Ga","Ia","Ha","Ja","La","Ka","Ma","W","Y","Z","Document","registerCharset","registerLanguage","define","amd","Link_previous","Link_next","Search_no_results","Search_one_character_or_more","Search_one_result","Search_results","Search_should_be_x_or_more","Search_too_short","searchTranslation","textLinkPrevious","textLinkNext","textSearchNoResults","textSearchOneCharacterOrMore","textSearchOneResult","textSearchResults","textSearchShouldBeXOrMore","textSearchTooShort","Pagination","_ref","counter","start","settings","onPageSelect","pages","ceil","show","page","displayedPages","items","preact","className","onClick","Result","item","text","descriptiveWords","charAt","href","base_url","url","title","showURL","Search","super","handleClose","onClose","scrollTop","resultRef","handlePaginate","handleChange","target","getResults","warnings","results","minimumLength","found","values","onSearch","reduce","acc","fieldResult","hasOwnProperty","showTitleCount","onTitleChange","itemNumber","el","placeholder","autoComplete","autoSave","onInput","warning","originalTitle","getURLP","elements","exec","location","decodeURIComponent","SearchEngine","getElementById","form","highlightTerms","highlightEveryTerm","contentLocation","searchIndex","loadData","loadingPromise","po","src","getElementsByTagName","load_search_index","json","searchLanguage","pagePrefix","run","displaySearch","parseInt","keyCode","preventDefault","keyUpHandler","which","body","classList","resultContainer","term","instance"],"mappings":"yBAAG,IAACA,EAAEC,EAAEC,EAAIC,EAAEC,EAAEC,EAAEC,EAAIC,EAAE,CAAE,EAACC,EAAE,GAAGC,EAAE,oEAAoE,SAASC,EAAEV,EAAEC,GAAG,IAAI,IAAIC,KAAKD,EAAED,EAAEE,GAAGD,EAAEC,GAAG,OAAOF,CAAC,CAAC,SAASW,EAAEX,GAAG,IAAIC,EAAED,EAAEY,WAAWX,GAAGA,EAAEY,YAAYb,EAAE,CAAC,SAASc,EAAEb,EAAEC,EAAEa,GAAG,IAAIZ,EAAEC,EAAEC,EAAEC,EAAE,CAAA,EAAG,IAAID,KAAKH,EAAE,OAAOG,EAAEF,EAAED,EAAEG,GAAG,OAAOA,EAAED,EAAEF,EAAEG,GAAGC,EAAED,GAAGH,EAAEG,GAAG,GAAGW,UAAUC,OAAO,IAAIX,EAAEY,SAASF,UAAUC,OAAO,EAAEjB,EAAEmB,KAAKH,UAAU,GAAGD,GAAG,mBAAmBd,GAAG,MAAMA,EAAEmB,aAAa,IAAIf,KAAKJ,EAAEmB,kBAAa,IAASd,EAAED,KAAKC,EAAED,GAAGJ,EAAEmB,aAAaf,IAAI,OAAOgB,EAAEpB,EAAEK,EAAEH,EAAEC,EAAE,KAAK,CAAC,SAASiB,EAAErB,EAAEe,EAAEZ,EAAEC,EAAEC,GAAG,IAAIC,EAAE,CAACgB,KAAKtB,EAAEuB,MAAMR,EAAES,IAAIrB,EAAEsB,IAAIrB,EAAEsB,IAAI,KAAKC,GAAG,KAAKC,IAAI,EAAEC,IAAI,KAAKC,SAAI,EAAOC,IAAI,KAAKC,IAAI,KAAKC,iBAAY,EAAOC,IAAI,MAAM7B,IAAIH,EAAEG,GAAG,OAAO,MAAMA,GAAG,MAAMJ,EAAEkC,OAAOlC,EAAEkC,MAAM7B,GAAGA,CAAC,CAAmC,SAAS8B,EAAEpC,GAAG,OAAOA,EAAEkB,QAAQ,CAAC,SAASmB,EAAErC,EAAEC,GAAGqC,KAAKf,MAAMvB,EAAEsC,KAAKC,QAAQtC,CAAC,CAAC,SAASuC,EAAExC,EAAEC,GAAG,GAAG,MAAMA,EAAE,OAAOD,EAAE2B,GAAGa,EAAExC,EAAE2B,GAAG3B,EAAE2B,GAAGD,IAAIe,QAAQzC,GAAG,GAAG,KAAK,IAAI,IAAIE,EAAED,EAAED,EAAE0B,IAAIT,OAAOhB,IAAI,GAAG,OAAOC,EAAEF,EAAE0B,IAAIzB,KAAK,MAAMC,EAAE2B,IAAI,OAAO3B,EAAE2B,IAAI,MAAM,mBAAmB7B,EAAEsB,KAAKkB,EAAExC,GAAG,IAAI,CAAC,SAAS0C,EAAE1C,GAAG,IAAIC,EAAEC,EAAE,GAAG,OAAOF,EAAEA,EAAE2B,KAAK,MAAM3B,EAAE+B,IAAI,CAAC,IAAI/B,EAAE6B,IAAI7B,EAAE+B,IAAIY,KAAK,KAAK1C,EAAE,EAAEA,EAAED,EAAE0B,IAAIT,OAAOhB,IAAI,GAAG,OAAOC,EAAEF,EAAE0B,IAAIzB,KAAK,MAAMC,EAAE2B,IAAI,CAAC7B,EAAE6B,IAAI7B,EAAE+B,IAAIY,KAAKzC,EAAE2B,IAAI,KAAK,CAAC,OAAOa,EAAE1C,EAAE,CAAC,CAAC,SAAS4C,EAAE5C,KAAKA,EAAE8B,MAAM9B,EAAE8B,KAAI,IAAK3B,EAAE0C,KAAK7C,KAAK8C,EAAEC,OAAO3C,IAAIH,EAAE+C,sBAAsB5C,EAAEH,EAAE+C,oBAAoB3C,GAAGyC,EAAE,CAAC,SAASA,IAAI,IAAI9C,EAAEC,EAAEC,EAAEa,EAAEX,EAAEC,EAAE4C,EAAE1C,EAAE,IAAIJ,EAAE+C,KAAK5C,GAAGN,EAAEG,EAAEgD,SAASnD,EAAE8B,MAAM7B,EAAEE,EAAEc,OAAOF,OAAE,EAAOX,OAAE,EAAO6C,GAAG5C,GAAGH,EAAEF,GAAGkC,KAAKL,KAAKtB,EAAEL,EAAEkD,OAAOrC,EAAE,IAAIX,EAAEM,EAAE,CAAA,EAAGL,IAAI6B,IAAI7B,EAAE6B,IAAI,EAAEmB,EAAE9C,EAAEF,EAAED,EAAEF,EAAEoD,SAAI,IAAS/C,EAAEgD,gBAAgB,MAAMlD,EAAE2B,IAAI,CAACiB,GAAG,KAAKlC,EAAE,MAAMkC,EAAET,EAAEnC,GAAG4C,EAAE5C,EAAE2B,KAAKwB,EAAEzC,EAAEV,GAAGA,EAAEwB,KAAKoB,GAAGP,EAAErC,IAAIF,EAAEc,OAAOhB,GAAGE,EAAE+C,KAAK5C,IAAIwC,EAAEC,IAAI,CAAC,CAAC,SAASU,EAAEzD,EAAEC,EAAEC,EAAEa,EAAEZ,EAAEC,EAAEC,EAAEC,EAAE2C,EAAExC,GAAG,IAAIC,EAAEC,EAAEG,EAAE4C,EAAErB,EAAEK,EAAEE,EAAEE,EAAE/B,GAAGA,EAAEW,KAAKlB,EAAEiD,EAAEX,EAAE7B,OAAO,IAAIf,EAAEwB,IAAI,GAAGhB,EAAE,EAAEA,EAAET,EAAEgB,OAAOP,IAAI,GAAG,OAAOgD,EAAExD,EAAEwB,IAAIhB,GAAG,OAAOgD,EAAEzD,EAAES,KAAK,kBAAkBgD,GAAG,mBAAmBA,EAAE,KAAK,iBAAiBA,GAAG,iBAAiBA,GAAG,iBAAiBA,EAAErC,EAAE,KAAKqC,EAAE,KAAK,KAAKA,GAAGC,MAAMC,QAAQF,GAAGrC,EAAEe,EAAE,CAAClB,SAASwC,GAAG,KAAK,KAAK,MAAMA,EAAE9B,IAAI,EAAEP,EAAEqC,EAAEpC,KAAKoC,EAAEnC,MAAMmC,EAAElC,IAAIkC,EAAEjC,IAAIiC,EAAEjC,IAAI,KAAKiC,EAAExB,KAAKwB,GAAG,CAAC,GAAGA,EAAE/B,GAAGzB,EAAEwD,EAAE9B,IAAI1B,EAAE0B,IAAI,EAAE,QAAQd,EAAEgC,EAAEpC,KAAKI,GAAG4C,EAAElC,KAAKV,EAAEU,KAAKkC,EAAEpC,OAAOR,EAAEQ,KAAKwB,EAAEpC,QAAG,OAAY,IAAIC,EAAE,EAAEA,EAAE8C,EAAE9C,IAAI,CAAC,IAAIG,EAAEgC,EAAEnC,KAAK+C,EAAElC,KAAKV,EAAEU,KAAKkC,EAAEpC,OAAOR,EAAEQ,KAAK,CAACwB,EAAEnC,QAAG,EAAO,KAAK,CAACG,EAAE,IAAI,CAACuC,EAAErD,EAAE0D,EAAE5C,EAAEA,GAAGP,EAAEJ,EAAEC,EAAEC,EAAEC,EAAE2C,EAAExC,GAAG4B,EAAEqB,EAAE7B,KAAKlB,EAAE+C,EAAEjC,MAAMX,EAAEW,KAAKd,IAAIiC,IAAIA,EAAE,IAAI9B,EAAEW,KAAKmB,EAAEC,KAAK/B,EAAEW,IAAI,KAAKiC,GAAGd,EAAEC,KAAKlC,EAAE+C,EAAE3B,KAAKM,EAAEqB,IAAI,MAAMrB,GAAG,MAAMK,IAAIA,EAAEL,GAAG,mBAAmBqB,EAAEpC,MAAMoC,EAAEhC,MAAMZ,EAAEY,IAAIgC,EAAE5B,IAAImB,EAAEY,EAAEH,EAAET,EAAEjD,GAAGiD,EAAEa,EAAE9D,EAAE0D,EAAE5C,EAAEgC,EAAET,EAAEY,GAAG,mBAAmB/C,EAAEoB,OAAOpB,EAAE4B,IAAImB,IAAIA,GAAGnC,EAAEe,KAAKoB,GAAGA,EAAErC,YAAYZ,IAAIiD,EAAET,EAAE1B,GAAG,CAAC,IAAIZ,EAAE2B,IAAIa,EAAEhC,EAAE+C,EAAE/C,KAAK,MAAMoC,EAAEpC,KAAK,mBAAmBR,EAAEoB,MAAM,MAAMwB,EAAEpC,GAAGmB,KAAKiB,EAAEpC,GAAGmB,KAAK3B,EAAE4B,MAAM5B,EAAE4B,IAAIiC,EAAEhD,GAAGiD,aAAaC,EAAEnB,EAAEpC,GAAGoC,EAAEpC,KAAK,GAAGkC,EAAE,IAAIlC,EAAE,EAAEA,EAAEkC,EAAE3B,OAAOP,IAAIwD,EAAEtB,EAAElC,GAAGkC,IAAIlC,GAAGkC,IAAIlC,GAAG,CAAC,SAASmD,EAAE7D,EAAEC,EAAEC,GAAG,IAAI,IAAIa,EAAEZ,EAAEH,EAAE0B,IAAItB,EAAE,EAAED,GAAGC,EAAED,EAAEc,OAAOb,KAAKW,EAAEZ,EAAEC,MAAMW,EAAEY,GAAG3B,EAAEC,EAAE,mBAAmBc,EAAEO,KAAKuC,EAAE9C,EAAEd,EAAEC,GAAG4D,EAAE5D,EAAEa,EAAEA,EAAEZ,EAAEY,EAAEc,IAAI5B,IAAI,OAAOA,CAAC,CAAyH,SAAS6D,EAAE9D,EAAEC,EAAEC,EAAEa,EAAEZ,EAAEC,GAAG,IAAIC,EAAEC,EAAE2C,EAAE,QAAG,IAAShD,EAAE6B,IAAIzB,EAAEJ,EAAE6B,IAAI7B,EAAE6B,SAAI,OAAY,GAAG,MAAM5B,GAAGC,GAAGC,GAAG,MAAMD,EAAES,WAAWZ,EAAE,GAAG,MAAMI,GAAGA,EAAEQ,aAAaZ,EAAEA,EAAEmE,YAAYhE,GAAGE,EAAE,SAAS,CAAC,IAAIC,EAAEF,EAAE6C,EAAE,GAAG3C,EAAEA,EAAE0D,cAAcf,EAAElC,EAAEE,OAAOgC,GAAG,EAAE,GAAG3C,GAAGH,EAAE,MAAMH,EAAEA,EAAEoE,aAAajE,EAAEC,GAAGC,EAAED,CAAC,CAAC,YAAO,IAASC,EAAEA,EAAEF,EAAE6D,WAAW,CAAC,SAASD,EAAE/D,GAAG,IAAIC,EAAEC,EAAEa,EAAE,GAAG,MAAMf,EAAEsB,MAAM,iBAAiBtB,EAAEsB,KAAK,OAAOtB,EAAE6B,IAAI,GAAG7B,EAAE0B,IAAI,IAAIzB,EAAED,EAAE0B,IAAIT,OAAO,EAAEhB,GAAG,EAAEA,IAAI,IAAIC,EAAEF,EAAE0B,IAAIzB,MAAMc,EAAEgD,EAAE7D,IAAI,OAAOa,EAAE,OAAO,IAAI,CAAC,SAASsD,EAAErE,EAAEC,EAAEC,EAAEa,EAAEZ,GAAG,IAAIC,EAAE,IAAIA,KAAKF,EAAE,aAAaE,GAAG,QAAQA,GAAGA,KAAKH,GAAGqE,EAAEtE,EAAEI,EAAE,KAAKF,EAAEE,GAAGW,GAAG,IAAIX,KAAKH,EAAEE,GAAG,mBAAmBF,EAAEG,IAAI,aAAaA,GAAG,QAAQA,GAAG,UAAUA,GAAG,YAAYA,GAAGF,EAAEE,KAAKH,EAAEG,IAAIkE,EAAEtE,EAAEI,EAAEH,EAAEG,GAAGF,EAAEE,GAAGW,EAAE,CAAC,SAASwD,EAAEvE,EAAEC,EAAEC,GAAG,MAAMD,EAAE,GAAGD,EAAEwE,YAAYvE,EAAE,MAAMC,EAAE,GAAGA,GAAGF,EAAEC,GAAG,MAAMC,EAAE,GAAG,iBAAiBA,GAAGO,EAAEgE,KAAKxE,GAAGC,EAAEA,EAAE,IAAI,CAAC,SAASoE,EAAEtE,EAAEC,EAAEC,EAAEa,EAAEZ,GAAG,IAAIC,EAAEJ,EAAE,GAAG,UAAUC,EAAE,GAAG,iBAAiBC,EAAEF,EAAE0E,MAAMC,QAAQzE,MAAM,CAAC,GAAG,iBAAiBa,IAAIf,EAAE0E,MAAMC,QAAQ5D,EAAE,IAAIA,EAAE,IAAId,KAAKc,EAAEb,GAAGD,KAAKC,GAAGqE,EAAEvE,EAAE0E,MAAMzE,EAAE,IAAI,GAAGC,EAAE,IAAID,KAAKC,EAAEa,GAAGb,EAAED,KAAKc,EAAEd,IAAIsE,EAAEvE,EAAE0E,MAAMzE,EAAEC,EAAED,GAAG,MAAM,GAAG,MAAMA,EAAE,IAAI,MAAMA,EAAE,GAAGG,EAAEH,KAAKA,EAAEA,EAAE2E,QAAQ,WAAW,KAAK3E,EAAEA,EAAE4E,gBAAgB7E,EAAEC,EAAE4E,cAAcC,MAAM,GAAG7E,EAAE6E,MAAM,GAAG9E,EAAEC,IAAID,EAAEC,EAAE,CAAE,GAAED,EAAEC,EAAEA,EAAEG,GAAGF,EAAEA,EAAEa,GAAGf,EAAE+E,iBAAiB9E,EAAEG,EAAE4E,EAAEC,EAAE7E,GAAGJ,EAAEkF,oBAAoBjF,EAAEG,EAAE4E,EAAEC,EAAE7E,QAAQ,GAAG,4BAA4BH,EAAE,CAAC,GAAGE,EAAEF,EAAEA,EAAE2E,QAAQ,cAAc,KAAKA,QAAQ,SAAS,UAAU,GAAG,UAAU3E,GAAG,WAAWA,GAAG,SAASA,GAAG,SAASA,GAAG,SAASA,GAAG,aAAaA,GAAG,aAAaA,GAAGA,KAAKD,EAAE,IAAIA,EAAEC,GAAG,MAAMC,EAAE,GAAGA,EAAE,MAAMF,CAAC,CAAC,MAAMA,GAAI,CAAA,mBAAmBE,IAAI,MAAMA,IAAG,IAAKA,GAAG,MAAMD,EAAE,GAAGD,EAAEmF,gBAAgBlF,GAAGD,EAAEoF,aAAanF,EAAEC,GAAG,CAAC,CAAC,SAAS+E,EAAEjF,GAAG,OAAOsC,KAAKrC,EAAED,EAAEsB,MAAK,GAAIrB,EAAEoF,MAAMpF,EAAEoF,MAAMrF,GAAGA,EAAE,CAAC,SAASgF,EAAEhF,GAAG,OAAOsC,KAAKrC,EAAED,EAAEsB,MAAK,GAAIrB,EAAEoF,MAAMpF,EAAEoF,MAAMrF,GAAGA,EAAE,CAAC,SAASqD,EAAErD,EAAEE,EAAEa,EAAEZ,EAAEC,EAAEC,EAAEC,EAAE2C,EAAE1C,GAAG,IAAIC,EAAEC,EAAEE,EAAEG,EAAEO,EAAEqC,EAAElB,EAAEE,EAAEE,EAAEE,EAAEe,EAAEyB,EAAExB,EAAEC,EAAEM,EAAEE,EAAErE,EAAEoB,KAAK,QAAG,IAASpB,EAAE+B,YAAY,OAAO,KAAK,MAAMlB,EAAEiB,MAAMzB,EAAEQ,EAAEiB,IAAIiB,EAAE/C,EAAE2B,IAAId,EAAEc,IAAI3B,EAAE8B,IAAI,KAAK3B,EAAE,CAAC4C,KAAKzC,EAAEP,EAAE2B,MAAMpB,EAAEN,GAAG,IAAIF,EAAE,GAAG,mBAAmBuE,EAAE,CAAC,GAAG7B,EAAExC,EAAEqB,MAAMqB,GAAGpC,EAAE+D,EAAEgB,cAAcpF,EAAEK,EAAEuB,KAAKe,EAAEtC,EAAEoC,EAAEA,EAAErB,MAAMiE,MAAMhF,EAAEmB,GAAGxB,EAAEY,EAAEgB,IAAIS,GAAG/B,EAAEP,EAAE6B,IAAIhB,EAAEgB,KAAKJ,GAAGlB,EAAEgF,KAAK,cAAclB,GAAGA,EAAEmB,UAAUC,OAAOzF,EAAE6B,IAAItB,EAAE,IAAI8D,EAAE7B,EAAEI,IAAI5C,EAAE6B,IAAItB,EAAE,IAAI4B,EAAEK,EAAEI,GAAGrC,EAAEwB,YAAYsC,EAAE9D,EAAEkF,OAAOC,GAAGhD,GAAGA,EAAEiD,IAAIpF,GAAGA,EAAEc,MAAMmB,EAAEjC,EAAEqF,QAAQrF,EAAEqF,MAAM,IAAIrF,EAAE8B,QAAQO,EAAErC,EAAE6C,IAAInD,EAAEQ,EAAEF,EAAEqB,KAAI,EAAGrB,EAAEuB,IAAI,GAAGvB,EAAEsF,IAAI,IAAI,MAAMtF,EAAEuF,MAAMvF,EAAEuF,IAAIvF,EAAEqF,OAAO,MAAMvB,EAAE0B,2BAA2BxF,EAAEuF,KAAKvF,EAAEqF,QAAQrF,EAAEuF,IAAItF,EAAE,CAAE,EAACD,EAAEuF,MAAMtF,EAAED,EAAEuF,IAAIzB,EAAE0B,yBAAyBvD,EAAEjC,EAAEuF,OAAOlF,EAAEL,EAAEc,MAAMF,EAAEZ,EAAEqF,MAAMrF,EAAEyB,IAAIhC,EAAES,EAAE,MAAM4D,EAAE0B,0BAA0B,MAAMxF,EAAEyF,oBAAoBzF,EAAEyF,qBAAqB,MAAMzF,EAAE0F,mBAAmB1F,EAAEuB,IAAIa,KAAKpC,EAAE0F,uBAAuB,CAAC,GAAG,MAAM5B,EAAE0B,0BAA0BvD,IAAI5B,GAAG,MAAML,EAAE2F,2BAA2B3F,EAAE2F,0BAA0B1D,EAAEI,IAAIrC,EAAEoB,KAAK,MAAMpB,EAAE4F,wBAAuB,IAAK5F,EAAE4F,sBAAsB3D,EAAEjC,EAAEuF,IAAIlD,IAAI5C,EAAEgC,MAAMnB,EAAEmB,IAAI,CAAC,IAAIhC,EAAEgC,MAAMnB,EAAEmB,MAAMzB,EAAEc,MAAMmB,EAAEjC,EAAEqF,MAAMrF,EAAEuF,IAAIvF,EAAEqB,KAAI,GAAIrB,EAAEoB,KAAI,EAAG3B,EAAE2B,IAAId,EAAEc,IAAI3B,EAAEwB,IAAIX,EAAEW,IAAIxB,EAAEwB,IAAI4E,SAAQ,SAAStG,GAAGA,IAAIA,EAAE2B,GAAGzB,EAAE,IAAG2D,EAAE,EAAEA,EAAEpD,EAAEsF,IAAI9E,OAAO4C,IAAIpD,EAAEuB,IAAIa,KAAKpC,EAAEsF,IAAIlC,IAAIpD,EAAEsF,IAAI,GAAGtF,EAAEuB,IAAIf,QAAQX,EAAEuC,KAAKpC,GAAG,MAAMT,CAAC,CAAC,MAAMS,EAAE8F,qBAAqB9F,EAAE8F,oBAAoB7D,EAAEjC,EAAEuF,IAAIlD,GAAG,MAAMrC,EAAE+F,oBAAoB/F,EAAEuB,IAAIa,MAAK,WAAWpC,EAAE+F,mBAAmB1F,EAAEO,EAAEqC,EAAE,GAAE,CAAC,GAAGjD,EAAE8B,QAAQO,EAAErC,EAAEc,MAAMmB,EAAEjC,EAAE2C,IAAIpD,EAAEsF,EAAErF,EAAE8C,IAAIe,EAAE,EAAE,cAAcS,GAAGA,EAAEmB,UAAUC,OAAO,CAAC,IAAIlF,EAAEqF,MAAMrF,EAAEuF,IAAIvF,EAAEqB,KAAI,EAAGwD,GAAGA,EAAEpF,GAAGM,EAAEC,EAAEkF,OAAOlF,EAAEc,MAAMd,EAAEqF,MAAMrF,EAAE8B,SAASwB,EAAE,EAAEA,EAAEtD,EAAEsF,IAAI9E,OAAO8C,IAAItD,EAAEuB,IAAIa,KAAKpC,EAAEsF,IAAIhC,IAAItD,EAAEsF,IAAI,EAAE,MAAM,GAAGtF,EAAEqB,KAAI,EAAGwD,GAAGA,EAAEpF,GAAGM,EAAEC,EAAEkF,OAAOlF,EAAEc,MAAMd,EAAEqF,MAAMrF,EAAE8B,SAAS9B,EAAEqF,MAAMrF,EAAEuF,UAAUvF,EAAEqB,OAAOgC,EAAE,IAAIrD,EAAEqF,MAAMrF,EAAEuF,IAAI,MAAMvF,EAAEgG,kBAAkBtG,EAAEO,EAAEA,EAAE,CAAA,EAAGP,GAAGM,EAAEgG,oBAAoB9F,GAAG,MAAMF,EAAEiG,0BAA0BhD,EAAEjD,EAAEiG,wBAAwB5F,EAAEO,IAAIgD,EAAE,MAAM7D,GAAGA,EAAEc,OAAOc,GAAG,MAAM5B,EAAEgB,IAAIhB,EAAEe,MAAML,SAASV,EAAEiD,EAAEzD,EAAE2D,MAAMC,QAAQS,GAAGA,EAAE,CAACA,GAAGnE,EAAEa,EAAEZ,EAAEC,EAAEC,EAAEC,EAAE2C,EAAE1C,GAAGE,EAAEkC,KAAKzC,EAAE2B,IAAI3B,EAAE8B,IAAI,KAAKvB,EAAEuB,IAAIf,QAAQX,EAAEuC,KAAKpC,GAAG+B,IAAI/B,EAAEgF,IAAIhF,EAAEkB,GAAG,MAAMlB,EAAEoB,KAAI,CAAE,MAAM,MAAMxB,GAAGH,EAAEgC,MAAMnB,EAAEmB,KAAKhC,EAAEwB,IAAIX,EAAEW,IAAIxB,EAAE2B,IAAId,EAAEc,KAAK3B,EAAE2B,IAAI8E,EAAE5F,EAAEc,IAAI3B,EAAEa,EAAEZ,EAAEC,EAAEC,EAAEC,EAAEC,IAAIC,EAAEP,EAAE2G,SAASpG,EAAEN,EAAE,CAAC,MAAMF,GAAGE,EAAEgC,IAAI,MAAM3B,GAAG,MAAMF,KAAKH,EAAE2B,IAAIoB,EAAE/C,EAAE8B,MAAMzB,EAAEF,EAAEA,EAAEoC,QAAQQ,IAAI,MAAMhD,EAAE4B,IAAI7B,EAAEE,EAAEa,EAAE,CAAC,CAAC,SAASyC,EAAExD,EAAEE,GAAGD,EAAE8B,KAAK9B,EAAE8B,IAAI7B,EAAEF,GAAGA,EAAE6G,MAAK,SAAS3G,GAAG,IAAIF,EAAEE,EAAE8B,IAAI9B,EAAE8B,IAAI,GAAGhC,EAAE6G,MAAK,SAAS7G,GAAGA,EAAEmB,KAAKjB,EAAE,GAAE,CAAC,MAAMF,GAAGC,EAAE4B,IAAI7B,EAAEE,EAAEgC,IAAI,CAAC,GAAE,CAAC,SAASyE,EAAE1G,EAAEC,EAAEa,EAAEZ,EAAEC,EAAEC,EAAEC,EAAE2C,GAAG,IAAIzC,EAAEC,EAAEC,EAAEI,EAAEC,EAAEQ,MAAMF,EAAEnB,EAAEqB,MAAMmC,EAAExD,EAAEoB,KAAKc,EAAE,EAAE,GAAG,QAAQsB,IAAItD,GAAE,GAAI,MAAMC,EAAE,KAAK+B,EAAE/B,EAAEY,OAAOmB,IAAI,IAAI5B,EAAEH,EAAE+B,KAAK,iBAAiB5B,KAAKkD,IAAIA,EAAElD,EAAEsG,YAAYpD,EAAE,IAAIlD,EAAEuG,UAAU,CAAC9G,EAAEO,EAAEH,EAAE+B,GAAG,KAAK,KAAK,CAAC,GAAG,MAAMnC,EAAE,CAAC,GAAG,OAAOyD,EAAE,OAAOsD,SAASC,eAAe5F,GAAGpB,EAAEG,EAAE4G,SAASE,gBAAgB,6BAA6BxD,GAAGsD,SAASG,cAAczD,EAAErC,EAAE+F,IAAI/F,GAAGhB,EAAE,KAAK4C,GAAE,CAAE,CAAC,GAAG,OAAOS,EAAE5C,IAAIO,GAAG4B,GAAGhD,EAAEoH,OAAOhG,IAAIpB,EAAEoH,KAAKhG,OAAO,CAAC,GAAGhB,EAAEA,GAAGL,EAAEmB,KAAKlB,EAAEqH,YAAY7G,GAAGK,EAAEC,EAAEQ,OAAOhB,GAAGgH,wBAAwB7G,EAAEW,EAAEkG,yBAAyBtE,EAAE,CAAC,GAAG,MAAM5C,EAAE,IAAIS,EAAE,CAAE,EAACsB,EAAE,EAAEA,EAAEnC,EAAEuH,WAAWvG,OAAOmB,IAAItB,EAAEb,EAAEuH,WAAWpF,GAAGqF,MAAMxH,EAAEuH,WAAWpF,GAAGoD,OAAO9E,GAAGD,KAAKC,IAAID,GAAGC,EAAEgH,QAAQjH,EAAEiH,QAAQhH,EAAEgH,SAASzH,EAAE0H,aAAa1H,EAAE0H,UAAUjH,GAAGA,EAAEgH,QAAQ,IAAI,CAAC,GAAGrD,EAAEpE,EAAEoB,EAAEP,EAAEV,EAAE6C,GAAGvC,EAAER,EAAEwB,IAAI,QAAQ,GAAGU,EAAElC,EAAEqB,MAAML,SAASuC,EAAExD,EAAE0D,MAAMC,QAAQxB,GAAGA,EAAE,CAACA,GAAGlC,EAAEa,EAAEZ,EAAEC,GAAG,kBAAkBsD,EAAErD,EAAEC,EAAED,EAAEA,EAAE,GAAGU,EAAEW,KAAKc,EAAEzB,EAAE,GAAGkC,GAAG,MAAM5C,EAAE,IAAI+B,EAAE/B,EAAEY,OAAOmB,KAAK,MAAM/B,EAAE+B,IAAIzB,EAAEN,EAAE+B,IAAIa,IAAI,UAAU5B,QAAG,KAAUe,EAAEf,EAAEmE,SAASpD,IAAInC,EAAEuF,OAAO,aAAa9B,IAAItB,GAAG,WAAWsB,GAAGtB,IAAItB,EAAE0E,QAAQlB,EAAErE,EAAE,QAAQmC,EAAEtB,EAAE0E,OAAM,GAAI,YAAYnE,QAAG,KAAUe,EAAEf,EAAEuG,UAAUxF,IAAInC,EAAE2H,SAAStD,EAAErE,EAAE,UAAUmC,EAAEtB,EAAE8G,SAAQ,GAAI,CAAC,OAAO3H,CAAC,CAAC,SAASiE,EAAElE,EAAEE,EAAEa,GAAG,IAAI,mBAAmBf,EAAEA,EAAEE,GAAGF,EAAE6H,QAAQ3H,CAAC,CAAC,MAAMF,GAAGC,EAAE4B,IAAI7B,EAAEe,EAAE,CAAC,CAAC,SAASkD,EAAEjE,EAAEE,EAAEa,GAAG,IAAIZ,EAAEC,EAAE,GAAGH,EAAE6H,SAAS7H,EAAE6H,QAAQ9H,IAAIG,EAAEH,EAAEyB,OAAOtB,EAAE0H,SAAS1H,EAAE0H,UAAU7H,EAAE6B,KAAKqC,EAAE/D,EAAE,KAAKD,IAAI,OAAOC,EAAEH,EAAE+B,KAAK,CAAC,GAAG5B,EAAE4H,qBAAqB,IAAI5H,EAAE4H,sBAAsB,CAAC,MAAM/H,GAAGC,EAAE4B,IAAI7B,EAAEE,EAAE,CAACC,EAAEwC,KAAKxC,EAAEiD,IAAI,KAAKpD,EAAE+B,SAAI,CAAM,CAAC,GAAG5B,EAAEH,EAAE0B,IAAI,IAAItB,EAAE,EAAEA,EAAED,EAAEc,OAAOb,IAAID,EAAEC,IAAI6D,EAAE9D,EAAEC,GAAGF,EAAEa,GAAG,mBAAmBf,EAAEsB,MAAMP,GAAG,MAAMf,EAAE6B,KAAKlB,EAAEX,EAAE6B,KAAK7B,EAAE2B,GAAG3B,EAAE6B,IAAI7B,EAAE8B,SAAI,CAAM,CAAC,SAAS8D,EAAE5F,EAAEC,EAAEC,GAAG,OAAOoC,KAAKL,YAAYjC,EAAEE,EAAE,CAAC,SAAS8H,EAAE9H,EAAEa,EAAEZ,GAAG,IAAIC,EAAEC,EAAEC,EAAEL,EAAE0B,IAAI1B,EAAE0B,GAAGzB,EAAEa,GAAGV,GAAGD,EAAE,mBAAmBD,GAAG,KAAKA,GAAGA,EAAEuB,KAAKX,EAAEW,IAAIpB,EAAE,GAAG+C,EAAEtC,EAAEb,IAAIE,GAAGD,GAAGY,GAAGW,IAAIZ,EAAEsB,EAAE,KAAK,CAAClC,IAAIG,GAAGE,EAAEA,OAAE,IAASQ,EAAEwC,iBAAiBnD,GAAGD,EAAE,CAACA,GAAGE,EAAE,KAAKU,EAAEkH,WAAWjI,EAAEmB,KAAKJ,EAAEuG,YAAY,KAAKhH,GAAGF,GAAGD,EAAEA,EAAEE,EAAEA,EAAEwB,IAAId,EAAEkH,WAAW7H,GAAGoD,EAAElD,EAAEJ,EAAE,CAA2uBF,EAAEQ,EAAEsE,MAAM7E,EAAE,CAAC4B,IAAI,SAAS7B,EAAEC,EAAEC,EAAEa,GAAG,IAAI,IAAIZ,EAAEC,EAAEC,EAAEJ,EAAEA,EAAE0B,IAAI,IAAIxB,EAAEF,EAAE8B,OAAO5B,EAAEwB,GAAG,IAAI,IAAIvB,EAAED,EAAE8B,cAAc,MAAM7B,EAAE8H,2BAA2B/H,EAAEgI,SAAS/H,EAAE8H,yBAAyBlI,IAAIK,EAAEF,EAAE2B,KAAK,MAAM3B,EAAEiI,oBAAoBjI,EAAEiI,kBAAkBpI,EAAEe,GAAG,CAAE,GAAEV,EAAEF,EAAE2B,KAAKzB,EAAE,OAAOF,EAAEsF,IAAItF,CAAC,CAAC,MAAMF,GAAGD,EAAEC,CAAC,CAAC,MAAMD,CAAC,GAAGE,EAAE,EAAwDmC,EAAEqD,UAAUyC,SAAS,SAASnI,EAAEC,GAAG,IAAIC,EAAEA,EAAE,MAAMoC,KAAK0D,KAAK1D,KAAK0D,MAAM1D,KAAKwD,MAAMxD,KAAK0D,IAAI1D,KAAK0D,IAAItF,EAAE,CAAA,EAAG4B,KAAKwD,OAAO,mBAAmB9F,IAAIA,EAAEA,EAAEU,EAAE,CAAE,EAACR,GAAGoC,KAAKf,QAAQvB,GAAGU,EAAER,EAAEF,GAAG,MAAMA,GAAGsC,KAAKJ,MAAMjC,GAAGqC,KAAKyD,IAAIlD,KAAK5C,GAAG2C,EAAEN,MAAM,EAAED,EAAEqD,UAAU2C,YAAY,SAASrI,GAAGsC,KAAKJ,MAAMI,KAAKT,KAAI,EAAG7B,GAAGsC,KAAKN,IAAIa,KAAK7C,GAAG4C,EAAEN,MAAM,EAAED,EAAEqD,UAAUC,OAAOvD,EAAEjC,EAAE,GAAGE,EAAE,mBAAmBiI,QAAQA,QAAQ5C,UAAU6C,KAAKC,KAAKF,QAAQG,WAAWC,WAAWpI,EAAE,SAASN,EAAEC,GAAG,OAAOD,EAAEkC,IAAIN,IAAI3B,EAAEiC,IAAIN,GAAG,EAAEkB,EAAEC,IAAI;;;;;;;gDCOlpU,SAAS4F,GAAGC,MAAmB,IAAOC,SAAOD,KAAKC,OAAM,CAAC,MAAM5F,GAAE,CAAmB,IAAI9C,EAAE,SAASD,EAAEO,GAAG,MAAM,qBAAqBA,GAAEA,CAAI,CAAC,SAASqI,GAAGrI,GAAG,MAAM+B,EAAEmB,MAAMlD,GAAG,IAAI,IAAIF,EAAE,EAAEA,EAAEE,EAAEF,IAAIiC,EAAEjC,GAAGI,IAAI,OAAO6B,CAAC,CAAC,SAAS7B,IAAI,OAAOoI,OAAOC,OAAO,KAAK,CAAC,SAASC,GAAGxI,EAAE+B,GAAG,OAAOA,EAAEvB,OAAOR,EAAEQ,MAAM,CAAC,SAASwC,EAAEhD,GAAG,MAAM,kBAAkBA,CAAC,CAAC,SAASqD,EAAErD,GAAG,MAAM,kBAAkBA,CAAC,CAAC,SAASyI,EAAEzI,GAAG,MAAM,oBAAoBA,CAAC,CAAE,SAAS0I,GAAG1I,EAAE+B,GAAG,IAAIjC,EAAE6I,GAAG,GAAG3I,IAAI+B,IAAI/B,EAAE4I,EAAE5I,EAAE+B,IAAIF,KAAK+B,IAAI5D,EAAE4I,EAAE5I,EAAE6B,KAAK+B,IAAI/B,KAAKgH,GAAG,EAAE7I,EAAEQ,SAASR,EAAE4I,EAAE5I,EAAE6B,KAAKgH,IAAI/I,GAAG,KAAKA,GAAG,CAAc,GAAbE,EAAEA,EAAE8I,MAAMhJ,GAAM+B,KAAKkH,OAAO,CAAChH,EAAEF,KAAKkH,OAAOjJ,EAAEE,EAAEQ,OAAO,MAAMyC,EAAE,GAAG,IAAI,IAAIT,EAAE,EAAE3C,EAAE,EAAE2C,EAAE1C,EAAE0C,IAAI,CAAC,MAAMP,EAAEjC,EAAEwC,GAAGP,IAAIF,EAAEE,KAAKgB,EAAEpD,KAAKoC,EAAE,CAACjC,EAAEiD,CAAC,CAAC,OAAOjD,CAAC,CAAC,OAAOA,CAAC,CAAlmBmI,KAAKa,SAASd,GAAqlB,MAAMS,GAAG,2BAA2BM,GAAG,mBAC9sB,SAASC,GAAGlJ,EAAE+B,GAAG,MAAMjC,EAAEwI,OAAOa,KAAKnJ,GAAGiD,EAAEnD,EAAEU,OAAOgC,EAAE,GAAG,IAAI3C,EAAE,GAAGoC,EAAE,EAAE,IAAI,IAAQL,EAAEO,EAANlC,EAAE,EAAMA,EAAEgD,EAAEhD,IAAI2B,EAAE9B,EAAEG,IAAIkC,EAAEnC,EAAE4B,KAAKY,EAAEP,KAAKmH,EAAErH,EAAE,UAAUH,EAAE,UAAUA,GAAGY,EAAEP,KAAKE,GAAGtC,IAAIA,EAAE,IAAI,IAAI+B,EAA6D,OAA3D/B,IAAI2C,EAAEP,KAAKmH,EAAErH,EAAE,WAAWlC,EAAE,WAAW,IAAIA,EAAE,KAAK2C,EAAEP,GAAG,IAAWO,CAAC,CAAC,SAASoG,EAAE5I,EAAE+B,GAAG,IAAI,IAAIjC,EAAE,EAAEmD,EAAElB,EAAEvB,OAAOV,EAAEmD,IAAIjD,EAAEA,EAAEmE,QAAQpC,EAAEjC,GAAGiC,EAAEjC,EAAE,IAAIE,GAAGF,GAAG,GAAG,OAAOE,CAAC,CAAC,SAASoJ,EAAEpJ,GAAG,OAAO,IAAIqJ,OAAOrJ,EAAE,IAAI,CAAC,SAASsJ,GAAGtJ,GAAG,IAAI+B,EAAE,GAAGjC,EAAE,GAAG,IAAI,IAAmBD,EAAfoD,EAAE,EAAET,EAAExC,EAAEQ,OAASyC,EAAET,EAAES,KAAKpD,EAAEG,EAAEiD,MAAMnD,IAAIiC,GAAGjC,EAAED,GAAG,OAAOkC,CAAC,CAAE,IAAIwH,GAAG,CAACC,OAAOC,GAAGL,GAAE,EAAGM,EAAE,IAAI,SAASD,GAAGzJ,GAAG,OAAO0I,GAAGhI,KAAKmB,MAAM,GAAG7B,GAAGoE,eAAc,EAAG,CAAE,MAAMuF,GAAG,CAAE,EAACD,EAAE,CAAA,EAAG,SAASE,GAAG5J,GAAG8D,EAAE9D,EAAE,OAAO8D,EAAE9D,EAAE,UAAU8D,EAAE9D,EAAE,UAAU8D,EAAE9D,EAAE,UAAU8D,EAAE9D,EAAE,SAAS,CAAC,SAAS8D,EAAE9D,EAAE+B,GAAG/B,EAAE+B,EAAE,SAAS,WAAW,MAAMjC,EAAE+B,KAAKoB,EAAE1C,UAAU,IAAIiC,EAAES,EAAEA,EAAEzC,OAAO,GAAG,IAAIX,EAA0I,OAAxI4I,EAAEjG,KAAK3C,EAAE2C,SAASS,EAAEA,EAAEzC,OAAO,IAAIgC,EAAE,IAAIqF,SAAQ,SAAS5F,GAAGgG,YAAW,WAAWnI,EAAE+J,OAAM,EAAG,MAAM5J,EAAEH,EAAEiC,GAAG+H,MAAMhK,EAAEmD,GAAGnD,EAAE+J,OAAM,EAAG5H,EAAEhC,EAAE,GAAE,IAAUJ,GAAG2C,EAAEsF,KAAKjI,GAAGgC,MAAMW,CAAC,CAAC,CAAE,SAASuH,GAAG/J,EAAE+B,EAAEjC,EAAEmD,GAAG,MAAMT,EAAExC,EAAEQ,OAAO,IAASyB,EAAEhC,EAAPJ,EAAE,GAAO+B,EAAE,EAAEqB,IAAIA,EAAE,IAAI,IAAI,IAAId,EAAEK,EAAE,EAAE,GAAGL,EAAEA,IAAI,CAAC,MAAM5C,EAAES,EAAEmC,GAAGE,EAAE9C,EAAEiB,OAAO2E,EAAEjF,IAAI,IAAIP,GAAGsC,EAAE,IAAI,IAAIzC,EAAE,EAAEA,EAAE6C,EAAE7C,IAAI,CAAC,MAAMoB,EAAErB,EAAEC,GAAG+E,EAAE3D,EAAEJ,OAAO,GAAG+D,EAAE,IAAI,IAAQnB,EAAE/C,EAANkH,EAAE,EAAMA,EAAEhD,EAAEgD,IAAI,GAAGlH,EAAEO,EAAE2G,GAAGtF,EAAE,CAAC,GAAGA,EAAE5B,GAAG,CAAC,IAAI8B,EAAE,GAAGrC,EAAEA,SAAS,GAAGD,EAAE+B,KAAKvB,EAAEuB,IAAIG,EAAE,OAAOlC,GAAKsC,GAAGc,KAAEkC,EAAE9E,GAAG,GAAEV,GAAE,CAAE,CAAC,GAAGsD,IAAIG,GAAGnD,EAAEI,IAAI,GAAG,EAAEJ,EAAEI,GAAG+C,EAAEA,EAAEZ,GAAG,CAAC,MAAMoB,EAAEX,EAAEG,EAAE,KAAKH,EAAEG,EAAE,GAAG,IAAIQ,EAAEA,EAAEpD,QAAQH,CAAC,CAAC,MAAM8E,EAAE9E,GAAG,CAAC,CAAC,GAAG4C,EAAEhB,IAAIhC,EAAEkF,QAAQ,IAAIxF,EAAE,MAAM,GAAGsC,EAAEkD,CAAC,CAAC,GAAGlC,EAAE,IAAI,IAAiB1D,EAAE8C,EAAfF,EAAEc,EAAEzC,OAAO,EAAM,GAAG2B,EAAEA,IAAI,CAAC5C,EAAE0D,EAAEd,GAAGE,EAAE9C,EAAEiB,OAAO,IAAI,IAAQb,EAAJwF,EAAE,EAAIA,EAAE9C,EAAE8C,IAAI,GAAGxF,EACj4CJ,EAAE4F,IAAIlD,EAAEtC,GAAG,CAAC,GAAGG,EAAEA,SAAS,GAAGD,EAAE+B,KAAKjC,EAAEiC,IAAIG,EAAE,OAAOlC,EAAEoC,EAAEtC,GAAG,CAAC,CAAC,CAAC,OAAOE,CAAC,CAAC,SAASmK,GAAGhK,EAAE+B,GAAG,MAAMjC,EAAEI,IAAI+C,EAAE/C,IAAIsC,EAAE,GAAG,IAAI,IAAI3C,EAAE,EAAEA,EAAEG,EAAEQ,OAAOX,IAAIC,EAAEE,EAAEH,IAAI,EAAE,IAAI,IAAQoC,EAAJpC,EAAE,EAAIA,EAAEkC,EAAEvB,OAAOX,IAAI,CAACoC,EAAEF,EAAElC,GAAG,IAAI,IAAQ+B,EAAJ3B,EAAE,EAAIA,EAAEgC,EAAEzB,OAAOP,IAAI2B,EAAEK,EAAEhC,GAAGH,EAAE8B,KAAKqB,EAAErB,KAAKqB,EAAErB,GAAG,EAAEY,EAAEA,EAAEhC,QAAQoB,EAAE,CAAC,OAAOY,CAAC,CAAE,SAASqG,EAAE7I,GAAG6B,KAAKrC,GAAE,IAAKQ,GAAGA,EAAE6B,KAAKoI,MAAM/J,IAAI2B,KAAK5B,EAAE,EAAE,CAAC,SAASiK,GAAGlK,EAAE+B,EAAEjC,GAAGuD,EAAErD,KAAKA,EAAEA,EAAEmK,OAAO,IAAIlH,EAAEpB,KAAKoI,MAAMG,IAAIpK,GAAiD,OAA9CiD,IAAIA,EAAEpB,KAAKwI,OAAOrK,EAAE+B,EAAEjC,GAAG+B,KAAKoI,MAAMK,IAAItK,EAAEiD,IAAWA,CAAC,CAAC4F,EAAE5D,UAAUqF,IAAI,SAAStK,EAAE+B,GAAG,IAAIF,KAAKoI,MAAMjK,GAAG,CAAC,IAAIF,EAAE+B,KAAK5B,EAAEO,OAAqD,IAA9CV,IAAI+B,KAAKrC,SAASqC,KAAKoI,MAAMpI,KAAK5B,EAAEH,EAAE,IAAIA,MAAUA,EAAE,EAAEA,EAAEA,IAAI+B,KAAK5B,EAAEH,GAAG+B,KAAK5B,EAAEH,EAAE,GAAG+B,KAAK5B,EAAE,GAAGD,CAAC,CAAC6B,KAAKoI,MAAMjK,GAAG+B,CAAC,EAAE8G,EAAE5D,UAAUmF,IAAI,SAASpK,GAAG,MAAM+B,EAAEF,KAAKoI,MAAMjK,GAAG,GAAG6B,KAAKrC,GAAGuC,IAAI/B,EAAE6B,KAAK5B,EAAE+B,QAAQhC,IAAI,CAAC,MAAMF,EAAE+B,KAAK5B,EAAED,EAAE,GAAG6B,KAAK5B,EAAED,EAAE,GAAG6B,KAAK5B,EAAED,GAAG6B,KAAK5B,EAAED,GAAGF,CAAC,CAAC,OAAOiC,CAAC,EAAE,MAAMwI,GAAG,CAACC,OAAO,CAACC,QAAQ,cAAchC,EAAE,EAAElB,EAAE,EAAEpF,GAAE,GAAIuI,YAAY,CAACjC,EAAE,EAAElB,EAAE,EAAExH,GAAE,EAAG+B,QAAQ,CAAC6I,MAAM,EAAElC,EAAE,IAAImC,MAAM,CAACH,QAAQ,cAAcf,EAAE,WAAWmB,MAAM,CAACJ,QAAQ,iBAAiBhC,EAAE,GAAGlB,EAAE,EAAEzF,QAAQ,CAAC6I,MAAM,EAAElC,EAAE,IAAIqC,QAAU,CAAE,GAAE,SAASC,GAAG/K,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,GAAGgG,YAAW,WAAW,MAAMhI,EAAED,EAAEF,EAAEA,EAAE,IAAImD,EAAEA,EAAE+H,KAAKC,UAAUhJ,IAAIhC,GAAGA,EAAE6H,KAAK7H,EAAE6H,MAAK,WAAW/F,EAAEmJ,OAAOlL,EAAE+B,EAAEjC,EAAE0C,EAAE3C,EAAE,EAAE,IAAGkC,EAAEmJ,OAAOlL,EAAE+B,EAAEjC,EAAE0C,EAAE3C,EAAE,EAAE,GAAE,CAAE,SAASsL,EAAEnL,EAAE+B,GAAG,KAAKF,gBAAgBsJ,GAAG,OAAO,IAAIA,EAAEnL,GAAG,IAAIF,EAAE,GAAGE,EAAE,CAACgD,EAAEhD,GAAGA,EAAEuK,GAAGvK,IAAIF,EAAEE,EAAEoL,UAAUpL,EAAEsI,OAAO+C,OAAO,CAAE,EAACvL,EAAEA,GAAGE,IAAIF,EAAEE,EAAEyK,QAAQ,IAAIxH,EAAEjD,EAAEsL,KAAKtI,EAAElD,MAAM,IAAIA,EAAEkC,QAAQ,OAAOlC,GAAG,YAAYA,EAAE4J,EAAE5J,IAAIkD,EAAEC,KAAKA,EAAE0G,GAAG1G,GAAG,MAAMjD,EAAE,CAAE,EAAC,IAAIwC,EAAE3C,EAAEoC,EAAEjC,EAAE8B,SAAS,CAAA,EACrtC,GADwtCD,KAAK2H,OAAOxJ,EAAEwJ,QAAQ1J,GAAGA,EAAE0J,QAAQC,GAAG5H,KAAK0J,SAASxJ,GAAG7B,IAAI2B,KAAK4G,EAAEjG,EAAExC,EAAEwL,YAAY,EAAE3J,KAAK6H,EAAE3H,EAAEjC,GAAGA,EAAE4J,GAAG1J,EAAEyL,UAAU,SAAS5J,KAAK8I,MAAM,WAAW5I,GAAGE,EAAE0I,MAAM9I,KAAKrC,EAAEC,EAAEwC,EAAEyJ,eAAe7J,KAAK9B,EAAEF,EAAEJ,EAAEO,EAAE2L,UAAU9J,KAAKM,EAAE1C,EAAEO,EAAE4L,YAAY/J,KAAK0F,EAAEvH,EAAE6L,WAAW,EAAEhK,KAAKwB,EACloDrD,EAAE8L,MAAMjK,KAAKkK,IAAIlM,EAAEwI,GAAG7F,GAAGtC,IAAI2B,KAAKuB,EAAEZ,EAAEP,EAAEuJ,YAAY,EAAE3J,KAAK5B,EAAEJ,EAAEwI,GAAG7F,GAAGtC,IAAI2B,KAAKuH,EAAEtJ,GAAGA,EAAEsJ,GAAGpJ,EAAEgM,IAAInK,KAAK+B,GAAG7B,EAAE/B,EAAEiM,SAAShJ,GAAGA,EAAEW,IAAIsF,GAAGnH,GAAE,GAAIF,KAAKgH,GAAG9G,EAAE/B,EAAEkM,SAASjJ,GAAGA,EAAE4F,IAAIK,GAAGnH,GAAE,GAAOjC,EAAEiC,EAAE/B,EAAE+I,QAAQ9F,GAAGA,EAAE8F,OAAO,CAACjJ,EAAEiC,EAAEkB,EAAE/C,IAAI,IAAI,IAAID,EAAE,EAAE2B,EAAE9B,EAAEU,OAAOP,EAAE2B,EAAE3B,IAAIgD,EAAEnD,EAAEG,IAAI,EAAEH,EAAEmD,CAAC,CAACpB,KAAKkH,OAAOjJ,EAAE+B,KAAKoI,OAAOlI,EAAE/B,EAAEiK,QAAQ,IAAIpB,EAAE9G,EAAE,CAG/S,SAASa,EAAE5C,EAAE+B,EAAEjC,EAAEmD,EAAET,GAAG,OAAO1C,GAAG,EAAEE,EAAE+B,GAAGkB,GAAG,IAAIjD,EAAEF,GAAG0C,GAAG,IAAIxC,EAAE,IAAI+B,GAAGkB,GAAG,KAAKnD,GAAG0C,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,SAASO,EAAE/C,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,GAAG,IAAIhC,EAAEgC,EAAEjC,EAAEC,EAAED,EAAE+L,MAAQhK,EAAEjC,IAAImC,IAAIF,EAAEjC,GAAGmC,MAAGjC,EAAED,IAAIE,EAAEA,EAAEgD,IAAIhB,GAAGF,EAAEA,EAAEjC,KAAKiC,EAAEjC,GAAGI,KAAK6B,EAAEE,GAAG,EAAEhC,EAAEA,EAAEgC,KAAKhC,EAAEgC,GAAG/B,MAAM6B,EAAEjC,GAAG,EAAEG,EAAEA,EAAEH,KAAKG,EAAEH,GAAG,IAAIE,EAAED,IAAIE,EAAEA,EAAEgD,KAAKhD,EAAEgD,GAAG,KAAKpD,GAAGI,EAAEkM,SAAS3J,KAAKvC,EAAEA,EAAEO,QAAQgC,EAAExC,EAAEmC,IAAInC,EAAEA,EAAEuL,SAAS/I,KAAKxC,EAAEuL,SAAS/I,GAAG,IAAIxC,EAAEA,EAAEQ,QAAQP,IAAG,CAGxW,SAASmM,GAAGpM,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,EAAEhC,GAAG,IAAI2B,EAAE,GAAGO,EAAElC,EAAED,EAAEC,EAAED,EAAE+L,IAA2B,GAAvB/L,EAAED,IAAIoC,EAAEkK,GAAGlK,EAAEF,EAAEhC,EAAED,EAAER,IAAO2C,EAAE,CAAC,IAAI5C,EAAE,EAAE,MAAM8C,EAAEiK,KAAKC,IAAIpK,EAAE3B,OAAOP,EAAED,EAAEoD,EAAEpD,EAAEyI,GAAG,IAAI,IAAYjJ,EAAEoB,EAAVuE,EAAE,EAAExF,EAAE,EAAMwF,EAAE9C,EAAE8C,IAAI,IAAG3F,EAAE2C,EAAEgD,MAAMnF,EAAED,IAAIP,EAAE6M,GAAG7M,EAAEyC,EAAEhC,EAAED,EAAER,IAAIgD,GAAGhD,GAAGK,IAAIe,EAAEpB,EAAEgB,OAAOI,GAAG4B,GAAGA,GAAG5B,EAAEpB,EAAE,OAAOA,EAAEA,EAAE6E,MAAM7B,GAAGA,EAAE,IAAIhD,IAAIoC,EAAErC,KAAKC,EAAEK,IAAIF,GAAGH,EAAEgB,OAAOb,GAAGsD,KAAI,MAAM,GAAG1D,EAAE,CAAC,GAAGM,EAAE,OAAO2M,GAAG5K,EAAEqB,EAAE,GAAiB,YAAdlB,EAAEA,EAAEvB,QAAQoB,EAAQ,CAAC,CAAC,OAAO9B,GAAG8B,CAAC,CAAC,SAAS4K,GAAGxM,EAAE+B,EAAEjC,GAA6C,OAA1CE,EAAE,IAAIA,EAAEQ,OAAOR,EAAE,GAAG,GAAGyM,OAAO3C,MAAM,GAAG9J,GAAUF,GAAGE,EAAEQ,OAAOuB,EAAE/B,EAAEqE,MAAMvE,EAAEA,EAAEiC,GAAG/B,CAAC,CACpc,SAASqM,GAAGrM,EAAE+B,EAAEjC,EAAEmD,GAAgD,OAA7CnD,GAAGmD,EAAEA,GAAGlB,EAAEjC,EAAEE,GAAGA,EAAEA,EAAEiD,EAAElB,EAAEjC,KAAKE,EAAEiD,EAAEnD,EAAEiC,IAAI/B,EAAEA,EAAE+B,GAAU/B,CAAC,CAE1E,SAASkG,EAAElG,EAAE+B,EAAEjC,EAAEmD,EAAET,GAAG,IAAI3C,EAAE,EAAE,GAAGG,EAAEwB,cAAc0B,MAAM,GAAGV,EAAET,EAAE/B,EAAEgC,QAAQD,IAAI,IAAIA,EAAE,EAAE/B,EAAEQ,SAASR,EAAE0M,OAAO3K,EAAE,GAAGlC,KAAKA,QAAQ,CAAC2C,EAAE8J,KAAKC,IAAIvM,EAAEQ,OAAOV,GAAG,IAAI,IAAQG,EAAJgC,EAAE,EAAIA,EAAEO,EAAEP,KAAOhC,EAAED,EAAEiC,MAAGpC,EAAEqG,EAAEjG,EAAE8B,EAAEjC,EAAEmD,EAAET,GAAGS,GAAGpD,UAAUG,EAAEiC,GAAE,MAAM,IAAI,IAAIA,KAAKjC,GAAGH,EAAEqG,EAAElG,EAAEiC,GAAGF,EAAEjC,EAAEmD,EAAET,YAAYxC,EAAEiC,GAAG,OAAOpC,CAAC,CAC2O,SAAS8M,GAAG3M,GAAGA,EAAEA,EAAE4G,KAAK,IAAI7E,EAAEoG,KAAKyE,OAAO,MAAM9M,EAAEE,EAAE6M,KAAK,IAAI5J,EAAEjD,EAAE8M,KAAK,OAAO7J,GAAG,IAAK,OAAOA,EAAEjD,EAAE+M,SAAS,CAAA,EAAG/M,EAAEA,EAAEgN,QAAQjL,EAAEkB,EAAEuG,OAAOvG,EAAEgH,OAAM,EAAGlI,GAAG,IAAIA,EAAEC,QAAQ,cAAciB,EAAEuG,OAAOyD,SAAS,UAAUlL,EAAnBkL,IAAyBjN,GAAGiN,SAAS,UAAUjN,EAAnBiN,GAAwB9E,MAAMA,KAAKyE,OAAO,IAAIzE,KAAK+E,WAAWC,MAAMlK,UAAUkF,KAAK+E,YAAY/E,KAAKyE,OAAO,IAAIzB,EAAElI,GAAG,MAAM,QAAQjD,EAAEA,EAAEoN,GAAGrL,EAAEA,EAAEkB,GAAG6G,MAAM/H,EAAEjC,GAAGuN,YAAY,WAAWpK,EAAE,CAACmK,GAAGpN,EAAEsN,IAAIvL,GAAG,CAACqL,GAAGpN,IAAI,CAVtmBN,EAAEyL,EAAElG,UAAUvF,EAAE6N,OAAO,SAASvN,EAAE+B,GAAG,OAAOF,KAAK2L,IAAIxN,EAAE+B,GAAE,EAAG,EAC5WrC,EAAE8N,IAAI,SAASxN,EAAE+B,EAAEjC,EAAEmD,GAAG,GAAGlB,IAAI/B,GAAG,IAAIA,GAAG,CAAC,IAAIiD,IAAInD,GAAG+B,KAAK0J,SAASvL,GAAG,OAAO6B,KAAK4L,OAAOzN,EAAE+B,GAAoB,GAAjBA,EAAEF,KAAK2H,OAAOzH,GAAMkB,EAAElB,EAAEvB,OAAO,CAAC,MAAM2B,EAAEjC,IAAIX,EAAEW,IAAImC,EAAER,KAAK8I,MAAMxF,EAAEtD,KAAK4G,EAAE,IAAI,IAAI9I,EAAE,EAAEA,EAAEsD,EAAEtD,IAAI,CAAC,IAAIH,EAAEuC,EAAEF,KAAKuH,EAAEnG,EAAE,EAAEtD,EAAEA,GAAG,IAAI6C,EAAEhD,EAAEgB,OAAO,GAAGhB,GAAGgD,GAAGX,KAAK0F,IAAIlF,IAAI9C,EAAEC,IAAI,CAAC,IAAIK,EAAE+C,EAAEuC,EAAElC,EAAEtD,GAAGsC,EAAE,GAAG,OAAOJ,KAAK6H,GAAG,IAAK,OAAO,GAAG,EAAElH,EAAE,CAAC,IAAI3C,EAAE,EAAEA,EAAE2C,EAAE3C,IAAI,IAAI,IAAII,EAAEuC,EAAEvC,EAAEJ,EAAEI,IAAI,GAAGA,EAAEJ,GAAGgC,KAAK0F,EAAE,CAAC,IAAI3F,EAAEgB,EAAEuC,EAAElC,EAAEtD,EAAE6C,EAAE3C,GAAGoC,EAAEzC,EAAEkO,UAAU7N,EAAEI,GAAG8C,EAAElB,KAAKtC,EAAE0C,EAAEL,EAAE5B,EAAEF,EAAE,CAAC,KAAK,CAAC,IAAK,UAAU,GAAG,EAAE0C,EAAE,CAAC,IAAIvC,EAAEuC,EAAE,EAAE,EAAEvC,EAAEA,IAAIgC,EAAEzC,EAAES,GAAGgC,EAAEA,EAAEzB,QAAQqB,KAAK0F,GAAGxE,EAAElB,KAAKtC,EACnf0C,EAAEW,EAAEuC,EAAElC,EAAEtD,EAAE6C,EAAEvC,GAAGD,EAAEF,GAAGmC,EAAE,EAAE,CAAC,IAAK,UAAU,GAAG,EAAEO,EAAE,CAAC,IAAIvC,EAAE,EAAEA,EAAEuC,EAAEvC,IAAIgC,GAAGzC,EAAES,GAAGgC,EAAEzB,QAAQqB,KAAK0F,GAAGxE,EAAElB,KAAKtC,EAAE0C,EAAEpC,EAAEG,EAAEF,GAAG,KAAK,CAAC,QAAQ,GAAG+B,KAAKwB,IAAIxD,EAAEyM,KAAKC,IAAI1M,EAAEgC,KAAKwB,EAAEtB,EAAEvC,EAAEG,GAAG,EAAEwF,EAAE,IAAIpC,EAAElB,KAAKtC,EAAEC,EAAEK,EAAEG,EAAEF,GAAGuC,GAAG,EAAEY,GAAGtD,EAAEsD,EAAE,EAAE,IAAIT,EAAEtC,IAAI+B,EAAEJ,KAAKuB,EAAEvD,EAAEL,EAAES,EAAEqM,KAAKC,IAAIlK,EAAE,EAAEY,EAAEtD,GAAG6C,EAAE3C,GAAG,EAAE+B,EAAE,EAAEA,EAAE3B,EAAE2B,IAAI,IAAIpC,EAAEuC,EAAEF,KAAKuH,EAAEnG,EAAE,EAAEtD,EAAEiC,EAAEjC,EAAEiC,KAAKpC,EAAEgB,QAAQqB,KAAK0F,IAAI/E,EAAEhD,GAAG,CAACgD,EAAEhD,GAAG,EAAE,MAAMoB,EAAEiB,KAAKrC,GAAGA,EAAEK,EAAEkD,EAAElB,KAAKM,EAAEvB,EAAEf,EAAEL,EAAEoD,EAAEX,GAAGgB,EAAE,EAAEhB,EAAE,EAAE,GAAGgB,EAAEtD,EAAEM,EAAE,EAAE2B,EAAE,GAAG5B,EAAEF,EAAEc,EAAEpB,EAAEK,EAAE,EAAE,CAAC,CAACgC,KAAKM,IAAIN,KAAK0J,SAASvL,GAAG,EAAE,CAAC,CAAC,OAAO6B,IAAI,EAE5bnC,EAAE2K,OAAO,SAASrK,EAAE+B,EAAEjC,GAAGA,KAAKiC,GAAGsB,EAAErD,IAAIF,EAAEE,EAAEA,EAAEF,EAAEqK,OAAO9G,EAAEtB,KAAKjC,EAAEiC,IAAI,IAASS,EAALS,EAAE,GAAK,IAAIpD,EAAEoC,EAAE,EAAE,GAAGnC,EAAE,CAACE,EAAEF,EAAEqK,OAAOnK,EAAE+B,EAAEjC,EAAE6N,MAAM1L,EAAEnC,EAAE8N,QAAQ,EAAE,IAAI3N,EAAEH,EAAEgC,QAAQjC,EAAEC,EAAE+N,OAAO,CAAC,GAAG7N,IAAIA,EAAE6B,KAAK2H,OAAO,GAAGxJ,GAAGwC,EAAExC,EAAEQ,OAAO,EAAEgC,GAAG,CAAC1C,EAAEI,IAAI,IAAI0B,EAAE,GAAG,IAAI,IAAYuD,EAAR5F,EAAE,EAAE8C,EAAE,EAAI9C,EAAEiD,EAAEjD,IAAI,IAAI4F,EAAEnF,EAAET,KAAK4F,EAAE3E,QAAQqB,KAAK0F,IAAIzH,EAAEqF,GAAG,MAAGtD,KAAK9B,GAAGF,GAAGgC,KAAKkK,IAAI5G,IAAwB,OAAOlC,EAA5BrB,EAAES,KAAK8C,EAAErF,EAAEqF,GAAG,CAAe,CAACnF,EAAE4B,EAAEY,EAAExC,EAAEQ,MAAM,CAAC,IAAIgC,EAAE,OAAOS,EAA2C,IAAId,EAA7CJ,IAAIA,EAAE,KAAK9B,EAAE4B,KAAK8I,OAAO,EAAEnI,IAAG,IAAKvC,EAAEH,EAAE,EAAQG,GAAGkC,EAAEnC,EAAE,GAAGF,EAAE,GAAG,EAAE0C,GAAGxC,EAAEyC,KAAK+F,IAAI,IAAI,IAAIjJ,EAAE8C,EAAEvC,EAAE0C,EAAE1C,IAAI,CACvZ,GADwZuC,EAAErC,EAAEF,GAAGG,GAAGV,EAAE6M,GAAGvK,KAAKoB,EAAEpD,EAAEkC,EAAEE,EAAE,IAAIO,EAAEH,EACpfF,GAAGtC,IAAG,IAAKN,GAAG0D,EAAEzC,SAAS2B,EAAEE,IAAI9C,EAAE6M,GAAGvK,KAAKoB,EAAEpD,EAAEkC,EAAEE,EAAE,IAAIO,EAAEH,GAAM9C,EAAE,OAAOA,EAAE,GAAGM,GAAGC,IAAI0C,EAAE,EAAE,CAAY,GAAXZ,EAAEqB,EAAEzC,QAAWoB,EAAE,CAAC,GAAG3B,EAAE,CAACA,EAAE,EAAEH,GAAG,EAAE,QAAQ,CAAC,OAAOmD,CAAC,CAAC,GAAG,IAAIrB,EAAE,OAAO4K,GAAGvJ,EAAE,GAAGlB,EAAEE,EAAE,CAAC,CAAC,OAAO8H,GAAG9G,EAAElB,EAAEE,EAAEpC,EAAE,EAE/GH,EAAEoO,QAAQ,SAAS9N,GAAG,QAAQ6B,KAAK0J,SAASvL,EAAE,EAAEN,EAAE+N,OAAO,SAASzN,EAAE+B,GAAG,OAAOF,KAAKkM,OAAO/N,GAAGwN,IAAIxN,EAAE+B,EAAE,EAChLrC,EAAEqO,OAAO,SAAS/N,EAAE+B,GAAG,MAAMjC,EAAE+B,KAAK0J,SAASvL,GAAG,GAAGF,EAAE,CAAC,GAAG+B,KAAKM,EAAE,IAAI,IAAQK,EAAJS,EAAE,EAAIA,EAAEnD,EAAEU,OAAOyC,IAAIT,EAAE1C,EAAEmD,GAAGT,EAAEkK,OAAOlK,EAAER,QAAQhC,GAAG,QAAQkG,EAAErE,KAAKkK,IAAI/L,EAAE6B,KAAK4G,EAAE5G,KAAK9B,GAAG8B,KAAK8I,OAAOzE,EAAErE,KAAK5B,EAAED,EAAE6B,KAAKuB,EAAEvB,KAAK9B,GAA8B,GAA3BgC,UAAUF,KAAK0J,SAASvL,GAAM6B,KAAKoI,MAAM,CAAClI,EAAEF,KAAKoI,MAAM,IAAI,IAAQzH,EAAE3C,EAANoD,EAAE,EAAMA,EAAElB,EAAE9B,EAAEO,OAAOyC,IAAIpD,EAAEkC,EAAE9B,EAAEgD,GAAGT,EAAET,EAAEkI,MAAMpK,GAAG2C,EAAE2J,SAASnM,KAAK+B,EAAE9B,EAAEyM,OAAOzJ,IAAI,UAAUlB,EAAEkI,MAAMpK,GAAG,CAAC,CAAC,OAAOgC,IAAI,EAClGnC,EAAEsO,YAAY9D,GAC/RxK,EAAEwL,OAAO,SAASlL,EAAE+B,EAAEjC,EAAEmD,EAAET,GAAG,IAAI3C,EAAEoC,EAAE,OAAOO,IAAIA,EAAE,IAAI,KAAK,EAAU,GAAR3C,EAAE,MAASgC,KAAKM,EAAE,CAACF,EAAE/B,IAAI,IAAI,IAAID,KAAK4B,KAAK0J,SAAStJ,EAAEhC,GAAG,CAAC,MAAMgC,EAAEJ,KAAK0J,SAAS,MAAM,KAAK,EAAE1L,EAAE,MAAMoC,EAAE,CAACgM,IAAI,EAAEC,IAAIrM,KAAK9B,EAAE,EAAE,GAAG,MAAM,KAAK,EAAEF,EAAE,MAAMoC,EAAEJ,KAAKkK,IAAI,MAAM,KAAK,EAAElM,EAAE,MAAMoC,EAAEJ,KAAK5B,EAAE,MAAM,QAAQ,OAA+B,OAAxB8K,GAAG/K,EAAE+B,GAAGF,KAAK/B,EAAED,EAAEoD,EAAET,EAAEP,IAAS,CAAE,EAAEvC,EAAEyO,OAAO,SAASnO,EAAE+B,GAAG,GAAGA,EAAE,OAAOiB,EAAEjB,KAAKA,EAAEiJ,KAAKoD,MAAMrM,IAAI/B,GAAG,IAAK,MAAM6B,KAAK9B,IAAIgC,EAAEmM,IAAI,MAAM,IAAK,MAAMrM,KAAKM,GAAE,EAAGN,KAAK0J,SAASxJ,EAAE,MAAM,IAAK,MAAMF,KAAKkK,IAAIhK,EAAE,MAAM,IAAK,MAAMF,KAAK5B,EAAE8B,EAAE,EAAE6H,GAAGuB,EAAElG,WAAwa,IAAIoJ,GAAG,EAAE,SAAS5K,EAAEzD,GAAG,KAAK6B,gBAAgB4B,GAAG,OAAO,IAAIA,EAAEzD,GAAG,IAAI+B,EAAE/B,EAAEyI,EAAE1G,EAAE/B,EAAEwJ,UAAUxJ,EAAEwJ,OAAOzH,EAAEuM,YAAYtO,EAAE,CAAA,GAAI+B,GAAGoG,MAAMoG,QAAQvF,YAAYjH,EAAEA,EAAEuM,YAAY,MAAMxO,EAAE,qBAAqByO,QAAQpG,KAAKqG,QAAQvL,EAAEpB,KAAKA,KAAKjC,EAAE6O,GAAG1M,EAAEjC,EAAEE,EAAE0O,QAAQ7M,KAAK5B,EAAEC,IAAO2B,KAAKjC,IAAME,EAAE+B,KAAKjC,EAAE+O,GAAG,WAAU,SAASnM,GAAGS,EAAEhD,EAAEuC,EAAE4K,IAAI5K,EAAE8K,YAAYrK,EAAEhD,EAAEuC,EAAE4K,GAAG,IAAQvL,KAAKjC,EAAEgP,UAAU,SAASpM,GAAGA,EAAEA,EAAEoE,KAAK3D,EAAEhD,EAAEuC,EAAE4K,IAAI5K,EAAE8K,YAAYrK,EAAEhD,EAAEuC,EAAE4K,GAAG,EAAEvL,KAAKjC,EAAEyN,YAAY,CAACP,KAAK,OAAOE,QAAQjL,EAAEgL,QAAQ/M,IAAI,CACr1C,SAAS6E,EAAE7E,GAAGyD,EAAEwB,UAAUjF,GAAGyD,EAAEwB,UAAUjF,EAAE,SAAS,WAAW,MAAM+B,EAAEF,KAAK/B,EAAE,GAAGuE,MAAM3D,KAAKH,WAAW,IAAI0C,EAAEnD,EAAEA,EAAEU,OAAO,GAAG,IAAIgC,EAA4I,OAA1IiG,EAAExF,KAAKT,EAAES,EAAEnD,EAAE4M,OAAO5M,EAAEU,OAAO,EAAE,IAAIyC,EAAE,IAAI4E,SAAQ,SAAShI,GAAGoI,YAAW,WAAWlG,EAAE9B,IAAIoO,IAAIxO,EAAEkC,EAAEnC,EAAEyN,YAAY,CAACP,KAAK9M,EAAEoN,GAAGiB,GAAGxB,KAAK/M,GAAG,GAAE,IAAU0C,GAAGS,EAAE6E,KAAKtF,GAAGX,MAAMoB,CAAC,CAAC,CAC/T,SAASwL,GAAGzO,EAAE+B,EAAEjC,GAAG,IAAImD,EAAE,IAAIA,EAAElB,EAAE8M,KAAK,qEAAqE7O,EAAE,IAAI8O,OAAOC,IAAIC,gBAAgB,IAAIC,KAAK,CAAC,aAAatC,GAAG2B,YAAY,CAACzN,KAAK,sBAAsB,IAAIiO,OAAO9L,EAAElD,GAAGA,EAAE,mBAAmB,CAACe,KAAK,UAAU,CAAC,MAAM2B,GAAE,CAAE,OAAOS,CAAC,CAAE,SAASiM,EAAElP,GAAG,KAAK6B,gBAAgBqN,GAAG,OAAO,IAAIA,EAAElP,GAAG,IAA2BF,EAAvBiC,EAAE/B,EAAEuG,UAAUvG,EAAEiO,KAAKjO,EAAI6B,KAAKsJ,EAAE,GAAGtJ,KAAK5B,EAAE,GAAG4B,KAAKuB,EAAE,GAAGvB,KAAK0J,SAASrL,IAAI2B,KAAKd,KAAKjB,EAAEiC,EAAEhB,KAAKgB,EAAEqL,KAAK5J,EAAE1D,EAAE+B,KAAKuB,IAAI,KAAKvB,KAAKM,EAAE1C,EAAEO,EAAE4L,YAAY/J,KAAKwB,GAAGvD,EAAEiC,EAAEoN,SAAQ,IAAKrP,GAAG,GAAG+B,KAAKsN,MAAMrP,GAAGI,IAAI2B,KAAKiC,GAAGhE,EAAEiC,EAAEqN,MAAM5L,EAAE1D,EAAE+B,KAAKuB,GAAGvB,KAAKrC,EAAEM,GAAGI,IAAI2B,KAAKoI,OAAOnK,EAAEE,EAAEiK,QAAQ,IAAIpB,EAAE/I,GAAGE,EAAEiK,OAAM,EAAGpI,KAAKjC,EAAEI,EAAE0O,OAAO7M,KAAKgI,OAAM,EAAG/J,EAAEI,IAAI,IAAI+C,EAAElB,EAAEsN,OAAOtN,EAAEuN,OAAOvN,EAAEiB,EAAEC,KAAKA,EAAE,CAACA,IAAI,IAAI,IAAQpD,EAAEoC,EAANO,EAAE,EAAMA,EAAES,EAAEzC,OAAOgC,IAAI3C,EAAEoD,EAAET,GAAGQ,EAAEnD,KAAKoC,EAAEpC,EAAEA,EAAEA,EAAEyP,OAAOrN,EAAEoB,EAAEpB,GAAGqG,OAAO+C,OAAO,GAAGrL,EAAEiC,GAAGjC,EAC5wB6B,KAAKjC,IAAIE,EAAED,GAAG,IAAI4D,EAAExB,GAAGnC,EAAED,GAAGD,IAAIiC,KAAKjC,GAAE,IAAKiC,KAAKjC,IAAIE,EAAED,GAAG,IAAIsL,EAAElJ,EAAEJ,KAAK0J,WAAW1J,KAAKsJ,EAAE3I,GAAGgB,EAAE3D,EAAEgC,KAAKuB,GAAGvB,KAAK5B,EAAEuC,GAAG3C,EAAE,GAAGgC,KAAKwB,EAAE,IAAIrD,EAAE+B,EAAEoN,MAAMnM,EAAEhD,KAAKA,EAAE,CAACA,IAAI+B,EAAE,EAAEA,EAAE/B,EAAEQ,OAAOuB,IAAIF,KAAKwB,EAAEtB,GAAGyB,EAAExD,EAAE+B,GAAGF,KAAKuB,GAAGvB,KAAKwN,MAAMvP,CAAC,CAAC,SAAS0D,EAAExD,EAAE+B,GAAG,MAAMjC,EAAEE,EAAE8I,MAAM,KAAK,IAAI7F,EAAE,EAAE,IAAI,IAAIT,EAAE,EAAEA,EAAE1C,EAAEU,OAAOgC,IAAIxC,EAAEF,EAAE0C,GAAG,GAAGxC,EAAEgC,QAAQ,QAAQhC,EAAEA,EAAE0N,UAAU,EAAE1N,EAAEQ,OAAO,MAAMuB,EAAEkB,IAAG,GAAIjD,IAAIF,EAAEmD,KAAKjD,GAA4B,OAAzBiD,EAAEnD,EAAEU,SAASV,EAAEU,OAAOyC,GAAU,EAAEA,EAAEnD,EAAEA,EAAE,EAAE,CAAC,SAAS+D,EAAE7D,EAAE+B,GAAG,GAAGiB,EAAEjB,GAAG/B,EAAEA,EAAE+B,QAAQ,IAAI,IAAIjC,EAAE,EAAEE,GAAGF,EAAEiC,EAAEvB,OAAOV,IAAIE,EAAEA,EAAE+B,EAAEjC,IAAI,OAAOE,CAAC,CAC5e,SAASuP,EAAEvP,EAAE+B,EAAEjC,EAAEmD,EAAET,GAAU,GAAPxC,EAAEA,EAAEwC,GAAMS,IAAInD,EAAEU,OAAO,EAAEuB,EAAES,GAAGxC,OAAO,GAAGA,EAAE,GAAGA,EAAEwB,cAAc0B,MAAM,IAAInB,EAAEA,EAAES,GAAGU,MAAMlD,EAAEQ,QAAQgC,EAAE,EAAEA,EAAExC,EAAEQ,OAAOgC,IAAI+M,EAAEvP,EAAE+B,EAAEjC,EAAEmD,EAAET,QAAQT,EAAEA,EAAES,KAAKT,EAAES,GAAGtC,KAAKsC,EAAE1C,IAAImD,GAAGsM,EAAEvP,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE,CAAC,SAASgN,EAAExP,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,EAAEhC,GAAG,GAAGD,EAAEA,EAAEiC,GAAG,GAAGgB,IAAIlB,EAAEvB,OAAO,EAAE,CAAC,GAAGR,EAAEwB,cAAc0B,MAAM,CAAC,GAAGpD,EAAEmD,GAAG,CAAC,IAAIlB,EAAE,EAAEA,EAAE/B,EAAEQ,OAAOuB,IAAIS,EAAEgL,IAAI3N,EAAEG,EAAE+B,IAAG,GAAG,GAAI,MAAM,CAAC/B,EAAEA,EAAEyP,KAAK,IAAI,CAACjN,EAAEgL,IAAI3N,EAAEG,EAAEC,GAAE,EAAG,MAAM,GAAGD,EAAEwB,cAAc0B,MAAM,IAAIjB,EAAE,EAAEA,EAAEjC,EAAEQ,OAAOyB,IAAIuN,EAAExP,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,EAAEhC,QAAQgC,EAAEF,IAAIkB,GAAGuM,EAAExP,EAAE+B,EAAEjC,EAAEmD,EAAET,EAAE3C,EAAEoC,EAAEhC,EAAE,CAMhS,SAASyP,GAAG1P,EAAE+B,EAAEjC,EAAEmD,GAAG,IAAIT,EAAEX,KAAKrC,EAAEQ,GAAGH,EAAE2C,GAAGA,EAAEhC,OAAOV,EAAE,GAAGD,GAAG,EAAEA,EAAqD,OAA/CA,EAAEkC,GAAGjC,KAAE0C,EAAEA,EAAE6B,MAAMvE,EAAEA,EAAEiC,IAAGkB,IAAIT,EAAEmN,GAAGjP,KAAKmB,KAAKW,IAAU,CAAC4M,IAAIpP,EAAE4P,OAAOpN,EAAG,CAAC,SAASmN,GAAG3P,GAAG,MAAM+B,EAAEmB,MAAMlD,EAAEQ,QAAQ,IAAI,IAAQyC,EAAJnD,EAAE,EAAIA,EAAEE,EAAEQ,OAAOV,IAAImD,EAAEjD,EAAEF,GAAGiC,EAAEjC,GAAG,CAACsN,GAAGnK,EAAEgL,IAAIpM,KAAKsN,MAAMlM,IAAI,OAAOlB,CAAC,CAV67B8C,EAAE,OAAOA,EAAE,UAAUA,EAAE,UACr4CA,EAAE,UAAUA,EAAE,UAGycnF,EAAEwP,EAAEjK,UAC3dvF,EAAE8N,IAAI,SAASxN,EAAE+B,EAAEjC,GAA+B,GAA5BuD,EAAErD,KAAK+B,EAAE/B,EAAEA,EAAE6D,EAAE9B,EAAEF,KAAKd,MAASgB,IAAI/B,GAAG,IAAIA,GAAG,CAAC,IAAIF,GAAG+B,KAAK0J,SAASvL,GAAG,OAAO6B,KAAK4L,OAAOzN,EAAE+B,GAAG,IAAI,IAAQS,EAAE3C,EAANoD,EAAE,EAAMA,EAAEpB,KAAK5B,EAAEO,OAAOyC,IAAIpD,EAAEgC,KAAK5B,EAAEgD,GAAGT,EAAEX,KAAKsJ,EAAElI,GAAGD,EAAER,KAAKA,EAAE,CAACA,IAAIgN,EAAEzN,EAAES,EAAEX,KAAKuB,EAAE,EAAEvB,KAAKwN,MAAMxP,GAAGG,EAAEwC,EAAE,GAAG1C,GAAG,GAAG+B,KAAKiC,EAAE,CAAC,IAAIb,EAAEY,EAAE9B,EAAEF,KAAKiC,GAAGtB,EAAEtC,IAAI8C,EAAEC,KAAKA,EAAE,CAACA,IAAI,IAAI,IAAQhB,EAAEhC,EAANJ,EAAE,EAAMA,EAAEoD,EAAEzC,OAAOX,IAAI,GAAGoC,EAAEgB,EAAEpD,IAAI2C,EAAEP,KAAKO,EAAEP,GAAG,EAAEhC,EAAE4B,KAAKrC,EAAEyC,KAAKJ,KAAKrC,EAAEyC,GAAG,KAAKnC,IAAIG,EAAEkM,SAASnM,MAAOC,EAAEA,EAAEO,QAAQR,EAAE6B,KAAKM,GAAE,CAAC,MAAMP,EAAEC,KAAK0J,SAASvL,KAAK6B,KAAK0J,SAASvL,GAAG,IAAI4B,EAAEA,EAAEpB,QAAQP,CAAC,CAAC,CAAC,GAAG4B,KAAKsN,SAASrP,IAAI+B,KAAKsN,MAAMnP,IAAI,CAAC,IAAIiD,EAC/f,GAAGpB,KAAKwB,EAAE,CAACJ,EAAE/C,IAAI,IAAI,IAAQL,EAAJ2C,EAAE,EAAIA,EAAEX,KAAKwB,EAAE7C,OAAOgC,IAAI3C,EAAEgC,KAAKwB,EAAEb,GAAGQ,EAAEnD,GAAGoD,EAAEpD,GAAGkC,EAAElC,GAAG0P,EAAExN,EAAEkB,EAAEpD,EAAE,EAAEA,EAAE,GAAG,CAACgC,KAAKsN,MAAMnP,GAAGiD,GAAGlB,CAAC,CAAC,CAAC,OAAOF,IAAI,EAAEnC,EAAE6N,OAAO,SAASvN,EAAE+B,GAAG,OAAOF,KAAK2L,IAAIxN,EAAE+B,GAAE,EAAG,EAAErC,EAAE+N,OAAO,SAASzN,EAAE+B,GAAG,OAAOF,KAAKkM,OAAO/N,GAAGwN,IAAIxN,EAAE+B,EAAE,EACpOrC,EAAEqO,OAAO,SAAS/N,GAA2B,GAAxBqD,EAAErD,KAAKA,EAAE6D,EAAE7D,EAAE6B,KAAKd,MAASc,KAAK0J,SAASvL,GAAG,CAAC,IAAI,IAAI+B,EAAE,EAAEA,EAAEF,KAAK5B,EAAEO,SAASqB,KAAKwN,MAAMxN,KAAK5B,EAAE8B,IAAIgM,OAAO/N,GAAG6B,KAAKjC,IAAIiC,KAAKM,GAAGJ,KAAK,GAAGF,KAAKiC,IAAIjC,KAAKM,EAAE,IAAI,IAAIrC,KAAK+B,KAAKrC,EAAE,CAACuC,EAAEF,KAAKrC,EAAEM,GAAG,MAAMmD,EAAElB,EAAEC,QAAQhC,IAAI,IAAIiD,IAAI,EAAElB,EAAEvB,OAAOuB,EAAE2K,OAAOzJ,EAAE,UAAUpB,KAAKrC,EAAEM,GAAG,CAAC+B,KAAKsN,cAActN,KAAKsN,MAAMnP,UAAU6B,KAAK0J,SAASvL,EAAE,CAAC,OAAO6B,IAAI,EACvVnC,EAAE2K,OAAO,SAASrK,EAAE+B,EAAEjC,EAAEmD,GAAGnD,KAAKiC,GAAGsB,EAAErD,IAAIF,EAAEE,EAAEA,EAAE,IAAIqD,EAAEtB,KAAKjC,EAAEiC,EAAEA,EAAE,IAAI,IAAcE,EAAEhC,EAAE2B,EAAEO,EAAE5C,EAAE8C,EAApBG,EAAE,GAAG3C,EAAE,GAAesF,EAAE,EAAE,GAAGrF,EAAE,GAAGA,EAAE0B,cAAc0B,MAAMtB,EAAE9B,EAAEA,EAAE,SAAS,CAA8H,GAA7HE,EAAEF,EAAEqK,OAAOnK,EAAE4B,GAAGK,EAAEnC,EAAE+P,QAAQ/P,EAAEuP,OAAOvP,EAAEwP,MAAMnN,EAAErC,EAAEsP,IAAInP,EAAE4B,KAAKsN,OAAOrP,EAAEgQ,OAAOvQ,EAAE,QAAQO,EAAEiQ,KAAKhO,EAAEjC,EAAE6N,OAAO5L,GAAG,IAAIM,EAAEvC,EAAE8N,QAAQ,EAAKzL,IAAIa,EAAEb,KAAKA,EAAE,CAACA,KAAKnC,GAAG,CAAC,IAAI,IAAQY,EAAJpB,EAAE,EAAIA,EAAE2C,EAAE3B,OAAOhB,KAAOoB,EAAE8O,GAAGhP,KAAKmB,KAAKM,EAAE3C,GAAGuC,EAAEM,EAAEpC,MAAGuC,EAAEA,EAAEhC,QAAQI,EAAEuE,KAAI,OAAOA,EAAE3C,EAAE,EAAE,CAACQ,EAAEpB,KAAKA,EAAE,CAACA,GAAG,CAACA,IAAIA,EAAEC,KAAK5B,GAAGV,EAAEA,IAAI,EAAEqC,EAAEpB,QAAQ2B,GAAG,EAAEA,EAAE3B,QAAQ,MAAMb,GAAGsD,IAAIpB,KAAKjC,GAAGiC,KAAKgI,QAAQ,GAAG,IAAI,IAAQjJ,EAAE2D,EAAEgD,EAAR/H,EAAE,EAAQA,EACtfoC,EAAEpB,OAAOhB,IAAI,CAAC,IAAI4D,EAAyD,GAAvDmB,EAAE3C,EAAEpC,GAAGwD,EAAEuB,KAAKnB,EAAEmB,EAAEA,EAAEnB,EAAEkM,MAAMtP,EAAEoD,EAAE+G,OAAOnK,EAAE+B,EAAEqB,EAAEuK,OAAO5L,GAAMpC,EAAEA,EAAEH,GAAGqC,KAAKwN,MAAM9K,GAAGyL,YAAYhQ,EAAE+B,EAAEqB,GAAGtD,OAAO,CAAyD,GAAtDc,EAAFqC,EAAIA,EAAEzD,GAAKqC,KAAKwN,MAAM9K,GAAG8F,OAAOrK,EAAE+B,EAAEqB,GAAGtD,GAAGyH,EAAE3G,GAAGA,EAAEJ,OAAU2B,GAAGoF,EAAE,CAAC,MAAMlH,EAAE,GAAG,IAAIuD,EAAE,EAAErE,IAAIc,EAAE,GAAG,CAACO,IAAI,IAAI,IAAQqP,EAAGC,EAAPC,EAAE,EAAOA,EAAEhO,EAAE3B,OAAO2P,IAAOF,EAAG9N,EAAEgO,IAAG5I,GAAG2I,EAAErO,KAAKrC,EAAEyQ,KAAMC,EAAE1P,UAAOoD,IAAIvD,EAAEA,EAAEG,QAAQjB,EAAE,CAAC2Q,GAAGA,GAAEtM,IAAIhD,EAAErB,EAAEwK,GAAG1J,EAAE0B,GAAG,IAAIM,GAAG,GAAG2H,GAAGpJ,EAAEP,GAAGkH,EAAE3G,EAAEJ,OAAO,CAAC,GAAG+G,EAAE1H,EAAEsF,GAAGZ,EAAE/B,EAAE2C,KAAKvE,OAAO,GAAGrB,EAAE,MAAM,EAAE,CAAC,CAAC,GAAGI,EAAE,CAAC,MAAMH,EAAEqC,KAAK,OAAO,IAAIgG,SAAQ,SAASjH,GAAGiH,QAAQuI,IAAIzQ,GAAGmI,MAAK,SAASvD,GAAG3D,EAAEpB,EAAE6K,OAAOrK,EAAE+B,EACpfjC,EAAEyE,GAAG,GAAE,GAAE,CAAC,IAAIY,EAAE,MAAM,GAAG,GAAGlD,KAAKhC,IAAI4B,KAAKsN,OAAO,OAAO3M,EAAE,GAAG,IAAI,IAAQ5B,EAAJpB,EAAE,EAAIA,EAAEK,EAAEW,OAAOhB,IAAI,CAAyC,GAAxCoB,EAAE4B,EAAEhD,GAAGoB,EAAEJ,QAAQP,IAAIW,EAAE+O,GAAGjP,KAAKmB,KAAKjB,IAAOqB,EAAE,OAAOrB,EAAE4B,EAAEhD,GAAG,CAAC8P,MAAMzP,EAAEL,GAAGoQ,OAAOhP,EAAE,CAAC,OAAO4B,CAAC,EAA8P9C,EAAEoO,QAAQ,SAAS9N,GAAG,QAAQ6B,KAAK0J,SAASvL,EAAE,EAAEN,EAAE0K,IAAI,SAASpK,GAAG,OAAO6B,KAAKsN,MAAMnP,EAAE,EACxgBN,EAAE4K,IAAI,SAAStK,EAAE+B,GAAmB,OAAhBF,KAAKsN,MAAMnP,GAAG+B,EAASF,IAAI,EAAEnC,EAAEsO,YAAY9D,GAAGxK,EAAEwL,OAAO,SAASlL,EAAE+B,EAAEjC,EAAEmD,EAAET,GAAqB,GAAlBA,IAAIA,EAAE,GAAGS,IAAIA,EAAE,GAAMA,EAAEpB,KAAK5B,EAAEO,OAAO,CAAC,MAAMX,EAAEgC,KAAK5B,EAAEgD,GAAGhB,EAAEJ,KAAKwN,MAAMxP,GAAGkC,EAAEF,KAAKoG,YAAW,WAAWhG,EAAEiJ,OAAOlL,EAAE+B,EAAES,EAAE3C,EAAE,GAAGoD,EAAET,OAAOS,IAAIT,EAAE,EAAET,EAAEmJ,OAAOlL,EAAE+B,EAAElC,EAAEoD,EAAET,GAAG,GAAE,KAAK,CAAC,IAAI3C,EAAEoC,EAAE,OAAOO,GAAG,KAAK,EAAE3C,EAAE,MAAMoC,EAAEJ,KAAKrC,EAAE,MAAM,KAAK,EAAEK,EAAE,QAAQoC,EAAEJ,KAAKsN,MAAM,MAAM,QAAQ,OAAOpE,GAAG/K,EAAE6B,KAAK/B,EAAED,EAAEoD,EAAET,EAAEP,EAAE,CAAC,EAC7XvC,EAAEyO,OAAO,SAASnO,EAAE+B,GAAG,GAAGA,EAAE,OAAOiB,EAAEjB,KAAKA,EAAEiJ,KAAKoD,MAAMrM,IAAI/B,GAAG,IAAK,MAAM6B,KAAKrC,EAAEuC,EAAE,MAAM,IAAK,MAAMF,KAAKM,GAAE,EAAGN,KAAK0J,SAASxJ,EAAE,IAAI,IAAQS,EAAJS,EAAE,EAAIA,EAAEpB,KAAK5B,EAAEO,OAAOyC,IAAIT,EAAEX,KAAKwN,MAAMxN,KAAK5B,EAAEgD,IAAIT,EAAE+I,SAASxJ,EAAES,EAAEL,GAAE,EAAG,MAAM,IAAK,QAAQN,KAAKsN,MAAMpN,EAAE,MAAM,QAAQ/B,EAAEA,EAAE8I,MAAM,KAAK,MAAMhJ,EAAEE,EAAE,GAAGA,EAAEA,EAAE,GAAGF,GAAGE,GAAG6B,KAAKwN,MAAMvP,GAAGqO,OAAOnO,EAAE+B,GAAG,EAAE6H,GAAGsF,EAAEjK,WAAW,IAAIoL,GAAG,CAAC7G,OAAO8G,GAAGlH,GAAE,EAAGM,EAAE,IAAI,MAAM6G,GAAG,CAACnH,EAAE,YAA0C,IAAIA,EAAE,UAA8B,IAAIA,EAAE,UAA8B,IAAIA,EAAE,YAA0C,IAAIA,EAAE,WAAoC,IAAIA,EAAE,SAAwB,IAAIA,EAAE,KAAU,IAAIA,EAAE,QAAa,IAAIA,EAAE,KAAU,IAAIA,EAAE,OAAO,SAAS,SAASkH,GAAGtQ,GAAG,IAAI+B,EAAE/B,EAAE,GAAGA,EAAqD,OAAnD+B,EAAEyO,YAAYzO,EAAEA,EAAEyO,UAAU,OAAOrM,QAAQ8E,GAAG,KAAYP,GAAGhI,KAAKmB,KAAKE,EAAEqC,eAAepE,EAAEwQ,WAAWD,GAAG,CAAE,IAAIE,GAAG,CAACjH,OAAOkH,GAAGtH,GAAE,EAAGM,EAAE,UAAU,MAAMiH,GAAG,aAAaC,GAAG,CAAC7O,EAAE,IAAI7B,EAAE,IAAImC,EAAE,IAAIkC,EAAE,IAAIvB,EAAE,IAAI,IAAS,IAAIC,EAAE,IAAI1D,EAAE,IAAIO,EAAE,IAAImC,EAAE,IAAIuC,EAAE,IAAIW,EAAE,IAAI7E,EAAE,IAAID,EAAE,IAAIZ,EAAE,KAAK,SAASiR,GAAG1Q,GAAGA,EAAEsQ,GAAG5P,KAAKmB,KAAK7B,GAAGyP,KAAK,KAAK,MAAM1N,EAAE,GAAG,GAAG/B,EAAE,CAAC,MAAMF,EAAEE,EAAE8I,MAAM6H,IAAI1N,EAAEnD,EAAEU,OAAO,IAAI,IAAQX,EAAJ2C,EAAE,EAAIP,EAAE,EAAEO,EAAES,EAAET,IAAI,IAAIxC,EAAEF,EAAE0C,OAAOX,KAAKkH,SAASlH,KAAKkH,OAAO/I,IAAI,CAACH,EAAEG,EAAE,GAAG,IAAIC,EAAE2Q,GAAG/Q,IAAIA,EAAE+B,EAAE3B,EAAE,IAAI,IAAIkC,EAAE,EAAEA,EAAEnC,EAAEQ,OAAO2B,IAAI,CAACtC,EAAEG,EAAEmC,GAAG,MAAM5C,EAAEqR,GAAG/Q,IAAIA,EAAEN,GAAGA,IAAIqC,IAAI3B,GAAGV,EAAEqC,EAAErC,EAAE,CAACwC,EAAEE,KAAKhC,CAAC,CAAC,CAAC,OAAO8B,CAAC,CAAE,IAAI8O,GAAG,CAACrH,OAAOsH,GAAG1H,GAAE,EAAGM,EAAE,IAAI,MAAMqH,GAAG,CAAC3H,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,uBAAuB,GAAGA,EAAE,yBAAyB,IAAI,SAAS0H,GAAG9Q,EAAE+B,GAA2G,OAAxG/B,IAAIA,EAAE0Q,GAAGhQ,KAAKmB,KAAK7B,GAAGyP,KAAK,KAAK,EAAEzP,EAAEQ,SAASR,EAAE4I,EAAE5I,EAAE+Q,KAAKhP,IAAI,EAAE/B,EAAEQ,SAASR,EAAEsJ,GAAGtJ,IAAIA,IAAIA,EAAEA,EAAE8I,MAAM,QAAe9I,GAAG,EAAE,CAAE,IAAIgR,GAAG,CAACxH,OAAOyH,GAAG7H,GAAE,EAAGM,EAAE,IAAI,MAAMwH,GAAG9H,EAAE,gBAAgB,SAAS6H,GAAGjR,GAAwG,OAArGA,IAAIA,EAAE8Q,GAAGpQ,KAAKmB,KAAK7B,GAAE,GAAI,EAAEA,EAAEQ,SAASR,EAAEA,EAAEmE,QAAQ+M,GAAG,KAAK,EAAElR,EAAEQ,SAASR,EAAEsJ,GAAGtJ,IAAIA,IAAIA,EAAEA,EAAE8I,MAAM,OAAc9I,GAAG,EAAE,CAAE0J,EAAE,iBAAiBH,GAAGG,EAAE,gBAAgB2G,GAAG3G,EAAE,iBAAiB+G,GAAG/G,EAAE,kBAAkBmH,GAAGnH,EAAE,eAAesH,GAAG,MAAMG,EAAEhJ,KAAK,IAAIiJ,EAAE,MAAMC,EAAE,CAAClE,MAAMhC,EAAEmG,SAASpC,EAAEJ,OAAOrL,EAAE8N,gBAAgB,SAASvR,EAAE+B,GAAG2H,EAAE1J,GAAG+B,CAAC,EAAEyP,iBAAiB,SAASxR,EAAE+B,GAAG4H,GAAG3J,GAAG+B,CAAC,IAAIqP,EAAED,EAAEM,SAASL,EAAEM,IAAIN,EAAE,IAAG,WAAW,OAAOC,CAAC,IAAGF,EAAE3C,QAAQ2C,EAAE3C,QAAQ6C,EAAEF,EAAEjE,WAAWmE,CAAE,EAzB3hE,CAyB6hExP,2FC/B7hE,MAAM8P,cACFA,cAAaC,UACbA,UAASC,kBACTA,kBAAiBC,6BACjBA,6BAA4BC,kBAC5BA,kBAAiBC,eACjBA,eAAcC,2BACdA,2BAA0BC,iBAC1BA,kBACA3D,OAAO4D,kBAEX,MAAMC,iBAAmBT,cACzB,MAAMU,aAAeT,UACrB,MAAMU,oBAAsBT,kBAC5B,MAAMU,6BAA+BT,6BACrC,MAAMU,oBAAsBT,kBAC5B,MAAMU,kBAAoBT,eAC1B,MAAMU,0BAA4BT,2BAClC,MAAMU,mBAAqBT,iBCfZ,SAASU,WAAUC,GAA6C,IAA5CC,QAAEA,EAAOC,MAAEA,EAAKC,SAAEA,EAAQC,aAAEA,GAAcJ,EACzE,MAAMK,EAAQ5G,KAAK6G,KAAKL,EAAUE,EAASI,MAC3C,MAAMC,EAAON,EAAQC,EAASI,KAE9B,IAAIE,EAGAA,EAFAD,GAAQ,EAES/G,KAAKC,IAAI2G,EAAO,GAGhB5G,KAAKC,IAAI2G,EAAOG,EAAO,GAG5C,MAAME,EAAQ,GAEd,IAAK,IAAI1T,EAAI,EAAGA,EAAIyT,EAAgBzT,IAC5BA,IAAMwT,EACNE,EAAMnR,KAAKoR,EAAA,KAAA,CAAIC,UAAU,WAAW5T,EAAI,IAExC0T,EAAMnR,KACFoR,EAAA,KAAA,KACIA,EAAA,IAAA,CACIC,UAAU,8BACVC,QAASA,IAAMT,EAAapT,EAAImT,EAASI,OAExCvT,EAAI,KAOzB,OACI2T,EAAA,MAAA,CAAKC,UAAU,yBACXD,EAAA,KAAA,CAAIC,UAAU,sCACTV,EAAQ,GACLS,EAAA,KAAA,CAAIC,UAAU,eACVD,EAAA,IAAA,CACIC,UAAU,8BACVC,QAASA,IAAMT,EAAaF,EAAQC,EAASI,OAE5ChB,mBAIZmB,EACAF,EAAO,IAAMH,GACVM,EAAA,KAAA,CAAIC,UAAU,eACVD,EAAA,IAAA,CACIC,UAAU,8BACVC,QAASA,IAAMT,EAAaF,EAAQC,EAASI,OAE5Cf,gBAO7B,CC5Ce,SAASsB,OAAMd,GAAqB,IAApBG,SAAEA,EAAQY,KAAEA,GAAMf,EAC7C,IAAIgB,EAcJ,OAbID,EAAKC,OACLA,EAAOD,EAAKC,KACP/K,MAAM,KACNzE,MAAM,EAAG2O,EAASc,kBAClBrE,KAAK,KAENmE,EAAKC,KAAKrT,OAASqT,EAAKrT,QACS,MAAjCqT,EAAKE,OAAOF,EAAKrT,OAAS,KAE1BqT,GAAQ,SAKZL,EAAA,MAAA,CAAKC,UAAU,gBACXD,EAAA,MAAA,CAAKC,UAAU,wBACXD,EAAA,IAAA,CAAGQ,KAAMhB,EAASiB,SAAWL,EAAKM,KAAMN,EAAKO,QAEhDnB,EAASoB,SACNZ,EAAA,MAAA,CAAKC,UAAU,sBACXD,EAAA,IAAA,CAAGQ,KAAMhB,EAASiB,SAAWL,EAAKM,KAC7BN,EAAKM,IAAI9P,cAAcD,QAAQ,eAAgB,MAI3D0P,GAAQL,EAAA,MAAA,CAAKC,UAAU,uBAAuBI,GAG3D,CClCe,MAAMQ,eAAeb,EAChChS,YAAYV,GACRwT,MAAMxT,GAENe,KAAKwD,MAAQ,CACTgF,OAAQxI,KAAKf,MAAMkS,SAAS1D,MAAMvK,OAAS,GAC3CgO,MAAO,EAEf,CAGAwB,YAAcA,KACV1S,KAAKf,MAAM0T,SAAS,EAGxBC,UAAYA,KACJ5S,KAAK6S,YACL7S,KAAK6S,UAAUD,UAAY,EAC/B,EAGJE,eAAiB5B,IACblR,KAAK6F,SAAS,CAAEqL,SAASlR,KAAK4S,UAAU,EAG5CG,aAAehQ,IACX/C,KAAK6F,SAAS,CAAE2C,OAAQzF,EAAMiQ,OAAO9P,MAAOgO,MAAO,GAAKlR,KAAK4S,WAE7D5S,KAAKf,MAAMkS,SAAS1D,MAAMvK,MAAQH,EAAMiQ,OAAO9P,KAAK,EAGxD+P,aACI,MAAM9B,SAAEA,GAAanR,KAAKf,MAC1B,MAAMiS,MAAEA,GAAUlR,KAAKwD,MAEvB,MAAM0P,EAAW,GACjB,IAAIjC,EAAU,EACd,IAAIkC,EAAU,GAEd,GAAInT,KAAKwD,MAAMgF,OAAO7J,OAASwS,EAASiC,cAWpC,OAVAF,EAAS3S,KAAKuQ,oBACdoC,EAAS3S,KACsB,IAA3B4Q,EAASiC,cACH1C,6BACAG,0BAA0BvO,QACtB,OACA6O,EAASiC,gBAIhB,CAAEF,WAAUjC,UAASkC,UAASjC,SAGzC,MAAMmC,EAAQ5M,OAAO6M,OACjBtT,KAAKf,MACAsU,SAASvT,KAAKwD,MAAMgF,QACpBgL,QAAO,CAACC,EAAKC,KAGVA,EAAY3F,OAAO/J,SAAQ+J,IAClB0F,EAAIE,eAAe5F,EAAOxC,MAC3BkI,EAAI1F,EAAOxC,IAAM,CACb8G,IAAKtE,EAAOxC,GACZ+G,MAAOvE,EAAO3B,IAAIkG,MAClBN,KAAMjE,EAAO3B,IAAI4F,MAEzB,IAGGyB,IACR,CAAA,IAKX,GAFAxC,EAAUoC,EAAM1U,OAEA,IAAZsS,EAEA,OADAiC,EAAS3S,KAAKkQ,qBACP,CAAEyC,WAAUjC,UAASkC,UAASjC,SAYzC,OATIC,EAASyC,gBACT5T,KAAKf,MAAM4U,cAAe,IAAG5C,MAGjCkC,EAAUE,EAAMnM,QACZ,CAAC6K,EAAM+B,IACHA,GAAc5C,GAAS4C,EAAa3C,EAASI,KAAOL,IAGrD,CAAEgC,WAAUjC,UAASkC,UAASjC,QACzC,CAEA7N,SACI,MAAM8N,SAAEA,GAAanR,KAAKf,MAC1B,MAAMiU,SAAEA,EAAQjC,QAAEA,EAAOkC,QAAEA,EAAOjC,MAAEA,GAAUlR,KAAKiT,aAEnD,OACItB,EACIA,MAAAA,KAAAA,EAAA,MAAA,CAAKC,UAAU,0BACfD,EAAA,MAAA,CACIC,UAAU,gBACVzS,IAAK4U,GAAO/T,KAAK6S,UAAYkB,GAE7BpC,EAAA,QAAA,CACIC,UAAU,gBACVoC,YAAY,YACZC,aAAa,KACbC,SAAS,cACTlV,KAAK,SACLkE,MAAOlD,KAAKwD,MAAMgF,OAClB2L,QAASnU,KAAK+S,eAElBpB,EAAA,SAAA,CACIC,UAAU,uBACVC,QAAS7R,KAAK0S,aACjB,KAGDf,EAAA,MAAA,CAAKC,UAAU,wBACE,IAAZX,EACKN,oBACAC,kBAAkBtO,QAAQ,SAAU2O,IAE7CiC,EAAShJ,KAAIkK,GACVzC,EAAA,MAAA,CAAKzS,IAAKkV,EAASxC,UAAU,0BACxBwC,KAGRjB,EAAQjJ,KAAI6D,GACT4D,EAACG,OAAM,CACH5S,IAAK6O,EAAOuE,MACZP,KAAMhE,EACNoD,SAAUA,MAGjBF,EAAUE,EAASI,MAChBI,EAACZ,WAAU,CACPE,QAASA,EACTC,MAAOA,EACPC,SAAUA,EACVC,aAAcpR,KAAK8S,kBAM3C,EC1JJ,MAAMuB,cAAgB3P,SAAS4N,MAE/B,SAASgC,QAAQnP,GACb,MAAMoP,EAAW,IAAI/M,OAAQ,QAAOrC,wBAA2BqP,KAC3D9H,OAAO+H,SAASjM,QAGpB,OACIkM,oBACMH,GAAYA,EAAS,IAAO,IAAIjS,QAAQ,MAAO,SAChD,IAEb,CAEA,MAAMqS,aACFhV,YAAYuL,GACRlL,KAAKmR,SAAW,CACZ1D,MAAO/I,SAASkQ,eAAe,gBAC/BC,KAAMnQ,SAASkQ,eAAe,eAC9BrD,KAAM,GACNgB,SAAS,EACTqB,gBAAgB,EAChBR,cAAe,EACfnB,iBAAkB,GAClB6C,gBAAgB,EAChBC,oBAAoB,EACpBC,gBAAiB,0BACd9J,GAGPlL,KAAKiV,YAAc,CACf5D,MAAO,GAEf,CAEA6D,WACI,IAAKlV,KAAKmV,eAAgB,CAGtB,MAAMC,EAAK1Q,SAASG,cAAc,UAClCuQ,EAAGpW,KAAO,kBACVoW,EAAGpN,OAAQ,EACXoN,EAAGC,IAAMrV,KAAKmR,SAASiB,SAAWpS,KAAKmR,SAAS6D,gBAChD,MAAM9W,EAAIwG,SAAS4Q,qBAAqB,UAAU,GAClDpX,EAAEI,WAAWwD,aAAasT,EAAIlX,GAE9B8B,KAAKmV,eAAiB,IAAInP,SAAQG,IAC9BuG,OAAO6I,kBAAoBxQ,GAAQoB,EAAQpB,EAAK,IACjDkB,MAAKuP,IACJxV,KAAKiV,YAAc,IAAIxF,kCAAS,CAC5BrD,IAAK,CACDb,GAAI,MACJgC,IAAK,OACLE,MAAO,CAAC,QAAS,QACjBH,MAAO,CAAC,QAAS,WAIzB,IAAI+D,EAAQmE,EAAKnE,MAGjB,GAAI3E,OAAO+I,eAAgB,CACvB,MAAMC,EAAc,GAAEhJ,OAAO+I,kBAC7BpE,EAAQA,EAAMnK,QACV6K,GAAyC,IAAjCA,EAAKM,IAAIlS,QAAQuV,IAEjC,CAEArE,EAAMrN,SAAQwN,GAAQxR,KAAKiV,YAAYtJ,IAAI6F,IAAM,GAEzD,CAEA,OAAOxR,KAAKmV,cAChB,CAEAQ,MACQrB,QAAQ,OACRtU,KAAKmR,SAAS1D,MAAMvK,MAAQoR,QAAQ,KAEpCtU,KAAKkV,WAAWjP,MAAK,KACjBjG,KAAK4V,eAAe,KAI5B5V,KAAKmR,SAAS1D,MAAMhL,iBAAiB,SAASM,IAE1C/C,KAAKkV,WAE+B,KAAhCW,SAAS9S,EAAM+S,QAAS,KACxB9V,KAAKkV,WAAWjP,MAAK,KACjBjG,KAAK4V,eAAe,GAE5B,IAGJ5V,KAAKmR,SAAS0D,KAAKpS,iBAAiB,UAAUM,IAC1CA,EAAMgT,iBACN/V,KAAKkV,WAAWjP,MAAK,KACjBjG,KAAK4V,eAAe,GACtB,GAEV,CAEAI,aAAerV,IACK,KAAZA,EAAEsV,OAEFjW,KAAK0S,aACT,EAGJA,YAAcA,KACVhO,SAAS4N,MAAQ+B,cAEjB3P,SAAS9B,oBAAoB,QAAS5C,KAAKgW,cAE3CtR,SAASwR,KAAKC,UAAUjK,OAAO,eAC/ByF,EAAc,KAAM3R,KAAKoW,iBACzBpW,KAAKoW,gBAAkB,IAAI,EAG/BR,gBACS5V,KAAKoW,kBACNpW,KAAKoW,gBAAkB1R,SAASG,cAAc,OAC9CH,SAASwR,KAAKrU,YAAY7B,KAAKoW,kBAGnC1R,SAASjC,iBAAiB,QAASzC,KAAKgW,cAExCrE,EACIA,EAACa,OAAM,CACHe,SAAU8C,GACNrW,KAAKiV,YAAYzM,OAAO6N,EAAM,CAAEpI,QAAQ,IAE5C0E,QAAS3S,KAAK0S,YACdmB,cAAevB,IACX5N,SAAS4N,MAAS,GAAEA,KAAS+B,eAAe,EAEhDlD,SAAUnR,KAAKmR,WAEnBnR,KAAKoW,iBAGT1R,SAASwR,KAAKC,UAAUxK,IAAI,eAC5BjH,SAASwR,KAAKtD,UAAY,CAC9B,EAKJ,SAASpK,OAAO0C,GACZ,MAAMoL,EAAW,IAAI3B,aAAazJ,GAClCoL,EAASX,KACb,CAGAjJ,OAAOlE,OAASA","x_google_ignoreList":[0,1]} \ No newline at end of file +{"version":3,"file":"search.min.js.map","sources":["../node_modules/preact/dist/preact.module.js","../node_modules/flexsearch/dist/flexsearch.bundle.js","../src/js/search/translation.js","../src/js/search/Pagination.js","../src/js/search/Result.js","../src/js/search/Search.js","../src/js/search/index.js"],"sourcesContent":["var n,l,u,t,i,o,r,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(n,l){for(var u in l)n[u]=l[u];return n}function p(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,t){var i,o,r,f={};for(r in u)\"key\"==r?i=u[r]:\"ref\"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),\"function\"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return d(l,f,i,o,null)}function d(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function _(){return{current:null}}function k(n){return n.children}function b(n,l){this.props=n,this.context=l}function g(n,l){if(null==l)return n.__?g(n.__,n.__.__k.indexOf(n)+1):null;for(var u;ll&&i.sort(f));x.__r=0}function P(n,l,u,t,i,o,r,f,e,a,v){var p,y,_,b,m,w,x,P,S,H=0,I=t&&t.__k||s,T=I.length,j=T,z=l.length;for(u.__k=[],p=0;p0?d(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)?(b.__=u,b.__b=u.__b+1,-1===(P=A(b,I,x=p+H,j))?_=c:(_=I[P]||c,I[P]=void 0,j--),L(n,b,_,i,o,r,f,e,a,v),m=b.__e,(y=b.ref)&&_.ref!=y&&(_.ref&&O(_.ref,null,b),v.push(y,b.__c||m,b)),null!=m&&(null==w&&(w=m),(S=_===c||null===_.__v)?-1==P&&H--:P!==x&&(P===x+1?H++:P>x?j>z-x?H+=P-x:H--:H=P(null!=e?1:0))for(;r>=0||f=0){if((e=l[r])&&i==e.key&&o===e.type)return r;r--}if(f2&&(e.children=arguments.length>3?n.call(arguments,2):t),d(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l=\"__cC\"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,w(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),\"function\"==typeof n&&(n=n(v({},u),this.props)),n&&v(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),w(this))},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),w(this))},b.prototype.render=k,i=[],r=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},x.__r=0,e=0;export{b as Component,k as Fragment,F as cloneElement,G as createContext,y as createElement,_ as createRef,y as h,E as hydrate,t as isValidElement,l as options,D as render,S as toChildArray};\n//# sourceMappingURL=preact.module.js.map\n","/**!\r\n * FlexSearch.js v0.7.31 (Bundle)\r\n * Copyright 2018-2022 Nextapps GmbH\r\n * Author: Thomas Wilkerling\r\n * Licence: Apache-2.0\r\n * https://github.com/nextapps-de/flexsearch\r\n */\r\n(function _f(self){'use strict';try{if(module)self=module}catch(e){}self._factory=_f;var t;function u(a){return\"undefined\"!==typeof a?a:!0}function aa(a){const b=Array(a);for(let c=0;c=this.B&&(w||!n[l])){var f=L(q,d,r),g=\"\";switch(this.G){case \"full\":if(2f;h--)if(h-f>=this.B){var k=L(q,d,r,e,f);g=l.substring(f,h);M(this,n,g,k,a,c)}break}case \"reverse\":if(1=this.B&&M(this,n,\r\ng,L(q,d,r,e,h),a,c);g=\"\"}case \"forward\":if(1=this.B&&M(this,n,g,f,a,c);break}default:if(this.C&&(f=Math.min(f/this.C(b,l,r)|0,q-1)),M(this,n,l,f,a,c),w&&1=this.B&&!e[l]){e[l]=1;const p=this.l&&l>f;M(this,m,p?f:l,L(g+(d/2>g?0:1),d,r,h-1,k-1),a,c,p?l:f)}}}}this.m||(this.register[a]=1)}}return this};\r\nfunction L(a,b,c,d,e){return c&&1=this.B&&!c[q])if(this.s||f||this.map[q])k[w++]=q,c[q]=1;else return d;a=k;e=a.length}if(!e)return d;b||(b=100);h=this.depth&&1=d)))break;if(n){if(f)return ta(k,d,0);b[b.length]=k;return}}return!c&&k}function ta(a,b,c){a=1===a.length?a[0]:[].concat.apply([],a);return c||a.length>b?a.slice(c,c+b):a}\r\nfunction ua(a,b,c,d){c?(d=d&&b>c,a=(a=a[d?b:c])&&a[d?c:b]):a=a[b];return a}t.contain=function(a){return!!this.register[a]};t.update=function(a,b){return this.remove(a).add(a,b)};\r\nt.remove=function(a,b){const c=this.register[a];if(c){if(this.m)for(let d=0,e;db||c)e=e.slice(c,c+b);d&&(e=za.call(this,e));return{tag:a,result:e}}}function za(a){const b=Array(a.length);for(let c=0,d;c{f + 1});\n } else {\n items.push(\n
  • \n onPageSelect(f * settings.show)}\n >\n {f + 1}\n \n
  • \n );\n }\n }\n\n return (\n
    \n
      \n {start > 0 && (\n
    • \n onPageSelect(start - settings.show)}\n >\n {textLinkPrevious}\n \n
    • \n )}\n {items}\n {page + 1 !== pages && (\n
    • \n onPageSelect(start + settings.show)}\n >\n {textLinkNext}\n \n
    • \n )}\n
    \n
    \n );\n}\n","import * as preact from \"preact\";\n/** @jsx preact.h */\n\n// TODO :: restore highlight\n/*function highlightText(search, text) {\n if (settings.highlightTerms) {\n var pattern = new RegExp(\n `(${search})`,\n settings.highlightEveryTerm ? \"gi\" : \"i\"\n );\n text = text.replace(\n pattern,\n '$1'\n );\n }\n\n return text;\n}*/\n\nexport default function Result({ settings, item }) {\n let text;\n if (item.text) {\n text = item.text\n .split(\" \")\n .slice(0, settings.descriptiveWords)\n .join(\" \");\n if (\n item.text.length < text.length &&\n text.charAt(text.length - 1) !== \".\"\n ) {\n text += \" ...\";\n }\n }\n\n return (\n
    \n \n {settings.showURL && (\n \n )}\n {text &&
    {text}
    }\n
    \n );\n}\n","import * as preact from \"preact\";\n\nimport Pagination from \"./Pagination\";\nimport Result from \"./Result\";\nimport {\n textSearchNoResults,\n textSearchOneCharacterOrMore,\n textSearchOneResult,\n textSearchResults,\n textSearchShouldBeXOrMore,\n textSearchTooShort\n} from \"./translation\";\n\n/** @jsx preact.h */\n\nexport default class Search extends preact.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n search: this.props.settings.field.value || \"\",\n start: 0\n };\n }\n\n // \"click\", \".SearchResults__close\"\n handleClose = () => {\n this.props.onClose();\n };\n\n scrollTop = () => {\n if (this.resultRef) {\n this.resultRef.scrollTop = 0;\n }\n };\n\n handlePaginate = start => {\n this.setState({ start }, this.scrollTop);\n };\n\n handleChange = event => {\n this.setState({ search: event.target.value, start: 0 }, this.scrollTop);\n\n this.props.settings.field.value = event.target.value;\n };\n\n getResults() {\n const { settings } = this.props;\n const { start } = this.state;\n\n const warnings = [];\n let counter = 0;\n let results = [];\n\n if (this.state.search.length < settings.minimumLength) {\n warnings.push(textSearchTooShort);\n warnings.push(\n settings.minimumLength === 1\n ? textSearchOneCharacterOrMore\n : textSearchShouldBeXOrMore.replace(\n \"!min\",\n settings.minimumLength\n )\n );\n\n return { warnings, counter, results, start };\n }\n\n const found = Object.values(\n this.props\n .onSearch(this.state.search)\n .reduce((acc, fieldResult) => {\n // FlexSearch returns results per field\n // We de-duplicate them here and have a single array of results\n fieldResult.result.forEach(result => {\n if (!acc.hasOwnProperty(result.id)) {\n acc[result.id] = {\n url: result.id,\n title: result.doc.title,\n text: result.doc.text\n };\n }\n });\n\n return acc;\n }, {})\n );\n\n counter = found.length;\n\n if (counter === 0) {\n warnings.push(textSearchNoResults);\n return { warnings, counter, results, start };\n }\n\n if (settings.showTitleCount) {\n this.props.onTitleChange(`(${counter})`);\n }\n\n results = found.filter(\n (item, itemNumber) =>\n itemNumber >= start && itemNumber < settings.show + start\n );\n\n return { warnings, counter, results, start };\n }\n\n render() {\n const { settings } = this.props;\n const { warnings, counter, results, start } = this.getResults();\n\n return (\n
    \n
    \n (this.resultRef = el)}\n >\n \n \n ×\n \n
    \n {counter === 1\n ? textSearchOneResult\n : textSearchResults.replace(\"!count\", counter)}\n
    \n {warnings.map(warning => (\n
    \n {warning}\n
    \n ))}\n {results.map(result => (\n \n ))}\n {counter > settings.show && (\n \n )}\n
    \n
    \n );\n }\n}\n","import * as preact from \"preact\";\nimport { Document } from \"flexsearch\";\n\nimport Search from \"./Search\";\n\n/** @jsx preact.h */\n\nconst originalTitle = document.title;\n\nfunction getURLP(name) {\n const elements = new RegExp(`[?|&]${name}=([^&;]+?)(&|#|;|$)`).exec(\n window.location.search\n );\n\n return (\n decodeURIComponent(\n ((elements && elements[1]) || \"\").replace(/\\+/g, \"%20\")\n ) || null\n );\n}\n\nclass SearchEngine {\n constructor(options) {\n this.settings = {\n field: document.getElementById(\"search_input\"),\n form: document.getElementById(\"search_form\"),\n show: 10,\n showURL: true,\n showTitleCount: true,\n minimumLength: 3,\n descriptiveWords: 25,\n highlightTerms: true,\n highlightEveryTerm: false,\n contentLocation: \"daux_search_index.js\",\n ...options\n };\n\n this.searchIndex = {\n pages: []\n };\n }\n\n loadData() {\n if (!this.loadingPromise) {\n // We do this as jsonp instead of an XHR or fetch request\n // to be compatible with usage from filesystem\n const po = document.createElement(\"script\");\n po.type = \"text/javascript\";\n po.async = true;\n po.src = this.settings.base_url + this.settings.contentLocation;\n const s = document.getElementsByTagName(\"script\")[0];\n s.parentNode.insertBefore(po, s);\n\n this.loadingPromise = new Promise(resolve => {\n window.load_search_index = data => resolve(data);\n }).then(json => {\n this.searchIndex = new Document({\n doc: {\n id: \"url\",\n tag: \"tags\",\n field: [\"title\", \"text\"],\n store: [\"title\", \"text\"]\n }\n });\n\n let pages = json.pages;\n\n // Only keep the pages related to the current language\n if (window.searchLanguage) {\n const pagePrefix = `${window.searchLanguage}/`;\n pages = pages.filter(\n item => item.url.indexOf(pagePrefix) === 0\n );\n }\n\n pages.forEach(page => this.searchIndex.add(page));\n });\n }\n\n return this.loadingPromise;\n }\n\n run() {\n if (getURLP(\"q\")) {\n this.settings.field.value = getURLP(\"q\");\n\n this.loadData().then(() => {\n this.displaySearch();\n });\n }\n\n this.settings.field.addEventListener(\"keyup\", event => {\n // Start loading index once the user types text in the field, not before\n this.loadData();\n\n if (parseInt(event.keyCode, 10) === 13) {\n this.loadData().then(() => {\n this.displaySearch();\n });\n }\n });\n\n this.settings.form.addEventListener(\"submit\", event => {\n event.preventDefault();\n this.loadData().then(() => {\n this.displaySearch();\n });\n });\n }\n\n keyUpHandler = e => {\n if (e.which === 27) {\n //escape\n this.handleClose();\n }\n };\n\n handleClose = () => {\n document.title = originalTitle;\n\n document.removeEventListener(\"keyup\", this.keyUpHandler);\n\n document.body.classList.remove(\"with-search\");\n preact.render(null, this.resultContainer);\n this.resultContainer = null;\n };\n\n displaySearch() {\n if (!this.resultContainer) {\n this.resultContainer = document.createElement(\"div\");\n document.body.appendChild(this.resultContainer);\n }\n\n document.addEventListener(\"keyup\", this.keyUpHandler);\n\n preact.render(\n \n this.searchIndex.search(term, { enrich: true })\n }\n onClose={this.handleClose}\n onTitleChange={title => {\n document.title = `${title} ${originalTitle}`;\n }}\n settings={this.settings}\n />,\n this.resultContainer\n );\n\n document.body.classList.add(\"with-search\");\n document.body.scrollTop = 0;\n }\n}\n\n// Main containers\n\nfunction search(options) {\n const instance = new SearchEngine(options);\n instance.run();\n}\n\n// Declare globally\nwindow.search = search;\n"],"names":["n","l","u","i","o","r","f","c","s","a","h","Array","isArray","v","p","parentNode","removeChild","y","t","arguments","length","children","call","defaultProps","d","type","props","key","ref","__k","__","__b","__e","__d","__c","__h","constructor","__v","vnode","k","b","this","context","g","indexOf","m","base","w","push","x","__r","debounceRendering","e","sort","shift","__P","L","__n","ownerSVGElement","M","P","_","S","H","I","T","j","z","A","O","nextSibling","$","C","q","insertBefore","setProperty","test","style","cssText","replace","toLowerCase","slice","addEventListener","removeEventListener","removeAttribute","setAttribute","event","contextType","value","__E","prototype","render","B","sub","state","_sb","__s","getDerivedStateFromProps","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","forEach","componentWillUpdate","componentDidUpdate","getChildContext","getSnapshotBeforeUpdate","N","diffed","some","localName","nodeType","document","createTextNode","createElementNS","createElement","is","data","childNodes","dangerouslySetInnerHTML","attributes","name","__html","innerHTML","checked","current","unmount","componentWillUnmount","D","firstChild","getDerivedStateFromError","setState","componentDidCatch","forceUpdate","Promise","then","bind","resolve","setTimeout","_f","self","module","aa","Object","create","ba","ca","da","E","J","split","filter","_factory","ea","fa","keys","F","RegExp","ha","ja","encode","ia","G","ka","la","async","apply","ma","na","cache","oa","query","get","search","set","qa","memory","charset","performance","depth","match","score","default","ra","JSON","stringify","export","K","preset","assign","lang","register","resolution","tokenize","bidirectional","optimize","fastupdate","minlength","boost","map","rtl","matcher","stemmer","includes","sa","ua","Math","min","ta","concat","splice","va","_index","args","task","options","factory","Function","FlexSearch","Index","id","postMessage","msg","append","add","update","substring","limit","offset","suggest","contain","remove","searchCache","doc","opt","import","parse","wa","toString","window","exports","xa","worker","on","onmessage","eval","Worker","URL","createObjectURL","Blob","Q","store","tag","index","field","U","V","join","ya","za","result","pluck","enrich","bool","searchAsync","pa","R","X","all","Ba","Aa","Ca","normalize","Ea","Da","Fa","Ga","Ia","Ha","Ja","La","Ka","Ma","W","Y","Z","Document","registerCharset","registerLanguage","define","amd","_window$searchTransla","searchTranslation","Link_previous","Link_next","Search_no_results","Search_one_character_or_more","Search_one_result","Search_results","Search_should_be_x_or_more","Search_too_short","textLinkPrevious","textLinkNext","textSearchNoResults","textSearchOneCharacterOrMore","textSearchOneResult","textSearchResults","textSearchShouldBeXOrMore","textSearchTooShort","Pagination","_ref","counter","start","settings","onPageSelect","pages","ceil","show","page","displayedPages","items","_loop","preact","className","onClick","Result","item","text","descriptiveWords","charAt","href","base_url","url","title","showURL","Search","_preact$Component","_inherits","_super","_createSuper","_this","_classCallCheck","_defineProperty","_assertThisInitialized","onClose","resultRef","scrollTop","target","_createClass","warnings","results","minimumLength","found","values","onSearch","reduce","acc","fieldResult","hasOwnProperty","showTitleCount","onTitleChange","itemNumber","_this2","_this$getResults","getResults","el","placeholder","autoComplete","autoSave","onInput","handleChange","handleClose","warning","handlePaginate","originalTitle","getURLP","elements","exec","location","decodeURIComponent","SearchEngine","which","keyUpHandler","body","classList","resultContainer","_objectSpread","getElementById","form","highlightTerms","highlightEveryTerm","contentLocation","searchIndex","loadingPromise","po","src","getElementsByTagName","load_search_index","json","searchLanguage","pagePrefix","_this3","loadData","displaySearch","parseInt","keyCode","preventDefault","_this4","appendChild","term","instance","run"],"mappings":"mnGAAG,IAACA,EAAEC,EAAEC,EAAIC,EAAEC,EAAEC,EAAEC,EAAIC,EAAE,CAAE,EAACC,EAAE,GAAGC,EAAE,oEAAoEC,EAAEC,MAAMC,QAAQ,SAASC,EAAEb,EAAEC,GAAG,IAAI,IAAIC,KAAKD,EAAED,EAAEE,GAAGD,EAAEC,GAAG,OAAOF,CAAC,CAAC,SAASc,EAAEd,GAAG,IAAIC,EAAED,EAAEe,WAAWd,GAAGA,EAAEe,YAAYhB,EAAE,CAAC,SAASiB,EAAEhB,EAAEC,EAAEgB,GAAG,IAAIf,EAAEC,EAAEC,EAAEC,EAAE,CAAE,EAAC,IAAID,KAAKH,EAAE,OAAOG,EAAEF,EAAED,EAAEG,GAAG,OAAOA,EAAED,EAAEF,EAAEG,GAAGC,EAAED,GAAGH,EAAEG,GAAG,GAAGc,UAAUC,OAAO,IAAId,EAAEe,SAASF,UAAUC,OAAO,EAAEpB,EAAEsB,KAAKH,UAAU,GAAGD,GAAG,mBAAmBjB,GAAG,MAAMA,EAAEsB,aAAa,IAAIlB,KAAKJ,EAAEsB,kBAAa,IAASjB,EAAED,KAAKC,EAAED,GAAGJ,EAAEsB,aAAalB,IAAI,OAAOmB,EAAEvB,EAAEK,EAAEH,EAAEC,EAAE,KAAK,CAAC,SAASoB,EAAExB,EAAEkB,EAAEf,EAAEC,EAAEC,GAAG,IAAIC,EAAE,CAACmB,KAAKzB,EAAE0B,MAAMR,EAAES,IAAIxB,EAAEyB,IAAIxB,EAAEyB,IAAI,KAAKC,GAAG,KAAKC,IAAI,EAAEC,IAAI,KAAKC,SAAI,EAAOC,IAAI,KAAKC,IAAI,KAAKC,iBAAY,EAAOC,IAAI,MAAMhC,IAAIH,EAAEG,GAAG,OAAO,MAAMA,GAAG,MAAMJ,EAAEqC,OAAOrC,EAAEqC,MAAMhC,GAAGA,CAAC,CAAmC,SAASiC,EAAEvC,GAAG,OAAOA,EAAEqB,QAAQ,CAAC,SAASmB,EAAExC,EAAEC,GAAGwC,KAAKf,MAAM1B,EAAEyC,KAAKC,QAAQzC,CAAC,CAAC,SAAS0C,EAAE3C,EAAEC,GAAG,GAAG,MAAMA,EAAE,OAAOD,EAAE8B,GAAGa,EAAE3C,EAAE8B,GAAG9B,EAAE8B,GAAGD,IAAIe,QAAQ5C,GAAG,GAAG,KAAK,IAAI,IAAIE,EAAED,EAAED,EAAE6B,IAAIT,OAAOnB,IAAI,GAAG,OAAOC,EAAEF,EAAE6B,IAAI5B,KAAK,MAAMC,EAAE8B,IAAI,OAAO9B,EAAE8B,IAAI,MAAM,mBAAmBhC,EAAEyB,KAAKkB,EAAE3C,GAAG,IAAI,CAAC,SAAS6C,EAAE7C,GAAG,IAAIC,EAAEC,EAAE,GAAG,OAAOF,EAAEA,EAAE8B,KAAK,MAAM9B,EAAEkC,IAAI,CAAC,IAAIlC,EAAEgC,IAAIhC,EAAEkC,IAAIY,KAAK,KAAK7C,EAAE,EAAEA,EAAED,EAAE6B,IAAIT,OAAOnB,IAAI,GAAG,OAAOC,EAAEF,EAAE6B,IAAI5B,KAAK,MAAMC,EAAE8B,IAAI,CAAChC,EAAEgC,IAAIhC,EAAEkC,IAAIY,KAAK5C,EAAE8B,IAAI,KAAK,CAAC,OAAOa,EAAE7C,EAAE,CAAC,CAAC,SAAS+C,EAAE/C,KAAKA,EAAEiC,MAAMjC,EAAEiC,KAAI,IAAK9B,EAAE6C,KAAKhD,KAAKiD,EAAEC,OAAO9C,IAAIH,EAAEkD,sBAAsB/C,EAAEH,EAAEkD,oBAAoB9C,GAAG4C,EAAE,CAAC,SAASA,IAAI,IAAIjD,EAAEC,EAAEC,EAAEgB,EAAEd,EAAEC,EAAE+C,EAAE7C,EAAEC,EAAE,IAAIL,EAAEkD,KAAK/C,GAAGN,EAAEG,EAAEmD,SAAStD,EAAEiC,MAAMhC,EAAEE,EAAEiB,OAAOF,OAAE,EAAOd,OAAE,EAAOC,OAAE,EAAOE,GAAG6C,GAAGlD,EAAEF,GAAGqC,KAAKL,KAAKxB,EAAEN,EAAEqD,OAAOrC,EAAE,GAAGd,EAAE,IAAIC,EAAEQ,EAAE,CAAE,EAACuC,IAAIf,IAAIe,EAAEf,IAAI,EAAEmB,EAAEhD,EAAE4C,EAAE/C,EAAEH,EAAEuD,SAAI,IAASjD,EAAEkD,gBAAgB,MAAMN,EAAEjB,IAAI,CAAC5B,GAAG,KAAKW,EAAE,MAAMX,EAAEoC,EAAES,GAAG7C,EAAE6C,EAAEjB,IAAI/B,GAAGuD,EAAEzC,EAAEkC,EAAEhD,GAAGgD,EAAEpB,KAAKzB,GAAGsC,EAAEO,IAAIjD,EAAEiB,OAAOnB,GAAGE,EAAEkD,KAAK/C,IAAI2C,EAAEC,IAAI,CAAC,CAAC,SAASU,EAAE5D,EAAEC,EAAEC,EAAEgB,EAAEf,EAAEC,EAAEC,EAAEC,EAAE8C,EAAE3C,EAAEI,GAAG,IAAIC,EAAEG,EAAE4C,EAAErB,EAAEK,EAAEE,EAAEE,EAAEW,EAAEE,EAAEC,EAAE,EAAEC,EAAE9C,GAAGA,EAAEW,KAAKrB,EAAEyD,EAAED,EAAE5C,OAAO8C,EAAED,EAAEE,EAAElE,EAAEmB,OAAO,IAAIlB,EAAE2B,IAAI,GAAGf,EAAE,EAAEA,EAAEqD,EAAErD,IAAI,OAAO0B,EAAEtC,EAAE2B,IAAIf,GAAG,OAAO0B,EAAEvC,EAAEa,KAAK,kBAAkB0B,GAAG,mBAAmBA,EAAE,KAAK,iBAAiBA,GAAG,iBAAiBA,GAAG,iBAAiBA,EAAEhB,EAAE,KAAKgB,EAAE,KAAK,KAAKA,GAAG9B,EAAE8B,GAAGhB,EAAEe,EAAE,CAAClB,SAASmB,GAAG,KAAK,KAAK,MAAMA,EAAET,IAAI,EAAEP,EAAEgB,EAAEf,KAAKe,EAAEd,MAAMc,EAAEb,IAAIa,EAAEZ,IAAIY,EAAEZ,IAAI,KAAKY,EAAEH,KAAKG,IAAIA,EAAEV,GAAG5B,EAAEsC,EAAET,IAAI7B,EAAE6B,IAAI,GAAG,KAAK6B,EAAEQ,EAAE5B,EAAEwB,EAAEf,EAAEnC,EAAEiD,EAAEG,IAAIL,EAAEtD,GAAGsD,EAAEG,EAAEJ,IAAIrD,EAAEyD,EAAEJ,QAAG,EAAOM,KAAKV,EAAExD,EAAEwC,EAAEqB,EAAE1D,EAAEC,EAAEC,EAAEC,EAAE8C,EAAE3C,EAAEI,GAAGgC,EAAEL,EAAER,KAAKf,EAAEuB,EAAEZ,MAAMiC,EAAEjC,KAAKX,IAAI4C,EAAEjC,KAAKyC,EAAER,EAAEjC,IAAI,KAAKY,GAAG3B,EAAEmC,KAAK/B,EAAEuB,EAAEN,KAAKW,EAAEL,IAAI,MAAMK,IAAI,MAAME,IAAIA,EAAEF,IAAIiB,EAAED,IAAItD,GAAG,OAAOsD,EAAExB,MAAM,GAAGuB,GAAGG,IAAIH,IAAIX,IAAIW,IAAIX,EAAE,EAAEc,IAAIH,EAAEX,EAAEiB,EAAEC,EAAElB,EAAEc,GAAGH,EAAEX,EAAEc,IAAIA,EAAEH,EAAEX,GAAGW,GAAGX,EAAE,EAAEW,EAAEX,EAAE,GAAGA,EAAEnC,EAAEiD,EAAE,mBAAmBvB,EAAEf,MAAMmC,IAAIX,GAAGY,EAAEhC,MAAMW,EAAEX,IAAI,mBAAmBW,EAAEf,MAAMmC,IAAIX,IAAIa,OAAE,IAAStB,EAAEP,KAAKmB,EAAEZ,EAAEP,IAAIO,EAAEP,SAAI,GAAQmB,EAAEP,EAAEyB,YAAYlB,EAAEmB,EAAEvE,EAAE6C,EAAEO,GAAGA,EAAEoB,EAAEhC,EAAEY,EAAEpD,GAAG,mBAAmBE,EAAEuB,OAAOvB,EAAE+B,IAAImB,MAAMS,EAAEG,EAAElD,KAAK,MAAM+C,EAAElC,KAAKkC,EAAE7B,MAAM6B,EAAE7B,KAAKoB,IAAIA,EAAET,EAAEkB,IAAIY,EAAEZ,EAAEA,GAAE,IAAK,IAAI3D,EAAE8B,IAAIe,EAAEjC,EAAEmD,EAAEnD,KAAK,MAAMkD,EAAElD,KAAK,mBAAmBZ,EAAEuB,MAAM,MAAMuC,EAAElD,GAAGkB,KAAKgC,EAAElD,GAAGkB,KAAK9B,EAAE+B,MAAM/B,EAAE+B,IAAI+B,EAAElD,GAAGkB,IAAIsC,aAAaG,EAAET,EAAElD,GAAGkD,EAAElD,IAAI,CAAC,SAAS0D,EAAExE,EAAEC,EAAEC,GAAG,IAAI,IAAIgB,EAAEf,EAAEH,EAAE6B,IAAIzB,EAAE,EAAED,GAAGC,EAAED,EAAEiB,OAAOhB,KAAKc,EAAEf,EAAEC,MAAMc,EAAEY,GAAG9B,EAAEC,EAAE,mBAAmBiB,EAAEO,KAAK+C,EAAEtD,EAAEjB,EAAEC,GAAGqE,EAAErE,EAAEgB,EAAEc,IAAI/B,IAAI,OAAOA,CAAC,CAA6G,SAASsE,EAAEvE,EAAEC,EAAEC,GAAG,OAAO,MAAMA,GAAGA,EAAEa,aAAaf,EAAEA,EAAE0E,aAAazE,EAAE,MAAMA,GAAGC,GAAG,MAAMD,EAAEc,YAAYf,EAAE0E,aAAazE,EAAEC,GAAGD,EAAEqE,WAAW,CAAC,SAASF,EAAEpE,EAAEC,EAAEC,EAAEgB,GAAG,IAAIf,EAAEH,EAAE2B,IAAIvB,EAAEJ,EAAEyB,KAAKpB,EAAEH,EAAE,EAAEI,EAAEJ,EAAE,EAAEkD,EAAEnD,EAAEC,GAAG,GAAG,OAAOkD,GAAGA,GAAGjD,GAAGiD,EAAEzB,KAAKvB,IAAIgD,EAAE3B,KAAK,OAAOvB,EAAE,GAAGgB,GAAG,MAAMkC,EAAE,EAAE,GAAG,KAAK/C,GAAG,GAAGC,EAAEL,EAAEmB,QAAQ,CAAC,GAAGf,GAAG,EAAE,CAAC,IAAI+C,EAAEnD,EAAEI,KAAKF,GAAGiD,EAAEzB,KAAKvB,IAAIgD,EAAE3B,KAAK,OAAOpB,EAAEA,GAAG,CAAC,GAAGC,EAAEL,EAAEmB,OAAO,CAAC,IAAIgC,EAAEnD,EAAEK,KAAKH,GAAGiD,EAAEzB,KAAKvB,IAAIgD,EAAE3B,KAAK,OAAOnB,EAAEA,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,SAASyD,EAAE/D,EAAEC,EAAEC,EAAEgB,EAAEf,GAAG,IAAIC,EAAE,IAAIA,KAAKF,EAAE,aAAaE,GAAG,QAAQA,GAAGA,KAAKH,GAAGgE,EAAEjE,EAAEI,EAAE,KAAKF,EAAEE,GAAGc,GAAG,IAAId,KAAKH,EAAEE,GAAG,mBAAmBF,EAAEG,IAAI,aAAaA,GAAG,QAAQA,GAAG,UAAUA,GAAG,YAAYA,GAAGF,EAAEE,KAAKH,EAAEG,IAAI6D,EAAEjE,EAAEI,EAAEH,EAAEG,GAAGF,EAAEE,GAAGc,EAAE,CAAC,SAAS8C,EAAEhE,EAAEC,EAAEC,GAAG,MAAMD,EAAE,GAAGD,EAAE2E,YAAY1E,EAAE,MAAMC,EAAE,GAAGA,GAAGF,EAAEC,GAAG,MAAMC,EAAE,GAAG,iBAAiBA,GAAGO,EAAEmE,KAAK3E,GAAGC,EAAEA,EAAE,IAAI,CAAC,SAAS+D,EAAEjE,EAAEC,EAAEC,EAAEgB,EAAEf,GAAG,IAAIC,EAAEJ,EAAE,GAAG,UAAUC,EAAE,GAAG,iBAAiBC,EAAEF,EAAE6E,MAAMC,QAAQ5E,MAAM,CAAC,GAAG,iBAAiBgB,IAAIlB,EAAE6E,MAAMC,QAAQ5D,EAAE,IAAIA,EAAE,IAAIjB,KAAKiB,EAAEhB,GAAGD,KAAKC,GAAG8D,EAAEhE,EAAE6E,MAAM5E,EAAE,IAAI,GAAGC,EAAE,IAAID,KAAKC,EAAEgB,GAAGhB,EAAED,KAAKiB,EAAEjB,IAAI+D,EAAEhE,EAAE6E,MAAM5E,EAAEC,EAAED,GAAG,MAAM,GAAG,MAAMA,EAAE,IAAI,MAAMA,EAAE,GAAGG,EAAEH,KAAKA,EAAEA,EAAE8E,QAAQ,WAAW,KAAK9E,EAAEA,EAAE+E,gBAAgBhF,EAAEC,EAAE+E,cAAcC,MAAM,GAAGhF,EAAEgF,MAAM,GAAGjF,EAAEC,IAAID,EAAEC,EAAE,CAAA,GAAID,EAAEC,EAAEA,EAAEG,GAAGF,EAAEA,EAAEgB,GAAGlB,EAAEkF,iBAAiBjF,EAAEG,EAAE+D,EAAED,EAAE9D,GAAGJ,EAAEmF,oBAAoBlF,EAAEG,EAAE+D,EAAED,EAAE9D,QAAQ,GAAG,4BAA4BH,EAAE,CAAC,GAAGE,EAAEF,EAAEA,EAAE8E,QAAQ,cAAc,KAAKA,QAAQ,SAAS,UAAU,GAAG,UAAU9E,GAAG,WAAWA,GAAG,SAASA,GAAG,SAASA,GAAG,SAASA,GAAG,aAAaA,GAAG,aAAaA,GAAG,YAAYA,GAAG,YAAYA,GAAGA,KAAKD,EAAE,IAAIA,EAAEC,GAAG,MAAMC,EAAE,GAAGA,EAAE,MAAMF,CAAC,CAAC,MAAMA,GAAE,CAAE,mBAAmBE,IAAI,MAAMA,IAAG,IAAKA,GAAG,MAAMD,EAAE,GAAGD,EAAEoF,gBAAgBnF,GAAGD,EAAEqF,aAAapF,EAAEC,GAAG,CAAC,CAAC,SAASgE,EAAElE,GAAG,OAAOyC,KAAKxC,EAAED,EAAEyB,MAAK,GAAIxB,EAAEqF,MAAMrF,EAAEqF,MAAMtF,GAAGA,EAAE,CAAC,SAASmE,EAAEnE,GAAG,OAAOyC,KAAKxC,EAAED,EAAEyB,MAAK,GAAIxB,EAAEqF,MAAMrF,EAAEqF,MAAMtF,GAAGA,EAAE,CAAC,SAASwD,EAAExD,EAAEE,EAAEgB,EAAEf,EAAEC,EAAEC,EAAEC,EAAE8C,EAAE7C,EAAEC,GAAG,IAAIC,EAAEK,EAAEG,EAAEO,EAAEqC,EAAElB,EAAEE,EAAEE,EAAEE,EAAEuB,EAAEV,EAAES,EAAEH,EAAEL,EAAEC,EAAEC,EAAE/D,EAAEuB,KAAK,QAAG,IAASvB,EAAEkC,YAAY,OAAO,KAAK,MAAMlB,EAAEiB,MAAM5B,EAAEW,EAAEiB,IAAIiB,EAAElD,EAAE8B,IAAId,EAAEc,IAAI9B,EAAEiC,IAAI,KAAK9B,EAAE,CAAC+C,KAAK3C,EAAER,EAAE8B,MAAMtB,EAAEP,GAAGF,EAAE,GAAG,mBAAmBiE,EAAE,IAAI,GAAGlB,EAAE7C,EAAEwB,MAAMuB,GAAGxC,EAAEwD,EAAEsB,cAAcpF,EAAEM,EAAEyB,KAAKsC,EAAE/D,EAAEwC,EAAEA,EAAEvB,MAAM8D,MAAM/E,EAAEqB,GAAG3B,EAAEe,EAAEgB,IAAIW,GAAG/B,EAAEZ,EAAEgC,IAAIhB,EAAEgB,KAAKJ,GAAGhB,EAAE2E,KAAK,cAAcxB,GAAGA,EAAEyB,UAAUC,OAAOzF,EAAEgC,IAAIpB,EAAE,IAAImD,EAAElB,EAAEyB,IAAItE,EAAEgC,IAAIpB,EAAE,IAAI0B,EAAEO,EAAEyB,GAAG1D,EAAEsB,YAAY6B,EAAEnD,EAAE6E,OAAOC,GAAG3C,GAAGA,EAAE4C,IAAI/E,GAAGA,EAAEY,MAAMqB,EAAEjC,EAAEgF,QAAQhF,EAAEgF,MAAM,CAAE,GAAEhF,EAAE4B,QAAQ8B,EAAE1D,EAAE2C,IAAItD,EAAEc,EAAEH,EAAEmB,KAAI,EAAGnB,EAAEqB,IAAI,GAAGrB,EAAEiF,IAAI,IAAI,MAAMjF,EAAEkF,MAAMlF,EAAEkF,IAAIlF,EAAEgF,OAAO,MAAM7B,EAAEgC,2BAA2BnF,EAAEkF,KAAKlF,EAAEgF,QAAQhF,EAAEkF,IAAInF,EAAE,CAAE,EAACC,EAAEkF,MAAMnF,EAAEC,EAAEkF,IAAI/B,EAAEgC,yBAAyBlD,EAAEjC,EAAEkF,OAAOxE,EAAEV,EAAEY,MAAMmC,EAAE/C,EAAEgF,MAAMhF,EAAEuB,IAAInC,EAAEe,EAAE,MAAMgD,EAAEgC,0BAA0B,MAAMnF,EAAEoF,oBAAoBpF,EAAEoF,qBAAqB,MAAMpF,EAAEqF,mBAAmBrF,EAAEqB,IAAIa,KAAKlC,EAAEqF,uBAAuB,CAAC,GAAG,MAAMlC,EAAEgC,0BAA0BlD,IAAIvB,GAAG,MAAMV,EAAEsF,2BAA2BtF,EAAEsF,0BAA0BrD,EAAEyB,IAAI1D,EAAEkB,MAAM,MAAMlB,EAAEuF,wBAAuB,IAAKvF,EAAEuF,sBAAsBtD,EAAEjC,EAAEkF,IAAIxB,IAAItE,EAAEmC,MAAMnB,EAAEmB,KAAK,CAAC,IAAInC,EAAEmC,MAAMnB,EAAEmB,MAAMvB,EAAEY,MAAMqB,EAAEjC,EAAEgF,MAAMhF,EAAEkF,IAAIlF,EAAEmB,KAAI,GAAI/B,EAAE8B,IAAId,EAAEc,IAAI9B,EAAE2B,IAAIX,EAAEW,IAAI3B,EAAE2B,IAAIyE,SAAQ,SAAStG,GAAGA,IAAIA,EAAE8B,GAAG5B,EAAE,IAAG4D,EAAE,EAAEA,EAAEhD,EAAEiF,IAAI3E,OAAO0C,IAAIhD,EAAEqB,IAAIa,KAAKlC,EAAEiF,IAAIjC,IAAIhD,EAAEiF,IAAI,GAAGjF,EAAEqB,IAAIf,QAAQd,EAAE0C,KAAKlC,GAAG,MAAMd,CAAC,CAAC,MAAMc,EAAEyF,qBAAqBzF,EAAEyF,oBAAoBxD,EAAEjC,EAAEkF,IAAIxB,GAAG,MAAM1D,EAAE0F,oBAAoB1F,EAAEqB,IAAIa,MAAK,WAAWlC,EAAE0F,mBAAmBhF,EAAEqC,EAAElB,EAAE,GAAE,CAAC,GAAG7B,EAAE4B,QAAQ8B,EAAE1D,EAAEY,MAAMqB,EAAEjC,EAAEyC,IAAIvD,EAAEc,EAAEkB,KAAI,EAAGuC,EAAEtE,EAAEiD,IAAIkB,EAAE,EAAE,cAAcH,GAAGA,EAAEyB,UAAUC,OAAO,CAAC,IAAI7E,EAAEgF,MAAMhF,EAAEkF,IAAIlF,EAAEmB,KAAI,EAAGsC,GAAGA,EAAErE,GAAGO,EAAEK,EAAE6E,OAAO7E,EAAEY,MAAMZ,EAAEgF,MAAMhF,EAAE4B,SAASqB,EAAE,EAAEA,EAAEjD,EAAEiF,IAAI3E,OAAO2C,IAAIjD,EAAEqB,IAAIa,KAAKlC,EAAEiF,IAAIhC,IAAIjD,EAAEiF,IAAI,EAAE,MAAM,GAAGjF,EAAEmB,KAAI,EAAGsC,GAAGA,EAAErE,GAAGO,EAAEK,EAAE6E,OAAO7E,EAAEY,MAAMZ,EAAEgF,MAAMhF,EAAE4B,SAAS5B,EAAEgF,MAAMhF,EAAEkF,UAAUlF,EAAEmB,OAAOmC,EAAE,IAAItD,EAAEgF,MAAMhF,EAAEkF,IAAI,MAAMlF,EAAE2F,kBAAkBtG,EAAEU,EAAEA,EAAE,CAAE,EAACV,GAAGW,EAAE2F,oBAAoBxF,GAAG,MAAMH,EAAE4F,0BAA0B/D,EAAE7B,EAAE4F,wBAAwBlF,EAAEqC,IAAID,EAAE5D,EAAEU,EAAEsD,EAAE,MAAMvD,GAAGA,EAAEgB,OAAOc,GAAG,MAAM9B,EAAEkB,IAAIlB,EAAEiB,MAAML,SAASZ,GAAGuD,EAAE,CAACA,GAAG9D,EAAEgB,EAAEf,EAAEC,EAAEC,EAAEC,EAAE8C,EAAE7C,EAAEC,GAAGM,EAAEgC,KAAK5C,EAAE8B,IAAI9B,EAAEiC,IAAI,KAAKrB,EAAEqB,IAAIf,QAAQd,EAAE0C,KAAKlC,GAAG+B,IAAI/B,EAAE2E,IAAI3E,EAAEgB,GAAG,KAAK,CAAC,MAAM9B,GAAGE,EAAEmC,IAAI,MAAM9B,GAAG,MAAMF,KAAKH,EAAE8B,IAAIoB,EAAElD,EAAEiC,MAAM5B,EAAEF,EAAEA,EAAEuC,QAAQQ,IAAI,MAAMnD,EAAE+B,IAAIhC,EAAEE,EAAEgB,EAAE,MAAM,MAAMb,GAAGH,EAAEmC,MAAMnB,EAAEmB,KAAKnC,EAAE2B,IAAIX,EAAEW,IAAI3B,EAAE8B,IAAId,EAAEc,KAAK9B,EAAE8B,IAAI2E,EAAEzF,EAAEc,IAAI9B,EAAEgB,EAAEf,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,IAAIC,EAAER,EAAE2G,SAASnG,EAAEP,EAAE,CAAC,SAASyD,EAAE3D,EAAEE,EAAEgB,GAAG,IAAI,IAAIf,EAAE,EAAEA,EAAEe,EAAEE,OAAOjB,IAAIkE,EAAEnD,EAAEf,GAAGe,IAAIf,GAAGe,IAAIf,IAAIF,EAAEiC,KAAKjC,EAAEiC,IAAIhC,EAAEF,GAAGA,EAAE6G,MAAK,SAAS3G,GAAG,IAAIF,EAAEE,EAAEiC,IAAIjC,EAAEiC,IAAI,GAAGnC,EAAE6G,MAAK,SAAS7G,GAAGA,EAAEsB,KAAKpB,EAAE,GAAE,CAAC,MAAMF,GAAGC,EAAE+B,IAAIhC,EAAEE,EAAEmC,IAAI,CAAC,GAAE,CAAC,SAASsE,EAAE1G,EAAEC,EAAEgB,EAAEf,EAAEC,EAAEC,EAAEC,EAAE8C,EAAE5C,GAAG,IAAIC,EAAEI,EAAEI,EAAEO,EAAEN,EAAEQ,MAAMmC,EAAE3D,EAAEwB,MAAMa,EAAErC,EAAEuB,KAAKe,EAAE,EAAE,GAAG,QAAQD,IAAInC,GAAE,GAAI,MAAMC,EAAE,KAAKmC,EAAEnC,EAAEe,OAAOoB,IAAI,IAAI/B,EAAEJ,EAAEmC,KAAK,iBAAiB/B,KAAK8B,IAAIA,EAAE9B,EAAEqG,YAAYvE,EAAE,IAAI9B,EAAEsG,UAAU,CAAC9G,EAAEQ,EAAEJ,EAAEmC,GAAG,KAAK,KAAK,CAAC,GAAG,MAAMvC,EAAE,CAAC,GAAG,OAAOsC,EAAE,OAAOyE,SAASC,eAAepD,GAAG5D,EAAEG,EAAE4G,SAASE,gBAAgB,6BAA6B3E,GAAGyE,SAASG,cAAc5E,EAAEsB,EAAEuD,IAAIvD,GAAGxD,EAAE,KAAK+C,GAAE,CAAE,CAAC,GAAG,OAAOb,EAAEf,IAAIqC,GAAGT,GAAGnD,EAAEoH,OAAOxD,IAAI5D,EAAEoH,KAAKxD,OAAO,CAAC,GAAGxD,EAAEA,GAAGL,EAAEsB,KAAKrB,EAAEqH,YAAYzG,GAAGW,EAAEN,EAAEQ,OAAOnB,GAAGgH,wBAAwBtG,EAAE4C,EAAE0D,yBAAyBnE,EAAE,CAAC,GAAG,MAAM/C,EAAE,IAAImB,EAAE,CAAE,EAACgB,EAAE,EAAEA,EAAEvC,EAAEuH,WAAWpG,OAAOoB,IAAIhB,EAAEvB,EAAEuH,WAAWhF,GAAGiF,MAAMxH,EAAEuH,WAAWhF,GAAGgD,OAAOvE,GAAGJ,KAAKI,IAAIJ,GAAGI,EAAEyG,QAAQ7G,EAAE6G,QAAQzG,EAAEyG,SAASzH,EAAE0H,aAAa1H,EAAE0H,UAAU1G,GAAGA,EAAEyG,QAAQ,IAAI,CAAC,GAAG3D,EAAE9D,EAAE4D,EAAErC,EAAEpB,EAAEgD,GAAGnC,EAAEf,EAAE2B,IAAI,QAAQ,GAAG+B,EAAE3D,EAAES,EAAE8B,EAAEtC,EAAEwB,MAAML,UAAUmB,EAAE,CAACA,GAAGtC,EAAEgB,EAAEf,EAAEC,GAAG,kBAAkBmC,EAAElC,EAAEC,EAAED,EAAEA,EAAE,GAAGa,EAAEW,KAAKc,EAAEzB,EAAE,GAAGkC,EAAE5C,GAAG,MAAMH,EAAE,IAAImC,EAAEnC,EAAEe,OAAOoB,KAAK,MAAMnC,EAAEmC,IAAI1B,EAAET,EAAEmC,IAAIY,IAAI,UAAUS,QAAG,KAAUrB,EAAEqB,EAAE2B,SAAShD,IAAIvC,EAAEuF,OAAO,aAAajD,IAAIC,GAAG,WAAWD,GAAGC,IAAIhB,EAAEgE,QAAQvB,EAAEhE,EAAE,QAAQuC,EAAEhB,EAAEgE,OAAM,GAAI,YAAY3B,QAAG,KAAUrB,EAAEqB,EAAE+D,UAAUpF,IAAIvC,EAAE2H,SAAS3D,EAAEhE,EAAE,UAAUuC,EAAEhB,EAAEoG,SAAQ,GAAI,CAAC,OAAO3H,CAAC,CAAC,SAASoE,EAAErE,EAAEE,EAAEgB,GAAG,IAAI,mBAAmBlB,EAAEA,EAAEE,GAAGF,EAAE6H,QAAQ3H,CAAC,CAAC,MAAMF,GAAGC,EAAE+B,IAAIhC,EAAEkB,EAAE,CAAC,CAAC,SAASuD,EAAEzE,EAAEE,EAAEgB,GAAG,IAAIf,EAAEC,EAAE,GAAGH,EAAE6H,SAAS7H,EAAE6H,QAAQ9H,IAAIG,EAAEH,EAAE4B,OAAOzB,EAAE0H,SAAS1H,EAAE0H,UAAU7H,EAAEgC,KAAKqC,EAAElE,EAAE,KAAKD,IAAI,OAAOC,EAAEH,EAAEkC,KAAK,CAAC,GAAG/B,EAAE4H,qBAAqB,IAAI5H,EAAE4H,sBAAsB,CAAC,MAAM/H,GAAGC,EAAE+B,IAAIhC,EAAEE,EAAE,CAACC,EAAE2C,KAAK3C,EAAEoD,IAAI,KAAKvD,EAAEkC,SAAI,CAAM,CAAC,GAAG/B,EAAEH,EAAE6B,IAAI,IAAIzB,EAAE,EAAEA,EAAED,EAAEiB,OAAOhB,IAAID,EAAEC,IAAIqE,EAAEtE,EAAEC,GAAGF,EAAEgB,GAAG,mBAAmBlB,EAAEyB,MAAMP,GAAG,MAAMlB,EAAEgC,KAAKlB,EAAEd,EAAEgC,KAAKhC,EAAE8B,GAAG9B,EAAEgC,IAAIhC,EAAEiC,SAAI,CAAM,CAAC,SAAS2D,EAAE5F,EAAEC,EAAEC,GAAG,OAAOuC,KAAKL,YAAYpC,EAAEE,EAAE,CAAC,SAAS8H,EAAE9H,EAAEgB,EAAEf,GAAG,IAAIC,EAAEC,EAAEC,EAAE8C,EAAEnD,EAAE6B,IAAI7B,EAAE6B,GAAG5B,EAAEgB,GAAGb,GAAGD,EAAE,mBAAmBD,GAAG,KAAKA,GAAGA,EAAE0B,KAAKX,EAAEW,IAAIvB,EAAE,GAAG8C,EAAE,GAAGI,EAAEtC,EAAEhB,IAAIE,GAAGD,GAAGe,GAAGW,IAAIZ,EAAEsB,EAAE,KAAK,CAACrC,IAAIG,GAAGE,EAAEA,OAAE,IAASW,EAAEwC,iBAAiBtD,GAAGD,EAAE,CAACA,GAAGE,EAAE,KAAKa,EAAE+G,WAAWjI,EAAEsB,KAAKJ,EAAEoG,YAAY,KAAKhH,GAAGF,GAAGD,EAAEA,EAAEE,EAAEA,EAAE2B,IAAId,EAAE+G,WAAW7H,EAAEgD,GAAGO,EAAErD,EAAEJ,EAAEkD,EAAE,CAAi0BpD,EAAEQ,EAAEyE,MAAMhF,EAAE,CAAC+B,IAAI,SAAShC,EAAEC,EAAEC,EAAEgB,GAAG,IAAI,IAAIf,EAAEC,EAAEC,EAAEJ,EAAEA,EAAE6B,IAAI,IAAI3B,EAAEF,EAAEiC,OAAO/B,EAAE2B,GAAG,IAAI,IAAI1B,EAAED,EAAEiC,cAAc,MAAMhC,EAAE8H,2BAA2B/H,EAAEgI,SAAS/H,EAAE8H,yBAAyBlI,IAAIK,EAAEF,EAAE8B,KAAK,MAAM9B,EAAEiI,oBAAoBjI,EAAEiI,kBAAkBpI,EAAEkB,GAAG,CAAE,GAAEb,EAAEF,EAAE8B,KAAK5B,EAAE,OAAOF,EAAEsF,IAAItF,CAAC,CAAC,MAAMF,GAAGD,EAAEC,CAAC,CAAC,MAAMD,CAAC,GAAGE,EAAE,EAAwDsC,EAAEkD,UAAUyC,SAAS,SAASnI,EAAEC,GAAG,IAAIC,EAAEA,EAAE,MAAMuC,KAAKuD,KAAKvD,KAAKuD,MAAMvD,KAAKqD,MAAMrD,KAAKuD,IAAIvD,KAAKuD,IAAInF,EAAE,CAAA,EAAG4B,KAAKqD,OAAO,mBAAmB9F,IAAIA,EAAEA,EAAEa,EAAE,CAAE,EAACX,GAAGuC,KAAKf,QAAQ1B,GAAGa,EAAEX,EAAEF,GAAG,MAAMA,GAAGyC,KAAKJ,MAAMpC,GAAGwC,KAAKsD,IAAI/C,KAAK/C,GAAG8C,EAAEN,MAAM,EAAED,EAAEkD,UAAU2C,YAAY,SAASrI,GAAGyC,KAAKJ,MAAMI,KAAKT,KAAI,EAAGhC,GAAGyC,KAAKN,IAAIa,KAAKhD,GAAG+C,EAAEN,MAAM,EAAED,EAAEkD,UAAUC,OAAOpD,EAAEpC,EAAE,GAAGE,EAAE,mBAAmBiI,QAAQA,QAAQ5C,UAAU6C,KAAKC,KAAKF,QAAQG,WAAWC,WAAWpI,EAAE,SAASN,EAAEC,GAAG,OAAOD,EAAEqC,IAAIN,IAAI9B,EAAEoC,IAAIN,GAAG,EAAEkB,EAAEC,IAAI;;;;;;;iDCO9zU,SAASyF,GAAGC,MAAmB,IAAOC,SAAOD,KAAKC,OAAM,CAAC,MAAMzF,GAAE,CAAmB,IAAIlC,EAAE,SAAShB,EAAEO,GAAG,MAAM,qBAAqBA,GAAEA,CAAI,CAAC,SAASqI,GAAGrI,GAAG,MAAM+B,EAAE7B,MAAMF,GAAG,IAAI,IAAIF,EAAE,EAAEA,EAAEE,EAAEF,IAAIiC,EAAEjC,GAAGM,IAAI,OAAO2B,CAAC,CAAC,SAAS3B,IAAI,OAAOkI,OAAOC,OAAO,KAAK,CAAC,SAASC,GAAGxI,EAAE+B,GAAG,OAAOA,EAAEpB,OAAOX,EAAEW,MAAM,CAAC,SAAS6B,EAAExC,GAAG,MAAM,kBAAkBA,CAAC,CAAC,SAAS+D,EAAE/D,GAAG,MAAM,kBAAkBA,CAAC,CAAC,SAASuH,EAAEvH,GAAG,MAAM,oBAAoBA,CAAC,CAAE,SAASyI,GAAGzI,EAAE+B,GAAG,IAAIjC,EAAE4I,GAAG,GAAG1I,IAAI+B,IAAI/B,EAAE2I,EAAE3I,EAAE+B,IAAIC,KAAKsB,IAAItD,EAAE2I,EAAE3I,EAAEgC,KAAKsB,IAAItB,KAAK4G,GAAG,EAAE5I,EAAEW,SAASX,EAAE2I,EAAE3I,EAAEgC,KAAK4G,IAAI9I,GAAG,KAAKA,GAAG,CAAc,GAAbE,EAAEA,EAAE6I,MAAM/I,GAAMkC,KAAK8G,OAAO,CAAC/G,EAAEC,KAAK8G,OAAOhJ,EAAEE,EAAEW,OAAO,MAAMI,EAAE,GAAG,IAAI,IAAI4B,EAAE,EAAE9C,EAAE,EAAE8C,EAAE7C,EAAE6C,IAAI,CAAC,MAAMT,EAAElC,EAAE2C,GAAGT,IAAIH,EAAEG,KAAKnB,EAAElB,KAAKqC,EAAE,CAAClC,EAAEe,CAAC,CAAC,OAAOf,CAAC,CAAC,OAAOA,CAAC,CAAlmBmI,KAAKY,SAASb,GAAqlB,MAAMQ,GAAG,2BAA2BM,GAAG,mBAC9sB,SAASC,GAAGjJ,EAAE+B,GAAG,MAAMjC,EAAEwI,OAAOY,KAAKlJ,GAAGe,EAAEjB,EAAEa,OAAOgC,EAAE,GAAG,IAAI9C,EAAE,GAAGqC,EAAE,EAAE,IAAI,IAAQJ,EAAEM,EAANnC,EAAE,EAAMA,EAAEc,EAAEd,IAAI6B,EAAEhC,EAAEG,IAAImC,EAAEpC,EAAE8B,KAAKa,EAAET,KAAKiH,EAAEpH,EAAE,UAAUD,EAAE,UAAUA,GAAGa,EAAET,KAAKE,GAAGvC,IAAIA,EAAE,IAAI,IAAIiC,EAA6D,OAA3DjC,IAAI8C,EAAET,KAAKiH,EAAEpH,EAAE,WAAWlC,EAAE,WAAW,IAAIA,EAAE,KAAK8C,EAAET,GAAG,IAAWS,CAAC,CAAC,SAASgG,EAAE3I,EAAE+B,GAAG,IAAI,IAAIjC,EAAE,EAAEiB,EAAEgB,EAAEpB,OAAOb,EAAEiB,IAAIf,EAAEA,EAAEsE,QAAQvC,EAAEjC,GAAGiC,EAAEjC,EAAE,IAAIE,GAAGF,GAAG,GAAG,OAAOE,CAAC,CAAC,SAASmJ,EAAEnJ,GAAG,OAAO,IAAIoJ,OAAOpJ,EAAE,IAAI,CAAC,SAASqJ,GAAGrJ,GAAG,IAAI+B,EAAE,GAAGjC,EAAE,GAAG,IAAI,IAAmBD,EAAfkB,EAAE,EAAE4B,EAAE3C,EAAEW,OAASI,EAAE4B,EAAE5B,KAAKlB,EAAEG,EAAEe,MAAMjB,IAAIiC,GAAGjC,EAAED,GAAG,OAAOkC,CAAC,CAAE,IAAIuH,GAAG,CAACC,OAAOC,GAAGL,GAAE,EAAGM,EAAE,IAAI,SAASD,GAAGxJ,GAAG,OAAOyI,GAAG5H,KAAKmB,MAAM,GAAGhC,GAAGuE,eAAc,EAAG,CAAE,MAAMmF,GAAG,CAAE,EAACD,EAAE,CAAA,EAAG,SAASE,GAAG3J,GAAGuD,EAAEvD,EAAE,OAAOuD,EAAEvD,EAAE,UAAUuD,EAAEvD,EAAE,UAAUuD,EAAEvD,EAAE,UAAUuD,EAAEvD,EAAE,SAAS,CAAC,SAASuD,EAAEvD,EAAE+B,GAAG/B,EAAE+B,EAAE,SAAS,WAAW,MAAMjC,EAAEkC,KAAKjB,EAAEL,UAAU,IAAIiC,EAAE5B,EAAEA,EAAEJ,OAAO,GAAG,IAAId,EAA0I,OAAxI0H,EAAE5E,KAAK9C,EAAE8C,SAAS5B,EAAEA,EAAEJ,OAAO,IAAIgC,EAAE,IAAIkF,SAAQ,SAAS3F,GAAG+F,YAAW,WAAWnI,EAAE8J,OAAM,EAAG,MAAM3J,EAAEH,EAAEiC,GAAG8H,MAAM/J,EAAEiB,GAAGjB,EAAE8J,OAAM,EAAG1H,EAAEjC,EAAE,GAAE,IAAUJ,GAAG8C,EAAEmF,KAAKjI,GAAGmC,MAAMW,CAAC,CAAC,CAAE,SAASmH,GAAG9J,EAAE+B,EAAEjC,EAAEiB,GAAG,MAAM4B,EAAE3C,EAAEW,OAAO,IAASuB,EAAEjC,EAAPJ,EAAE,GAAOiC,EAAE,EAAEf,IAAIA,EAAE,IAAI,IAAI,IAAIqB,EAAEO,EAAE,EAAE,GAAGP,EAAEA,IAAI,CAAC,MAAM7C,EAAES,EAAEoC,GAAGE,EAAE/C,EAAEoB,OAAOqD,EAAE5D,IAAI,IAAIR,GAAGsC,EAAE,IAAI,IAAI1C,EAAE,EAAEA,EAAE8C,EAAE9C,IAAI,CAAC,MAAMa,EAAEd,EAAEC,GAAGkE,EAAErD,EAAEM,OAAO,GAAG+C,EAAE,IAAI,IAAQC,EAAEnD,EAAN2E,EAAE,EAAMA,EAAEzB,EAAEyB,IAAI,GAAG3E,EAAEH,EAAE8E,GAAGjD,EAAE,CAAC,GAAGA,EAAE1B,GAAG,CAAC,IAAI4B,EAAE,GAAGtC,EAAEA,SAAS,GAAGD,EAAEiC,KAAKtB,EAAEsB,IAAIC,EAAE,OAAOlC,GAAKuC,GAAGrB,KAAEiD,EAAExD,GAAG,GAAEZ,GAAE,CAAE,CAAC,GAAGmB,IAAI4C,GAAG1D,EAAEO,IAAI,GAAG,EAAEP,EAAEO,GAAGmD,EAAEA,EAAEhB,GAAG,CAAC,MAAMW,EAAEvC,EAAE4C,EAAE,KAAK5C,EAAE4C,EAAE,GAAG,IAAIL,EAAEA,EAAE3C,QAAQH,CAAC,CAAC,MAAMwD,EAAExD,GAAG,CAAC,CAAC,GAAGO,EAAEmB,IAAIjC,EAAE+D,QAAQ,IAAIpE,EAAE,MAAM,GAAGsC,EAAE8B,CAAC,CAAC,GAAGjD,EAAE,IAAI,IAAiBxB,EAAE+C,EAAfF,EAAErB,EAAEJ,OAAO,EAAM,GAAGyB,EAAEA,IAAI,CAAC7C,EAAEwB,EAAEqB,GAAGE,EAAE/C,EAAEoB,OAAO,IAAI,IAAQf,EAAJoE,EAAE,EAAIA,EAAE1B,EAAE0B,IAAI,GAAGpE,EACj4CL,EAAEyE,IAAI9B,EAAEtC,GAAG,CAAC,GAAGE,EAAEA,SAAS,GAAGD,EAAEiC,KAAKlC,EAAEkC,IAAIC,EAAE,OAAOlC,EAAEqC,EAAEtC,GAAG,CAAC,CAAC,CAAC,OAAOC,CAAC,CAAC,SAASkK,GAAG/J,EAAE+B,GAAG,MAAMjC,EAAEM,IAAIW,EAAEX,IAAIuC,EAAE,GAAG,IAAI,IAAI9C,EAAE,EAAEA,EAAEG,EAAEW,OAAOd,IAAIC,EAAEE,EAAEH,IAAI,EAAE,IAAI,IAAQqC,EAAJrC,EAAE,EAAIA,EAAEkC,EAAEpB,OAAOd,IAAI,CAACqC,EAAEH,EAAElC,GAAG,IAAI,IAAQiC,EAAJ7B,EAAE,EAAIA,EAAEiC,EAAEvB,OAAOV,IAAI6B,EAAEI,EAAEjC,GAAGH,EAAEgC,KAAKf,EAAEe,KAAKf,EAAEe,GAAG,EAAEa,EAAEA,EAAEhC,QAAQmB,EAAE,CAAC,OAAOa,CAAC,CAAE,SAASiG,EAAE5I,GAAGgC,KAAKxC,GAAE,IAAKQ,GAAGA,EAAEgC,KAAKgI,MAAM5J,IAAI4B,KAAK/B,EAAE,EAAE,CAAC,SAASgK,GAAGjK,EAAE+B,EAAEjC,GAAGiE,EAAE/D,KAAKA,EAAEA,EAAEkK,OAAO,IAAInJ,EAAEiB,KAAKgI,MAAMG,IAAInK,GAAiD,OAA9Ce,IAAIA,EAAEiB,KAAKoI,OAAOpK,EAAE+B,EAAEjC,GAAGkC,KAAKgI,MAAMK,IAAIrK,EAAEe,IAAWA,CAAC,CAAC6H,EAAE3D,UAAUoF,IAAI,SAASrK,EAAE+B,GAAG,IAAIC,KAAKgI,MAAMhK,GAAG,CAAC,IAAIF,EAAEkC,KAAK/B,EAAEU,OAAqD,IAA9Cb,IAAIkC,KAAKxC,SAASwC,KAAKgI,MAAMhI,KAAK/B,EAAEH,EAAE,IAAIA,MAAUA,EAAE,EAAEA,EAAEA,IAAIkC,KAAK/B,EAAEH,GAAGkC,KAAK/B,EAAEH,EAAE,GAAGkC,KAAK/B,EAAE,GAAGD,CAAC,CAACgC,KAAKgI,MAAMhK,GAAG+B,CAAC,EAAE6G,EAAE3D,UAAUkF,IAAI,SAASnK,GAAG,MAAM+B,EAAEC,KAAKgI,MAAMhK,GAAG,GAAGgC,KAAKxC,GAAGuC,IAAI/B,EAAEgC,KAAK/B,EAAEkC,QAAQnC,IAAI,CAAC,MAAMF,EAAEkC,KAAK/B,EAAED,EAAE,GAAGgC,KAAK/B,EAAED,EAAE,GAAGgC,KAAK/B,EAAED,GAAGgC,KAAK/B,EAAED,GAAGF,CAAC,CAAC,OAAOiC,CAAC,EAAE,MAAMuI,GAAG,CAACC,OAAO,CAACC,QAAQ,cAAcjD,EAAE,EAAEpC,EAAE,EAAE/C,GAAE,GAAIqI,YAAY,CAAClD,EAAE,EAAEpC,EAAE,EAAEpF,GAAE,EAAGkC,QAAQ,CAACyI,MAAM,EAAEnD,EAAE,IAAIoD,MAAM,CAACH,QAAQ,cAAcf,EAAE,WAAWmB,MAAM,CAACJ,QAAQ,iBAAiBjD,EAAE,GAAGpC,EAAE,EAAElD,QAAQ,CAACyI,MAAM,EAAEnD,EAAE,IAAIsD,QAAU,CAAE,GAAE,SAASC,GAAG9K,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,GAAG+F,YAAW,WAAW,MAAMhI,EAAED,EAAEF,EAAEA,EAAE,IAAIiB,EAAEA,EAAEgK,KAAKC,UAAU9I,IAAIjC,GAAGA,EAAE6H,KAAK7H,EAAE6H,MAAK,WAAW/F,EAAEkJ,OAAOjL,EAAE+B,EAAEjC,EAAE6C,EAAE9C,EAAE,EAAE,IAAGkC,EAAEkJ,OAAOjL,EAAE+B,EAAEjC,EAAE6C,EAAE9C,EAAE,EAAE,GAAE,CAAE,SAASqL,EAAElL,EAAE+B,GAAG,KAAKC,gBAAgBkJ,GAAG,OAAO,IAAIA,EAAElL,GAAG,IAAIF,EAAE,GAAGE,EAAE,CAACwC,EAAExC,GAAGA,EAAEsK,GAAGtK,IAAIF,EAAEE,EAAEmL,UAAUnL,EAAEsI,OAAO8C,OAAO,CAAE,EAACtL,EAAEA,GAAGE,IAAIF,EAAEE,EAAEwK,QAAQ,IAAIzJ,EAAEf,EAAEqL,KAAK7I,EAAE1C,MAAM,IAAIA,EAAEqC,QAAQ,OAAOrC,GAAG,YAAYA,EAAE2J,EAAE3J,IAAI0C,EAAEzB,KAAKA,EAAE2I,GAAG3I,GAAG,MAAMf,EAAE,CAAE,EAAC,IAAI2C,EAAE9C,EAAEqC,EAAElC,EAAEiC,SAAS,CAAA,EACrtC,GADwtCD,KAAKuH,OAAOvJ,EAAEuJ,QAAQzJ,GAAGA,EAAEyJ,QAAQC,GAAGxH,KAAKsJ,SAASvJ,GAAG3B,IAAI4B,KAAKuF,EAAE5E,EAAE3C,EAAEuL,YAAY,EAAEvJ,KAAKyH,EAAE1H,EAAEjC,GAAGA,EAAE2J,GAAGzJ,EAAEwL,UAAU,SAASxJ,KAAK0I,MAAM,WAAW3I,GAAGG,EAAEwI,MAAM1I,KAAKxC,EAAEC,EAAEyC,EAAEuJ,eAAezJ,KAAKjC,EAAEF,EAAEJ,EAAEO,EAAE0L,UAAU1J,KAAKI,EAAE3C,EAAEO,EAAE2L,YAAY3J,KAAKmD,EAAEnF,EAAE4L,WAAW,EAAE5J,KAAK+B,EACloD/D,EAAE6L,MAAM7J,KAAK8J,IAAIjM,EAAEwI,GAAG1F,GAAGvC,IAAI4B,KAAK2B,EAAEhB,EAAET,EAAEqJ,YAAY,EAAEvJ,KAAK/B,EAAEJ,EAAEwI,GAAG1F,GAAGvC,IAAI4B,KAAKmH,EAAErJ,GAAGA,EAAEqJ,GAAGnJ,EAAE+L,IAAI/J,KAAKsB,GAAGvB,EAAE/B,EAAEgM,SAASjL,GAAGA,EAAEuC,IAAI2F,GAAGlH,GAAE,GAAIC,KAAK4G,GAAG7G,EAAE/B,EAAEiM,SAASlL,GAAGA,EAAE6H,IAAIK,GAAGlH,GAAE,GAAOjC,EAAEiC,EAAE/B,EAAE8I,QAAQ/H,GAAGA,EAAE+H,OAAO,CAAChJ,EAAEiC,EAAEhB,EAAEX,IAAI,IAAI,IAAIH,EAAE,EAAE6B,EAAEhC,EAAEa,OAAOV,EAAE6B,EAAE7B,IAAIc,EAAEjB,EAAEG,IAAI,EAAEH,EAAEiB,CAAC,CAACiB,KAAK8G,OAAOhJ,EAAEkC,KAAKgI,OAAOjI,EAAE/B,EAAEgK,QAAQ,IAAIpB,EAAE7G,EAAE,CAG/S,SAASgB,EAAE/C,EAAE+B,EAAEjC,EAAEiB,EAAE4B,GAAG,OAAO7C,GAAG,EAAEE,EAAE+B,GAAGhB,GAAG,IAAIf,EAAEF,GAAG6C,GAAG,IAAI3C,EAAE,IAAI+B,GAAGhB,GAAG,KAAKjB,GAAG6C,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,SAASO,EAAElD,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,GAAG,IAAIjC,EAAEiC,EAAElC,EAAEC,EAAED,EAAE8L,MAAQ/J,EAAEjC,IAAIoC,IAAIH,EAAEjC,GAAGoC,MAAGlC,EAAED,IAAIE,EAAEA,EAAEc,IAAImB,GAAGH,EAAEA,EAAEjC,KAAKiC,EAAEjC,GAAGM,KAAK2B,EAAEG,GAAG,EAAEjC,EAAEA,EAAEiC,KAAKjC,EAAEiC,GAAG9B,MAAM2B,EAAEjC,GAAG,EAAEG,EAAEA,EAAEH,KAAKG,EAAEH,GAAG,IAAIE,EAAED,IAAIE,EAAEA,EAAEc,KAAKd,EAAEc,GAAG,KAAKlB,GAAGI,EAAEiM,SAASvJ,KAAK1C,EAAEA,EAAEU,QAAQgC,EAAE3C,EAAEoC,IAAIpC,EAAEA,EAAEsL,SAAS3I,KAAK3C,EAAEsL,SAAS3I,GAAG,IAAI3C,EAAEA,EAAEW,QAAQV,IAAG,CAGxW,SAASkM,GAAGnM,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,EAAEjC,GAAG,IAAI6B,EAAE,GAAGM,EAAEnC,EAAED,EAAEC,EAAED,EAAE8L,IAA2B,GAAvB9L,EAAED,IAAIqC,EAAEgK,GAAGhK,EAAEF,EAAEjC,EAAED,EAAER,IAAO4C,EAAE,CAAC,IAAI7C,EAAE,EAAE,MAAM+C,EAAE+J,KAAKC,IAAIlK,EAAEzB,OAAOV,EAAED,EAAE2D,EAAE3D,EAAEuH,GAAG,IAAI,IAAY/H,EAAEa,EAAV2D,EAAE,EAAEpE,EAAE,EAAMoE,EAAE1B,EAAE0B,IAAI,IAAGxE,EAAE4C,EAAE4B,MAAMhE,EAAED,IAAIP,EAAE4M,GAAG5M,EAAE0C,EAAEjC,EAAED,EAAER,IAAImD,GAAGnD,GAAGK,IAAIQ,EAAEb,EAAEmB,OAAON,GAAGsC,GAAGA,GAAGtC,EAAEb,EAAE,OAAOA,EAAEA,EAAEgF,MAAM7B,GAAGA,EAAE,IAAInD,IAAIsC,EAAEvC,KAAKC,EAAEK,IAAID,GAAGJ,EAAEmB,OAAOf,GAAGmB,KAAI,MAAM,GAAGxB,EAAE,CAAC,GAAGM,EAAE,OAAO0M,GAAGzK,EAAEf,EAAE,GAAiB,YAAdgB,EAAEA,EAAEpB,QAAQmB,EAAQ,CAAC,CAAC,OAAOhC,GAAGgC,CAAC,CAAC,SAASyK,GAAGvM,EAAE+B,EAAEjC,GAA6C,OAA1CE,EAAE,IAAIA,EAAEW,OAAOX,EAAE,GAAG,GAAGwM,OAAO3C,MAAM,GAAG7J,GAAUF,GAAGE,EAAEW,OAAOoB,EAAE/B,EAAEwE,MAAM1E,EAAEA,EAAEiC,GAAG/B,CAAC,CACpc,SAASoM,GAAGpM,EAAE+B,EAAEjC,EAAEiB,GAAgD,OAA7CjB,GAAGiB,EAAEA,GAAGgB,EAAEjC,EAAEE,GAAGA,EAAEA,EAAEe,EAAEgB,EAAEjC,KAAKE,EAAEe,EAAEjB,EAAEiC,IAAI/B,EAAEA,EAAE+B,GAAU/B,CAAC,CAE1E,SAASkG,EAAElG,EAAE+B,EAAEjC,EAAEiB,EAAE4B,GAAG,IAAI9C,EAAE,EAAE,GAAGG,EAAE2B,cAAczB,MAAM,GAAGyC,EAAEZ,EAAE/B,EAAEmC,QAAQJ,IAAI,IAAIA,EAAE,EAAE/B,EAAEW,SAASX,EAAEyM,OAAO1K,EAAE,GAAGlC,KAAKA,QAAQ,CAAC8C,EAAE0J,KAAKC,IAAItM,EAAEW,OAAOb,GAAG,IAAI,IAAQG,EAAJiC,EAAE,EAAIA,EAAES,EAAET,KAAOjC,EAAED,EAAEkC,MAAGrC,EAAEqG,EAAEjG,EAAE8B,EAAEjC,EAAEiB,EAAE4B,GAAG5B,GAAGlB,UAAUG,EAAEkC,GAAE,MAAM,IAAI,IAAIA,KAAKlC,GAAGH,EAAEqG,EAAElG,EAAEkC,GAAGH,EAAEjC,EAAEiB,EAAE4B,YAAY3C,EAAEkC,GAAG,OAAOrC,CAAC,CAC2O,SAAS6M,GAAG1M,GAAGA,EAAEA,EAAE4G,KAAK,IAAI7E,EAAEoG,KAAKwE,OAAO,MAAM7M,EAAEE,EAAE4M,KAAK,IAAI7L,EAAEf,EAAE6M,KAAK,OAAO9L,GAAG,IAAK,OAAOA,EAAEf,EAAE8M,SAAS,CAAA,EAAG9M,EAAEA,EAAE+M,QAAQhL,EAAEhB,EAAEwI,OAAOxI,EAAEiJ,OAAM,EAAGjI,GAAG,IAAIA,EAAEI,QAAQ,cAAcpB,EAAEwI,OAAOyD,SAAS,UAAUjL,EAAnBiL,IAAyBhN,GAAGgN,SAAS,UAAUhN,EAAnBgN,GAAwB7E,MAAMA,KAAKwE,OAAO,IAAIxE,KAAK8E,WAAWC,MAAMnM,UAAUoH,KAAK8E,YAAY9E,KAAKwE,OAAO,IAAIzB,EAAEnK,GAAG,MAAM,QAAQf,EAAEA,EAAEmN,GAAGpL,EAAEA,EAAEhB,GAAG8I,MAAM9H,EAAEjC,GAAGsN,YAAY,WAAWrM,EAAE,CAACoM,GAAGnN,EAAEqN,IAAItL,GAAG,CAACoL,GAAGnN,IAAI,CAVtmBS,EAAEyK,EAAEjG,UAAUxE,EAAE6M,OAAO,SAAStN,EAAE+B,GAAG,OAAOC,KAAKuL,IAAIvN,EAAE+B,GAAE,EAAG,EAC5WtB,EAAE8M,IAAI,SAASvN,EAAE+B,EAAEjC,EAAEiB,GAAG,GAAGgB,IAAI/B,GAAG,IAAIA,GAAG,CAAC,IAAIe,IAAIjB,GAAGkC,KAAKsJ,SAAStL,GAAG,OAAOgC,KAAKwL,OAAOxN,EAAE+B,GAAoB,GAAjBA,EAAEC,KAAKuH,OAAOxH,GAAMhB,EAAEgB,EAAEpB,OAAO,CAAC,MAAMyB,EAAEhC,IAAIb,EAAEa,IAAIkC,EAAEN,KAAK0I,MAAM1G,EAAEhC,KAAKuF,EAAE,IAAI,IAAI3H,EAAE,EAAEA,EAAEmB,EAAEnB,IAAI,CAAC,IAAIJ,EAAEuC,EAAEC,KAAKmH,EAAEpI,EAAE,EAAEnB,EAAEA,GAAG,IAAI+C,EAAEnD,EAAEmB,OAAO,GAAGnB,GAAGmD,GAAGX,KAAKmD,IAAI7C,IAAI/C,EAAEC,IAAI,CAAC,IAAIK,EAAEkD,EAAEiB,EAAEjD,EAAEnB,GAAGsC,EAAE,GAAG,OAAOF,KAAKyH,GAAG,IAAK,OAAO,GAAG,EAAE9G,EAAE,CAAC,IAAI9C,EAAE,EAAEA,EAAE8C,EAAE9C,IAAI,IAAI,IAAII,EAAE0C,EAAE1C,EAAEJ,EAAEI,IAAI,GAAGA,EAAEJ,GAAGmC,KAAKmD,EAAE,CAAC,IAAIrD,EAAEiB,EAAEiB,EAAEjD,EAAEnB,EAAE+C,EAAE9C,GAAGqC,EAAE1C,EAAEiO,UAAU5N,EAAEI,GAAGiD,EAAElB,KAAKzC,EAAE2C,EAAEJ,EAAE9B,EAAEF,EAAE,CAAC,KAAK,CAAC,IAAK,UAAU,GAAG,EAAE6C,EAAE,CAAC,IAAI1C,EAAE0C,EAAE,EAAE,EAAE1C,EAAEA,IAAIiC,EAAE1C,EAAES,GAAGiC,EAAEA,EAAEvB,QAAQqB,KAAKmD,GAAGjC,EAAElB,KAAKzC,EACnf2C,EAAEa,EAAEiB,EAAEjD,EAAEnB,EAAE+C,EAAE1C,GAAGD,EAAEF,GAAGoC,EAAE,EAAE,CAAC,IAAK,UAAU,GAAG,EAAES,EAAE,CAAC,IAAI1C,EAAE,EAAEA,EAAE0C,EAAE1C,IAAIiC,GAAG1C,EAAES,GAAGiC,EAAEvB,QAAQqB,KAAKmD,GAAGjC,EAAElB,KAAKzC,EAAE2C,EAAErC,EAAEG,EAAEF,GAAG,KAAK,CAAC,QAAQ,GAAGkC,KAAK+B,IAAIlE,EAAEwM,KAAKC,IAAIzM,EAAEmC,KAAK+B,EAAEhC,EAAEvC,EAAEI,GAAG,EAAEoE,EAAE,IAAId,EAAElB,KAAKzC,EAAEC,EAAEK,EAAEG,EAAEF,GAAGwC,GAAG,EAAEvB,GAAGnB,EAAEmB,EAAE,EAAE,IAAI4B,EAAEvC,IAAI8B,EAAEF,KAAK2B,EAAE9D,EAAEL,EAAES,EAAEoM,KAAKC,IAAIhK,EAAE,EAAEvB,EAAEnB,GAAG+C,EAAE9C,GAAG,EAAEiC,EAAE,EAAEA,EAAE7B,EAAE6B,IAAI,IAAItC,EAAEuC,EAAEC,KAAKmH,EAAEpI,EAAE,EAAEnB,EAAEkC,EAAElC,EAAEkC,KAAKtC,EAAEmB,QAAQqB,KAAKmD,IAAIxC,EAAEnD,GAAG,CAACmD,EAAEnD,GAAG,EAAE,MAAMa,EAAE2B,KAAKxC,GAAGA,EAAEK,EAAEqD,EAAElB,KAAKI,EAAE/B,EAAER,EAAEL,EAAEuD,EAAEb,GAAGnB,EAAE,EAAEmB,EAAE,EAAE,GAAGnB,EAAEnB,EAAEK,EAAE,EAAE6B,EAAE,GAAG9B,EAAEF,EAAEO,EAAEb,EAAEK,EAAE,EAAE,CAAC,CAACmC,KAAKI,IAAIJ,KAAKsJ,SAAStL,GAAG,EAAE,CAAC,CAAC,OAAOgC,IAAI,EAE5bvB,EAAE2J,OAAO,SAASpK,EAAE+B,EAAEjC,GAAGA,KAAKiC,GAAGgC,EAAE/D,IAAIF,EAAEE,EAAEA,EAAEF,EAAEoK,OAAOnG,EAAEhC,KAAKjC,EAAEiC,IAAI,IAASY,EAAL5B,EAAE,GAAK,IAAIlB,EAAEqC,EAAE,EAAE,GAAGpC,EAAE,CAACE,EAAEF,EAAEoK,OAAOlK,EAAE+B,EAAEjC,EAAE4N,MAAMxL,EAAEpC,EAAE6N,QAAQ,EAAE,IAAI1N,EAAEH,EAAEmC,QAAQpC,EAAEC,EAAE8N,OAAO,CAAC,GAAG5N,IAAIA,EAAEgC,KAAKuH,OAAO,GAAGvJ,GAAG2C,EAAE3C,EAAEW,OAAO,EAAEgC,GAAG,CAAC7C,EAAEM,IAAI,IAAI0B,EAAE,GAAG,IAAI,IAAYkC,EAARzE,EAAE,EAAE+C,EAAE,EAAI/C,EAAEoD,EAAEpD,IAAI,IAAIyE,EAAEhE,EAAET,KAAKyE,EAAErD,QAAQqB,KAAKmD,IAAIrF,EAAEkE,GAAG,MAAGhC,KAAKjC,GAAGF,GAAGmC,KAAK8J,IAAI9H,IAAwB,OAAOjD,EAA5Be,EAAEQ,KAAK0B,EAAElE,EAAEkE,GAAG,CAAe,CAAChE,EAAE8B,EAAEa,EAAE3C,EAAEW,MAAM,CAAC,IAAIgC,EAAE,OAAO5B,EAA2C,IAAIqB,EAA7CL,IAAIA,EAAE,KAAK9B,EAAE+B,KAAK0I,OAAO,EAAE/H,IAAG,IAAK1C,EAAEH,EAAE,EAAQG,GAAGmC,EAAEpC,EAAE,GAAGF,EAAE,GAAG,EAAE6C,GAAG3C,EAAE4C,KAAK4F,IAAI,IAAI,IAAIjJ,EAAE+C,EAAExC,EAAE6C,EAAE7C,IAAI,CACvZ,GADwZwC,EAAEtC,EAAEF,GAAGG,GAAGV,EAAE4M,GAAGnK,KAAKjB,EAAElB,EAAEkC,EAAEG,EAAE,IAAIS,EAAEL,EACpfF,GAAGvC,IAAG,IAAKN,GAAGwB,EAAEJ,SAASyB,EAAEE,IAAI/C,EAAE4M,GAAGnK,KAAKjB,EAAElB,EAAEkC,EAAEG,EAAE,IAAIS,EAAEL,GAAM/C,EAAE,OAAOA,EAAE,GAAGM,GAAGC,IAAI6C,EAAE,EAAE,CAAY,GAAXb,EAAEf,EAAEJ,QAAWmB,EAAE,CAAC,GAAG7B,EAAE,CAACA,EAAE,EAAEH,GAAG,EAAE,QAAQ,CAAC,OAAOiB,CAAC,CAAC,GAAG,IAAIe,EAAE,OAAOyK,GAAGxL,EAAE,GAAGgB,EAAEG,EAAE,CAAC,CAAC,OAAO4H,GAAG/I,EAAEgB,EAAEG,EAAErC,EAAE,EAE/GY,EAAEoN,QAAQ,SAAS7N,GAAG,QAAQgC,KAAKsJ,SAAStL,EAAE,EAAES,EAAE+M,OAAO,SAASxN,EAAE+B,GAAG,OAAOC,KAAK8L,OAAO9N,GAAGuN,IAAIvN,EAAE+B,EAAE,EAChLtB,EAAEqN,OAAO,SAAS9N,EAAE+B,GAAG,MAAMjC,EAAEkC,KAAKsJ,SAAStL,GAAG,GAAGF,EAAE,CAAC,GAAGkC,KAAKI,EAAE,IAAI,IAAQO,EAAJ5B,EAAE,EAAIA,EAAEjB,EAAEa,OAAOI,IAAI4B,EAAE7C,EAAEiB,GAAG4B,EAAE8J,OAAO9J,EAAER,QAAQnC,GAAG,QAAQkG,EAAElE,KAAK8J,IAAI9L,EAAEgC,KAAKuF,EAAEvF,KAAKjC,GAAGiC,KAAK0I,OAAOxE,EAAElE,KAAK/B,EAAED,EAAEgC,KAAK2B,EAAE3B,KAAKjC,GAA8B,GAA3BgC,UAAUC,KAAKsJ,SAAStL,GAAMgC,KAAKgI,MAAM,CAACjI,EAAEC,KAAKgI,MAAM,IAAI,IAAQrH,EAAE9C,EAANkB,EAAE,EAAMA,EAAEgB,EAAE9B,EAAEU,OAAOI,IAAIlB,EAAEkC,EAAE9B,EAAEc,GAAG4B,EAAEZ,EAAEiI,MAAMnK,GAAG8C,EAAEuJ,SAASlM,KAAK+B,EAAE9B,EAAEwM,OAAO1L,IAAI,UAAUgB,EAAEiI,MAAMnK,GAAG,CAAC,CAAC,OAAOmC,IAAI,EAClGvB,EAAEsN,YAAY9D,GAC/RxJ,EAAEwK,OAAO,SAASjL,EAAE+B,EAAEjC,EAAEiB,EAAE4B,GAAG,IAAI9C,EAAEqC,EAAE,OAAOS,IAAIA,EAAE,IAAI,KAAK,EAAU,GAAR9C,EAAE,MAASmC,KAAKI,EAAE,CAACF,EAAE9B,IAAI,IAAI,IAAIH,KAAK+B,KAAKsJ,SAASpJ,EAAEjC,GAAG,CAAC,MAAMiC,EAAEF,KAAKsJ,SAAS,MAAM,KAAK,EAAEzL,EAAE,MAAMqC,EAAE,CAAC8L,IAAI,EAAEC,IAAIjM,KAAKjC,EAAE,EAAE,GAAG,MAAM,KAAK,EAAEF,EAAE,MAAMqC,EAAEF,KAAK8J,IAAI,MAAM,KAAK,EAAEjM,EAAE,MAAMqC,EAAEF,KAAK/B,EAAE,MAAM,QAAQ,OAA+B,OAAxB6K,GAAG9K,EAAE+B,GAAGC,KAAKlC,EAAED,EAAEkB,EAAE4B,EAAET,IAAS,CAAE,EAAEzB,EAAEyN,OAAO,SAASlO,EAAE+B,GAAG,GAAGA,EAAE,OAAOS,EAAET,KAAKA,EAAEgJ,KAAKoD,MAAMpM,IAAI/B,GAAG,IAAK,MAAMgC,KAAKjC,IAAIgC,EAAEkM,IAAI,MAAM,IAAK,MAAMjM,KAAKI,GAAE,EAAGJ,KAAKsJ,SAASvJ,EAAE,MAAM,IAAK,MAAMC,KAAK8J,IAAI/J,EAAE,MAAM,IAAK,MAAMC,KAAK/B,EAAE8B,EAAE,EAAE4H,GAAGuB,EAAEjG,WAAwa,IAAImJ,GAAG,EAAE,SAASxK,EAAE5D,GAAG,KAAKgC,gBAAgB4B,GAAG,OAAO,IAAIA,EAAE5D,GAAG,IAAI+B,EAAE/B,EAAEuH,EAAExF,EAAE/B,EAAEuJ,UAAUvJ,EAAEuJ,OAAOxH,EAAEsM,YAAYrO,EAAE,CAAA,GAAI+B,GAAGoG,MAAMmG,QAAQvF,YAAYhH,EAAEA,EAAEsM,YAAY,MAAMvO,EAAE,qBAAqBwO,QAAQnG,KAAKoG,QAAQxN,EAAEiB,KAAKA,KAAKrC,EAAE6O,GAAGzM,EAAEjC,EAAEE,EAAEyO,QAAQzM,KAAK/B,EAAEG,IAAO4B,KAAKrC,IAAMG,EAAEkC,KAAKrC,EAAE+O,GAAG,WAAU,SAAS/L,GAAG5B,EAAEd,EAAE0C,EAAEwK,IAAIxK,EAAE0K,YAAYtM,EAAEd,EAAE0C,EAAEwK,GAAG,IAAQnL,KAAKrC,EAAEgP,UAAU,SAAShM,GAAGA,EAAEA,EAAEiE,KAAK7F,EAAEd,EAAE0C,EAAEwK,IAAIxK,EAAE0K,YAAYtM,EAAEd,EAAE0C,EAAEwK,GAAG,EAAEnL,KAAKrC,EAAEyN,YAAY,CAACP,KAAK,OAAOE,QAAQhL,EAAE+K,QAAQ9M,IAAI,CACr1C,SAASmD,EAAEnD,GAAG4D,EAAEqB,UAAUjF,GAAG4D,EAAEqB,UAAUjF,EAAE,SAAS,WAAW,MAAM+B,EAAEC,KAAKlC,EAAE,GAAG0E,MAAM3D,KAAKH,WAAW,IAAIK,EAAEjB,EAAEA,EAAEa,OAAO,GAAG,IAAIgC,EAA4I,OAA1I4E,EAAExG,KAAK4B,EAAE5B,EAAEjB,EAAE2M,OAAO3M,EAAEa,OAAO,EAAE,IAAII,EAAE,IAAI8G,SAAQ,SAAShI,GAAGoI,YAAW,WAAWlG,EAAE9B,IAAImO,IAAIvO,EAAEkC,EAAEpC,EAAEyN,YAAY,CAACP,KAAK7M,EAAEmN,GAAGiB,GAAGxB,KAAK9M,GAAG,GAAE,IAAU6C,GAAG5B,EAAE+G,KAAKnF,GAAGX,MAAMjB,CAAC,CAAC,CAC/T,SAASyN,GAAGxO,EAAE+B,EAAEjC,GAAG,IAAIiB,EAAE,IAAIA,EAAEgB,EAAE6M,KAAK,qEAAqE5O,EAAE,IAAI6O,OAAOC,IAAIC,gBAAgB,IAAIC,KAAK,CAAC,aAAatC,GAAG2B,YAAY,CAACrN,KAAK,sBAAsB,IAAI6N,OAAOrM,EAAE1C,GAAGA,EAAE,mBAAmB,CAACkB,KAAK,UAAU,CAAC,MAAM2B,GAAE,CAAE,OAAO5B,CAAC,CAAE,SAASkO,EAAEjP,GAAG,KAAKgC,gBAAgBiN,GAAG,OAAO,IAAIA,EAAEjP,GAAG,IAA2BF,EAAvBiC,EAAE/B,EAAEuG,UAAUvG,EAAEgO,KAAKhO,EAAIgC,KAAKkJ,EAAE,GAAGlJ,KAAK/B,EAAE,GAAG+B,KAAK2B,EAAE,GAAG3B,KAAKsJ,SAASlL,IAAI4B,KAAKd,KAAKpB,EAAEiC,EAAEb,KAAKa,EAAEoL,KAAK9J,EAAEvD,EAAEkC,KAAK2B,IAAI,KAAK3B,KAAKI,EAAE3C,EAAEO,EAAE2L,YAAY3J,KAAK+B,GAAGjE,EAAEiC,EAAEmN,SAAQ,IAAKpP,GAAG,GAAGkC,KAAKkN,MAAMpP,GAAGM,IAAI4B,KAAKuB,GAAGzD,EAAEiC,EAAEoN,MAAM9L,EAAEvD,EAAEkC,KAAK2B,GAAG3B,KAAKxC,EAAEM,GAAGM,IAAI4B,KAAKgI,OAAOlK,EAAEE,EAAEgK,QAAQ,IAAIpB,EAAE9I,GAAGE,EAAEgK,OAAM,EAAGhI,KAAKrC,EAAEK,EAAEyO,OAAOzM,KAAK4H,OAAM,EAAG9J,EAAEM,IAAI,IAAIW,EAAEgB,EAAEqN,OAAOrN,EAAEsN,OAAOtN,EAAES,EAAEzB,KAAKA,EAAE,CAACA,IAAI,IAAI,IAAQlB,EAAEqC,EAANS,EAAE,EAAMA,EAAE5B,EAAEJ,OAAOgC,IAAI9C,EAAEkB,EAAE4B,GAAGH,EAAE3C,KAAKqC,EAAErC,EAAEA,EAAEA,EAAEwP,OAAOnN,EAAE6B,EAAE7B,GAAGoG,OAAO8C,OAAO,GAAGpL,EAAEkC,GAAGlC,EAC5wBgC,KAAKrC,IAAIG,EAAED,GAAG,IAAI+D,EAAE1B,GAAGpC,EAAED,GAAGF,IAAIqC,KAAKrC,GAAE,IAAKqC,KAAKrC,IAAIG,EAAED,GAAG,IAAIqL,EAAEhJ,EAAEF,KAAKsJ,WAAWtJ,KAAKkJ,EAAEvI,GAAGU,EAAExD,EAAEmC,KAAK2B,GAAG3B,KAAK/B,EAAE0C,GAAG9C,EAAE,GAAGmC,KAAK+B,EAAE,IAAI/D,EAAE+B,EAAEmN,MAAM1M,EAAExC,KAAKA,EAAE,CAACA,IAAI+B,EAAE,EAAEA,EAAE/B,EAAEW,OAAOoB,IAAIC,KAAK+B,EAAEhC,GAAGsB,EAAErD,EAAE+B,GAAGC,KAAK2B,GAAG3B,KAAKoN,MAAMtP,CAAC,CAAC,SAASuD,EAAErD,EAAE+B,GAAG,MAAMjC,EAAEE,EAAE6I,MAAM,KAAK,IAAI9H,EAAE,EAAE,IAAI,IAAI4B,EAAE,EAAEA,EAAE7C,EAAEa,OAAOgC,IAAI3C,EAAEF,EAAE6C,GAAG,GAAG3C,EAAEmC,QAAQ,QAAQnC,EAAEA,EAAEyN,UAAU,EAAEzN,EAAEW,OAAO,MAAMoB,EAAEhB,IAAG,GAAIf,IAAIF,EAAEiB,KAAKf,GAA4B,OAAzBe,EAAEjB,EAAEa,SAASb,EAAEa,OAAOI,GAAU,EAAEA,EAAEjB,EAAEA,EAAE,EAAE,CAAC,SAAS0D,EAAExD,EAAE+B,GAAG,GAAGS,EAAET,GAAG/B,EAAEA,EAAE+B,QAAQ,IAAI,IAAIjC,EAAE,EAAEE,GAAGF,EAAEiC,EAAEpB,OAAOb,IAAIE,EAAEA,EAAE+B,EAAEjC,IAAI,OAAOE,CAAC,CAC5e,SAASsP,EAAEtP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,GAAU,GAAP3C,EAAEA,EAAE2C,GAAM5B,IAAIjB,EAAEa,OAAO,EAAEoB,EAAEY,GAAG3C,OAAO,GAAGA,EAAE,GAAGA,EAAE2B,cAAczB,MAAM,IAAI6B,EAAEA,EAAEY,GAAGzC,MAAMF,EAAEW,QAAQgC,EAAE,EAAEA,EAAE3C,EAAEW,OAAOgC,IAAI2M,EAAEtP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,QAAQZ,EAAEA,EAAEY,KAAKZ,EAAEY,GAAGvC,KAAKuC,EAAE7C,IAAIiB,GAAGuO,EAAEtP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE,CAAC,SAAS4M,EAAEvP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,EAAEjC,GAAG,GAAGD,EAAEA,EAAEkC,GAAG,GAAGnB,IAAIgB,EAAEpB,OAAO,EAAE,CAAC,GAAGX,EAAE2B,cAAczB,MAAM,CAAC,GAAGJ,EAAEiB,GAAG,CAAC,IAAIgB,EAAE,EAAEA,EAAE/B,EAAEW,OAAOoB,IAAIY,EAAE4K,IAAI1N,EAAEG,EAAE+B,IAAG,GAAG,GAAI,MAAM,CAAC/B,EAAEA,EAAEwP,KAAK,IAAI,CAAC7M,EAAE4K,IAAI1N,EAAEG,EAAEC,GAAE,EAAG,MAAM,GAAGD,EAAE2B,cAAczB,MAAM,IAAIgC,EAAE,EAAEA,EAAElC,EAAEW,OAAOuB,IAAIqN,EAAEvP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,EAAEjC,QAAQiC,EAAEH,IAAIhB,GAAGwO,EAAEvP,EAAE+B,EAAEjC,EAAEiB,EAAE4B,EAAE9C,EAAEqC,EAAEjC,EAAE,CAMhS,SAASwP,GAAGzP,EAAE+B,EAAEjC,EAAEiB,GAAG,IAAI4B,EAAEX,KAAKxC,EAAEQ,GAAGH,EAAE8C,GAAGA,EAAEhC,OAAOb,EAAE,GAAGD,GAAG,EAAEA,EAAqD,OAA/CA,EAAEkC,GAAGjC,KAAE6C,EAAEA,EAAE6B,MAAM1E,EAAEA,EAAEiC,IAAGhB,IAAI4B,EAAE+M,GAAG7O,KAAKmB,KAAKW,IAAU,CAACwM,IAAInP,EAAE2P,OAAOhN,EAAG,CAAC,SAAS+M,GAAG1P,GAAG,MAAM+B,EAAE7B,MAAMF,EAAEW,QAAQ,IAAI,IAAQI,EAAJjB,EAAE,EAAIA,EAAEE,EAAEW,OAAOb,IAAIiB,EAAEf,EAAEF,GAAGiC,EAAEjC,GAAG,CAACqN,GAAGpM,EAAEiN,IAAIhM,KAAKkN,MAAMnO,IAAI,OAAOgB,CAAC,CAV67BoB,EAAE,OAAOA,EAAE,UAAUA,EAAE,UACr4CA,EAAE,UAAUA,EAAE,UAGyc1C,EAAEwO,EAAEhK,UAC3dxE,EAAE8M,IAAI,SAASvN,EAAE+B,EAAEjC,GAA+B,GAA5BiE,EAAE/D,KAAK+B,EAAE/B,EAAEA,EAAEwD,EAAEzB,EAAEC,KAAKd,MAASa,IAAI/B,GAAG,IAAIA,GAAG,CAAC,IAAIF,GAAGkC,KAAKsJ,SAAStL,GAAG,OAAOgC,KAAKwL,OAAOxN,EAAE+B,GAAG,IAAI,IAAQY,EAAE9C,EAANkB,EAAE,EAAMA,EAAEiB,KAAK/B,EAAEU,OAAOI,IAAIlB,EAAEmC,KAAK/B,EAAEc,GAAG4B,EAAEX,KAAKkJ,EAAEnK,GAAGyB,EAAEG,KAAKA,EAAE,CAACA,IAAI4M,EAAExN,EAAEY,EAAEX,KAAK2B,EAAE,EAAE3B,KAAKoN,MAAMvP,GAAGG,EAAE2C,EAAE,GAAG7C,GAAG,GAAGkC,KAAKuB,EAAE,CAAC,IAAIxC,EAAEyC,EAAEzB,EAAEC,KAAKuB,GAAGZ,EAAEvC,IAAIoC,EAAEzB,KAAKA,EAAE,CAACA,IAAI,IAAI,IAAQmB,EAAEjC,EAANJ,EAAE,EAAMA,EAAEkB,EAAEJ,OAAOd,IAAI,GAAGqC,EAAEnB,EAAElB,IAAI8C,EAAET,KAAKS,EAAET,GAAG,EAAEjC,EAAE+B,KAAKxC,EAAE0C,KAAKF,KAAKxC,EAAE0C,GAAG,KAAKpC,IAAIG,EAAEiM,SAASlM,MAAOC,EAAEA,EAAEU,QAAQX,EAAEgC,KAAKI,GAAE,CAAC,MAAMN,EAAEE,KAAKsJ,SAAStL,KAAKgC,KAAKsJ,SAAStL,GAAG,IAAI8B,EAAEA,EAAEnB,QAAQV,CAAC,CAAC,CAAC,GAAG+B,KAAKkN,SAASpP,IAAIkC,KAAKkN,MAAMlP,IAAI,CAAC,IAAIe,EAC/f,GAAGiB,KAAK+B,EAAE,CAAChD,EAAEX,IAAI,IAAI,IAAQP,EAAJ8C,EAAE,EAAIA,EAAEX,KAAK+B,EAAEpD,OAAOgC,IAAI9C,EAAEmC,KAAK+B,EAAEpB,GAAGH,EAAE3C,GAAGkB,EAAElB,GAAGkC,EAAElC,GAAGyP,EAAEvN,EAAEhB,EAAElB,EAAE,EAAEA,EAAE,GAAG,CAACmC,KAAKkN,MAAMlP,GAAGe,GAAGgB,CAAC,CAAC,CAAC,OAAOC,IAAI,EAAEvB,EAAE6M,OAAO,SAAStN,EAAE+B,GAAG,OAAOC,KAAKuL,IAAIvN,EAAE+B,GAAE,EAAG,EAAEtB,EAAE+M,OAAO,SAASxN,EAAE+B,GAAG,OAAOC,KAAK8L,OAAO9N,GAAGuN,IAAIvN,EAAE+B,EAAE,EACpOtB,EAAEqN,OAAO,SAAS9N,GAA2B,GAAxB+D,EAAE/D,KAAKA,EAAEwD,EAAExD,EAAEgC,KAAKd,MAASc,KAAKsJ,SAAStL,GAAG,CAAC,IAAI,IAAI+B,EAAE,EAAEA,EAAEC,KAAK/B,EAAEU,SAASqB,KAAKoN,MAAMpN,KAAK/B,EAAE8B,IAAI+L,OAAO9N,GAAGgC,KAAKrC,IAAIqC,KAAKI,GAAGL,KAAK,GAAGC,KAAKuB,IAAIvB,KAAKI,EAAE,IAAI,IAAItC,KAAKkC,KAAKxC,EAAE,CAACuC,EAAEC,KAAKxC,EAAEM,GAAG,MAAMiB,EAAEgB,EAAEI,QAAQnC,IAAI,IAAIe,IAAI,EAAEgB,EAAEpB,OAAOoB,EAAE0K,OAAO1L,EAAE,UAAUiB,KAAKxC,EAAEM,GAAG,CAACkC,KAAKkN,cAAclN,KAAKkN,MAAMlP,UAAUgC,KAAKsJ,SAAStL,EAAE,CAAC,OAAOgC,IAAI,EACvVvB,EAAE2J,OAAO,SAASpK,EAAE+B,EAAEjC,EAAEiB,GAAGjB,KAAKiC,GAAGgC,EAAE/D,IAAIF,EAAEE,EAAEA,EAAE,IAAI+D,EAAEhC,KAAKjC,EAAEiC,EAAEA,EAAE,IAAI,IAAcG,EAAEjC,EAAE6B,EAAEM,EAAE7C,EAAE+C,EAApBK,EAAE,GAAG9C,EAAE,GAAemE,EAAE,EAAE,GAAGlE,EAAE,GAAGA,EAAE6B,cAAczB,MAAM4B,EAAEhC,EAAEA,EAAE,SAAS,CAA8H,GAA7HE,EAAEF,EAAEoK,OAAOlK,EAAE8B,GAAGI,EAAEpC,EAAE8P,QAAQ9P,EAAEsP,OAAOtP,EAAEuP,MAAMjN,EAAEtC,EAAEqP,IAAIlP,EAAE+B,KAAKkN,OAAOpP,EAAE+P,OAAOtQ,EAAE,QAAQO,EAAEgQ,KAAK/N,EAAEjC,EAAE4N,OAAO3L,GAAG,IAAIO,EAAExC,EAAE6N,QAAQ,EAAKvL,IAAII,EAAEJ,KAAKA,EAAE,CAACA,KAAKpC,GAAG,CAAC,IAAI,IAAQK,EAAJb,EAAE,EAAIA,EAAE4C,EAAEzB,OAAOnB,KAAOa,EAAEoP,GAAG5O,KAAKmB,KAAKI,EAAE5C,GAAGuC,EAAEO,EAAErC,MAAG0C,EAAEA,EAAEhC,QAAQN,EAAE2D,KAAI,OAAOA,EAAErB,EAAE,EAAE,CAACH,EAAEV,KAAKA,EAAE,CAACA,GAAG,CAACA,IAAIA,EAAEE,KAAK/B,GAAGV,EAAEA,IAAI,EAAEuC,EAAEnB,QAAQyB,GAAG,EAAEA,EAAEzB,QAAQ,MAAMf,GAAGmB,IAAIiB,KAAKrC,GAAGqC,KAAK4H,QAAQ,GAAG,IAAI,IAAQvJ,EAAEqD,EAAEyB,EAAR3F,EAAE,EAAQA,EACtfsC,EAAEnB,OAAOnB,IAAI,CAAC,IAAImE,EAAyD,GAAvDD,EAAE5B,EAAEtC,GAAGgD,EAAEkB,KAAKC,EAAED,EAAEA,EAAEC,EAAE0L,MAAMrP,EAAE2D,EAAEuG,OAAOlK,EAAE+B,EAAE4B,EAAE+J,OAAO3L,GAAMnC,EAAEA,EAAEJ,GAAGwC,KAAKoN,MAAM1L,GAAGqM,YAAY/P,EAAE+B,EAAE4B,GAAG7D,OAAO,CAAyD,GAAtDO,EAAFU,EAAIA,EAAEvB,GAAKwC,KAAKoN,MAAM1L,GAAG0G,OAAOpK,EAAE+B,EAAE4B,GAAG7D,GAAGqF,EAAE9E,GAAGA,EAAEM,OAAUyB,GAAG+C,EAAE,CAAC,MAAM3E,EAAE,GAAG,IAAI8C,EAAE,EAAE/D,IAAIiB,EAAE,GAAG,CAACH,IAAI,IAAI,IAAQ2P,EAAGC,EAAPC,EAAE,EAAOA,EAAE9N,EAAEzB,OAAOuP,IAAOF,EAAG5N,EAAE8N,IAAG/K,GAAG8K,EAAEjO,KAAKxC,EAAEwQ,KAAMC,EAAEtP,UAAO2C,IAAI9C,EAAEA,EAAEG,QAAQpB,EAAE,CAAC0Q,GAAGA,GAAE3M,IAAIjD,EAAEd,EAAEuK,GAAGtJ,EAAEuB,GAAG,IAAIO,GAAG,GAAGyH,GAAG1J,EAAEG,GAAG2E,EAAE9E,EAAEM,OAAO,CAAC,GAAGwE,EAAEtF,EAAEmE,GAAGN,EAAEf,EAAEqB,KAAK3D,OAAO,GAAGd,EAAE,MAAM,EAAE,CAAC,CAAC,GAAGK,EAAE,CAAC,MAAMJ,EAAEwC,KAAK,OAAO,IAAI6F,SAAQ,SAASxH,GAAGwH,QAAQsI,IAAIvQ,GAAGkI,MAAK,SAASpE,GAAGrD,EAAEb,EAAE4K,OAAOpK,EAAE+B,EACpfjC,EAAE4D,GAAG,GAAE,GAAE,CAAC,IAAIM,EAAE,MAAM,GAAG,GAAG9B,KAAKjC,IAAI+B,KAAKkN,OAAO,OAAOvM,EAAE,GAAG,IAAI,IAAQtC,EAAJb,EAAE,EAAIA,EAAEK,EAAEc,OAAOnB,IAAI,CAAyC,GAAxCa,EAAEsC,EAAEnD,GAAGa,EAAEM,QAAQV,IAAII,EAAEqP,GAAG7O,KAAKmB,KAAK3B,IAAO6B,EAAE,OAAO7B,EAAEsC,EAAEnD,GAAG,CAAC6P,MAAMxP,EAAEL,GAAGmQ,OAAOtP,EAAE,CAAC,OAAOsC,CAAC,EAA8PlC,EAAEoN,QAAQ,SAAS7N,GAAG,QAAQgC,KAAKsJ,SAAStL,EAAE,EAAES,EAAE0J,IAAI,SAASnK,GAAG,OAAOgC,KAAKkN,MAAMlP,EAAE,EACxgBS,EAAE4J,IAAI,SAASrK,EAAE+B,GAAmB,OAAhBC,KAAKkN,MAAMlP,GAAG+B,EAASC,IAAI,EAAEvB,EAAEsN,YAAY9D,GAAGxJ,EAAEwK,OAAO,SAASjL,EAAE+B,EAAEjC,EAAEiB,EAAE4B,GAAqB,GAAlBA,IAAIA,EAAE,GAAG5B,IAAIA,EAAE,GAAMA,EAAEiB,KAAK/B,EAAEU,OAAO,CAAC,MAAMd,EAAEmC,KAAK/B,EAAEc,GAAGmB,EAAEF,KAAKoN,MAAMvP,GAAGkC,EAAEC,KAAKiG,YAAW,WAAW/F,EAAE+I,OAAOjL,EAAE+B,EAAEY,EAAE9C,EAAE,GAAGkB,EAAE4B,OAAO5B,IAAI4B,EAAE,EAAEZ,EAAEkJ,OAAOjL,EAAE+B,EAAElC,EAAEkB,EAAE4B,GAAG,GAAE,KAAK,CAAC,IAAI9C,EAAEqC,EAAE,OAAOS,GAAG,KAAK,EAAE9C,EAAE,MAAMqC,EAAEF,KAAKxC,EAAE,MAAM,KAAK,EAAEK,EAAE,QAAQqC,EAAEF,KAAKkN,MAAM,MAAM,QAAQ,OAAOpE,GAAG9K,EAAEgC,KAAKlC,EAAED,EAAEkB,EAAE4B,EAAET,EAAE,CAAC,EAC7XzB,EAAEyN,OAAO,SAASlO,EAAE+B,GAAG,GAAGA,EAAE,OAAOS,EAAET,KAAKA,EAAEgJ,KAAKoD,MAAMpM,IAAI/B,GAAG,IAAK,MAAMgC,KAAKxC,EAAEuC,EAAE,MAAM,IAAK,MAAMC,KAAKI,GAAE,EAAGJ,KAAKsJ,SAASvJ,EAAE,IAAI,IAAQY,EAAJ5B,EAAE,EAAIA,EAAEiB,KAAK/B,EAAEU,OAAOI,IAAI4B,EAAEX,KAAKoN,MAAMpN,KAAK/B,EAAEc,IAAI4B,EAAE2I,SAASvJ,EAAEY,EAAEP,GAAE,EAAG,MAAM,IAAK,QAAQJ,KAAKkN,MAAMnN,EAAE,MAAM,QAAQ/B,EAAEA,EAAE6I,MAAM,KAAK,MAAM/I,EAAEE,EAAE,GAAGA,EAAEA,EAAE,GAAGF,GAAGE,GAAGgC,KAAKoN,MAAMtP,GAAGoO,OAAOlO,EAAE+B,GAAG,EAAE4H,GAAGsF,EAAEhK,WAAW,IAAImL,GAAG,CAAC7G,OAAO8G,GAAGlH,GAAE,EAAGM,EAAE,IAAI,MAAM6G,GAAG,CAACnH,EAAE,YAA0C,IAAIA,EAAE,UAA8B,IAAIA,EAAE,UAA8B,IAAIA,EAAE,YAA0C,IAAIA,EAAE,WAAoC,IAAIA,EAAE,SAAwB,IAAIA,EAAE,KAAU,IAAIA,EAAE,QAAa,IAAIA,EAAE,KAAU,IAAIA,EAAE,OAAO,SAAS,SAASkH,GAAGrQ,GAAG,IAAI+B,EAAE/B,EAAE,GAAGA,EAAqD,OAAnD+B,EAAEwO,YAAYxO,EAAEA,EAAEwO,UAAU,OAAOjM,QAAQ0E,GAAG,KAAYP,GAAG5H,KAAKmB,KAAKD,EAAEwC,eAAevE,EAAEuQ,WAAWD,GAAG,CAAE,IAAIE,GAAG,CAACjH,OAAOkH,GAAGtH,GAAE,EAAGM,EAAE,UAAU,MAAMiH,GAAG,aAAaC,GAAG,CAAC5O,EAAE,IAAI3B,EAAE,IAAIkC,EAAE,IAAIoB,EAAE,IAAIlB,EAAE,IAAI,IAAS,IAAIzB,EAAE,IAAIxB,EAAE,IAAIO,EAAE,IAAIoC,EAAE,IAAIuB,EAAE,IAAIO,EAAE,IAAItE,EAAE,IAAIc,EAAE,IAAIf,EAAE,KAAK,SAASgR,GAAGzQ,GAAGA,EAAEqQ,GAAGxP,KAAKmB,KAAKhC,GAAGwP,KAAK,KAAK,MAAMzN,EAAE,GAAG,GAAG/B,EAAE,CAAC,MAAMF,EAAEE,EAAE6I,MAAM6H,IAAI3P,EAAEjB,EAAEa,OAAO,IAAI,IAAQd,EAAJ8C,EAAE,EAAIT,EAAE,EAAES,EAAE5B,EAAE4B,IAAI,IAAI3C,EAAEF,EAAE6C,OAAOX,KAAK8G,SAAS9G,KAAK8G,OAAO9I,IAAI,CAACH,EAAEG,EAAE,GAAG,IAAIC,EAAE0Q,GAAG9Q,IAAIA,EAAEiC,EAAE7B,EAAE,IAAI,IAAImC,EAAE,EAAEA,EAAEpC,EAAEW,OAAOyB,IAAI,CAACvC,EAAEG,EAAEoC,GAAG,MAAM7C,EAAEoR,GAAG9Q,IAAIA,EAAEN,GAAGA,IAAIuC,IAAI7B,GAAGV,EAAEuC,EAAEvC,EAAE,CAACwC,EAAEG,KAAKjC,CAAC,CAAC,CAAC,OAAO8B,CAAC,CAAE,IAAI6O,GAAG,CAACrH,OAAOsH,GAAG1H,GAAE,EAAGM,EAAE,IAAI,MAAMqH,GAAG,CAAC3H,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,MAAM,IAAIA,EAAE,uBAAuB,GAAGA,EAAE,yBAAyB,IAAI,SAAS0H,GAAG7Q,EAAE+B,GAA2G,OAAxG/B,IAAIA,EAAEyQ,GAAG5P,KAAKmB,KAAKhC,GAAGwP,KAAK,KAAK,EAAExP,EAAEW,SAASX,EAAE2I,EAAE3I,EAAE8Q,KAAK/O,IAAI,EAAE/B,EAAEW,SAASX,EAAEqJ,GAAGrJ,IAAIA,IAAIA,EAAEA,EAAE6I,MAAM,QAAe7I,GAAG,EAAE,CAAE,IAAI+Q,GAAG,CAACxH,OAAOyH,GAAG7H,GAAE,EAAGM,EAAE,IAAI,MAAMwH,GAAG9H,EAAE,gBAAgB,SAAS6H,GAAGhR,GAAwG,OAArGA,IAAIA,EAAE6Q,GAAGhQ,KAAKmB,KAAKhC,GAAE,GAAI,EAAEA,EAAEW,SAASX,EAAEA,EAAEsE,QAAQ2M,GAAG,KAAK,EAAEjR,EAAEW,SAASX,EAAEqJ,GAAGrJ,IAAIA,IAAIA,EAAEA,EAAE6I,MAAM,OAAc7I,GAAG,EAAE,CAAEyJ,EAAE,iBAAiBH,GAAGG,EAAE,gBAAgB2G,GAAG3G,EAAE,iBAAiB+G,GAAG/G,EAAE,kBAAkBmH,GAAGnH,EAAE,eAAesH,GAAG,MAAMG,EAAE/I,KAAK,IAAIgJ,EAAE,MAAMC,EAAE,CAAClE,MAAMhC,EAAEmG,SAASpC,EAAEJ,OAAOjL,EAAE0N,gBAAgB,SAAStR,EAAE+B,GAAG0H,EAAEzJ,GAAG+B,CAAC,EAAEwP,iBAAiB,SAASvR,EAAE+B,GAAG2H,GAAG1J,GAAG+B,CAAC,IAAIoP,EAAED,EAAEM,SAASL,EAAEM,IAAIN,EAAE,IAAG,WAAW,OAAOC,CAAC,IAAGF,EAAE3C,QAAQ2C,EAAE3C,QAAQ6C,EAAEF,EAAEjE,WAAWmE,CAAE,EAzB3hE,CAyB6hEpP,2FC/B7hE,IAAA0P,sBASIpD,OAAOqD,kBARPC,cAAaF,sBAAbE,cACAC,UAASH,sBAATG,UACAC,kBAAiBJ,sBAAjBI,kBACAC,6BAA4BL,sBAA5BK,6BACAC,kBAAiBN,sBAAjBM,kBACAC,eAAcP,sBAAdO,eACAC,2BAA0BR,sBAA1BQ,2BACAC,iBAAgBT,sBAAhBS,iBAGJ,IAAMC,iBAAmBR,cACzB,IAAMS,aAAeR,UACrB,IAAMS,oBAAsBR,kBAC5B,IAAMS,6BAA+BR,6BACrC,IAAMS,oBAAsBR,kBAC5B,IAAMS,kBAAoBR,eAC1B,IAAMS,0BAA4BR,2BAClC,IAAMS,mBAAqBR,iBCfZ,SAASS,WAAUC,GAA6C,IAA1CC,EAAOD,EAAPC,QAASC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAUC,EAAYJ,EAAZI,aAC3D,IAAMC,EAAQ7G,KAAK8G,KAAKL,EAAUE,EAASI,MAC3C,IAAMC,EAAON,EAAQC,EAASI,KAE9B,IAAIE,EAGAA,EAFAD,GAAQ,EAEShH,KAAKC,IAAI4G,EAAO,GAGhB7G,KAAKC,IAAI4G,EAAOG,EAAO,GAG5C,IAAME,EAAQ,GAAG,IAAAC,EAAA,SAAA3T,GAGTA,IAAMwT,EACNE,EAAMhR,KAAKkR,EAAA,KAAA,CAAIC,UAAU,WAAW7T,EAAI,IAExC0T,EAAMhR,KACFkR,EAAA,KAAA,KACIA,EAAA,IAAA,CACIC,UAAU,8BACVC,QAAS,WAAA,OAAMV,EAAapT,EAAImT,EAASI,KAAK,GAE7CvT,EAAI,MAVzB,IAAK,IAAIA,EAAI,EAAGA,EAAIyT,EAAgBzT,IAAG2T,EAAA3T,GAiBvC,OACI4T,EAAA,MAAA,CAAKC,UAAU,yBACXD,EAAA,KAAA,CAAIC,UAAU,sCACTX,EAAQ,GACLU,EAAA,KAAA,CAAIC,UAAU,eACVD,EAAA,IAAA,CACIC,UAAU,8BACVC,QAAS,WAAA,OAAMV,EAAaF,EAAQC,EAASI,KAAK,GAEjDhB,mBAIZmB,EACAF,EAAO,IAAMH,GACVO,EAAA,KAAA,CAAIC,UAAU,eACVD,EAAA,IAAA,CACIC,UAAU,8BACVC,QAAS,WAAA,OAAMV,EAAaF,EAAQC,EAASI,KAAK,GAEjDf,gBAO7B,CC5Ce,SAASuB,OAAMf,GAAqB,IAAlBG,EAAQH,EAARG,SAAUa,EAAIhB,EAAJgB,KACvC,IAAIC,EAcJ,OAbID,EAAKC,OACLA,EAAOD,EAAKC,KACPjL,MAAM,KACNrE,MAAM,EAAGwO,EAASe,kBAClBvE,KAAK,KAENqE,EAAKC,KAAKnT,OAASmT,EAAKnT,QACS,MAAjCmT,EAAKE,OAAOF,EAAKnT,OAAS,KAE1BmT,GAAQ,SAKZL,EAAA,MAAA,CAAKC,UAAU,gBACXD,EAAA,MAAA,CAAKC,UAAU,wBACXD,EAAA,IAAA,CAAGQ,KAAMjB,EAASkB,SAAWL,EAAKM,KAAMN,EAAKO,QAEhDpB,EAASqB,SACNZ,EAAA,MAAA,CAAKC,UAAU,sBACXD,EAAA,IAAA,CAAGQ,KAAMjB,EAASkB,SAAWL,EAAKM,KAC7BN,EAAKM,IAAI5P,cAAcD,QAAQ,eAAgB,MAI3DwP,GAAQL,EAAA,MAAA,CAAKC,UAAU,uBAAuBI,GAG3D,CCpCA,IAEqBQ,6BAAMC,GAAAC,UAAAF,EAAAC,GAAA,IAAAE,EAAAC,aAAAJ,GACvB,SAAAA,EAAYrT,GAAO,IAAA0T,EAMb,OANaC,qBAAAN,GACfK,EAAAF,EAAA5T,UAAMI,GAQV4T,gBAAAC,uBAAAH,kBACc,WACVA,EAAK1T,MAAM8T,aACdF,gBAAAC,uBAAAH,gBAEW,WACJA,EAAKK,YACLL,EAAKK,UAAUC,UAAY,MAElCJ,gBAAAC,uBAAAH,GAEgB,kBAAA,SAAA5B,GACb4B,EAAKjN,SAAS,CAAEqL,MAAAA,GAAS4B,EAAKM,cACjCJ,gBAAAC,uBAAAH,GAEc,gBAAA,SAAA9P,GACX8P,EAAKjN,SAAS,CAAE0C,OAAQvF,EAAMqQ,OAAOnQ,MAAOgO,MAAO,GAAK4B,EAAKM,WAE7DN,EAAK1T,MAAM+R,SAAS3D,MAAMtK,MAAQF,EAAMqQ,OAAOnQ,SAxB/C4P,EAAKtP,MAAQ,CACT+E,OAAQuK,EAAK1T,MAAM+R,SAAS3D,MAAMtK,OAAS,GAC3CgO,MAAO,GACT4B,CACN,CA0IC,OA1IAQ,aAAAb,EAAA,CAAA,CAAApT,IAAA,aAAA6D,MAuBD,WACI,IAAQiO,EAAahR,KAAKf,MAAlB+R,SACR,IAAQD,EAAU/Q,KAAKqD,MAAf0N,MAER,IAAMqC,EAAW,GACjB,IAAItC,EAAU,EACd,IAAIuC,EAAU,GAEd,GAAIrT,KAAKqD,MAAM+E,OAAOzJ,OAASqS,EAASsC,cAWpC,OAVAF,EAAS7S,KAAKoQ,oBACdyC,EAAS7S,KACsB,IAA3ByQ,EAASsC,cACH/C,6BACAG,0BAA0BpO,QACtB,OACA0O,EAASsC,gBAIhB,CAAEF,SAAAA,EAAUtC,QAAAA,EAASuC,QAAAA,EAAStC,MAAAA,GAGzC,IAAMwC,EAAQjN,OAAOkN,OACjBxT,KAAKf,MACAwU,SAASzT,KAAKqD,MAAM+E,QACpBsL,QAAO,SAACC,EAAKC,GAaV,OAVAA,EAAYjG,OAAO9J,SAAQ,SAAA8J,GAClBgG,EAAIE,eAAelG,EAAOxC,MAC3BwI,EAAIhG,EAAOxC,IAAM,CACbgH,IAAKxE,EAAOxC,GACZiH,MAAOzE,EAAO3B,IAAIoG,MAClBN,KAAMnE,EAAO3B,IAAI8F,MAG7B,IAEO6B,CACX,GAAG,CAAA,IAKX,GAFA7C,EAAUyC,EAAM5U,OAEA,IAAZmS,EAEA,OADAsC,EAAS7S,KAAK+P,qBACP,CAAE8C,SAAAA,EAAUtC,QAAAA,EAASuC,QAAAA,EAAStC,MAAAA,GAYzC,OATIC,EAAS8C,gBACT9T,KAAKf,MAAM8U,kBAAavJ,OAAKsG,EAAO,MAGxCuC,EAAUE,EAAMzM,QACZ,SAAC+K,EAAMmC,GAAU,OACbA,GAAcjD,GAASiD,EAAahD,EAASI,KAAOL,CAAK,IAG1D,CAAEqC,SAAAA,EAAUtC,QAAAA,EAASuC,QAAAA,EAAStC,MAAAA,EACzC,GAAC,CAAA7R,IAAA,SAAA6D,MAED,WAAS,IAAAkR,EAAAjU,KACL,IAAQgR,EAAahR,KAAKf,MAAlB+R,SACR,IAAAkD,EAA8ClU,KAAKmU,aAA3Cf,EAAQc,EAARd,SAAUtC,EAAOoD,EAAPpD,QAASuC,EAAOa,EAAPb,QAAStC,EAAKmD,EAALnD,MAEpC,OACIU,EACIA,MAAAA,KAAAA,EAAA,MAAA,CAAKC,UAAU,0BACfD,EAAA,MAAA,CACIC,UAAU,gBACVvS,IAAK,SAAAiV,GAAE,OAAKH,EAAKjB,UAAYoB,CAAE,GAE/B3C,EAAA,QAAA,CACIC,UAAU,gBACV2C,YAAY,YACZC,aAAa,KACbC,SAAS,cACTvV,KAAK,SACL+D,MAAO/C,KAAKqD,MAAM+E,OAClBoM,QAASxU,KAAKyU,eAElBhD,EAAA,SAAA,CACIC,UAAU,uBACVC,QAAS3R,KAAK0U,aACjB,KAGDjD,EAAA,MAAA,CAAKC,UAAU,wBACE,IAAZZ,EACKN,oBACAC,kBAAkBnO,QAAQ,SAAUwO,IAE7CsC,EAAStJ,KAAI,SAAA6K,GAAO,OACjBlD,EAAA,MAAA,CAAKvS,IAAKyV,EAASjD,UAAU,0BACxBiD,EAER,IACAtB,EAAQvJ,KAAI,SAAA6D,GAAM,OACf8D,EAACG,OAAM,CACH1S,IAAKyO,EAAOyE,MACZP,KAAMlE,EACNqD,SAAUA,GAEjB,IACAF,EAAUE,EAASI,MAChBK,EAACb,WAAU,CACPE,QAASA,EACTC,MAAOA,EACPC,SAAUA,EACVC,aAAcjR,KAAK4U,kBAM3C,KAACtC,CAAA,EAlJ+Bb,GCRpC,IAAMoD,cAAgBtQ,SAAS6N,MAE/B,SAAS0C,QAAQ9P,GACb,IAAM+P,EAAW,IAAI3N,OAAMoD,QAAAA,OAASxF,EAAI,wBAAuBgQ,KAC3D1I,OAAO2I,SAAS7M,QAGpB,OACI8M,oBACMH,GAAYA,EAAS,IAAO,IAAIzS,QAAQ,MAAO,SAChD,IAEb,CAAC,IAEK6S,0BAAY,WACd,SAAAA,EAAYrK,GAAS,IAAA6H,EAAA3S,KAAA4S,qBAAAuC,GAAAtC,gBAAA7S,KAAA,gBAwFN,SAAAW,GACK,KAAZA,EAAEyU,OAEFzC,EAAK+B,iBAEZ7B,oCAEa,WACVtO,SAAS6N,MAAQyC,cAEjBtQ,SAAS7B,oBAAoB,QAASiQ,EAAK0C,cAE3C9Q,SAAS+Q,KAAKC,UAAUzJ,OAAO,eAC/B2F,EAAc,KAAMkB,EAAK6C,iBACzB7C,EAAK6C,gBAAkB,QArGvBxV,KAAKgR,SAAQyE,eAAA,CACTpI,MAAO9I,SAASmR,eAAe,gBAC/BC,KAAMpR,SAASmR,eAAe,eAC9BtE,KAAM,GACNiB,SAAS,EACTyB,gBAAgB,EAChBR,cAAe,EACfvB,iBAAkB,GAClB6D,gBAAgB,EAChBC,oBAAoB,EACpBC,gBAAiB,wBACdhL,GAGP9K,KAAK+V,YAAc,CACf7E,MAAO,GAEf,CA+GC,OA/GAiC,aAAAgC,EAAA,CAAA,CAAAjW,IAAA,WAAA6D,MAED,WAAW,IAAAkR,EAAAjU,KACP,IAAKA,KAAKgW,eAAgB,CAGtB,IAAMC,EAAK1R,SAASG,cAAc,UAClCuR,EAAGjX,KAAO,kBACViX,EAAGrO,OAAQ,EACXqO,EAAGC,IAAMlW,KAAKgR,SAASkB,SAAWlS,KAAKgR,SAAS8E,gBAChD,IAAM/X,EAAIwG,SAAS4R,qBAAqB,UAAU,GAClDpY,EAAEO,WAAW2D,aAAagU,EAAIlY,GAE9BiC,KAAKgW,eAAiB,IAAInQ,SAAQ,SAAAG,GAC9BsG,OAAO8J,kBAAoB,SAAAxR,GAAI,OAAIoB,EAAQpB,EAAK,CACpD,IAAGkB,MAAK,SAAAuQ,GACJpC,EAAK8B,YAAc,IAAI1G,kCAAS,CAC5BrD,IAAK,CACDb,GAAI,MACJgC,IAAK,OACLE,MAAO,CAAC,QAAS,QACjBH,MAAO,CAAC,QAAS,WAIzB,IAAIgE,EAAQmF,EAAKnF,MAGjB,GAAI5E,OAAOgK,eAAgB,CACvB,IAAMC,EAAU/L,GAAAA,OAAM8B,OAAOgK,eAAiB,KAC9CpF,EAAQA,EAAMpK,QACV,SAAA+K,GAAI,OAAqC,IAAjCA,EAAKM,IAAIhS,QAAQoW,EAAiB,GAElD,CAEArF,EAAMrN,SAAQ,SAAAwN,GAAI,OAAI4C,EAAK8B,YAAYxK,IAAI8F,KAC/C,GACJ,CAEA,OAAOrR,KAAKgW,cAChB,GAAC,CAAA9W,IAAA,MAAA6D,MAED,WAAM,IAAAyT,EAAAxW,KACE8U,QAAQ,OACR9U,KAAKgR,SAAS3D,MAAMtK,MAAQ+R,QAAQ,KAEpC9U,KAAKyW,WAAW3Q,MAAK,WACjB0Q,EAAKE,eACT,KAGJ1W,KAAKgR,SAAS3D,MAAM5K,iBAAiB,SAAS,SAAAI,GAE1C2T,EAAKC,WAE+B,KAAhCE,SAAS9T,EAAM+T,QAAS,KACxBJ,EAAKC,WAAW3Q,MAAK,WACjB0Q,EAAKE,eACT,GAER,IAEA1W,KAAKgR,SAAS2E,KAAKlT,iBAAiB,UAAU,SAAAI,GAC1CA,EAAMgU,iBACNL,EAAKC,WAAW3Q,MAAK,WACjB0Q,EAAKE,eACT,GACJ,GACJ,GAAC,CAAAxX,IAAA,gBAAA6D,MAmBD,WAAgB,IAAA+T,EAAA9W,KACPA,KAAKwV,kBACNxV,KAAKwV,gBAAkBjR,SAASG,cAAc,OAC9CH,SAAS+Q,KAAKyB,YAAY/W,KAAKwV,kBAGnCjR,SAAS9B,iBAAiB,QAASzC,KAAKqV,cAExC5D,EACIA,EAACa,OAAM,CACHmB,SAAU,SAAAuD,GAAI,OACVF,EAAKf,YAAY3N,OAAO4O,EAAM,CAAEnJ,QAAQ,GAC3C,EACDkF,QAAS/S,KAAK0U,YACdX,cAAe,SAAA3B,GACX7N,SAAS6N,MAAK,GAAA5H,OAAM4H,EAAK5H,KAAAA,OAAIqK,cAC/B,EACF7D,SAAUhR,KAAKgR,WAEnBhR,KAAKwV,iBAGTjR,SAAS+Q,KAAKC,UAAUhK,IAAI,eAC5BhH,SAAS+Q,KAAKrC,UAAY,CAC9B,KAACkC,CAAA,CAlIa,GAuIlB,SAAS/M,OAAO0C,GACZ,IAAMmM,EAAW,IAAI9B,aAAarK,GAClCmM,EAASC,KACb,CAGA5K,OAAOlE,OAASA","x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/themes/daux/js/1.mjs b/themes/daux/js/1.mjs deleted file mode 100644 index b3f2a18a..00000000 --- a/themes/daux/js/1.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=1;export const ids=[1];export const modules={5001:(t,e,n)=>{n.d(e,{d:()=>_,p:()=>o,s:()=>k});var i=n(4309),u=n(3110),s=n(1188),r=n(6848),a=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],u=[1,9],s=[1,10],r=[1,13],a=[1,12],o=[1,16,25],c=[1,20],l=[1,32],h=[1,33],A=[1,34],p=[1,48],d=[1,39],y=[1,37],E=[1,38],C=[1,44],g=[1,45],F=[1,40],m=[1,41],D=[1,42],f=[1,43],_=[1,49],k=[1,50],B=[1,51],b=[1,52],T=[16,25],S=[1,66],v=[1,67],N=[1,68],L=[1,69],$=[1,70],I=[1,71],O=[1,72],x=[1,82],R=[16,25,28,29,36,49,50,64,65,66,67,68,69,70,75,77],P=[16,25,28,29,34,36,49,50,55,64,65,66,67,68,69,70,75,77,92,93,94,95],w=[5,8,9,10,11,16,19,23,25],G=[29,92,93,94,95],U=[29,69,70,92,93,94,95],M=[29,64,65,66,67,68,92,93,94,95],Y=[1,96],K=[16,25,49,50],z=[16,25,36],Q={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,classLabel:27,SQS:28,STR:29,SQE:30,className:31,alphaNumToken:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,classStatement:37,methodStatement:38,annotationStatement:39,clickStatement:40,cssClassStatement:41,noteStatement:42,acc_title:43,acc_title_value:44,acc_descr:45,acc_descr_value:46,acc_descr_multiline_value:47,classIdentifier:48,STYLE_SEPARATOR:49,STRUCT_START:50,members:51,STRUCT_STOP:52,CLASS:53,ANNOTATION_START:54,ANNOTATION_END:55,MEMBER:56,SEPARATOR:57,relation:58,NOTE_FOR:59,noteText:60,NOTE:61,relationType:62,lineType:63,AGGREGATION:64,EXTENSION:65,COMPOSITION:66,DEPENDENCY:67,LOLLIPOP:68,LINE:69,DOTTED_LINE:70,CALLBACK:71,LINK:72,LINK_TARGET:73,CLICK:74,CALLBACK_NAME:75,CALLBACK_ARGS:76,HREF:77,CSSCLASS:78,commentToken:79,textToken:80,graphCodeTokens:81,textNoTagsToken:82,TAGSTART:83,TAGEND:84,"==":85,"--":86,PCT:87,DEFAULT:88,SPACE:89,MINUS:90,keywords:91,UNICODE_TEXT:92,NUM:93,ALPHA:94,BQUOTE_STR:95,$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",28:"SQS",29:"STR",30:"SQE",34:"GENERICTYPE",36:"LABEL",43:"acc_title",44:"acc_title_value",45:"acc_descr",46:"acc_descr_value",47:"acc_descr_multiline_value",49:"STYLE_SEPARATOR",50:"STRUCT_START",52:"STRUCT_STOP",53:"CLASS",54:"ANNOTATION_START",55:"ANNOTATION_END",56:"MEMBER",57:"SEPARATOR",59:"NOTE_FOR",61:"NOTE",64:"AGGREGATION",65:"EXTENSION",66:"COMPOSITION",67:"DEPENDENCY",68:"LOLLIPOP",69:"LINE",70:"DOTTED_LINE",71:"CALLBACK",72:"LINK",73:"LINK_TARGET",74:"CLICK",75:"CALLBACK_NAME",76:"CALLBACK_ARGS",77:"HREF",78:"CSSCLASS",81:"graphCodeTokens",83:"TAGSTART",84:"TAGEND",85:"==",86:"--",87:"PCT",88:"DEFAULT",89:"SPACE",90:"MINUS",91:"keywords",92:"UNICODE_TEXT",93:"NUM",94:"ALPHA",95:"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,3],[31,1],[31,1],[31,2],[31,2],[31,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],[37,1],[37,3],[37,4],[37,6],[48,2],[48,3],[39,4],[51,1],[51,2],[38,1],[38,2],[38,1],[38,1],[35,3],[35,4],[35,4],[35,5],[42,3],[42,2],[58,3],[58,2],[58,2],[58,1],[62,1],[62,1],[62,1],[62,1],[62,1],[63,1],[63,1],[40,3],[40,4],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[41,3],[79,1],[79,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[82,1],[82,1],[82,1],[82,1],[32,1],[32,1],[32,1],[33,1],[60,1]],performAction:function(t,e,n,i,u,s,r){var a=s.length-1;switch(u){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(s[a],"type_directive");break;case 14:s[a]=s[a].trim().replace(/'/g,'"'),i.parseDirective(s[a],"arg_directive");break;case 15:i.parseDirective("}%%","close_directive","class");break;case 20:this.$=s[a-1];break;case 21:case 22:this.$=s[a];break;case 23:this.$=s[a-1]+s[a];break;case 24:case 25:this.$=s[a-1]+"~"+s[a];break;case 26:i.addRelation(s[a]);break;case 27:s[a-1].title=i.cleanupLabel(s[a]),i.addRelation(s[a-1]);break;case 36:this.$=s[a].trim(),i.setAccTitle(this.$);break;case 37:case 38:this.$=s[a].trim(),i.setAccDescription(this.$);break;case 40:i.setCssClass(s[a-2],s[a]);break;case 41:i.addMembers(s[a-3],s[a-1]);break;case 42:i.setCssClass(s[a-5],s[a-3]),i.addMembers(s[a-5],s[a-1]);break;case 43:this.$=s[a],i.addClass(s[a]);break;case 44:this.$=s[a-1],i.addClass(s[a-1]),i.setClassLabel(s[a-1],s[a]);break;case 45:i.addAnnotation(s[a],s[a-2]);break;case 46:this.$=[s[a]];break;case 47:s[a].push(s[a-1]),this.$=s[a];break;case 48:case 50:case 51:break;case 49:i.addMember(s[a-1],i.cleanupLabel(s[a]));break;case 52:this.$={id1:s[a-2],id2:s[a],relation:s[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:s[a-3],id2:s[a],relation:s[a-1],relationTitle1:s[a-2],relationTitle2:"none"};break;case 54:this.$={id1:s[a-3],id2:s[a],relation:s[a-2],relationTitle1:"none",relationTitle2:s[a-1]};break;case 55:this.$={id1:s[a-4],id2:s[a],relation:s[a-2],relationTitle1:s[a-3],relationTitle2:s[a-1]};break;case 56:i.addNote(s[a],s[a-1]);break;case 57:i.addNote(s[a]);break;case 58:this.$={type1:s[a-2],type2:s[a],lineType:s[a-1]};break;case 59:this.$={type1:"none",type2:s[a],lineType:s[a-1]};break;case 60:this.$={type1:s[a-1],type2:"none",lineType:s[a]};break;case 61:this.$={type1:"none",type2:"none",lineType:s[a]};break;case 62:this.$=i.relationType.AGGREGATION;break;case 63:this.$=i.relationType.EXTENSION;break;case 64:this.$=i.relationType.COMPOSITION;break;case 65:this.$=i.relationType.DEPENDENCY;break;case 66:this.$=i.relationType.LOLLIPOP;break;case 67:this.$=i.lineType.LINE;break;case 68:this.$=i.lineType.DOTTED_LINE;break;case 69:case 75:this.$=s[a-2],i.setClickEvent(s[a-1],s[a]);break;case 70:case 76:this.$=s[a-3],i.setClickEvent(s[a-2],s[a-1]),i.setTooltip(s[a-2],s[a]);break;case 71:case 79:this.$=s[a-2],i.setLink(s[a-1],s[a]);break;case 72:case 80:this.$=s[a-3],i.setLink(s[a-2],s[a-1],s[a]);break;case 73:case 81:this.$=s[a-3],i.setLink(s[a-2],s[a-1]),i.setTooltip(s[a-2],s[a]);break;case 74:case 82:this.$=s[a-4],i.setLink(s[a-3],s[a-2],s[a]),i.setTooltip(s[a-3],s[a-1]);break;case 77:this.$=s[a-3],i.setClickEvent(s[a-2],s[a-1],s[a]);break;case 78:this.$=s[a-4],i.setClickEvent(s[a-3],s[a-2],s[a-1]),i.setTooltip(s[a-3],s[a]);break;case 83:i.setCssClass(s[a-1],s[a])}},table:[{3:1,4:2,5:e,6:4,7:5,8:n,9:i,10:u,11:s,12:6,13:11,19:r,23:a},{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:u,11:s,12:6,13:11,19:r,23:a},{1:[2,9]},t(o,[2,5]),t(o,[2,6]),t(o,[2,7]),t(o,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:c},t([17,22],[2,13]),{6:31,7:30,8:n,9:i,10:u,11:s,13:11,19:r,24:21,26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:l,45:h,47:A,48:36,53:p,54:d,56:y,57:E,59:C,61:g,71:F,72:m,74:D,78:f,92:_,93:k,94:B,95:b},{16:[1,53]},{18:54,21:[1,55]},{16:[2,15]},{25:[1,56]},{16:[1,57],25:[2,17]},t(T,[2,26],{36:[1,58]}),t(T,[2,28]),t(T,[2,29]),t(T,[2,30]),t(T,[2,31]),t(T,[2,32]),t(T,[2,33]),t(T,[2,34]),t(T,[2,35]),{44:[1,59]},{46:[1,60]},t(T,[2,38]),t(T,[2,48],{58:61,62:64,63:65,29:[1,62],36:[1,63],64:S,65:v,66:N,67:L,68:$,69:I,70:O}),t(T,[2,39],{49:[1,73],50:[1,74]}),t(T,[2,50]),t(T,[2,51]),{32:75,92:_,93:k,94:B},{31:76,32:46,33:47,92:_,93:k,94:B,95:b},{31:77,32:46,33:47,92:_,93:k,94:B,95:b},{31:78,32:46,33:47,92:_,93:k,94:B,95:b},{29:[1,79]},{31:80,32:46,33:47,92:_,93:k,94:B,95:b},{29:x,60:81},t(R,[2,21],{32:46,33:47,31:83,34:[1,84],92:_,93:k,94:B,95:b}),t(R,[2,22],{34:[1,85]}),{31:86,32:46,33:47,92:_,93:k,94:B,95:b},t(P,[2,97]),t(P,[2,98]),t(P,[2,99]),t([16,25,28,29,34,36,49,50,64,65,66,67,68,69,70,75,77],[2,100]),t(w,[2,10]),{15:87,22:c},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:n,9:i,10:u,11:s,13:11,19:r,24:88,25:[2,18],26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:l,45:h,47:A,48:36,53:p,54:d,56:y,57:E,59:C,61:g,71:F,72:m,74:D,78:f,92:_,93:k,94:B,95:b},t(T,[2,27]),t(T,[2,36]),t(T,[2,37]),{29:[1,90],31:89,32:46,33:47,92:_,93:k,94:B,95:b},{58:91,62:64,63:65,64:S,65:v,66:N,67:L,68:$,69:I,70:O},t(T,[2,49]),{63:92,69:I,70:O},t(G,[2,61],{62:93,64:S,65:v,66:N,67:L,68:$}),t(U,[2,62]),t(U,[2,63]),t(U,[2,64]),t(U,[2,65]),t(U,[2,66]),t(M,[2,67]),t(M,[2,68]),{32:94,92:_,93:k,94:B},{51:95,56:Y},{55:[1,97]},{29:[1,98]},{29:[1,99]},{75:[1,100],77:[1,101]},{32:102,92:_,93:k,94:B},{29:x,60:103},t(T,[2,57]),t(T,[2,101]),t(R,[2,23]),t(R,[2,24]),t(R,[2,25]),t(K,[2,43],{27:104,28:[1,105]}),{16:[1,106]},{25:[2,19]},t(z,[2,52]),{31:107,32:46,33:47,92:_,93:k,94:B,95:b},{29:[1,109],31:108,32:46,33:47,92:_,93:k,94:B,95:b},t(G,[2,60],{62:110,64:S,65:v,66:N,67:L,68:$}),t(G,[2,59]),t(T,[2,40],{50:[1,111]}),{52:[1,112]},{51:113,52:[2,46],56:Y},{31:114,32:46,33:47,92:_,93:k,94:B,95:b},t(T,[2,69],{29:[1,115]}),t(T,[2,71],{29:[1,117],73:[1,116]}),t(T,[2,75],{29:[1,118],76:[1,119]}),t(T,[2,79],{29:[1,121],73:[1,120]}),t(T,[2,83]),t(T,[2,56]),t(K,[2,44]),{29:[1,122]},t(w,[2,11]),t(z,[2,54]),t(z,[2,53]),{31:123,32:46,33:47,92:_,93:k,94:B,95:b},t(G,[2,58]),{51:124,56:Y},t(T,[2,41]),{52:[2,47]},t(T,[2,45]),t(T,[2,70]),t(T,[2,72]),t(T,[2,73],{73:[1,125]}),t(T,[2,76]),t(T,[2,77],{29:[1,126]}),t(T,[2,80]),t(T,[2,81],{73:[1,127]}),{30:[1,128]},t(z,[2,55]),{52:[1,129]},t(T,[2,74]),t(T,[2,78]),t(T,[2,82]),t(K,[2,20]),t(T,[2,42])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],55:[2,14],56:[2,16],88:[2,19],113:[2,47]},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=[0],n=[],i=[null],u=[],s=this.table,r="",a=0,o=0,c=u.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var p=l.yylloc;u.push(p);var d=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,C,g,F,m,D,f,_,k={};;){if(E=e[e.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),y=_),C=s[E]&&s[E][y]),void 0===C||!C.length||!C[0]){var B;for(F in f=[],s[E])this.terminals_[F]&&F>2&&f.push("'"+this.terminals_[F]+"'");B=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+f.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(B,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:p,expected:f})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(C[0]){case 1:e.push(y),i.push(l.yytext),u.push(l.yylloc),e.push(C[1]),y=null,o=l.yyleng,r=l.yytext,a=l.yylineno,p=l.yylloc;break;case 2:if(m=this.productions_[C[1]][1],k.$=i[i.length-m],k._$={first_line:u[u.length-(m||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(m||1)].first_column,last_column:u[u.length-1].last_column},d&&(k._$.range=[u[u.length-(m||1)].range[0],u[u.length-1].range[1]]),void 0!==(g=this.performAction.apply(k,[r,o,a,h.yy,C[1],i,u].concat(c))))return g;m&&(e=e.slice(0,-1*m*2),i=i.slice(0,-1*m),u=u.slice(0,-1*m)),e.push(this.productions_[C[1]][0]),i.push(k.$),u.push(k._$),D=s[e[e.length-2]][e[e.length-1]],e.push(D);break;case 3:return!0}}return!0}},j={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 u=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=[u[0],u[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,u;if(this.options.backtrack_lexer&&(u={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&&(u.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 s in u)this[s]=u[s];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 u=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,u[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,u[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(){return this.next()||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"),43;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),45;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"),50;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),52;case 28:return"MEMBER";case 29:return 53;case 30:return 78;case 31:return 71;case 32:return 72;case 33:return 74;case 34:return 59;case 35:return 61;case 36:return 54;case 37:return 55;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 77;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 75;case 55:return 76;case 56:case 57:case 58:case 59:return 73;case 60:case 61:return 65;case 62:case 63:return 67;case 64:return 66;case 65:return 64;case 66:return 68;case 67:return 69;case 68:return 70;case 69:return 36;case 70:return 49;case 71:return 90;case 72:return"DOT";case 73:return"PLUS";case 74:return 87;case 75:case 76:return"EQUALS";case 77:return 94;case 78:return 28;case 79:return 30;case 80:return"PUNCTUATION";case 81:return 93;case 82:return 92;case 83:return 89;case 84: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,83,84],inclusive:!0}}};function X(){this.yy={}}return Q.lexer=j,X.prototype=Q,Q.Parser=X,new X}();a.parser=a;const o=a,c="classId-";let l=[],h={},A=[],p=0,d=[];const y=t=>u.e.sanitizeText(t,(0,u.g)()),E=function(t){let e="",n=t;if(t.indexOf("~")>0){const i=t.split("~");n=y(i[0]),e=y(i[1])}return{className:n,type:e}},C=function(t){const e=E(t);void 0===h[e.className]&&(h[e.className]={id:e.className,type:e.type,label:e.className,cssClasses:[],methods:[],members:[],annotations:[],domId:c+e.className+"-"+p},p++)},g=function(t){if(t in h)return h[t].domId;throw new Error("Class not found: "+t)},F=function(t,e){const n=E(t).className,i=h[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(y(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(y(t)):t&&i.members.push(y(t))}},m=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=c+n),void 0!==h[n]&&h[n].cssClasses.push(e)}))},D=function(t){let e=(0,i.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,i.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,i.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,i.Ys)(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,"
    ")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,i.Ys)(this).classed("hover",!1)}))};d.push(D);let f="TB";const _={parseDirective:function(t,e,n){r.m.parseDirective(this,t,e,n)},setAccTitle:u.o,getAccTitle:u.p,getAccDescription:u.q,setAccDescription:u.v,getConfig:()=>(0,u.g)().class,addClass:C,bindFunctions:function(t){d.forEach((function(e){e(t)}))},clear:function(){l=[],h={},A=[],d=[],d.push(D),(0,u.y)()},getClass:function(t){return h[t]},getClasses:function(){return h},getNotes:function(){return A},addAnnotation:function(t,e){const n=E(t).className;h[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${A.length}`,class:e,text:t};A.push(n)},getRelations:function(){return l},addRelation:function(t){u.l.debug("Adding relation: "+JSON.stringify(t)),C(t.id1),C(t.id2),t.id1=E(t.id1).className,t.id2=E(t.id2).className,t.relationTitle1=u.e.sanitizeText(t.relationTitle1.trim(),(0,u.g)()),t.relationTitle2=u.e.sanitizeText(t.relationTitle2.trim(),(0,u.g)()),l.push(t)},getDirection:()=>f,setDirection:t=>{f=t},addMember:F,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>F(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),y(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){(function(t,e,n){if("loose"!==(0,u.g)().securityLevel)return;if(void 0===e)return;const i=t;if(void 0!==h[i]){const t=g(i);let u=[];if("string"==typeof n){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;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`}}; \ No newline at end of file diff --git a/themes/daux/js/121.mjs b/themes/daux/js/121.mjs new file mode 100644 index 00000000..30c1470a --- /dev/null +++ b/themes/daux/js/121.mjs @@ -0,0 +1 @@ +export const id=121;export const ids=[121];export const modules={2121:(e,t,n)=>{n.d(t,{d:()=>b,p:()=>r,s:()=>D});var s=n(7274),i=n(9360),u=function(){var e=function(e,t,n,s){for(n=n||{},s=e.length;s--;n[e[s]]=t);return n},t=[1,34],n=[1,35],s=[1,36],i=[1,37],u=[1,9],r=[1,8],a=[1,19],c=[1,20],o=[1,21],l=[1,40],h=[1,41],A=[1,27],p=[1,25],d=[1,26],y=[1,32],E=[1,33],C=[1,28],m=[1,29],g=[1,30],F=[1,31],k=[1,45],f=[1,42],b=[1,43],D=[1,44],_=[1,46],B=[1,24],T=[1,16,24],S=[1,60],N=[1,61],v=[1,62],L=[1,63],$=[1,64],I=[1,65],O=[1,66],x=[1,16,24,52],R=[1,77],P=[1,16,24,27,28,36,50,52,55,68,69,70,71,72,73,74,79,81],w=[1,16,24,27,28,34,36,50,52,55,59,68,69,70,71,72,73,74,79,81,94,96,97,98,99],G=[1,86],M=[28,94,96,97,98,99],U=[28,73,74,94,96,97,98,99],Y=[28,68,69,70,71,72,94,96,97,98,99],K=[1,99],z=[1,16,24,50,52,55],Q=[1,16,24,36],j=[8,9,10,11,19,23,44,46,48,53,57,58,60,61,63,65,75,76,78,82,94,96,97,98,99],X={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,statements:6,direction: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,EOF:24,statement:25,classLabel:26,SQS:27,STR:28,SQE:29,namespaceName:30,alphaNumToken:31,className:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,namespaceStatement:37,classStatement:38,methodStatement:39,annotationStatement:40,clickStatement:41,cssClassStatement:42,noteStatement:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,namespaceIdentifier:49,STRUCT_START:50,classStatements:51,STRUCT_STOP:52,NAMESPACE:53,classIdentifier:54,STYLE_SEPARATOR:55,members:56,CLASS:57,ANNOTATION_START:58,ANNOTATION_END:59,MEMBER:60,SEPARATOR:61,relation:62,NOTE_FOR:63,noteText:64,NOTE:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,CSSCLASS:82,commentToken:83,textToken:84,graphCodeTokens:85,textNoTagsToken:86,TAGSTART:87,TAGEND:88,"==":89,"--":90,PCT:91,DEFAULT:92,SPACE:93,MINUS:94,keywords:95,UNICODE_TEXT:96,NUM:97,ALPHA:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",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",24:"EOF",27:"SQS",28:"STR",29:"SQE",34:"GENERICTYPE",36:"LABEL",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",50:"STRUCT_START",52:"STRUCT_STOP",53:"NAMESPACE",55:"STYLE_SEPARATOR",57:"CLASS",58:"ANNOTATION_START",59:"ANNOTATION_END",60:"MEMBER",61:"SEPARATOR",63:"NOTE_FOR",65:"NOTE",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"CSSCLASS",85:"graphCodeTokens",87:"TAGSTART",88:"TAGEND",89:"==",90:"--",91:"PCT",92:"DEFAULT",93:"SPACE",94:"MINUS",95:"keywords",96:"UNICODE_TEXT",97:"NUM",98:"ALPHA",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,2],[3,1],[7,1],[7,1],[7,1],[7,1],[4,1],[5,4],[5,6],[13,1],[14,1],[18,1],[15,1],[12,4],[6,1],[6,2],[6,3],[26,3],[30,1],[30,2],[32,1],[32,1],[32,2],[32,2],[32,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,2],[25,2],[25,1],[37,4],[37,5],[49,2],[51,1],[51,2],[51,3],[38,1],[38,3],[38,4],[38,6],[54,2],[54,3],[40,4],[56,1],[56,2],[39,1],[39,2],[39,1],[39,1],[35,3],[35,4],[35,4],[35,5],[43,3],[43,2],[62,3],[62,2],[62,2],[62,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[41,3],[41,4],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[41,4],[41,5],[41,5],[41,6],[42,3],[83,1],[83,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[86,1],[86,1],[86,1],[86,1],[31,1],[31,1],[31,1],[31,1],[33,1],[64,1]],performAction:function(e,t,n,s,i,u,r){var a=u.length-1;switch(i){case 4:s.setDirection("TB");break;case 5:s.setDirection("BT");break;case 6:s.setDirection("RL");break;case 7:s.setDirection("LR");break;case 11:s.parseDirective("%%{","open_directive");break;case 12:s.parseDirective(u[a],"type_directive");break;case 13:u[a]=u[a].trim().replace(/'/g,'"'),s.parseDirective(u[a],"arg_directive");break;case 14:s.parseDirective("}%%","close_directive","class");break;case 19:this.$=u[a-1];break;case 20:case 22:case 23:this.$=u[a];break;case 21:case 24:this.$=u[a-1]+u[a];break;case 25:case 26:this.$=u[a-1]+"~"+u[a]+"~";break;case 27:s.addRelation(u[a]);break;case 28:u[a-1].title=s.cleanupLabel(u[a]),s.addRelation(u[a-1]);break;case 37:this.$=u[a].trim(),s.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),s.setAccDescription(this.$);break;case 40:s.addClassesToNamespace(u[a-3],u[a-1]);break;case 41:s.addClassesToNamespace(u[a-4],u[a-1]);break;case 42:this.$=u[a],s.addNamespace(u[a]);break;case 43:case 53:this.$=[u[a]];break;case 44:this.$=[u[a-1]];break;case 45:u[a].unshift(u[a-2]),this.$=u[a];break;case 47:s.setCssClass(u[a-2],u[a]);break;case 48:s.addMembers(u[a-3],u[a-1]);break;case 49:s.setCssClass(u[a-5],u[a-3]),s.addMembers(u[a-5],u[a-1]);break;case 50:this.$=u[a],s.addClass(u[a]);break;case 51:this.$=u[a-1],s.addClass(u[a-1]),s.setClassLabel(u[a-1],u[a]);break;case 52:s.addAnnotation(u[a],u[a-2]);break;case 54:u[a].push(u[a-1]),this.$=u[a];break;case 55:case 57:case 58:break;case 56:s.addMember(u[a-1],s.cleanupLabel(u[a]));break;case 59:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 60:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 61:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 62:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 63:s.addNote(u[a],u[a-1]);break;case 64:s.addNote(u[a]);break;case 65:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 66:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 67:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 68:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 69:this.$=s.relationType.AGGREGATION;break;case 70:this.$=s.relationType.EXTENSION;break;case 71:this.$=s.relationType.COMPOSITION;break;case 72:this.$=s.relationType.DEPENDENCY;break;case 73:this.$=s.relationType.LOLLIPOP;break;case 74:this.$=s.lineType.LINE;break;case 75:this.$=s.lineType.DOTTED_LINE;break;case 76:case 82:this.$=u[a-2],s.setClickEvent(u[a-1],u[a]);break;case 77:case 83:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 78:this.$=u[a-2],s.setLink(u[a-1],u[a]);break;case 79:this.$=u[a-3],s.setLink(u[a-2],u[a-1],u[a]);break;case 80:this.$=u[a-3],s.setLink(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 81:this.$=u[a-4],s.setLink(u[a-3],u[a-2],u[a]),s.setTooltip(u[a-3],u[a-1]);break;case 84:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1],u[a]);break;case 85:this.$=u[a-4],s.setClickEvent(u[a-3],u[a-2],u[a-1]),s.setTooltip(u[a-3],u[a]);break;case 86:this.$=u[a-3],s.setLink(u[a-2],u[a]);break;case 87:this.$=u[a-4],s.setLink(u[a-3],u[a-1],u[a]);break;case 88:this.$=u[a-4],s.setLink(u[a-3],u[a-1]),s.setTooltip(u[a-3],u[a]);break;case 89:this.$=u[a-5],s.setLink(u[a-4],u[a-2],u[a]),s.setTooltip(u[a-4],u[a-1]);break;case 90:s.setCssClass(u[a-1],u[a])}},table:[{3:1,4:2,5:3,6:4,7:18,8:t,9:n,10:s,11:i,12:5,13:6,19:u,23:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:F,94:k,96:f,97:b,98:D,99:_},{1:[3]},{1:[2,1]},{3:47,4:2,5:3,6:4,7:18,8:t,9:n,10:s,11:i,12:5,13:6,19:u,23:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:F,94:k,96:f,97:b,98:D,99:_},{1:[2,3]},{1:[2,8]},{14:48,20:[1,49]},e(B,[2,16],{16:[1,50]}),{16:[1,51]},{20:[2,11]},e(T,[2,27],{36:[1,52]}),e(T,[2,29]),e(T,[2,30]),e(T,[2,31]),e(T,[2,32]),e(T,[2,33]),e(T,[2,34]),e(T,[2,35]),e(T,[2,36]),{45:[1,53]},{47:[1,54]},e(T,[2,39]),e(T,[2,55],{62:55,66:58,67:59,28:[1,56],36:[1,57],68:S,69:N,70:v,71:L,72:$,73:I,74:O}),{50:[1,67]},e(x,[2,46],{50:[1,69],55:[1,68]}),e(T,[2,57]),e(T,[2,58]),{31:70,94:k,96:f,97:b,98:D},{31:38,32:71,33:39,94:k,96:f,97:b,98:D,99:_},{31:38,32:72,33:39,94:k,96:f,97:b,98:D,99:_},{31:38,32:73,33:39,94:k,96:f,97:b,98:D,99:_},{28:[1,74]},{31:38,32:75,33:39,94:k,96:f,97:b,98:D,99:_},{28:R,64:76},e(T,[2,4]),e(T,[2,5]),e(T,[2,6]),e(T,[2,7]),e(P,[2,22],{31:38,33:39,32:78,34:[1,79],94:k,96:f,97:b,98:D,99:_}),e(P,[2,23],{34:[1,80]}),{30:81,31:82,94:k,96:f,97:b,98:D},{31:38,32:83,33:39,94:k,96:f,97:b,98:D,99:_},e(w,[2,104]),e(w,[2,105]),e(w,[2,106]),e(w,[2,107]),e([1,16,24,27,28,34,36,50,52,55,68,69,70,71,72,73,74,79,81],[2,108]),{1:[2,2]},{15:84,17:[1,85],22:G},e([17,22],[2,12]),e(B,[2,17],{25:7,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,7:18,32:22,49:23,54:24,31:38,33:39,6:87,8:t,9:n,10:s,11:i,44:a,46:c,48:o,53:l,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:F,94:k,96:f,97:b,98:D,99:_}),{6:88,7:18,8:t,9:n,10:s,11:i,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:F,94:k,96:f,97:b,98:D,99:_},e(T,[2,28]),e(T,[2,37]),e(T,[2,38]),{28:[1,90],31:38,32:89,33:39,94:k,96:f,97:b,98:D,99:_},{62:91,66:58,67:59,68:S,69:N,70:v,71:L,72:$,73:I,74:O},e(T,[2,56]),{67:92,73:I,74:O},e(M,[2,68],{66:93,68:S,69:N,70:v,71:L,72:$}),e(U,[2,69]),e(U,[2,70]),e(U,[2,71]),e(U,[2,72]),e(U,[2,73]),e(Y,[2,74]),e(Y,[2,75]),{16:[1,95],38:96,51:94,54:24,57:h},{31:97,94:k,96:f,97:b,98:D},{56:98,60:K},{59:[1,100]},{28:[1,101]},{28:[1,102]},{79:[1,103],81:[1,104]},{31:105,94:k,96:f,97:b,98:D},{28:R,64:106},e(T,[2,64]),e(T,[2,109]),e(P,[2,24]),e(P,[2,25]),e(P,[2,26]),{50:[2,42]},{30:107,31:82,50:[2,20],94:k,96:f,97:b,98:D},e(z,[2,50],{26:108,27:[1,109]}),{16:[1,110]},{18:111,21:[1,112]},{16:[2,14]},e(B,[2,18]),{24:[1,113]},e(Q,[2,59]),{31:38,32:114,33:39,94:k,96:f,97:b,98:D,99:_},{28:[1,116],31:38,32:115,33:39,94:k,96:f,97:b,98:D,99:_},e(M,[2,67],{66:117,68:S,69:N,70:v,71:L,72:$}),e(M,[2,66]),{52:[1,118]},{38:96,51:119,54:24,57:h},{16:[1,120],52:[2,43]},e(x,[2,47],{50:[1,121]}),{52:[1,122]},{52:[2,53],56:123,60:K},{31:38,32:124,33:39,94:k,96:f,97:b,98:D,99:_},e(T,[2,76],{28:[1,125]}),e(T,[2,78],{28:[1,127],77:[1,126]}),e(T,[2,82],{28:[1,128],80:[1,129]}),{28:[1,130]},e(T,[2,90]),e(T,[2,63]),{50:[2,21]},e(z,[2,51]),{28:[1,131]},e(j,[2,9]),{15:132,22:G},{22:[2,13]},{1:[2,15]},e(Q,[2,61]),e(Q,[2,60]),{31:38,32:133,33:39,94:k,96:f,97:b,98:D,99:_},e(M,[2,65]),e(T,[2,40]),{52:[1,134]},{38:96,51:135,52:[2,44],54:24,57:h},{56:136,60:K},e(x,[2,48]),{52:[2,54]},e(T,[2,52]),e(T,[2,77]),e(T,[2,79]),e(T,[2,80],{77:[1,137]}),e(T,[2,83]),e(T,[2,84],{28:[1,138]}),e(T,[2,86],{28:[1,140],77:[1,139]}),{29:[1,141]},{16:[1,142]},e(Q,[2,62]),e(T,[2,41]),{52:[2,45]},{52:[1,143]},e(T,[2,81]),e(T,[2,85]),e(T,[2,87]),e(T,[2,88],{77:[1,144]}),e(z,[2,19]),e(j,[2,10]),e(x,[2,49]),e(T,[2,89])],defaultActions:{2:[2,1],4:[2,3],5:[2,8],9:[2,11],47:[2,2],81:[2,42],86:[2,14],107:[2,21],112:[2,13],113:[2,15],123:[2,54],135:[2,45]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=[0],n=[],s=[null],i=[],u=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(e,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var p=l.yylloc;i.push(p);var d=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,C,m,g,F,k,f,b,D={};;){if(E=t[t.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(b=void 0,"number"!=typeof(b=n.pop()||l.lex()||1)&&(b instanceof Array&&(b=(n=b).pop()),b=this.symbols_[b]||b),y=b),C=u[E]&&u[E][y]),void 0===C||!C.length||!C[0]){var _;for(g in f=[],u[E])this.terminals_[g]&&g>2&&f.push("'"+this.terminals_[g]+"'");_=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+f.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(_,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:p,expected:f})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(C[0]){case 1:t.push(y),s.push(l.yytext),i.push(l.yylloc),t.push(C[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,p=l.yylloc;break;case 2:if(F=this.productions_[C[1]][1],D.$=s[s.length-F],D._$={first_line:i[i.length-(F||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(F||1)].first_column,last_column:i[i.length-1].last_column},d&&(D._$.range=[i[i.length-(F||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(D,[r,c,a,h.yy,C[1],s,i].concat(o))))return m;F&&(t=t.slice(0,-1*F*2),s=s.slice(0,-1*F),i=i.slice(0,-1*F)),t.push(this.productions_[C[1]][0]),s.push(D.$),i.push(D._$),k=u[t[t.length-2]][t[t.length-1]],t.push(k);break;case 3:return!0}}return!0}},W={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=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 i=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===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,s,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var u in i)this[u]=i[u];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ut[0].length)){if(t=n,s=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[u])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[s]))&&e:""===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(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,s){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 34:case 39:case 43:case 50:break;case 11:return this.begin("acc_title"),44;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),46;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 24:case 27:case 29:case 61:case 64:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 38:return 16;case 20:case 21:return 23;case 22:case 40:case 48:return"EDGE_STATE";case 23:this.begin("callback_name");break;case 25:this.popState(),this.begin("callback_args");break;case 26:return 79;case 28:return 80;case 30:return"STR";case 31:this.begin("string");break;case 32:return this.begin("namespace"),53;case 33:case 42:return this.popState(),16;case 35:return this.begin("namespace-body"),50;case 36:case 46:return this.popState(),52;case 37:case 47:return"EOF_IN_STRUCT";case 41:return this.begin("class"),57;case 44:return this.popState(),this.popState(),52;case 45:return this.begin("class-body"),50;case 49:return"OPEN_IN_STRUCT";case 51:return"MEMBER";case 52:return 82;case 53:return 75;case 54:return 76;case 55:return 78;case 56:return 63;case 57:return 65;case 58:return 58;case 59:return 59;case 60:return 81;case 62:return"GENERICTYPE";case 63:this.begin("generic");break;case 65:return"BQUOTE_STR";case 66:this.begin("bqstring");break;case 67:case 68:case 69:case 70:return 77;case 71:case 72:return 69;case 73:case 74:return 71;case 75:return 70;case 76:return 68;case 77:return 72;case 78:return 73;case 79:return 74;case 80:return 36;case 81:return 55;case 82:return 94;case 83:return"DOT";case 84:return"PLUS";case 85:return 91;case 86:case 87:return"EQUALS";case 88:return 98;case 89:return 27;case 90:return 29;case 91:return"PUNCTUATION";case 92:return 97;case 93:return 96;case 94:return 93;case 95:return 24}},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)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_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:{"namespace-body":{rules:[31,36,37,38,39,40,41,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},namespace:{rules:[31,32,33,34,35,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},"class-body":{rules:[31,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},class:{rules:[31,42,43,44,45,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_descr_multiline:{rules:[16,17,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_descr:{rules:[14,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},acc_title:{rules:[12,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},arg_directive:{rules:[7,8,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},type_directive:{rules:[6,7,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},open_directive:{rules:[5,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},callback_args:{rules:[27,28,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},callback_name:{rules:[24,25,26,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},href:{rules:[31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},struct:{rules:[31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},generic:{rules:[31,52,53,54,55,56,57,58,59,60,61,62,63,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],inclusive:!1},bqstring:{rules:[31,52,53,54,55,56,57,58,59,60,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],inclusive:!1},string:{rules:[29,30,31,52,53,54,55,56,57,58,59,60,63,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],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,31,32,41,52,53,54,55,56,57,58,59,60,63,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],inclusive:!0}}};function H(){this.yy={}}return X.lexer=W,H.prototype=X,X.Parser=H,new H}();u.parser=u;const r=u,a="classId-";let c=[],o={},l=[],h=0,A={},p=0,d=[];const y=e=>i.e.sanitizeText(e,(0,i.c)()),E=function(e){let t="",n=e;if(e.indexOf("~")>0){const s=e.split("~");n=y(s[0]),t=y(s[1])}return{className:n,type:t}},C=function(e){const t=E(e);void 0===o[t.className]&&(o[t.className]={id:t.className,type:t.type,label:t.className,cssClasses:[],methods:[],members:[],annotations:[],domId:a+t.className+"-"+h},h++)},m=function(e){if(e in o)return o[e].domId;throw new Error("Class not found: "+e)},g=function(e,t){const n=E(e).className,s=o[n];if("string"==typeof t){const e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?s.annotations.push(y(e.substring(2,e.length-2))):e.indexOf(")")>0?s.methods.push(y(e)):e&&s.members.push(y(e))}},F=function(e,t){e.split(",").forEach((function(e){let n=e;e[0].match(/\d/)&&(n=a+n),void 0!==o[n]&&o[n].cssClasses.push(t)}))},k=function(e){let t=(0,s.Ys)(".mermaidTooltip");null===(t._groups||t)[0][0]&&(t=(0,s.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,s.Ys)(e).select("svg").selectAll("g.node").on("mouseover",(function(){const e=(0,s.Ys)(this);if(null===e.attr("title"))return;const n=this.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.text(e.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"),t.html(t.html().replace(/<br\/>/g,"
    ")),e.classed("hover",!0)})).on("mouseout",(function(){t.transition().duration(500).style("opacity",0),(0,s.Ys)(this).classed("hover",!1)}))};d.push(k);let f="TB";const b={parseDirective:function(e,t,n){i.m.parseDirective(this,e,t,n)},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().class,addClass:C,bindFunctions:function(e){d.forEach((function(t){t(e)}))},clear:function(){c=[],o={},l=[],d=[],d.push(k),A={},p=0,(0,i.v)()},getClass:function(e){return o[e]},getClasses:function(){return o},getNotes:function(){return l},addAnnotation:function(e,t){const n=E(e).className;o[n].annotations.push(t)},addNote:function(e,t){const n={id:`note${l.length}`,class:t,text:e};l.push(n)},getRelations:function(){return c},addRelation:function(e){i.l.debug("Adding relation: "+JSON.stringify(e)),C(e.id1),C(e.id2),e.id1=E(e.id1).className,e.id2=E(e.id2).className,e.relationTitle1=i.e.sanitizeText(e.relationTitle1.trim(),(0,i.c)()),e.relationTitle2=i.e.sanitizeText(e.relationTitle2.trim(),(0,i.c)()),c.push(e)},getDirection:()=>f,setDirection:e=>{f=e},addMember:g,addMembers:function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach((t=>g(e,t))))},cleanupLabel:function(e){return e.startsWith(":")&&(e=e.substring(1)),y(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,t,n){e.split(",").forEach((function(e){(function(e,t,n){if("loose"!==(0,i.c)().securityLevel)return;if(void 0===t)return;const s=e;if(void 0!==o[s]){const e=m(s);let u=[];if("string"==typeof n){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e{o[t].parent=e,A[e].classes[t]=o[t]}))},getNamespace:function(e){return A[e]},getNamespaces:function(){return A}},D=e=>`g.classGroup text {\n fill: ${e.nodeBorder};\n fill: ${e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.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: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.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: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.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: ${e.textColor};\n}\n`}}; \ No newline at end of file diff --git a/themes/daux/js/174.mjs b/themes/daux/js/174.mjs new file mode 100644 index 00000000..f14cede2 --- /dev/null +++ b/themes/daux/js/174.mjs @@ -0,0 +1,2 @@ +/*! For license information please see 174.mjs.LICENSE.txt */ +export const id=174;export const ids=[174];export const modules={4182:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,t,n){var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i},function(e,t,n){var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.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(e,t){for(var n,r=this.getChild().getNodes(),i=0;i0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.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 e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),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,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n1)for(s=0;sr&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var _=(n+p*x)%360,T=(_+x)%360;m.branchRadialLayout(E,e,_,T,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;nt&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;rl&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t,verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;rn&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.widtha&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;so&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p}])},e.exports=r(n(4182))},1377:function(e,t,n){e.exports=function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:0},z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(e)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+R+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t}(e)},Y={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]},X=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&e-u>=a}function f(){var e=$();if(g(e))return v(e);s=setTimeout(f,function(e){var n=t-(e-l);return h?me(n,a-(e-u)):n}(e))}function v(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function y(){var e=$(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(f,t),c?p(e):o}(l);if(h)return clearTimeout(s),s=setTimeout(f,t),p(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=ve(t)||0,U(n)&&(c=!!n.leading,a=(h="maxWait"in n)?ye(ve(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v($())},y},xe=l?l.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(l){if(l.requestAnimationFrame)return function(e){l.requestAnimationFrame(e)};if(l.mozRequestAnimationFrame)return function(e){l.mozRequestAnimationFrame(e)};if(l.webkitRequestAnimationFrame)return function(e){l.webkitRequestAnimationFrame(e)};if(l.msRequestAnimationFrame)return function(e){l.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(we())}),1e3/60)}}(),_e=function(e){return Ee(e)},Te=we,De=9261,Ce=5381,Ne=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ae=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:De)+e|0},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return(t<<5)+t+e|0},ke=function(e){return 2097152*e[0]+e[1]},Se=function(e,t){return[Ae(e[0],t[0]),Le(e[1],t[1])]},Ie=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return Ne({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},Qe=function(e){e.splice(0,e.length)},Je=function(e,t,n){return n&&(t=S(n,t)),e[t]},et=function(e,t,n,r){n&&(t=S(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){t(this,e),this._obj={}}return i(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),nt=function(){function e(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&T(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new rt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.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==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];y(t.classes)?l=t.classes:f(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;af;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var _=b.pop(),T=v(_),D=_.id();if(h[D]=T,T!==1/0)for(var C=_.neighborhood().intersect(p),N=0;N0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},ht={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(l=f.pop(),u=l.id(),v.delete(u),w++,u===h){for(var E=[],_=i,T=h,D=m[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=y[T]);)D=m[T=_.id()];return{found:!0,distance:d[u],path:this.spawn(E),steps:w}}g[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,m[C]=D,b[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,m[A]=T,b[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=b(e);;){if(null==i)return t.spawn();var o=m(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},hasNegativeWeightCycle:g,negativeWeightCycles:v}}},mt=Math.sqrt(2),bt=function(e,t,n){0===n.length&&Ve("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=bt(i,e,t),n--}return t},wt={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/mt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},At=function(e,t){return Math.sqrt(Lt(e,t))},Lt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},kt=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Pt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Bt=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ft=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},zt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Gt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Yt=function(e,t){return Gt(e,t.x1,t.y1)&&Gt(e,t.x2,t.y2)},Xt=function(e,t,n,r,i,a,o){var s,l=sn(i,a),u=i/2,c=a/2,h=r-c-o;if((s=en(e,t,n,r,n-u+l-o,h,n+u-l+o,h,!1)).length>0)return s;var d=n+u+o;if((s=en(e,t,n,r,d,r-c+l-o,d,r+c-l+o,!1)).length>0)return s;var p=r+c+o;if((s=en(e,t,n,r,n-u+l-o,p,n+u-l+o,p,!1)).length>0)return s;var g,f=n-u-o;if((s=en(e,t,n,r,f,r-c+l-o,f,r+c-l+o,!1)).length>0)return s;var v=n-u+l,y=r-c+l;if((g=Qt(e,t,n,r,v,y,l+o)).length>0&&g[0]<=v&&g[1]<=y)return[g[0],g[1]];var m=n+u-l,b=r-c+l;if((g=Qt(e,t,n,r,m,b,l+o)).length>0&&g[0]>=m&&g[1]<=b)return[g[0],g[1]];var x=n+u-l,w=r+c-l;if((g=Qt(e,t,n,r,x,w,l+o)).length>0&&g[0]>=x&&g[1]>=w)return[g[0],g[1]];var E=n-u+l,_=r+c-l;return(g=Qt(e,t,n,r,E,_,l+o)).length>0&&g[0]<=E&&g[1]>=_?[g[0],g[1]]:[]},Vt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},Ut=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,h=Math.min(r,s,a)-l,d=Math.max(r,s,a)+l;return!(ec||td)},jt=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g,f,v,y,m,b,x,w=[];u=9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,c=3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,h=1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,0===(l=1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s)&&(l=1e-5),f=-27*(h/=l)+(u/=l)*(9*(c/=l)-u*u*2),p=(g=(3*c-u*u)/9)*g*g+(f/=54)*f,(d=w)[1]=0,b=u/3,p>0?(y=(y=f+Math.sqrt(p))<0?-Math.pow(-y,1/3):Math.pow(y,1/3),m=(m=f-Math.sqrt(p))<0?-Math.pow(-m,1/3):Math.pow(m,1/3),d[0]=-b+y+m,b+=(y+m)/2,d[4]=d[2]=-b,b=Math.sqrt(3)*(-m+y)/2,d[3]=b,d[5]=-b):(d[5]=d[3]=0,0===p?(x=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),d[0]=2*x-b,d[4]=d[2]=-(x+b)):(v=(g=-g)*g*g,v=Math.acos(f/Math.sqrt(v)),x=2*Math.sqrt(g),d[0]=-b+x*Math.cos(v/3),d[2]=-b+x*Math.cos((v+2*Math.PI)/3),d[4]=-b+x*Math.cos((v+4*Math.PI)/3)));for(var E=[],_=0;_<6;_+=2)Math.abs(w[_+1])<1e-7&&w[_]>=0&&w[_]<=1&&E.push(w[_]);E.push(1),E.push(0);for(var T,D,C,N=-1,A=0;A=0?Cl?(e-i)*(e-i)+(t-a)*(t-a):u-h},Ht=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Wt=function(e,t,n,r,i,a,o,s,l){var u,c=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,d=Math.cos(-u),p=Math.sin(-u),g=0;g0){var f=Kt(c,-l);h=$t(f)}else h=c;return Ht(e,t,h)},$t=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},Jt=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},en=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?Jt(e,n,o)===o?[o,s]:Jt(e,n,i)===i?[i,a]:Jt(i,o,n)===n?[n,r]:[]:[]},tn=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Kt(f,-s);u=$t(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var x=r(y);m=m.id(),h[m]>h[f]+x&&(h[m]=h[f]+x,d.nodes.indexOf(m)<0?d.push(m):d.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[f]+x&&(u[m]=u[m]+u[f],l[m].push(f))}else for(var w=0;w0;){for(var D=n.pop(),C=0;C0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:An,o=r,s=0;s=2?On(e,t,n,0,Sn,In):On(e,t,n,0,kn)},squaredEuclidean:function(e,t,n){return On(e,t,n,0,Sn)},manhattan:function(e,t,n){return On(e,t,n,0,kn)},max:function(e,t,n){return On(e,t,n,-1/0,Mn)}};function Rn(e,t,n,r,i,a){var o;return o=v(e)?e:Pn[e]||Pn.euclidean,0===t&&v(e)?o(i,a):o(t,n,r,i,a)}Pn["squared-euclidean"]=Pn.squaredEuclidean,Pn.squaredeuclidean=Pn.squaredEuclidean;var Bn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Fn=function(e){return Bn(e)},zn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return Rn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Gn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1;return!0},Un=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;vn[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u=N?(A=N,N=k,L=S):k>A&&(A=k);for(var I=0;I0?1:0;T[_%u.minIterations*t+F]=z,B+=z}if(B>0&&(_>=u.minIterations-1||_==u.maxIterations-1)){for(var G=0,Y=0;Y0&&r.push(i);return r}(t,a,o),U=function(e,t,n){for(var r=ur(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return ur(e,t,n)}(t,r,V),j={},q=0;q1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],v=[];for(v=p(i);1!=v.length;)0==c[v[0]].length?(g.unshift(l.getElementById(v.shift())),g.unshift(l.getElementById(v.shift()))):v=p(v.shift()).concat(v);for(var y in g.unshift(l.getElementById(v.shift())),c)if(c[y].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},gr=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var h,d,p,g,f=e.getElementById(u).connectedEdges().intersection(e);0===f.size()?i.push(e.spawn(e.getElementById(u))):f.forEach((function(n){h=n.source().id(),d=n.target().id(),(p=h===u?d:h)!==c&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},fr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},vr={};[ot,ct,ht,pt,ft,yt,wt,hn,pn,fn,yn,Nn,Zn,ar,hr,pr,{hopcroftTarjanBiconnected:gr,htbc:gr,htb:gr,hopcroftTarjanBiconnectedComponents:gr},{tarjanStronglyConnected:fr,tsc:fr,tscc:fr,tarjanStronglyConnectedComponents:fr}].forEach((function(e){z(vr,e)}));var yr=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};yr.prototype={fulfill:function(e){return mr(this,1,"fulfillValue",e)},reject:function(e){return mr(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new yr;return n.onFulfilled.push(wr(e,r,"fulfill")),n.onRejected.push(wr(t,r,"reject")),br(n),r.proxy}};var mr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,br(e)),e},br=function(e){1===e.state?xr(e,"onFulfilled",e.fulfillValue):2===e.state&&xr(e,"onRejected",e.rejectReason)},xr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1};var ci=function(e,t){var n=this.__data__,r=ai(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function hi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){y(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};Ki.className=Ki.classNames=Ki.classes;var Zi={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:M,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Zi.variable="(?:[\\w-.]|(?:\\\\"+Zi.metaChar+"))+",Zi.className="(?:[\\w-]|(?:\\\\"+Zi.metaChar+"))+",Zi.value=Zi.string+"|"+Zi.number,Zi.id=Zi.variable,function(){var e,t,n;for(e=Zi.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Zi.comparatorOp+="|\\!"+t)}();var Qi=0,Ji=1,ea=2,ta=3,na=4,ra=5,ia=6,aa=7,oa=8,sa=9,la=10,ua=11,ca=12,ha=13,da=14,pa=15,ga=16,fa=17,va=18,ya=19,ma=20,ba=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*F(e,t)}(e.selector,t.selector)})),xa=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return je("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return je("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&je("The selector `"+e+"` 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 e=function(e){return null==e?"":e},t=function(t){return f(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(i,a){return i.checks.reduce((function(o,s,l){return o+(a===i&&0===l?"$":"")+function(i,a){var o=i.type,s=i.value;switch(o){case Qi:var l=e(s);return l.substring(0,l.length-1);case ta:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case ra:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case na:return"["+i.field+"]";case ia:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case aa:return s;case oa:return"#"+s;case sa:return"."+s;case fa:case pa:return r(i.parent,a)+n(">")+r(i.child,a);case va:case ga:return r(i.ancestor,a)+" "+r(i.descendant,a);case ya:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ma:return""}}(s,a)}),"")},i="",a=0;a1&&a=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Ga(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Ga)},Fa.forEachUp=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ya)},Fa.forEachUpAndDown=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xa)},Fa.ancestors=Fa.parents,(Pa=Ra={data:Wi.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:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Wi.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Wi.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Pa.data,Pa.removeAttr=Pa.removeData;var Va,Ua,ja=Ra,qa={};function Ha(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;ot})),minIndegree:Wa("indegree",(function(e,t){return et})),minOutdegree:Wa("outdegree",(function(e,t){return et}))}),z(qa,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d0,y=v;v&&(g=g[0]);var b=y?g.position():{x:0,y:0};void 0!==t?p.position(e,t+b[e]):void 0!==i&&p.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=Va.point=Va.position,Va.modelPositions=Va.points=Va.positions,Va.renderedPoint=Va.renderedPosition,Va.relativePoint=Va.relativePosition;var Za,Qa,Ja=Ua;Za=Qa={},Qa.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},Qa.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},Qa.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.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=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},no=function(e,t){return null==t?e:to(e,t.x1,t.y1,t.x2,t.y2)},ro=function(e,t,n){return Je(e,t,n)},io=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Rt(u,1),to(e,u.x1,u.y1,u.x2,u.y2)}}},ao=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ro(a,"labelWidth",n),p=ro(a,"labelHeight",n),g=ro(a,"labelX",n),f=ro(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,_=p,T=d,D=T/2,C=_/2;if(m)o=g-D,s=g+D,l=f-C,u=f+C;else{switch(c.value){case"left":o=g-T,s=g;break;case"center":o=g-D,s=g+D;break;case"right":o=g,s=g+T}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-C,u=f+C;break;case"bottom":l=f,u=f+_}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var N=n||"main",A=i.labelBounds,L=A[N]=A[N]||{};L.x1=o,L.y1=l,L.x2=s,L.y2=u,L.w=s-o,L.h=u-l;var k=m&&"autorotate"===b.strValue,S=null!=b.pfValue&&0!==b.pfValue;if(k||S){var I=k?ro(i.rstyle,"labelAngle",n):b.pfValue,M=Math.cos(I),O=Math.sin(I),P=(o+s)/2,R=(l+u)/2;if(!m){switch(c.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":R=u;break;case"bottom":R=l}}var B=function(e,t){return{x:(e-=P)*M-(t-=R)*O+P,y:e*O+t*M+R}},F=B(o,l),z=B(o,u),G=B(s,l),Y=B(s,u);o=Math.min(F.x,z.x,G.x,Y.x),s=Math.max(F.x,z.x,G.x,Y.x),l=Math.min(F.y,z.y,G.y,Y.y),u=Math.max(F.y,z.y,G.y,Y.y)}var X=N+"Rot",V=A[X]=A[X]||{};V.x1=o,V.y1=l,V.x2=s,V.y2=u,V.w=s-o,V.h=u-l,to(e,o,l,s,u),to(i.labelBounds.all,o,l,s,u)}return e}},oo=function(e){var t=0,n=function(e){return(e?1:0)<(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}to(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||"segments"===N||"taxi"===N){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":S=v.linePts}if(null!=S)for(var I=0;I(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}to(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(io(d,e,"mid-source"),io(d,e,"mid-target"),io(d,e,"source"),io(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;to(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Ft(G,d),Bt(G,y),Rt(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,to(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Ft(Y,d),Bt(Y,y),Rt(Y,1);var X=p.labelBounds=p.labelBounds||{};null!=X.all?((l=X.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):X.all=Ot(),c&&t.includeLabels&&(t.includeMainLabels&&ao(d,e,null),f&&(t.includeSourceLabels&&ao(d,e,"source"),t.includeTargetLabels&&ao(d,e,"target")))}return d.x1=eo(d.x1),d.y1=eo(d.y1),d.x2=eo(d.x2),d.y2=eo(d.y2),d.w=eo(d.x2-d.x1),d.h=eo(d.y2-d.y1),d.w>0&&d.h>0&&b&&(Bt(d,y),Rt(d,1)),d}(e,uo),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Ot(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?no(n,r.overlayBounds):no(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?no(n,r.labelBounds.all):(t.includeMainLabels&&no(n,r.labelBounds.mainRot),t.includeSourceLabels&&no(n,r.labelBounds.sourceRot),t.includeTargetLabels&&no(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},uo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},co=oo(uo),ho=Ke(uo);Qa.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Ot();var n=ho(e=e||uo),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:No,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Lo.removeAllListeners=function(){return this.removeListener("*")},Lo.emit=Lo.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,y(t)||(t=[t]),Io(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||".*"===i.namespace)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&function(e,t){for(var n=0;n1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&f(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;ir&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(m(e)){var i=e;r.applyBypass(this,i,false),this.emitAndNotify("style")}else if(f(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,false),this.emitAndNotify("style")}else if(void 0===e){var o=this[0];return o?r.getRawStyle(o):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style(),r=this;if(void 0===e)for(var i=0;i0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),rs.neighbourhood=rs.neighborhood,rs.closedNeighbourhood=rs.closedNeighborhood,rs.openNeighbourhood=rs.openNeighborhood,z(rs,{source:Ba((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Ba((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:ss({attr:"source"}),targets:ss({attr:"target"})}),z(rs,{edgesWith:Ba(ls(),"edgesWith"),edgesTo:Ba(ls({thisIsSrc:!0}),"edgesTo")}),z(rs,{connectedEdges:Ba((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),rs.componentsOf=rs.components;var cs=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new tt,a=!1;if(t){if(t.length>0&&m(t[0])&&!E(t[0])){a=!0;for(var o=[],s=new rt,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var B=e.length===i.length?i:new cs(a,e),F=0;F0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?_.emitAndNotify("remove"):t&&_.emit("remove"));for(var T=0;T=.001?function(t,r){for(var a=0;a0?i=l:r=l}while(Math.abs(s)>a&&++uh&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),fs=function(e,t,n,r){var i=ps(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},vs={linear:function(e,t,n){return e+(t-e)*n},ease:fs(.25,.1,.25,1),"ease-in":fs(.42,0,1,1),"ease-out":fs(0,0,.58,1),"ease-in-out":fs(.42,0,.58,1),"ease-in-sine":fs(.47,0,.745,.715),"ease-out-sine":fs(.39,.575,.565,1),"ease-in-out-sine":fs(.445,.05,.55,.95),"ease-in-quad":fs(.55,.085,.68,.53),"ease-out-quad":fs(.25,.46,.45,.94),"ease-in-out-quad":fs(.455,.03,.515,.955),"ease-in-cubic":fs(.55,.055,.675,.19),"ease-out-cubic":fs(.215,.61,.355,1),"ease-in-out-cubic":fs(.645,.045,.355,1),"ease-in-quart":fs(.895,.03,.685,.22),"ease-out-quart":fs(.165,.84,.44,1),"ease-in-out-quart":fs(.77,0,.175,1),"ease-in-quint":fs(.755,.05,.855,.06),"ease-out-quint":fs(.23,1,.32,1),"ease-in-out-quint":fs(.86,0,.07,1),"ease-in-expo":fs(.95,.05,.795,.035),"ease-out-expo":fs(.19,1,.22,1),"ease-in-out-expo":fs(1,0,0,1),"ease-in-circ":fs(.6,.04,.98,.335),"ease-out-circ":fs(.075,.82,.165,1),"ease-in-out-circ":fs(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return vs.linear;var r=gs(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":fs};function ys(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function ms(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function bs(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=ms(e,i),s=ms(t,i);if(b(o)&&b(s))return ys(a,o,s,n,r);if(y(o)&&y(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=vs[h].apply(null,d)):o.easingImpl=vs[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var v=o.startPosition,y=o.position;if(y&&i&&!e.locked()){var m={};ws(v.x,y.x)&&(m.x=bs(v.x,y.x,p,g)),ws(v.y,y.y)&&(m.y=bs(v.y,y.y,p,g)),e.position(m)}var b=o.startPan,x=o.pan,w=a.pan,E=null!=x&&r;E&&(ws(b.x,x.x)&&(w.x=bs(b.x,x.x,p,g)),ws(b.y,x.y)&&(w.y=bs(b.y,x.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(ws(_,T)&&(a.zoom=Mt(a.minZoom,bs(_,T,p,g),a.maxZoom)),e.emit("zoom")),(E||D)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var N=0;N=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Es(0,h,e),xs(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Ts={animate:Wi.animate(),animation:Wi.animation(),animated:Wi.animated(),clearQueue:Wi.clearQueue(),delay:Wi.delay(),delayAnimation:Wi.delayAnimation(),stop:Wi.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){_s(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){_s(n,e),t()}))}()}}},Ds={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&E(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Cs=function(e){return f(e)?new Ia(e):e},Ns={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Ao(Ds,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Cs(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Cs(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},once:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};Wi.eventAliasesOn(Ns);var As={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};As.jpeg=As.jpg;var Ls={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=f(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(z({},e,{cy:t,eles:n}));Ve("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ve("A `name` must be specified to make a layout");else Ve("Layout options must be specified to make a layout")}};Ls.createLayout=Ls.makeLayout=Ls.layout;var ks={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Is.invalidateDimensions=Is.resize;var Ms={collection:function(e,t){return f(e)?this.$(e):w(e)?e.collection():y(e)?(t||(t={}),new cs(this,e,t.unique,t.removed)):new cs(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};Ms.elements=Ms.filter=Ms.$;var Os={},Ps="t";Os.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f1&&(v=1),s.color){var E=i.valueMin[0],_=i.valueMax[0],T=i.valueMin[1],D=i.valueMax[1],C=i.valueMin[2],N=i.valueMax[2],A=null==i.valueMin[3]?1:i.valueMin[3],L=null==i.valueMax[3]?1:i.valueMax[3],k=[Math.round(E+(_-E)*v),Math.round(T+(D-T)*v),Math.round(C+(N-C)*v),Math.round(A+(L-A)*v)];n={bypass:i.bypass,name:i.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!s.number)return!1;var S=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,S,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var I=i.field.split("."),M=h.data,O=0;O0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},Os.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Os.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},Os.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||("curve-style"!==t||"bezier"!==n&&"bezier"!==r)&&("display"!==t||"none"!==n&&"none"!==r)||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},Os.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Rs={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?a.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var l=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){je("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=l[0];var u=l[1];if("core"!==u&&new Ia(u).invalid)je("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var c=l[2],h=!1;n=c;for(var d=[];!n.match(/^\s*$/);){var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){je("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),h=!0;break}r=p[0];var g=p[1],f=p[2];this.properties[g]?i.parse(g,f)?(d.push({name:g,val:f}),s()):(je("Skipping property: Invalid property definition in: "+r),s()):(je("Skipping property: Invalid property name in: "+r),s())}if(h){o();break}i.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var m=this.parse(e,c[5]);if(!m||m.mapped)return!1;if(g.pfValue===m.pfValue||g.strValue===m.strValue)return je("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var x=g.value,w=m.value;if(!(x[0]!==w[0]||x[1]!==w[1]||x[2]!==w[2]||x[3]!==w[3]&&(null!=x[3]&&1!==x[3]||null!=w[3]&&1!==w[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:m.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var E;if(E=l?t.split(/\s+/):y(t)?t:[t],h.evenMultiple&&E.length%2!=0)return null;for(var _=[],T=[],D=[],C="",N=!1,A=0;A0?" ":"")+k.strValue}return h.validate&&!h.validate(_,T)?null:h.singleEnum&&N?1===_.length&&f(_[0])?{name:e,value:_[0],strValue:_[0],bypass:n}:null:{name:e,value:_,pfValue:D,strValue:C,bypass:n,units:T}}var S,I,O=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var z={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?z.pfValue=t:z.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(z.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(z.pfValue="rad"===P?t:(S=t,Math.PI*S/180)),"%"===P&&(z.pfValue=t/100),z}if(h.propList){var Y=[],X=""+t;if("none"===X);else{for(var V=X.split(/\s*,\s*|\s+/),U=0;U0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:a)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),b(e)?n=e:m(e)&&(n=e.level,null!=e.position?t=Et(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;b(l.x)&&(t.pan.x=l.x,o=!1),b(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(f(e)){var n=e;e=this.mutableElements().filter(n)}else w(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.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 e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};qs.centre=qs.center,qs.autolockNodes=qs.autolock,qs.autoungrabifyNodes=qs.autoungrabify;var Hs={data:Wi.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Hs.attr=Hs.data,Hs.removeAttr=Hs.removeData;var Ws=function(e){var t=this,n=(e=z({},e)).container;n&&!x(n)&&x(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==l&&void 0!==n&&!e.headless,o=e;o.layout=z({name:a?"grid":"null"},o.layout),o.renderer=z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},u=this._private={container:n,ready:!1,options:o,elements:new cs(this),listeners:[],aniEles:new cs(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:b(o.zoom)?o.zoom:1,pan:{x:m(o.pan)&&b(o.pan.x)?o.pan.x:0,y:m(o.pan)&&b(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});u.styleEnabled&&t.setStyle([]);var c=z({},o,o.renderer);t.initRenderer(c);!function(e,t){if(e.some(N))return _r.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];u.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(m(e)||y(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),u.ready=!0,v(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(w(n.roots))e=n.roots;else if(y(n.roots)){for(var c=[],h=0;h0;){var I=L.shift(),M=A(I,k);if(M)I.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===M){je("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}N();var O=0;if(n.avoidOverlap)for(var P=0;P0&&b[0].length<=3?l/2:0),h=2*Math.PI/b[r].length*i;return 0===r&&1===b[0].length&&(c=1),{x:W+c*Math.cos(h),y:$+c*Math.sin(h)}}return{x:W+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var tl={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(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function nl(e){this.options=z({},tl,e)}nl.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),c=0,h=0;h1&&t.avoidOverlap){c*=1.75;var f=Math.cos(u)-Math.cos(0),v=Math.sin(u)-Math.sin(0),y=Math.sqrt(c*c/(f*f+v*v));o=Math.max(y,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*u*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l.x+a,y:l.y+s}})),this};var rl,il={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(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function al(e){this.options=z({},il,e)}al.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=[],u=0,c=0;c0&&Math.abs(y[0].value-b.value)>=f&&(y=[],v.push(y)),y.push(b)}var x=u+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,E=(Math.min(o.w,o.h)/2-x)/(v.length+w?1:0);x=Math.min(x,E)}for(var _=0,T=0;T1&&t.avoidOverlap){var A=Math.cos(N)-Math.cos(0),L=Math.sin(N)-Math.sin(0),k=Math.sqrt(x*x/(A*A+L*L));_=Math.max(k,_)}D.r=_,_+=x}if(t.equidistant){for(var S=0,I=0,M=0;M=e.numIter||(gl(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Cl(r,e),s())}();else{for(;u;)u=o(l),l++;Cl(r,e),s()}return this},sl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},sl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ll=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0)for(o.graphSet.push(E),u=0;ur.count?0:r.graph},cl=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(f=Math.sqrt(i*i+a*a)),l=u*a/f;else{var u,c=bl(e,i,a),h=bl(t,-1*i,-1*a),d=h.x-c.x,p=h.y-c.y,g=d*d+p*p,f=Math.sqrt(g);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/g)*d/f,l=u*p/f}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},ml=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},bl=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},xl=function(e,t){for(var n=0;n1){var g=t.gravity*h/p,f=t.gravity*d/p;c.offsetX+=g,c.offsetY+=f}}}}},El=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Dl=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Nl={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(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Al(e){this.options=z({},Nl,e)}Al.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(S=0,k++)},M={},O=0;O(r=qt(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=jt(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),_=[{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(w=0;w<_.length;w++){var T=_[w],D=s.arrowShapes[n.pstyle(T.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(D.roughCollide(e,t,E,T.angle,{x:T.x,y:T.y},C,d)&&D.collide(e,t,E,T.angle,{x:T.x,y:T.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Je(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),_=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},T=_(f,m),D=_(f,x),C=_(y,m),N=_(y,x),A=[T.x+d,T.y+p,C.x+d,C.y+p,N.x+d,N.y+p,D.x+d,D.y+p];if(Ht(e,t,A))return v(n),!0}else if(Gt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r),c=Ot({x1:e=o,y1:t=l,x2:n=s,y2:r=u}),h=0;h0?Math.max(e-t,0):Math.min(e+t,0)},N=C(T,E),A=C(D,_),L=!1;"auto"===v?f=Math.abs(N)>Math.abs(A)?i:r:v===l||v===s?(f=r,L=!0):v!==a&&v!==o||(f=i,L=!0);var k,S=f===r,I=S?A:N,M=S?D:T,O=Nt(M),P=!1;L&&(m||x)||!(v===s&&M<0||v===l&&M>0||v===a&&M>0||v===o&&M<0)||(I=(O*=-1)*Math.abs(I),P=!0);var R=function(e){return Math.abs(e)=Math.abs(I)},B=R(k=m?(b<0?1+b:b)*I:(b<0?I:0)+b*O),F=R(Math.abs(I)-Math.abs(k));if(!B&&!F||P)if(S){var z=u.y1+k+(g?h/2*O:0),G=u.x1,Y=u.x2;n.segpts=[G,z,Y,z]}else{var X=u.x1+k+(g?c/2*O:0),V=u.y1,U=u.y2;n.segpts=[X,V,X,U]}else if(S){var j=Math.abs(M)<=h/2,q=Math.abs(T)<=d/2;if(j){var H=(u.x1+u.x2)/2,W=u.y1,$=u.y2;n.segpts=[H,W,H,$]}else if(q){var K=(u.y1+u.y2)/2,Z=u.x1,Q=u.x2;n.segpts=[Z,K,Q,K]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(M)<=c/2,ee=Math.abs(D)<=p/2;if(J){var te=(u.y1+u.y2)/2,ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else if(ee){var ie=(u.x1+u.x2)/2,ae=u.y1,oe=u.y2;n.segpts=[ie,ae,ie,oe]}else n.segpts=[u.x2,u.y1]}},Xl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!b(n.startX)||!b(n.startY),d=!b(n.arrowStartX)||!b(n.arrowStartY),p=!b(n.endX)||!b(n.endY),g=!b(n.arrowEndX)||!b(n.arrowEndY),f=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=At({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_0){var X=u,V=Lt(X,Tt(t)),U=Lt(X,Tt(Y)),j=V;U2&&Lt(X,{x:Y[2],y:Y[3]})0){var ie=c,ae=Lt(ie,Tt(t)),oe=Lt(ie,Tt(re)),se=ae;oe2&&Lt(ie,{x:re[2],y:re[3]})=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,_=s?x.t0+E*w:x.t1-E*w;_=Mt(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Mt(0,r-.001,1),a=Mt(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return $l(o,s)}(b.p0,b.p1,b.p2,_);break;case"straight":case"segments":case"haystack":for(var T,D,C,N,A=0,L=r.allpts.length,k=0;k+3=u));k+=2);var S=(u-D)/T;S=Mt(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=At(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(C,N,S),i=$l(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Hl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Hl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Je(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;et(n.rstyle,"labelWidth",t,h),et(n.rscratch,"labelWidth",t,h),et(n.rstyle,"labelHeight",t,d),et(n.rscratch,"labelHeight",t,d),et(n.rscratch,"labelLineHeight",t,c)},Hl.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(et(n.rscratch,e,t,r),r):Je(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,d=[],p=/[\s\u200b]+/,g=h?"":" ",f=0;fc){for(var b=v.split(p),x="",w=0;wT);N++)D+=i[N],N===i.length-1&&(C=!0);return C||(D+="…"),D}return i},Hl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Hl.calculateLabelDimensions=function(e,t){var n=Ie(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,g=t.split("\n"),f=0;f1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var N=i(t);v&&(e.hoverData.tapholdCancelled=!0);n=!0,r(f,["mousemove","vmousemove","tapdrag"],t,{x:c[0],y:c[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),g[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};m?m.emit(L):o.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&f===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.hoverData.cxtOver=f,f&&f.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}}else if(e.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var k;if(e.hoverData.justStartedPan){var S=e.hoverData.mdownPos;k={x:(c[0]-S[0])*s,y:(c[1]-S[1])*s},e.hoverData.justStartedPan=!1}else k={x:x[0]*s,y:x[1]*s};o.panBy(k),o.emit("dragpan"),e.hoverData.dragged=!0}c=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=g[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||f==y||(y&&r(y,["mouseout","tapdragout"],t,{x:c[0],y:c[1]}),f&&r(f,["mouseover","tapdragover"],t,{x:c[0],y:c[1]}),e.hoverData.last=f),m)if(v){if(o.boxSelectionEnabled()&&N)m&&m.grabbed()&&(h(w),m.emit("freeon"),w.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),w.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var I=!e.dragData.didDrag;I&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||u(w,{inDragLayer:!0});var M={x:0,y:0};if(b(x[0])&&b(x[1])&&(M.x+=x[0],M.y+=x[1],I)){var O=e.hoverData.dragDelta;O&&b(O[0])&&b(O[1])&&(M.x+=O[0],M.y+=O[1])}e.hoverData.draggingEles=!0,w.silentShift(M).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[1])}();n=!0}else v&&(e.hoverData.dragging||!o.boxSelectionEnabled()||!N&&o.panningEnabled()&&o.userPanningEnabled()?!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,g[4]=0,e.data.bgActivePosistion=Tt(d),e.redrawHint("select",!0),e.redraw()):A(),m&&m.pannable()&&m.active()&&m.unactivate());return g[2]=c[0],g[3]=c[1],n?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){if(e.hoverData.capture){e.hoverData.capture=!1;var a=e.cy,o=e.projectIntoViewport(t.clientX,t.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,c=e.hoverData.down,d=i(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var p={originalEvent:t,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(p):a.emit(p),!e.hoverData.cxtDragged){var g={originalEvent:t,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(g):a.emit(g)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(r(l,["mouseup","tapend","vmouseup"],t,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(r(c,["click","tap","vclick"],t,{x:o[0],y:o[1]}),x=!1,t.timeStamp-w<=a.multiClickDebounceTime()?(m&&clearTimeout(m),x=!0,w=null,r(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(m=setTimeout((function(){x||r(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),w=t.timeStamp)),null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||i(t)||(a.$(n).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=c||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):d||(a.$(n).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var f=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),f.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:t,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||d||a.$(n).unmerge(f).unselect(),f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=c&&c.grabbed();h(u),v&&(c.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(c.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var _,T,D,C,N,A,L,k,S,I,M,O,P,R=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",R,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||R(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var B,F,z,G,Y,X,V,U=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},j=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",B=function(t){if(e.hasTouchStarted=!0,E(t)){p(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=o[0],i[1]=o[1]}if(t.touches[1]&&(o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),i[2]=o[0],i[3]=o[1]),t.touches[2]&&(o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),i[4]=o[0],i[5]=o[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,h(e.dragData.touchDragEles);var l=e.findContainerClientCoords();S=l[0],I=l[1],M=l[2],O=l[3],_=t.touches[0].clientX-S,T=t.touches[0].clientY-I,D=t.touches[1].clientX-S,C=t.touches[1].clientY-I,P=0<=_&&_<=M&&0<=D&&D<=M&&0<=T&&T<=O&&0<=C&&C<=O;var d=n.pan(),g=n.zoom();N=U(_,T,D,C),A=j(_,T,D,C),k=[((L=[(_+D)/2,(T+C)/2])[0]-d.x)/g,(L[1]-d.y)/g];if(A<4e4&&!t.touches[2]){var f=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=f):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):n.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=y,e.nodeIsGrabbable(m))){var b=e.dragData.touchDragEles=n.collection(),x=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(x=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(x,{addToList:b})):c(m,{addToList:b}),s(m);var w=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(w("grabon")),x?x.forEach((function(e){e.emit(w("grab"))})):m.emit(w("grab"))}r(m,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==m&&(e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||r(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var R=e.touchData.startPosition=[null,null,null,null,null,null],B=0;B=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var w=t.touches[0].clientX-S,L=t.touches[0].clientY-I,M=t.touches[1].clientX-S,O=t.touches[1].clientY-I,R=j(w,L,M,O);if(R/A>=2.25||R>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):o.emit(B)}}if(n&&e.touchData.cxt){B={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):o.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,i[4]=1,i&&0!==i.length&&void 0!==i[0]?(i[2]=(s[0]+s[2]+s[4])/3,i[3]=(s[1]+s[3]+s[5])/3):(i[0]=(s[0]+s[2]+s[4])/3,i[1]=(s[1]+s[3]+s[5])/3,i[2]=(s[0]+s[2]+s[4])/3+1,i[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var z=0;z0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",z=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",G=function(t){var i=e.touchData.start;if(e.touchData.capture){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,c=e.touchData.earlier;if(t.touches[0]){var d=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);u[0]=d[0],u[1]=d[1]}if(t.touches[1]&&(d=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),u[2]=d[0],u[3]=d[1]),t.touches[2]&&(d=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),u[4]=d[0],u[5]=d[1]),i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:t,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var g=s.collection(e.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,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:t,position:{x:u[0],y:u[1]}});g.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),g.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;h(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),f.emit("dragfree"))),r(i,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);r(y,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),r(i,["tap","vclick"],t,{x:u[0],y:u[1]}),Y=!1,t.timeStamp-V<=s.multiClickDebounceTime()?(X&&clearTimeout(X),Y=!0,V=null,r(i,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(X=setTimeout((function(){Y||r(i,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),V=t.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var A=[u[0],u[1]],L=Math.pow(A[0]-e,2)+Math.pow(A[1]-t,2),k=1;k0)return f[0]}return null},d=Object.keys(c),p=0;p0?l:Xt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=sn(r,i),l=2*s;if(Wt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Wt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!Ht(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Zt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Zt(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(4,0)),e.square=e.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",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var r=new Array(20),i=on(5,0),a=on(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*su)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())}),i(t))}}},uu=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;t(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&Ve("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new rt,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tt,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),cu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),du=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=hu(t);z(n,r),n.lookup=new uu(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},pu=du.prototype;pu.reasons=cu,pu.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},pu.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},pu.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new lt((function(e,t){return t.reqs-e.reqs}))},pu.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},pu.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Ct(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||h>1024)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidthr;N--)D=a.getElement(e,t,n,N,cu.downscale);C()}else{var A;if(!x&&!w&&!E)for(var L=r-1;L>=-4;L--){var k=l.get(e,L);if(k){A=k;break}}if(b(A))return a.queueElement(e,r),A;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+8),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},pu.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},pu.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},pu.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Ze(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qe(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Ze(r,a),n.push(a),a}},pu.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},pu.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,cu.dequeue)}}return i},pu.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=Fe,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},pu.onDequeue=function(e){this.onDequeues.push(e)},pu.offDequeue=function(e){Ze(this.onDequeues,e)},pu.setupDequeueing=lu({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ze(c,o)}}();var h=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=Ot();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var d=null,p=e.length/1,g=!a,f=0;f=p||!Yt(d.bb,v.boundingBox()))&&!(d=h({insert:!0,after:d})))return null;s||g?r.queueLayer(d,v):r.drawEleInLayer(d,v,n,t),d.eles.push(v),m[n]=d}}return s||(g?null:c)},fu.getEleLevelForLayerLevel=function(e,t){return e},fu.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,true),i.setImgSmoothing(a,!0))},fu.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},fu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},fu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},fu.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ze(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var b=t.pstyle("ghost-offset-x").pfValue,x=t.pstyle("ghost-offset-y").pfValue,w=t.pstyle("ghost-opacity").value,E=f*w;e.translate(b,x),y(E),m(E),e.translate(-b,-x)}i&&o.drawEdgeUnderlay(e,t),y(),m(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},Mu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};Iu.drawEdgeOverlay=Mu("overlay"),Iu.drawEdgeUnderlay=Mu("underlay"),Iu.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},Pu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},Pu.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Je(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},Pu.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Je(a,"labelX",n),c=Je(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Je(a,"labelWidth",n),f=Je(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,_=t.pstyle("text-border-width").pfValue,T=t.pstyle("text-background-padding").pfValue;if(w>0||_>0&&E>0){var D=u-T;switch(b){case"left":D-=g;break;case"center":D-=g/2}var C=c-f-T,N=g+2*T,A=f+2*T;if(w>0){var L=e.fillStyle,k=t.pstyle("text-background-color").value;e.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+w*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}(e,D,C,N,A,2):e.fillRect(D,C,N,A),e.fillStyle=L}if(_>0&&E>0){var S=e.strokeStyle,I=e.lineWidth,M=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=_/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(D,C,N,A),"double"===O){var P=_/2;e.strokeRect(D+P,C+P,N-2*P,A-2*P)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=S}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var B=Je(a,"labelWrapCachedLines",n),F=Je(a,"labelLineHeight",n),z=g/2,G=this.getLabelJustification(t);switch("auto"===G||("left"===b?"left"===G?u+=-g:"center"===G&&(u+=-z):"center"===b?"left"===G?u+=-z:"right"===G&&(u+=z):"right"===b&&("center"===G?u+=z:"right"===G&&(u+=g))),x){case"top":case"center":case"bottom":c-=(B.length-1)*F}for(var Y=0;Y0&&e.strokeText(B[Y],u,c),e.fillText(B[Y],u,c),c+=F}else R>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var Ru={drawNode:function(e,t,n){var r,i,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],l=this,u=t._private,c=u.rscratch,h=t.position();if(b(h.x)&&b(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,x=new Array(m.length),w=new Array(m.length),E=0,_=0;_0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},O=t.pstyle("shape").strValue,P=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var R=l.nodePathCache=l.nodePathCache||[],B=Me("polygon"===O?O+","+P.join(","):O,""+i,""+r),F=R[B];null!=F?(d=F,v=!0,c.pathCache=d):(d=new Path2D,R[B]=c.pathCache=d)}var z=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i)}f?e.fill(d):e.fill()},G=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i)))},X=function(){var t=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},V=function(){if(N>0){if(e.lineWidth=N,e.lineCap="butt",e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(d):e.stroke(),"double"===k){e.lineWidth=N/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue,q=t.pstyle("ghost-opacity").value,H=q*g;e.translate(U,j),I(q*A),z(),G(H,!0),M(q*S),V(),Y(0!==C||0!==N),G(H,!1),X(H),e.translate(-U,-j)}f&&e.translate(-h.x,-h.y),o&&l.drawNodeUnderlay(e,t,h,r,i),f&&e.translate(h.x,h.y),I(),z(),G(g,!0),M(),V(),Y(0!==C||0!==N),G(g,!1),X(),f&&e.translate(-h.x,-h.y),l.drawElementText(e,t,null,a),o&&l.drawNodeOverlay(e,t,h,r,i),n&&e.translate(p.x1,p.y1)}}},Bu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o),t.fill()}}}};Ru.drawNodeOverlay=Bu("overlay"),Ru.drawNodeUnderlay=Bu("underlay"),Ru.hasPie=function(e){return(e=e[0])._private.hasPie},Ru.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};var Fu={};Fu.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Fu.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},_={zoom:b,pan:{x:w.x,y:w.y}},T=o.prevViewport;void 0===T||_.zoom!==T.zoom||_.pan.x!==T.pan.x||_.pan.y!==T.pan.y||f&&!g||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var D=o.getCachedZSortedEles();function C(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function N(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,h):t||void 0!==r&&!r||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.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:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var L=u.contexts[o.NODE],k=o.textureCache.texture;_=o.textureCache.viewport,L.setTransform(1,0,0,1,0,0),d?C(L,0,0,_.width,_.height):L.clearRect(0,0,_.width,_.height);var S=m.core("outside-texture-bg-color").value,I=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],I),L.fillRect(0,0,_.width,_.height),b=l.zoom(),N(L,!1),L.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),L.drawImage(k,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var M=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var B=d&&!R[o.NODE]&&1!==p;N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.nondrag,s,M):o.drawLayeredElements(L,D.nondrag,s,M),o.debug&&o.drawDebugPoints(L,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])&&(B=d&&!R[o.DRAG]&&1!==p,N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.drag,s,M):o.drawCachedElements(L,D.drag,s,M),o.debug&&o.drawDebugPoints(L,D.drag),n||d||(c[o.DRAG]=!1)),o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(N(L=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var F=m.core("selection-box-border-width").value/b;L.lineWidth=F,L.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",L.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),F>0&&(L.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",L.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){b=o.cy.zoom();var z=u.bgActivePosistion;L.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",L.beginPath(),L.arc(z.x,z.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),L.fill()}var G=o.lastRedrawTime;if(o.showFps&&G){G=Math.round(G);var Y=Math.round(1e3/G);L.setTransform(1,0,0,1,0,0),L.fillStyle="rgba(255, 0, 0, 0.75)",L.strokeStyle="rgba(255, 0, 0, 0.75)",L.lineWidth=1,L.fillText("1 frame = "+G+" ms = "+Y+" fps",0,20);L.strokeRect(0,30,250,20),L.fillRect(0,30,250*Math.min(Y/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],V=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=u.contexts[o.DRAG],j=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],q=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(q(X,V,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(q(U,j,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(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,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")};for(var zu={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},qu.png=function(e){return Wu(e,this.bufferCanvasImage(e),"image/png")},qu.jpg=function(e){return Wu(e,this.bufferCanvasImage(e),"image/jpeg")};var $u=Zu,Ku=Zu.prototype;function Zu(e){var t=this;t.data={canvases:new Array(Ku.CANVAS_LAYERS),contexts:new Array(Ku.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Ku.CANVAS_LAYERS),bufferCanvases:new Array(Ku.BUFFER_COUNT),bufferContexts:new Array(Ku.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;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"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;st&&(this.rect.x-=(this.labelWidth-t)/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==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-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 r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.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()},e.exports=u},function(e,t,n){function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r},function(e,t,n){var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i-1&&c>-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(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d},function(e,t,n){var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.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,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,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(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(ia)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(ra?(n[0]=c,n[1]=h,_=!0):(n[0]=u,n[1]=l,_=!0):D===N&&(r>a?(n[0]=s,n[1]=l,_=!0):(n[0]=d,n[1]=h,_=!0)),-C===N?a>r?(n[2]=m,n[3]=b,T=!0):(n[2]=y,n[3]=v,T=!0):C===N&&(a>r?(n[2]=f,n[3]=v,T=!0):(n[2]=x,n[3]=b,T=!0)),_&&T)return!1;if(r>a?i>o?(A=this.getCardinalDirection(D,N,4),L=this.getCardinalDirection(C,N,2)):(A=this.getCardinalDirection(-D,N,3),L=this.getCardinalDirection(-C,N,1)):i>o?(A=this.getCardinalDirection(-D,N,1),L=this.getCardinalDirection(-C,N,3)):(A=this.getCardinalDirection(D,N,2),L=this.getCardinalDirection(C,N,4)),!_)switch(A){case 1:S=l,k=r+-g/N,n[0]=k,n[1]=S;break;case 2:k=d,S=i+p*N,n[0]=k,n[1]=S;break;case 3:S=h,k=r+g/N,n[0]=k,n[1]=S;break;case 4:k=c,S=i+-p*N,n[0]=k,n[1]=S}if(!T)switch(L){case 1:M=v,I=a+-E/N,n[2]=I,n[3]=M;break;case 2:I=x,M=o+w*N,n[2]=I,n[3]=M;break;case 3:M=b,I=a+E/N,n[2]=I,n[3]=M;break;case 4:I=m,M=o+-w*N,n[2]=I,n[3]=M}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r},function(e,t,n){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i0){for(var i=this.edgeToDummyNodes.get(n),a=0;a=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d},function(e,t,n){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r},function(e,t,n){var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i},function(e,t,n){var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;ui.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement=s.length||u>=s[0].length))for(var c=0;ce}}]),e}();e.exports=a},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n{n.d(t,{diagram:()=>N});var r=n(9360),i=n(7274),a=n(4576),o=n(1377),s=n(4607),l=n(6500),u=n(2281),c=n(7201),h=(n(7484),n(7967),n(7856),function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],l=[6,7,8],u=[1,26],c=[1,24],h=[1,25],d=[6,7,11],p=[1,6,13,15,16,19,22],g=[1,33],f=[1,34],v=[1,6,7,11,13,15,16,19,22],y={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(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace("Icon: ",a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:u,7:c,10:23,11:h},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:c,10:32,11:h},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(p,[2,14],{7:g,11:f}),e(v,[2,8]),e(v,[2,9]),e(v,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:g,11:f}),e(v,[2,11]),e(v,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=[0],n=[],r=[null],i=[],a=this.table,o="",s=0,l=0,u=i.slice.call(arguments,1),c=Object.create(this.lexer),h={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(h.yy[d]=this.yy[d]);c.setInput(e,h.yy),h.yy.lexer=c,h.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var p=c.yylloc;i.push(p);var g=c.options&&c.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,v,y,m,b,x,w,E,_,T={};;){if(v=t[t.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==f&&(_=void 0,"number"!=typeof(_=n.pop()||c.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),f=_),y=a[v]&&a[v][f]),void 0===y||!y.length||!y[0]){var D;for(b in E=[],a[v])this.terminals_[b]&&b>2&&E.push("'"+this.terminals_[b]+"'");D=c.showPosition?"Parse error on line "+(s+1)+":\n"+c.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(D,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:p,expected:E})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:t.push(f),r.push(c.yytext),i.push(c.yylloc),t.push(y[1]),f=null,l=c.yyleng,o=c.yytext,s=c.yylineno,p=c.yylloc;break;case 2:if(x=this.productions_[y[1]][1],T.$=r[r.length-x],T._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},g&&(T._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[o,l,s,h.yy,y[1],r,i].concat(u))))return m;x&&(t=t.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[y[1]][0]),r.push(T.$),i.push(T._$),w=a[t[t.length-2]][t[t.length-1]],t.push(w);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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 i=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===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===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(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.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,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function b(){this.yy={}}return y.lexer=m,b.prototype=y,y.Parser=b,new b}());h.parser=h;const d=h,p=e=>(0,r.d)(e,(0,r.c)());let g=[],f=0,v={};const y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},m=(e,t)=>{v[e]=t},b=e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}};let x;const w=e=>v[e],E=Object.freeze(Object.defineProperty({__proto__:null,addNode:(e,t,n,i)=>{r.l.info("addNode",e,t,n,i);const a=(0,r.c)(),o={id:f++,nodeId:p(t),level:e,descr:p(n),type:i,children:[],width:(0,r.c)().mindmap.maxNodeWidth};switch(o.type){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(e){for(let t=g.length-1;t>=0;t--)if(g[t].level{g=[],f=0,v={}},decorateNode:e=>{const t=g[g.length-1];e&&e.icon&&(t.icon=p(e.icon)),e&&e.class&&(t.class=p(e.class))},getElementById:w,getLogger:()=>r.l,getMindmap:()=>g.length>0?g[0]:null,getNodeById:e=>g[e],getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return y.RECT;case"(":return")"===t?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},nodeType:y,get parseError(){return x},sanitizeText:p,setElementForId:m,setErrorHandler:e=>{x=e},type2Str:b},Symbol.toStringTag,{value:"Module"}));function _(e,t,n,r){(function(e,t,n,r){const i=r.htmlLabels,o=n%11,s=e.append("g");t.section=o;let l="section-"+o;o<0&&(l+=" section-root"),s.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+l);const u=s.append("g"),c=s.append("g"),h=t.descr.replace(/()/g,"\n");(0,a.c)(c,h,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const d=c.node().getBBox(),p=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(t.height=d.height+1.1*p*.5+t.padding,t.width=d.width+2*t.padding,t.icon)if(t.type===y.CIRCLE)t.height+=50,t.width+=50,s.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const e=t.height;t.height=Math.max(e,60);const n=Math.abs(t.height-e);s.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+(25+t.width/2)+", "+(n/2+t.padding/2)+")")}else if(i){const e=(t.width-d.width)/2,n=(t.height-d.height)/2;c.attr("transform","translate("+e+", "+n+")")}else{const e=t.width/2,n=t.padding/2;c.attr("transform","translate("+e+", "+n+")")}switch(t.type){case y.DEFAULT:!function(e,t,n){e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(u,t,o);break;case y.ROUNDED_RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)}(u,t);break;case y.RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("width",t.width)}(u,t);break;case y.CIRCLE:u.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),function(e,t){e.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("r",t.width/2)}(u,t);break;case y.CLOUD:!function(e,t){const n=t.width,r=t.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 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${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(u,t);break;case y.BANG:!function(e,t){const n=t.width,r=t.height,i=.15*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(u,t);break;case y.HEXAGON:!function(e,t){const n=t.height,r=n/4,i=t.width-t.padding+2*r;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(e,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t)}(u,t)}m(t.id,s),t.height})(e,t,n,r),t.children&&t.children.forEach(((t,i)=>{_(e,t,n<0?i:n,r)}))}function T(e,t,n,r){t.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{T(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function D(e,t){return new Promise((n=>{const a=(0,i.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=o({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),T(e,s,t,0),s.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),s.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),s.ready((e=>{r.l.info("Ready",e),n(s)}))}))}o.use(s);const C={draw:async(e,t,n,a)=>{const o=(0,r.c)();o.htmlLabels=!1,r.l.debug("Rendering mindmap diagram\n"+e,a.parser);const s=(0,r.c)().securityLevel;let l;"sandbox"===s&&(l=(0,i.Ys)("#i"+t));const u=("sandbox"===s?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select("#"+t);u.append("g");const c=a.db.getMindmap(),h=u.append("g");h.attr("class","mindmap-edges");const d=u.append("g");d.attr("class","mindmap-nodes"),_(d,c,-1,o);const p=await D(c,o);!function(e,t){t.edges().map(((t,n)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;r.l.trace("Edge: ",n,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(h,p),function(e){e.nodes().map(((e,t)=>{const n=e.data();n.x=e.position().x,n.y=e.position().y,function(e){const t=w(e.id),n=e.x||0,r=e.y||0;t.attr("transform","translate("+n+","+r+")")}(n);const i=w(n.nodeId);r.l.info("Id:",t,"Position: (",e.position().x,", ",e.position().y,")",n),i.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),i.attr("attr",`apa-${t})`)}))}(p),(0,r.p)(void 0,u,o.mindmap.padding,o.mindmap.useMaxWidth)}},N={db:E,renderer:C,parser:d,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;t{a.d(e,{diagram:()=>y});var i=a(1341),n=a(4309),d=a(9451),r=a(5625),s=a(3110),o=a(1188);a(7856),a(7484),a(7967);const g={},p=(t,e,a)=>{const i=(0,s.g)().state.padding,n=2*(0,s.g)().state.padding,d=t.node().getBBox(),r=d.width,o=d.x,g=t.append("text").attr("x",0).attr("y",(0,s.g)().state.titleShift).attr("font-size",(0,s.g)().state.fontSize).attr("class","state-title").text(e.id),p=g.node().getBBox().width+n;let c,h=Math.max(p,r);h===r&&(h+=n);const l=t.node().getBBox();e.doc,c=o-i,p>r&&(c=(r-h)/2+i),Math.abs(o-l.x)r&&(c=o-(p-r)/2);const x=1-(0,s.g)().state.textHeight;return t.insert("rect",":first-child").attr("x",c).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,s.g)().state.textHeight+(0,s.g)().state.titleShift+1).attr("rx","0"),g.attr("x",c+i),p<=r&&g.attr("x",o+(h-n)/2-p/2+i),t.insert("rect",":first-child").attr("x",c).attr("y",(0,s.g)().state.titleShift-(0,s.g)().state.textHeight-(0,s.g)().state.padding).attr("width",h).attr("height",3*(0,s.g)().state.textHeight).attr("rx",(0,s.g)().state.radius),t.insert("rect",":first-child").attr("x",c).attr("y",(0,s.g)().state.titleShift-(0,s.g)().state.textHeight-(0,s.g)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,s.g)().state.textHeight).attr("rx",(0,s.g)().state.radius),t},c=function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.g)().state.sizeUnit).attr("cx",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit).attr("cy",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit)})(n),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.g)().state.sizeUnit+(0,s.g)().state.miniPadding).attr("cx",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit+(0,s.g)().state.miniPadding).attr("cy",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit+(0,s.g)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.g)().state.sizeUnit).attr("cx",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit+2).attr("cy",(0,s.g)().state.padding+(0,s.g)().state.sizeUnit+2)})(n),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let a=(0,s.g)().state.forkWidth,i=(0,s.g)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,s.g)().state.padding).attr("y",(0,s.g)().state.padding)})(n,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,s.g)().state.padding),i=e.append("g"),{textWidth:n,textHeight:d}=((t,e,a,i)=>{let n=0;const d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let r=t.replace(/\r\n/g,"
    ");r=r.replace(/\n/g,"
    ");const o=r.split(s.e.lineBreakRegex);let g=1.25*(0,s.g)().state.noteMargin;for(const t of o){const e=t.trim();if(e.length>0){const t=d.append("tspan");t.text(e),0===g&&(g+=t.node().getBBox().height),n+=g,t.attr("x",0+(0,s.g)().state.noteMargin),t.attr("y",0+n+1.25*(0,s.g)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:n}})(t,0,0,i);a.attr("height",d+2*(0,s.g)().state.noteMargin),a.attr("width",n+2*(0,s.g)().state.noteMargin)})(e.note.text,n),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.g)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.g)().state.textHeight).attr("y1",0).attr("y2",0)})(n),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.g)().state.padding).attr("y",(0,s.g)().state.textHeight+2*(0,s.g)().state.padding).attr("font-size",(0,s.g)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.g)().state.padding).attr("y",(0,s.g)().state.padding).attr("width",a.width+2*(0,s.g)().state.padding).attr("height",a.height+2*(0,s.g)().state.padding).attr("rx",(0,s.g)().state.radius)})(n,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.g)().state.padding).attr("y",(0,s.g)().state.textHeight+1.3*(0,s.g)().state.padding).attr("font-size",(0,s.g)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=a.height,n=t.append("text").attr("x",(0,s.g)().state.padding).attr("y",i+.4*(0,s.g)().state.padding+(0,s.g)().state.dividerMargin+(0,s.g)().state.textHeight).attr("class","state-description");let d=!0,r=!0;e.descriptions.forEach((function(t){d||(function(t,e,a){const i=t.append("tspan").attr("x",2*(0,s.g)().state.padding).text(e);a||i.attr("dy",(0,s.g)().state.textHeight)}(n,t,r),r=!1),d=!1}));const o=t.append("line").attr("x1",(0,s.g)().state.padding).attr("y1",(0,s.g)().state.padding+i+(0,s.g)().state.dividerMargin/2).attr("y2",(0,s.g)().state.padding+i+(0,s.g)().state.dividerMargin/2).attr("class","descr-divider"),g=n.node().getBBox(),p=Math.max(g.width,a.width);o.attr("x2",p+3*(0,s.g)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.g)().state.padding).attr("y",(0,s.g)().state.padding).attr("width",p+2*(0,s.g)().state.padding).attr("height",g.height+i+2*(0,s.g)().state.padding).attr("rx",(0,s.g)().state.radius)})(n,e);const d=n.node().getBBox();return i.width=d.width+2*(0,s.g)().state.padding,i.height=d.height+2*(0,s.g)().state.padding,r=i,g[a]=r,i;var r};let h,l=0;const x={},u=(t,e,a,g,f,y,w)=>{const b=new r.k({compound:!0,multigraph:!0});let m,B=!0;for(m=0;m{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=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",a-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(b.node(t)))}));let S=M.getBBox();b.edges().forEach((function(t){void 0!==t&&void 0!==b.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(b.edge(t))),function(t,e,a){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const d=e.points,r=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),g=t.append("path").attr("d",r(d)).attr("id","edge"+l).attr("class","transition");let p="";if((0,s.g)().state.arrowMarkerAbsolute&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),g.attr("marker-end","url("+p+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:d}=o.u.calcLabelPosition(e.points),r=s.e.getRows(a.title);let g=0;const p=[];let c=0,h=0;for(let t=0;t<=r.length;t++){const e=i.append("text").attr("text-anchor","middle").text(r[t]).attr("x",n).attr("y",d+g),a=e.node().getBBox();if(c=Math.max(c,a.width),h=Math.min(h,a.x),s.l.info(a.x,n,d+g),0===g){const t=e.node().getBBox();g=t.height,s.l.info("Title height",g,d)}p.push(e)}let l=g*r.length;if(r.length>1){const t=(r.length-1)*g*.5;p.forEach(((e,a)=>e.attr("y",d+a*g-t))),l=g*r.length}const x=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-c/2-(0,s.g)().state.padding/2).attr("y",d-l/2-(0,s.g)().state.padding/2-3.5).attr("width",c+(0,s.g)().state.padding).attr("height",l+(0,s.g)().state.padding),s.l.info(x)}l++}(e,b.edge(t),b.edge(t).relation))})),S=M.getBBox();const z={id:a||"root",label:a||"root",width:0,height:0};return z.width=S.width+2*h.padding,z.height=S.height+2*h.padding,s.l.debug("Doc rendered",z,b),z},f={setConf:function(){},draw:function(t,e,a,i){h=(0,s.g)().state;const d=(0,s.g)().securityLevel;let g;"sandbox"===d&&(g=(0,n.Ys)("#i"+e));const p="sandbox"===d?(0,n.Ys)(g.nodes()[0].contentDocument.body):(0,n.Ys)("body"),c="sandbox"===d?g.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const l=p.select(`[id='${e}']`);l.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"),new r.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const x=i.db.getRootDoc();u(x,l,void 0,!1,p,c,i);const f=h.padding,y=l.node().getBBox(),w=y.width+2*f,b=y.height+2*f,m=1.75*w;(0,o.k)(l,b,m,h.useMaxWidth),l.attr("viewBox",`${y.x-h.padding} ${y.y-h.padding} `+w+" "+b)}},y={parser:i.p,db:i.d,renderer:f,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/211.mjs b/themes/daux/js/211.mjs deleted file mode 100644 index fd7f47a7..00000000 --- a/themes/daux/js/211.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=211;export const ids=[211];export const modules={1898:(t,n,e)=>{e.d(n,{Z:()=>rt});var r,o,u,a,i,l,c,p,f=/\r\n?/g,s=/\t/g,h=/\f/g,d=function(t){return t.replace(f,"\n").replace(h,"").replace(s," ")},g=function(t,n){var e=t||{};if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},y=function(t,n){var e,r=Object.keys(t).filter((function(n){var e=t[n];if(null==e||null==e.match)return!1;var r=e.order;return"number"==typeof r&&isFinite(r)||"undefined"==typeof console||console.warn("simple-markdown: Invalid order for rule `"+n+"`: "+String(r)),!0}));r.sort((function(n,e){var r=t[n],o=t[e],u=r.order,a=o.order;if(u!==a)return u-a;var i=r.quality?0:1,l=o.quality?0:1;return i!==l?i-l:ne?1:0}));var o=function n(o,u){var a=[];for(e=u=u||e;o;){var i=null,l=null,c=null,p=NaN,f=0,s=r[0],h=t[s];do{var d=h.order,g=null==u.prevCapture?"":u.prevCapture[0],y=h.match(o,u,g);if(y){var m=h.quality?h.quality(y,u,g):0;m<=p||(i=s,l=h,c=y,p=m)}f++,s=r[f],h=t[s]}while(h&&(!c||h.order===d&&h.quality));if(null==l||null==c)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+"'. It seems to not match the following source:\n"+o);if(c.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var v=l.parse(c,n,u);if(Array.isArray(v))Array.prototype.push.apply(a,v);else{if(null==v||"object"!=typeof v)throw new Error("parse() function returned invalid parse result: '".concat(v,"'"));null==v.type&&(v.type=i),a.push(v)}u.prevCapture=c,o=o.substring(u.prevCapture[0].length)}return a};return function(t,r){return(e=g(r,n)).inline||e.disableAutoBlockNewlines||(t+="\n\n"),e.prevCapture=null,o(d(t),e)}},m=function(t){var n=function(n,e,r){return e.inline?t.exec(n):null};return n.regex=t,n},v=function(t){var n=function(n,e){return e.inline?null:t.exec(n)};return n.regex=t,n},x=function(t){var n=function(n,e){return t.exec(n)};return n.regex=t,n},w="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,S=function(t,n,e){return{$$typeof:w,type:t,key:null==n?void 0:n,ref:null,props:e,_owner:null}},b=function(t,n,e,r){e=e||{},r=void 0===r||r;var o="";for(var u in e){var a=e[u];Object.prototype.hasOwnProperty.call(e,u)&&a&&(o+=" "+$(u)+'="'+$(a)+'"')}var i="<"+t+o+">";return r?i+n+"":i},k={},E=function(t){if(null==t)return null;try{var n=new URL(t,"https://localhost").protocol;if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}catch(t){return null}return t},_=/[<>&"']/g,R={"<":"<",">":">","&":"&",'"':""","'":"'","/":"/","`":"`"},$=function(t){return String(t).replace(_,(function(t){return R[t]}))},A=/\\([^0-9A-Za-z\s])/g,T=function(t){return t.replace(A,"$1")},j=function(t,n,e){var r=e.inline||!1;e.inline=!0;var o=t(n,e);return e.inline=r,o},O=function(t,n,e){return{content:j(n,t[1],e)}},B=function(){return{}},C="(?:[*+-]|\\d+\\.)",P="( *)("+C+") +",N=new RegExp("^"+P),q=new RegExp(P+"[^\\n]*(?:\\n(?!\\1"+C+" )[^\\n]*)*(\n|$)","gm"),L=/\n{2,}$/,F=/^ (?= *`)|(` *) $/g,I=L,Z=/ *\n+$/,z=new RegExp("^( *)("+C+") [\\s\\S]+?(?:\n{2,}(?! )(?!\\1"+C+" )\\n*|\\s*\n*$)"),G=/(?:^|\n)( *)$/,X=(r=/^ *\| *| *\| *$/g,o=/ *$/,u=/^ *-+: *$/,a=/^ *:-+: *$/,i=/^ *:-+ *$/,l=function(t){return u.test(t)?"right":a.test(t)?"center":i.test(t)?"left":null},c=function(t,n,e,r){var u=e.inTable;e.inTable=!0;var a=n(t.trim(),e);e.inTable=u;var i=[[]];return a.forEach((function(t,n){"tableSeparator"===t.type?(!r||0!==n&&n!==a.length-1)&&i.push([]):("text"!==t.type||null!=a[n+1]&&"tableSeparator"!==a[n+1].type||(t.content=t.content.replace(o,"")),i[i.length-1].push(t))})),i},{parseTable:(p=function(t){return function(n,e,o){o.inline=!0;var u=c(n[1],e,o,t),a=function(t,n,e,o){return o&&(t=t.replace(r,"")),t.trim().split("|").map(l)}(n[2],0,0,t),i=function(t,n,e,r){return t.trim().split("\n").map((function(t){return c(t,n,e,r)}))}(n[3],e,o,t);return o.inline=!1,{type:"table",header:u,align:a,cells:i}}})(!0),parseNpTable:p(!1),TABLE_REGEX:/^ *(\|.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/,NPTABLE_REGEX:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/}),H="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",U="\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",D=/mailto:/i,M=function(t,n,e){var r=(t[2]||t[1]).replace(/\s+/g," ").toLowerCase();if(n._defs&&n._defs[r]){var o=n._defs[r];e.target=o.target,e.title=o.title}return n._refs=n._refs||{},n._refs[r]=n._refs[r]||[],n._refs[r].push(e),e},Q=0,J={Array:{react:function(t,n,e){for(var r=e.key,o=[],u=0,a=0;u"}},codeBlock:{order:Q++,match:v(/^(?: [^\n]+\n*)+(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{lang:void 0,content:t[0].replace(/^ /gm,"").replace(/\n+$/,"")}})),react:function(t,n,e){var r=t.lang?"markdown-code-"+t.lang:void 0;return S("pre",e.key,{children:S("code",null,{className:r,children:t.content})})},html:function(t,n,e){var r=t.lang?"markdown-code-"+t.lang:void 0,o=b("code",$(t.content),{class:r});return b("pre",o)}},fence:{order:Q++,match:v(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{type:"codeBlock",lang:t[2]||void 0,content:t[3]}})),react:null,html:null},blockQuote:{order:Q++,match:v(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{content:n(t[0].replace(/^ *> ?/gm,""),e)}})),react:function(t,n,e){return S("blockquote",e.key,{children:n(t.content,e)})},html:function(t,n,e){return b("blockquote",n(t.content,e))}},list:{order:Q++,match:function(t,n){var e=null==n.prevCapture?"":n.prevCapture[0],r=G.exec(e),o=n._list||!n.inline;return r&&o?(t=r[1]+t,z.exec(t)):null},parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){var r=t[2],o=r.length>1,u=o?+r:void 0,a=t[0].replace(I,"\n").match(q),i=!1;return{ordered:o,start:u,items:a.map((function(t,r){var o=N.exec(t),u=o?o[0].length:0,l=new RegExp("^ {1,"+u+"}","gm"),c=t.replace(l,"").replace(N,""),p=r===a.length-1,f=-1!==c.indexOf("\n\n")||p&&i;i=f;var s,h=e.inline,d=e._list;e._list=!0,f?(e.inline=!1,s=c.replace(Z,"\n\n")):(e.inline=!0,s=c.replace(Z,""));var g=n(s,e);return e.inline=h,e._list=d,g}))}})),react:function(t,n,e){var r=t.ordered?"ol":"ul";return S(r,e.key,{start:t.start,children:t.items.map((function(t,r){return S("li",""+r,{children:n(t,e)})}))})},html:function(t,n,e){var r=t.items.map((function(t){return b("li",n(t,e))})).join(""),o=t.ordered?"ol":"ul",u={start:t.start};return b(o,r,u)}},def:{order:Q++,match:v(/^ *\[([^\]]+)\]: *]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){var r=t[1].replace(/\s+/g," ").toLowerCase(),o=t[2],u=t[3];return e._refs&&e._refs[r]&&e._refs[r].forEach((function(t){t.target=o,t.title=u})),e._defs=e._defs||{},e._defs[r]={target:o,title:u},{def:r,target:o,title:u}})),react:function(){return null},html:function(){return""}},table:{order:Q++,match:v(X.TABLE_REGEX),parse:X.parseTable,react:function(t,n,e){var r=function(n){return null==t.align[n]?{}:{textAlign:t.align[n]}},o=t.header.map((function(t,o){return S("th",""+o,{style:r(o),scope:"col",children:n(t,e)})})),u=t.cells.map((function(t,o){return S("tr",""+o,{children:t.map((function(t,o){return S("td",""+o,{style:r(o),children:n(t,e)})}))})}));return S("table",e.key,{children:[S("thead","thead",{children:S("tr",null,{children:o})}),S("tbody","tbody",{children:u})]})},html:function(t,n,e){var r=function(n){return null==t.align[n]?"":"text-align:"+t.align[n]+";"},o=t.header.map((function(t,o){return b("th",n(t,e),{style:r(o),scope:"col"})})).join(""),u=t.cells.map((function(t){var o=t.map((function(t,o){return b("td",n(t,e),{style:r(o)})})).join("");return b("tr",o)})).join(""),a=b("thead",b("tr",o)),i=b("tbody",u);return b("table",a+i)}},newline:{order:Q++,match:v(/^(?:\n *)*\n/),parse:B,react:function(t,n,e){return"\n"},html:function(t,n,e){return"\n"}},paragraph:{order:Q++,match:v(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:O,react:function(t,n,e){return S("div",e.key,{className:"paragraph",children:n(t.content,e)})},html:function(t,n,e){return b("div",n(t.content,e),{class:"paragraph"})}},escape:{order:Q++,match:m(/^\\([^0-9A-Za-z\s])/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{type:"text",content:t[1]}})),react:null,html:null},tableSeparator:{order:Q++,match:function(t,n){return n.inTable?/^ *\| */.exec(t):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" | "}},autolink:{order:Q++,match:m(/^<([^: >]+:\/[^ >]+)>/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{type:"link",content:[{type:"text",content:t[1]}],target:t[1]}})),react:null,html:null},mailto:{order:Q++,match:m(/^<([^ >]+@[^ >]+)>/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){var r=t[1],o=t[1];return D.test(o)||(o="mailto:"+o),{type:"link",content:[{type:"text",content:r}],target:o}})),react:null,html:null},url:{order:Q++,match:m(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{type:"link",content:[{type:"text",content:t[1]}],target:t[1],title:void 0}})),react:null,html:null},link:{order:Q++,match:m(new RegExp("^\\[("+H+")\\]\\("+U+"\\)")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{content:n(t[1],e),target:T(t[2]),title:t[3]}})),react:function(t,n,e){return S("a",e.key,{href:E(t.target),title:t.title,children:n(t.content,e)})},html:function(t,n,e){var r={href:E(t.target),title:t.title};return b("a",n(t.content,e),r)}},image:{order:Q++,match:m(new RegExp("^!\\[("+H+")\\]\\("+U+"\\)")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{alt:t[1],target:T(t[2]),title:t[3]}})),react:function(t,n,e){return S("img",e.key,{src:E(t.target),alt:t.alt,title:t.title})},html:function(t,n,e){var r={src:E(t.target),alt:t.alt,title:t.title};return b("img","",r,!1)}},reflink:{order:Q++,match:m(new RegExp("^\\[("+H+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return M(t,e,{type:"link",content:n(t[1],e)})})),react:null,html:null},refimage:{order:Q++,match:m(new RegExp("^!\\[("+H+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return M(t,e,{type:"image",alt:t[1]})})),react:null,html:null},em:{order:Q,match:m(new RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(t){return t[0].length+.2},parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{content:n(t[2]||t[1],e)}})),react:function(t,n,e){return S("em",e.key,{children:n(t.content,e)})},html:function(t,n,e){return b("em",n(t.content,e))}},strong:{order:Q,match:m(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(t){return t[0].length+.1},parse:O,react:function(t,n,e){return S("strong",e.key,{children:n(t.content,e)})},html:function(t,n,e){return b("strong",n(t.content,e))}},u:{order:Q++,match:m(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(t){return t[0].length},parse:O,react:function(t,n,e){return S("u",e.key,{children:n(t.content,e)})},html:function(t,n,e){return b("u",n(t.content,e))}},del:{order:Q++,match:m(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~\\]|\s(?!~~))+?)~~/),parse:O,react:function(t,n,e){return S("del",e.key,{children:n(t.content,e)})},html:function(t,n,e){return b("del",n(t.content,e))}},inlineCode:{order:Q++,match:m(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{content:t[2].replace(F,"$1")}})),react:function(t,n,e){return S("code",e.key,{children:t.content})},html:function(t,n,e){return b("code",$(t.content))}},br:{order:Q++,match:x(/^ {2,}\n/),parse:B,react:function(t,n,e){return S("br",e.key,k)},html:function(t,n,e){return"
    "}},text:{order:Q++,match:x(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(t,n,e){return{content:t[0]}})),react:function(t,n,e){return t.content},html:function(t,n,e){return $(t.content)}}},K=function(t,n){var e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!n)throw new Error("simple-markdown: outputFor: `property` must be defined. if you just upgraded, you probably need to replace `outputFor` with `reactFor`");var o=(t.Array||J.Array)[n];if(!o)throw new Error("simple-markdown: outputFor: to join nodes of type `"+n+"` you must provide an `Array:` joiner rule with that type, Please see the docs for details on specifying an Array rule.");var u=o,a=function r(o,a){return e=a=a||e,Array.isArray(o)?u(o,r,a):t[o.type][n](o,r,a)};return function(t,n){return e=g(n,r),a(t,e)}},V=y(J),W=function(t,n){return(n=n||{}).inline=!1,V(t,n)},Y=function(t,n){var e=L.test(t);return(n=n||{}).inline=!e,V(t,n)},tt=K(J,"react"),nt=K(J,"html"),et=function(t,n){return tt(W(t,n),n)},rt={defaultRules:J,parserFor:y,outputFor:K,inlineRegex:m,blockRegex:v,anyScopeRegex:x,parseInline:j,parseBlock:function(t,n,e){var r=e.inline||!1;e.inline=!1;var o=t(n+"\n\n",e);return e.inline=r,o},markdownToReact:et,markdownToHtml:function(t,n){return nt(W(t,n),n)},ReactMarkdown:function(t){var n={};for(var e in t)"source"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.children=et(t.source),S("div",null,n)},defaultBlockParse:W,defaultInlineParse:function(t,n){return(n=n||{}).inline=!0,V(t,n)},defaultImplicitParse:Y,defaultReactOutput:tt,defaultHtmlOutput:nt,preprocess:d,sanitizeText:$,sanitizeUrl:E,unescapeUrl:T,htmlTag:b,reactElement:S,defaultRawParse:V,ruleOutput:function(t,n){return n||"undefined"==typeof console||console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument."),function(e,r,o){return t[e.type][n](e,r,o)}},reactFor:function(t){return function n(e,r){if(r=r||{},Array.isArray(e)){for(var o=r.key,u=[],a=null,i=0;i{e.d(n,{c:()=>c}),e(4309);var r=e(3110),o=e(6848),u=e(1898);function a(t){const n=function(t){return t.replace(/\n{2,}/g,"\n").replace(/^\s+/gm,"")}(t),e=(0,u.Z.defaultBlockParse)(n);let r=[[]],o=0;function a(t,n){"text"===t.type?t.content.split("\n").forEach(((t,e)=>{0!==e&&(o++,r.push([])),t.split(" ").forEach((t=>{t&&r[o].push({content:t,type:n||"normal"})}))})):"strong"!==t.type&&"em"!==t.type||t.content.forEach((n=>{a(n,t.type)}))}return e.forEach((t=>{"paragraph"===t.type&&t.content.forEach((t=>{a(t)}))})),r}function i(t,n,e){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*e-.1+"em").attr("dy",e+"em")}function l(t,n){t.text(""),n.forEach(((n,e)=>{const r=t.append("tspan").attr("font-style","em"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===e?r.text(n.content):r.text(" "+n.content)}))}const c=(t,n="",{style:e="",isTitle:c=!1,classes:p="",useHtmlLabels:f=!0,isNode:s=!0,width:h,addSvgBackground:d=!1}={})=>{if(r.l.info("createText",n,e,c,p,f,s,d),f){const r=(g=n,(0,u.Z.defaultBlockParse)(g).map((function t(n){return"text"===n.type?n.content.replace(/\n/g,"
    "):"strong"===n.type?`${n.content.map(t).join("")}`:"em"===n.type?`${n.content.map(t).join("")}`:"paragraph"===n.type?`

    ${n.content.map(t).join("")}

    `:""})).join(""));let a=function(t,n,e,r){const o=t.append("foreignObject"),u=o.append("xhtml:div"),a=n.label,i=n.isNode?"nodeLabel":"edgeLabel";var l;u.html(`"+a+""),(l=n.labelStyle)&&u.attr("style",l),u.style("display","table-cell"),u.style("white-space","nowrap"),u.style("max-width",e+"px"),u.attr("xmlns","http://www.w3.org/1999/xhtml");let c=u.node().getBoundingClientRect();return c.width===e&&(u.style("display","table"),u.style("white-space","break-spaces"),u.style("width",e+"px"),c=u.node().getBoundingClientRect()),o.style("width",c.width),o.style("height",c.height),o.node()}(t,{isNode:s,label:(0,o.d)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")},h,p);return a}{const e=a(n),r=['"',"'",".",",",":",";","!","?","(",")","[","]","{","}"];let o;e.forEach((t=>{t.forEach((t=>{r.includes(t.content)&&o&&(o.content+=t.content,t.content=""),o=t}))}));const u=function(t,n,e,r=!1){const o=n.append("g");let u=o.insert("rect").attr("class","background");const a=o.append("text").attr("y","-10.1");let c=-1;if(e.forEach((n=>{c++;let e,r=i(a,c,1.1),o=[...n].reverse(),u=[];for(;o.length;)e=o.pop(),u.push(e),l(r,u),r.node().getComputedTextLength()>t&&(u.pop(),o.push(e),l(r,u),u=[],c++,r=i(a,c,1.1))})),r){const t=a.node().getBBox(),n=2;return u.attr("x",-n).attr("y",-n).attr("width",t.width+2*n).attr("height",t.height+2*n),o.node()}return a.node()}(h,t,e,d);return u}var g}}}; \ No newline at end of file diff --git a/themes/daux/js/234.mjs b/themes/daux/js/234.mjs deleted file mode 100644 index 47d7b4e1..00000000 --- a/themes/daux/js/234.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=234;export const ids=[234];export const modules={6234:(t,i,n)=>{n.d(i,{diagram:()=>c});var e=n(3110),s=n(4309),r=(n(7856),n(7484),function(){var t=function(t,i,n,e){for(n=n||{},e=t.length;e--;n[t[e]]=i);return n},i=[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,i,n,e,s,r,o){switch(r.length,s){case 1:return e;case 4:break;case 6:e.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],e=[null],s=[],r=this.table,o="",h=0,l=0,c=s.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;s.push(p);var g=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,_,d,k,x,b,v,w,I={};;){if(m=i[i.length-1],this.defaultActions[m]?_=this.defaultActions[m]:(null==f&&(w=void 0,"number"!=typeof(w=n.pop()||a.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),f=w),_=r[m]&&r[m][f]),void 0===_||!_.length||!_[0]){var S;for(k in v=[],r[m])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");S=a.showPosition?"Parse error on line "+(h+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(S,{text:a.match,token:this.terminals_[f]||f,line:a.yylineno,loc:p,expected:v})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(_[0]){case 1:i.push(f),e.push(a.yytext),s.push(a.yylloc),i.push(_[1]),f=null,l=a.yyleng,o=a.yytext,h=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[_[1]][1],I.$=e[e.length-x],I._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},g&&(I._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(d=this.performAction.apply(I,[o,l,h,y.yy,_[1],e,s].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),e=e.slice(0,-1*x),s=s.slice(0,-1*x)),i.push(this.productions_[_[1]][0]),e.push(I.$),s.push(I._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},e={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||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 i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var e=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 s=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===e.length?this.yylloc.first_column:0)+e[e.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-i]),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(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,e,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(e=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.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,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;ri[0].length)){if(i=n,e=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,s[e]))&&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(){return this.next()||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,i,n,e){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 s(){this.yy={}}return n.lexer=e,s.prototype=n,n.Parser=s,new s}());r.parser=r;var o="",h=!1;const l={draw:(t,i,n)=>{try{e.l.debug("Rendering info diagram\n"+t);const r=(0,e.g)().securityLevel;let o;"sandbox"===r&&(o=(0,s.Ys)("#i"+i));const h=("sandbox"===r?(0,s.Ys)(o.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select("#"+i);h.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),h.attr("height",100),h.attr("width",400)}catch(t){e.l.error("Error while rendering info diagram"),e.l.error(t.message)}}},c={parser:r,db:{setMessage:t=>{e.l.debug("Setting message to: "+t),o=t},getMessage:()=>o,setInfo:t=>{h=t},getInfo:()=>h,clear:e.y},renderer:l,styles:()=>""}}}; \ No newline at end of file diff --git a/themes/daux/js/288.mjs b/themes/daux/js/288.mjs new file mode 100644 index 00000000..19b219eb --- /dev/null +++ b/themes/daux/js/288.mjs @@ -0,0 +1 @@ +export const id=288;export const ids=[288];export const modules={6288:(t,e,a)=>{a.d(e,{a:()=>d,b:()=>M,c:()=>o,d:()=>N,e:()=>T,f:()=>Y,g:()=>R,h:()=>H,i:()=>x,l:()=>c,p:()=>E,s:()=>B,u:()=>h});var r=a(9360),n=a(7274),i=a(4576),s=a(8111);const l={extension:(t,e,a)=>{r.l.trace("Making markers for ",a),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 10 10").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")}},d=(t,e,a,r)=>{e.forEach((e=>{l[e](t,a,r)}))},o=(t,e,a,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,r.n)((0,r.c)().flowchart.htmlLabels)){return s=s.replace(/\\n|\n/g,"
    "),r.l.info("vertexText"+s),function(t){const e=(0,n.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s;return a.html('"+r+""),(s=t.labelStyle)&&a.attr("style",s),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,r.I)(s).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof s?s.split(/\\n|\n|/gi):Array.isArray(s)?s:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),a?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},c=async(t,e,a,s)=>{let l;const d=e.useHtmlLabels||(0,r.n)((0,r.c)().flowchart.htmlLabels);l=a||"node default";const c=t.insert("g").attr("class",l).attr("id",e.domId||e.id),h=c.insert("g").attr("class","label").attr("style",e.labelStyle);let p;p=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const g=h.node();let y;y="markdown"===e.labelType?(0,i.c)(h,(0,r.d)((0,r.I)(p),(0,r.c)()),{useHtmlLabels:d,width:e.width||(0,r.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):g.appendChild(o((0,r.d)((0,r.I)(p),(0,r.c)()),e.labelStyle,!1,s));let f=y.getBBox();const x=e.padding/2;if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=y.children[0],e=(0,n.Ys)(y),a=t.getElementsByTagName("img");if(a){const t=""===p.replace(/]*>/g,"").trim();await Promise.all([...a].map((e=>new Promise((a=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,r.c)().fontSize?(0,r.c)().fontSize:window.getComputedStyle(document.body).fontSize,a=5;e.style.width=parseInt(t,10)*a+"px"}else e.style.width="100%";a(e)}setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return d?h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):h.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:x,label:h}},h=(t,e)=>{const a=e.node().getBBox();t.width=a.width,t.height=a.height};function p(t,e,a,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}function g(t,e,a,r){var n=t.x,i=t.y,s=n-r.x,l=i-r.y,d=Math.sqrt(e*e*l*l+a*a*s*s),o=Math.abs(e*a*s/d);r.x0}const x=(t,e)=>{var a,r,n=t.x,i=t.y,s=e.x-n,l=e.y-i,d=t.width/2,o=t.height/2;return Math.abs(l)*d>Math.abs(s)*o?(l<0&&(o=-o),a=0===l?0:o*s/l,r=o):(s<0&&(d=-d),a=d,r=0===s?0:d*l/s),{x:n+a,y:i+r}},u={node:function(t,e){return t.intersect(e)},circle:function(t,e,a){return g(t,e,e,a)},ellipse:g,polygon:function(t,e,a){var r=t.x,n=t.y,i=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var d=r-t.width/2-s,o=n-t.height/2-l,c=0;c1&&i.sort((function(t,e){var r=t.x-a.x,n=t.y-a.y,i=Math.sqrt(r*r+n*n),s=e.x-a.x,l=e.y-a.y,d=Math.sqrt(s*s+l*l);return it?" "+t:"",w=(t,e)=>`${e||"node default"}${b(t.classes)} ${b(t.class)}`,m=async(t,e)=>{const{shapeSvg:a,bbox:n}=await c(t,e,w(e,void 0),!0),i=n.width+e.padding+(n.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];r.l.info("Question main (Circle)");const l=p(a,i,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return r.l.warn("Intersect called"),u.polygon(e,s,t)},a};function k(t,e,a,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(r.l.debug("add top border"),s(a)):l(a),e.includes("r")?(r.l.debug("add right border"),s(n)):l(n),e.includes("b")?(r.l.debug("add bottom border"),s(a)):l(a),e.includes("l")?(r.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const v=(t,e,a)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===a&&(n=10,i=70);const s=r.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return h(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return u.rect(e,t)},r},L={rhombus:m,question:m,rect:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await c(t,e,"node "+e.classes+" "+e.class,!0),s=a.insert("rect",":first-child"),l=n.width+e.padding,d=n.height+e.padding;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",l).attr("height",d),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(s,e.props.borders,l,d),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return u.rect(e,t)},a},labelRect:async(t,e)=>{const{shapeSvg:a}=await c(t,e,"label",!0);r.l.trace("Classes = ",e.class);const n=a.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),a.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(n,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,n),e.intersect=function(t){return u.rect(e,t)},a},rectWithTitle:(t,e)=>{let a;a=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),d=i.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText;let p="";p="object"==typeof c?c[0]:c,r.l.info("Label text abc79",p,c,"object"==typeof c);const g=d.node().appendChild(o(p,e.labelStyle,!0,!0));let y={width:0,height:0};if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ys)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}r.l.info("Text 2",c);const f=c.slice(1,c.length);let x=g.getBBox();const b=d.node().appendChild(o(f.join?f.join("
    "):f,e.labelStyle,!0,!0));if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ys)(b);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}const w=e.padding/2;return(0,n.Ys)(b).attr("transform","translate( "+(y.width>x.width?0:(x.width-y.width)/2)+", "+(x.height+w+5)+")"),(0,n.Ys)(g).attr("transform","translate( "+(y.width{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return a.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].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 u.circle(e,14,t)},a},circle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await c(t,e,w(e,void 0),!0),s=a.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("Circle main"),h(e,s),e.intersect=function(t){return r.l.info("Circle intersect",e,n.width/2+i,t),u.circle(e,n.width/2+i,t)},a},doublecircle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await c(t,e,w(e,void 0),!0),s=a.insert("g",":first-child"),l=s.insert("circle"),d=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+5).attr("width",n.width+e.padding+10).attr("height",n.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("DoubleCircle main"),h(e,l),e.intersect=function(t){return r.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),u.circle(e,n.width/2+i+5,t)},a},stadium:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.height+e.padding,i=r.width+n/4+e.padding,s=a.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-i/2).attr("y",-n/2).attr("width",i).attr("height",n);return h(e,s),e.intersect=function(t){return u.rect(e,t)},a},hexagon:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.height+e.padding,i=n/4,s=r.width+2*i+e.padding,l=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],d=p(a,s,n,l);return d.attr("style",e.style),h(e,d),e.intersect=function(t){return u.polygon(e,l,t)},a},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return p(a,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return u.polygon(e,s,t)},a},lean_right:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},lean_left:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},inv_trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},cylinder:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=n/2,s=i/(2.5+n/50),l=r.height+s+e.padding,d="M 0,"+s+" a "+i+","+s+" 0,0,0 "+n+" 0 a "+i+","+s+" 0,0,0 "+-n+" 0 l 0,"+l+" a "+i+","+s+" 0,0,0 "+n+" 0 l 0,"+-l,o=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",d).attr("transform","translate("+-n/2+","+-(l/2+s)+")");return h(e,o),e.intersect=function(t){const a=u.rect(e,t),r=a.x-e.x;if(0!=i&&(Math.abs(r)e.height/2-s)){let n=s*s*(1-r*r/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),a.y+=n}return a},a},start:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,r),e.intersect=function(t){return u.circle(e,7,t)},a},end:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child"),n=a.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,n),e.intersect=function(t){return u.circle(e,7,t)},a},note:async(t,e)=>{e.useHtmlLabels||(0,r.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:a,bbox:n,halfPadding:i}=await c(t,e,"node "+e.classes,!0);r.l.info("Classes = ",e.classes);const s=a.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),h(e,s),e.intersect=function(t){return u.rect(e,t)},a},subroutine:async(t,e)=>{const{shapeSvg:a,bbox:r}=await c(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],l=p(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return u.polygon(e,s,t)},a},fork:v,join:v,class_box:(t,e)=>{const a=e.padding/2;let i;i=e.classes?"node "+e.classes:"node default";const l=t.insert("g").attr("class",i).attr("id",e.domId||e.id),d=l.insert("rect",":first-child"),c=l.insert("line"),p=l.insert("line");let g=0,y=4;const f=l.insert("g").attr("class","label");let x=0;const b=e.classData.annotations&&e.classData.annotations[0],w=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",m=f.node().appendChild(o(w,e.labelStyle,!0,!0));let k=m.getBBox();if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=m.children[0],e=(0,n.Ys)(m);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}e.classData.annotations[0]&&(y+=k.height+4,g+=k.width);let v=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,r.c)().flowchart.htmlLabels?v+="<"+e.classData.type+">":v+="<"+e.classData.type+">");const L=f.node().appendChild(o(v,e.labelStyle,!0,!0));(0,n.Ys)(L).attr("class","classTitle");let S=L.getBBox();if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=L.children[0],e=(0,n.Ys)(L);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}y+=S.height+4,S.width>g&&(g=S.width);const T=[];e.classData.members.forEach((t=>{const a=(0,s.p)(t);let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const l=f.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let d=l.getBBox();if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,n.Ys)(l);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>g&&(g=d.width),y+=d.height+4,T.push(l)})),y+=8;const B=[];if(e.classData.methods.forEach((t=>{const a=(0,s.p)(t);let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const l=f.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let d=l.getBBox();if((0,r.n)((0,r.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,n.Ys)(l);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>g&&(g=d.width),y+=d.height+4,B.push(l)})),y+=8,b){let t=(g-k.width)/2;(0,n.Ys)(m).attr("transform","translate( "+(-1*g/2+t)+", "+-1*y/2+")"),x=k.height+4}let M=(g-S.width)/2;return(0,n.Ys)(L).attr("transform","translate( "+(-1*g/2+M)+", "+(-1*y/2+x)+")"),x+=S.height+4,c.attr("class","divider").attr("x1",-g/2-a).attr("x2",g/2+a).attr("y1",-y/2-a+8+x).attr("y2",-y/2-a+8+x),x+=8,T.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-g/2+", "+(-1*y/2+x+4)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),x+=8,p.attr("class","divider").attr("x1",-g/2-a).attr("x2",g/2+a).attr("y1",-y/2-a+8+x).attr("y2",-y/2-a+8+x),x+=8,B.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-g/2+", "+(-1*y/2+x)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),d.attr("class","outer title-state").attr("x",-g/2-a).attr("y",-y/2-a).attr("width",g+e.padding).attr("height",y+e.padding),h(e,d),e.intersect=function(t){return u.rect(e,t)},l}};let S={};const T=async(t,e,a)=>{let n,i;if(e.link){let s;"sandbox"===(0,r.c)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await L[e.shape](n,e,a)}else i=await L[e.shape](t,e,a),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),S[e.id]=n,e.haveCallback&&S[e.id].attr("class",S[e.id].attr("class")+" clickable"),n},B=(t,e)=>{S[e.id]=t},M=()=>{S={}},E=t=>{const e=S[t.id];r.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a};let C={},P={};const N=()=>{C={},P={}},Y=(t,e)=>{const a=(0,r.n)((0,r.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):o(e.label,e.labelStyle);r.l.info("abc82",e,e.labelType);const l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let c,h=s.getBBox();if(a){const t=s.children[0],e=(0,n.Ys)(s);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}if(d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),C[e.id]=l,e.width=h.width,e.height=h.height,e.startLabelLeft){const a=o(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");c=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),P[e.id]||(P[e.id]={}),P[e.id].startLeft=r,_(c,e.startLabelLeft)}if(e.startLabelRight){const a=o(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");c=r.node().appendChild(a),n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),P[e.id]||(P[e.id]={}),P[e.id].startRight=r,_(c,e.startLabelRight)}if(e.endLabelLeft){const a=o(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");c=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),P[e.id]||(P[e.id]={}),P[e.id].endLeft=r,_(c,e.endLabelLeft)}if(e.endLabelRight){const a=o(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");c=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),P[e.id]||(P[e.id]={}),P[e.id].endRight=r,_(c,e.endLabelRight)}return s};function _(t,e){(0,r.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const H=(t,e)=>{r.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let a=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const n=C[t.id];let i=t.x,s=t.y;if(a){const n=r.u.calcLabelPosition(a);r.l.info("Moving label "+t.label+" from (",i,",",s,") to (",n.x,",",n.y,") abc78"),e.updatedPath&&(i=n.x,s=n.y)}n.attr("transform","translate("+i+", "+s+")")}if(t.startLabelLeft){const e=P[t.id].startLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",a);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.startLabelRight){const e=P[t.id].startRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",a);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelLeft){const e=P[t.id].endLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",a);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelRight){const e=P[t.id].endRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",a);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}},I=(t,e)=>{r.l.warn("abc88 cutPathAtIntersect",t,e);let a=[],n=t[0],i=!1;return t.forEach((t=>{if(r.l.info("abc88 checking point",t,e),((t,e)=>{const a=t.x,r=t.y,n=Math.abs(e.x-a),i=Math.abs(e.y-r),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)r.l.warn("abc88 outside",t,n),n=t,i||a.push(t);else{const s=((t,e,a)=>{r.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(a)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-a.x),l=t.width/2;let d=a.xMath.abs(n-e.x)*o){let t=a.y{l=l||t.x===s.x&&t.y===s.y})),a.some((t=>t.x===s.x&&t.y===s.y))?r.l.warn("abc88 no intersect",s,a):a.push(s),i=!0}})),r.l.warn("abc88 returning points",a),a},R=function(t,e,a,i,s,l){let d=a.points,o=!1;const c=l.node(e.v);var h=l.node(e.w);r.l.info("abc88 InsertEdge: ",a),h.intersect&&c.intersect&&(d=d.slice(1,a.points.length-1),d.unshift(c.intersect(d[0])),r.l.info("Last point",d[d.length-1],h,h.intersect(d[d.length-1])),d.push(h.intersect(d[d.length-1]))),a.toCluster&&(r.l.info("to cluster abc88",i[a.toCluster]),d=I(a.points,i[a.toCluster].node),o=!0),a.fromCluster&&(r.l.info("from cluster abc88",i[a.fromCluster]),d=I(d.reverse(),i[a.fromCluster].node).reverse(),o=!0);const p=d.filter((t=>!Number.isNaN(t.y)));let g;g=("graph"===s||"flowchart"===s)&&a.curve||n.$0Z;const y=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(g);let f;switch(a.thickness){case"normal":f="edge-thickness-normal";break;case"thick":case"invisible":f="edge-thickness-thick";break;default:f=""}switch(a.pattern){case"solid":f+=" edge-pattern-solid";break;case"dotted":f+=" edge-pattern-dotted";break;case"dashed":f+=" edge-pattern-dashed"}const x=t.append("path").attr("d",y(p)).attr("id",a.id).attr("class"," "+f+(a.classes?" "+a.classes:"")).attr("style",a.style);let u="";switch(((0,r.c)().flowchart.arrowMarkerAbsolute||(0,r.c)().state.arrowMarkerAbsolute)&&(u=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\(/g,"\\("),u=u.replace(/\)/g,"\\)")),r.l.info("arrowTypeStart",a.arrowTypeStart),r.l.info("arrowTypeEnd",a.arrowTypeEnd),a.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+u+"#"+s+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+u+"#"+s+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+u+"#"+s+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+u+"#"+s+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+u+"#"+s+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+u+"#"+s+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+u+"#"+s+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+u+"#"+s+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+u+"#"+s+"-lollipopStart)")}switch(a.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+u+"#"+s+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+u+"#"+s+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+u+"#"+s+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+u+"#"+s+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+u+"#"+s+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+u+"#"+s+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+u+"#"+s+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+u+"#"+s+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+u+"#"+s+"-lollipopEnd)")}let b={};return o&&(b.updatedPath=d),b.originalPath=a.points,b}},8111:(t,e,a)=>{a.d(e,{p:()=>l,s:()=>c});var r=a(7274),n=a(9360);let i=0;const s=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},l=function(t){let e="",a="",r="",i="",s=t.substring(0,1),l=t.substring(t.length-1,t.length);s.match(/[#+~-]/)&&(i=s);let d=/[\s\w)~]/;l.match(d)||(a=o(l));const c=""===i?0:1;let h=""===a?t.length:t.length-1;const p=(t=t.substring(c,h)).indexOf("("),g=t.indexOf(")");if(p>1&&g>p&&g<=t.length){let s=t.substring(0,p).trim();const l=t.substring(p+1,g);if(e=i+s+"("+(0,n.x)(l.trim())+")",g0&&(k+=e.cssClasses.join(" "));const v=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*a.padding).attr("height",m.height+a.padding+.5*a.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach((function(t){t.setAttribute("x",(v-t.getBBox().width)/2)})),e.tooltip&&c.insert("title").text(e.tooltip),f.attr("x2",v),b.attr("x2",v),l.width=v,l.height=m.height+a.padding+.5*a.dividerMargin,l},drawEdge:function(t,e,a,s,l){const d=function(t){switch(t){case l.db.relationType.AGGREGATION:return"aggregation";case l.db.relationType.EXTENSION:return"extension";case l.db.relationType.COMPOSITION:return"composition";case l.db.relationType.DEPENDENCY:return"dependency";case l.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,c=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),h=t.append("path").attr("d",c(o)).attr("id","edge"+i).attr("class","relation");let p,g,y="";s.arrowMarkerAbsolute&&(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,y=y.replace(/\(/g,"\\("),y=y.replace(/\)/g,"\\)")),1==a.relation.lineType&&h.attr("class","relation dashed-line"),10==a.relation.lineType&&h.attr("class","relation dotted-line"),"none"!==a.relation.type1&&h.attr("marker-start","url("+y+"#"+d(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&h.attr("marker-end","url("+y+"#"+d(a.relation.type2)+"End)");const f=e.points.length;let x,u,b,w,m=n.u.calcLabelPosition(e.points);if(p=m.x,g=m.y,f%2!=0&&f>1){let t=n.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=n.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[f-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(r)),x=t.x,u=t.y,b=r.x,w=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",p).attr("y",g).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=r;const n=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-s.padding/2).attr("y",n.y-s.padding/2).attr("width",n.width+s.padding).attr("height",n.height+s.padding)}n.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",u).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.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(a.relationTitle2),i++},drawNote:function(t,e,a,r){n.l.debug("Rendering note ",e,a);const i=e.id,s={id:i,text:e.text,width:0,height:0},l=t.append("g").attr("id",i).attr("class","classGroup");let d=l.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const o=JSON.parse(`"${e.text}"`).split("\n");o.forEach((function(t){n.l.debug(`Adding line: ${t}`),d.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const c=l.node().getBBox(),h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",c.width+2*a.padding).attr("height",c.height+o.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),s.width=h,s.height=c.height+o.length*a.textHeight+a.padding+.5*a.dividerMargin,s},parseMember:l}}}; \ No newline at end of file diff --git a/themes/daux/js/290.mjs b/themes/daux/js/290.mjs new file mode 100644 index 00000000..a48b0a54 --- /dev/null +++ b/themes/daux/js/290.mjs @@ -0,0 +1 @@ +export const id=290;export const ids=[290];export const modules={8290:(t,e,n)=>{n.d(e,{diagram:()=>M});var i=n(9360),s=n(7274),r=n(6500),a=n(2281),o=n(7201),c=(n(7484),n(7967),n(7856),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],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,23],h=[1,24],d=[1,27],u=[4,6,9,11,17,18,20,22,23,26,27,28],p={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,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 11:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 19:i.addTask(r[o],0,""),this.$=r[o];break;case 20:i.addEvent(r[o].substr(2)),this.$=r[o];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(r[o],"type_directive");break;case 23:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"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:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,28:n},{1:[2,2]},{14:25,15:[1,26],31:d},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,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(u,[2,9]),{14:34,31:d},{31:[2,23]},{11:[1,35]},t(u,[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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,f,m,_,b,v,k,x,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==y&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),y=S),m=r[f]&&r[f][y]),void 0===m||!m.length||!m[0]){var $;for(b in x=[],r[f])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");$=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:p,expected:x})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+y);switch(m[0]){case 1:e.push(y),i.push(h.yytext),s.push(h.yylloc),e.push(m[1]),y=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(v=this.productions_[m[1]][1],w.$=i[i.length-v],w._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(w,[a,c,o,d.yy,m[1],i,s].concat(l))))return _;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),s=s.slice(0,-1*v)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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 y(){this.yy={}}return p.lexer=g,y.prototype=p,p.Parser=y,new y}());c.parser=c;const l=c;let h="",d=0;const u=[],p=[],g=[],y=()=>i.J,f=(t,e,n)=>{(0,i.K)(globalThis,t,e,n)},m=function(){u.length=0,p.length=0,h="",g.length=0,(0,i.v)()},_=function(t){h=t,u.push(t)},b=function(){return u},v=function(){let t=w(),e=0;for(;!t&&e<100;)t=w(),e++;return p.push(...g),p},k=function(t,e,n){const i={id:d++,section:h,type:h,task:t,score:e||0,events:n?[n]:[]};g.push(i)},x=function(t){g.find((t=>t.id===d-1)).events.push(t)},S=function(t){const e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},w=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},$={clear:m,getCommonDb:y,addSection:_,getSections:b,getTasks:v,addTask:k,addTaskOrg:S,addEvent:x,parseDirective:f},E=Object.freeze(Object.defineProperty({__proto__:null,addEvent:x,addSection:_,addTask:k,addTaskOrg:S,clear:m,default:$,getCommonDb:y,getSections:b,getTasks:v,parseDirective:f},Symbol.toStringTag,{value:"Module"}));function I(t,e){t.each((function(){var t,n=(0,s.Ys)(this),i=n.text().split(/(\s+|
    )/).reverse(),r=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let s=0;se||"
    "===t)&&(r.pop(),c.text(r.join(" ").trim()),r="
    "===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const T=function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(I,e.width).node().getBBox(),l=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} 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)}(a,e,s),e},D=function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(I,e.width).node().getBBox(),r=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding},L=function(t,e,n,s,r,a,o,c,l,h,d){var u;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};i.l.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),g=T(p,e,n,o).height;if(i.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,g),c.events){const e=t.append("g").attr("class","lineWrapper");let i=a;r+=100,i+=A(t,c.events,n,s,r,o),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,d&&!(null==(u=o.timeline)?void 0:u.disableMulticolor)&&n++}r-=10},A=function(t,e,n,s,r,a){let o=0;const c=r;r+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=T(l,e,n,a).height;o+=h,l.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=c,o},C={setConf:()=>{},draw:function(t,e,n,r){var a,o;const c=(0,i.c)(),l=c.leftMargin??50;i.l.debug("timeline",r.db);const h=c.securityLevel;let d;"sandbox"===h&&(d=(0,s.Ys)("#i"+e));const u=("sandbox"===h?(0,s.Ys)(d.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select("#"+e);u.append("g");const p=r.db.getTasks(),g=r.db.getCommonDb().getDiagramTitle();i.l.debug("task",p),u.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");const y=r.db.getSections();i.l.debug("sections",y);let f=0,m=0,_=0,b=0,v=50+l,k=50;b=50;let x=0,S=!0;y.forEach((function(t){const e=D(u,{number:x,descr:t,section:x,width:150,padding:20,maxHeight:f},c);i.l.debug("sectionHeight before draw",e),f=Math.max(f,e+20)}));let w=0,$=0;i.l.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:m},s=D(u,n,c);i.l.debug("taskHeight before draw",s),m=Math.max(m,s+20),w=Math.max(w,e.events.length);let r=0;for(let t=0;t0?y.forEach((t=>{const e=p.filter((e=>e.section===t)),n={number:x,descr:t,section:x,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:f};i.l.debug("sectionNode",n);const s=u.append("g"),r=T(s,n,x,c);i.l.debug("sectionNode output",r),s.attr("transform",`translate(${v}, 50)`),k+=f+50,e.length>0&&L(u,e,x,v,k,m,c,0,$,f,!1),v+=200*Math.max(e.length,1),k=50,x++})):(S=!1,L(u,p,x,v,k,m,c,0,$,f,!0));const E=u.node().getBBox();i.l.debug("bounds",E),g&&u.append("text").text(g).attr("x",E.width/2-l).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),_=S?f+m+150:m+100,u.append("g").attr("class","lineWrapper").append("line").attr("x1",l).attr("y1",_).attr("x2",E.width+3*l).attr("y2",_).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.p)(void 0,u,(null==(a=c.timeline)?void 0:a.padding)??50,(null==(o=c.timeline)?void 0:o.useMaxWidth)??!1)}},M={db:E,renderer:C,parser:l,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e{n.d(i,{diagram:()=>h});var s=n(9360),e=(n(7484),n(7967),n(7274),n(7856),function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[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,i,n,s,e,r,o){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],s=[null],e=[],r=this.table,o="",h=0,l=0,c=e.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;e.push(p);var f=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,m,d,k,x,b,v,I,w={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(I=void 0,"number"!=typeof(I=n.pop()||a.lex()||1)&&(I instanceof Array&&(I=(n=I).pop()),I=this.symbols_[I]||I),g=I),m=r[_]&&r[_][g]),void 0===m||!m.length||!m[0]){var S;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");S=a.showPosition?"Parse error on line "+(h+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(S,{text:a.match,token:this.terminals_[g]||g,line:a.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(m[0]){case 1:i.push(g),s.push(a.yytext),e.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,o=a.yytext,h=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],w.$=s[s.length-x],w._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},f&&(w._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),void 0!==(d=this.performAction.apply(w,[o,l,h,y.yy,m[1],s,e].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),s=s.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),s.push(w.$),e.push(w._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},s={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||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 i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=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 e=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===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),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(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={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&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in e)this[r]=e[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),r=0;ri[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&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(){return this.next()||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,i,n,s){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 e(){this.yy={}}return n.lexer=s,e.prototype=n,n.Parser=e,new e}());e.parser=e;let r=false;const o={draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);const e=(0,s.B)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}},h={parser:e,db:{clear:()=>{r=false},setInfo:t=>{r=t},getInfo:()=>r},renderer:o}}}; \ No newline at end of file diff --git a/themes/daux/js/314.mjs b/themes/daux/js/314.mjs deleted file mode 100644 index 810be69f..00000000 --- a/themes/daux/js/314.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=314;export const ids=[314];export const modules={5314:(t,e,i)=>{i.d(e,{diagram:()=>C});var r=i(3110),n=i(1188),c=i(6848),s=i(4309),a=(i(7856),i(7484),i(7967),function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[1,4],i=[1,7],r=[1,5],n=[1,9],c=[1,6],s=[2,6],a=[1,16],o=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],l=[8,14,20,22,24,25,27,29,32,37,40],h=[8,13,14,20,22,24,25,27,29,32,37,40],m=[1,26],u=[6,8,14,50,55],y=[8,14,55],p=[1,53],g=[1,52],d=[8,14,30,33,35,38,55],b=[1,67],f=[1,68],k=[1,69],_=[8,14,33,35,42,55],$={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,i,r,n,c,s){var a=c.length-1;switch(n){case 3:return c[a];case 4:return c[a-1];case 5:return r.setDirection(c[a-3]),c[a-1];case 7:r.setOptions(c[a-1]),this.$=c[a];break;case 8:c[a-1]+=c[a],this.$=c[a-1];break;case 10:this.$=[];break;case 11:c[a-1].push(c[a]),this.$=c[a-1];break;case 12:this.$=c[a-1];break;case 17:this.$=c[a].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=c[a].trim(),r.setAccDescription(this.$);break;case 20:r.addSection(c[a].substr(8)),this.$=c[a].substr(8);break;case 22:r.checkout(c[a]);break;case 23:r.branch(c[a]);break;case 24:r.branch(c[a-2],c[a]);break;case 25:r.cherryPick(c[a],"",void 0);break;case 26:r.cherryPick(c[a-2],"",c[a]);break;case 27:case 29:r.cherryPick(c[a-2],"","");break;case 28:r.cherryPick(c[a],"",c[a-2]);break;case 30:r.merge(c[a],"","","");break;case 31:r.merge(c[a-2],c[a],"","");break;case 32:r.merge(c[a-2],"",c[a],"");break;case 33:r.merge(c[a-2],"","",c[a]);break;case 34:r.merge(c[a-4],c[a],"",c[a-2]);break;case 35:r.merge(c[a-4],"",c[a],c[a-2]);break;case 36:r.merge(c[a-4],"",c[a-2],c[a]);break;case 37:r.merge(c[a-4],c[a-2],c[a],"");break;case 38:r.merge(c[a-4],c[a-2],"",c[a]);break;case 39:r.merge(c[a-4],c[a],c[a-2],"");break;case 40:r.merge(c[a-6],c[a-4],c[a-2],c[a]);break;case 41:r.merge(c[a-6],c[a],c[a-4],c[a-2]);break;case 42:r.merge(c[a-6],c[a-4],c[a],c[a-2]);break;case 43:r.merge(c[a-6],c[a-2],c[a-4],c[a]);break;case 44:r.merge(c[a-6],c[a],c[a-2],c[a-4]);break;case 45:r.merge(c[a-6],c[a-2],c[a],c[a-4]);break;case 46:r.commit(c[a]);break;case 47:r.commit("","",r.commitType.NORMAL,c[a]);break;case 48:r.commit("","",c[a],"");break;case 49:r.commit("","",c[a],c[a-2]);break;case 50:r.commit("","",c[a-2],c[a]);break;case 51:r.commit("",c[a],r.commitType.NORMAL,"");break;case 52:r.commit("",c[a-2],r.commitType.NORMAL,c[a]);break;case 53:r.commit("",c[a],r.commitType.NORMAL,c[a-2]);break;case 54:r.commit("",c[a-2],c[a],"");break;case 55:r.commit("",c[a],c[a-2],"");break;case 56:r.commit("",c[a-4],c[a-2],c[a]);break;case 57:r.commit("",c[a-4],c[a],c[a-2]);break;case 58:r.commit("",c[a-2],c[a-4],c[a]);break;case 59:r.commit("",c[a],c[a-4],c[a-2]);break;case 60:r.commit("",c[a],c[a-2],c[a-4]);break;case 61:r.commit("",c[a-2],c[a],c[a-4]);break;case 62:r.commit(c[a],"",r.commitType.NORMAL,"");break;case 63:r.commit(c[a],"",r.commitType.NORMAL,c[a-2]);break;case 64:r.commit(c[a-2],"",r.commitType.NORMAL,c[a]);break;case 65:r.commit(c[a-2],"",c[a],"");break;case 66:r.commit(c[a],"",c[a-2],"");break;case 67:r.commit(c[a],c[a-2],r.commitType.NORMAL,"");break;case 68:r.commit(c[a-2],c[a],r.commitType.NORMAL,"");break;case 69:r.commit(c[a-4],"",c[a-2],c[a]);break;case 70:r.commit(c[a-4],"",c[a],c[a-2]);break;case 71:r.commit(c[a-2],"",c[a-4],c[a]);break;case 72:r.commit(c[a],"",c[a-4],c[a-2]);break;case 73:r.commit(c[a],"",c[a-2],c[a-4]);break;case 74:r.commit(c[a-2],"",c[a],c[a-4]);break;case 75:r.commit(c[a-4],c[a],c[a-2],"");break;case 76:r.commit(c[a-4],c[a-2],c[a],"");break;case 77:r.commit(c[a-2],c[a],c[a-4],"");break;case 78:r.commit(c[a],c[a-2],c[a-4],"");break;case 79:r.commit(c[a],c[a-4],c[a-2],"");break;case 80:r.commit(c[a-2],c[a-4],c[a],"");break;case 81:r.commit(c[a-4],c[a],r.commitType.NORMAL,c[a-2]);break;case 82:r.commit(c[a-4],c[a-2],r.commitType.NORMAL,c[a]);break;case 83:r.commit(c[a-2],c[a],r.commitType.NORMAL,c[a-4]);break;case 84:r.commit(c[a],c[a-2],r.commitType.NORMAL,c[a-4]);break;case 85:r.commit(c[a],c[a-4],r.commitType.NORMAL,c[a-2]);break;case 86:r.commit(c[a-2],c[a-4],r.commitType.NORMAL,c[a]);break;case 87:r.commit(c[a-6],c[a-4],c[a-2],c[a]);break;case 88:r.commit(c[a-6],c[a-4],c[a],c[a-2]);break;case 89:r.commit(c[a-6],c[a-2],c[a-4],c[a]);break;case 90:r.commit(c[a-6],c[a],c[a-4],c[a-2]);break;case 91:r.commit(c[a-6],c[a-2],c[a],c[a-4]);break;case 92:r.commit(c[a-6],c[a],c[a-2],c[a-4]);break;case 93:r.commit(c[a-4],c[a-6],c[a-2],c[a]);break;case 94:r.commit(c[a-4],c[a-6],c[a],c[a-2]);break;case 95:r.commit(c[a-2],c[a-6],c[a-4],c[a]);break;case 96:r.commit(c[a],c[a-6],c[a-4],c[a-2]);break;case 97:r.commit(c[a-2],c[a-6],c[a],c[a-4]);break;case 98:r.commit(c[a],c[a-6],c[a-2],c[a-4]);break;case 99:r.commit(c[a],c[a-4],c[a-2],c[a-6]);break;case 100:r.commit(c[a-2],c[a-4],c[a],c[a-6]);break;case 101:r.commit(c[a],c[a-2],c[a-4],c[a-6]);break;case 102:r.commit(c[a-2],c[a],c[a-4],c[a-6]);break;case 103:r.commit(c[a-4],c[a-2],c[a],c[a-6]);break;case 104:r.commit(c[a-4],c[a],c[a-2],c[a-6]);break;case 105:r.commit(c[a-2],c[a-4],c[a-6],c[a]);break;case 106:r.commit(c[a],c[a-4],c[a-6],c[a-2]);break;case 107:r.commit(c[a-2],c[a],c[a-6],c[a-4]);break;case 108:r.commit(c[a],c[a-2],c[a-6],c[a-4]);break;case 109:r.commit(c[a-4],c[a-2],c[a-6],c[a]);break;case 110:r.commit(c[a-4],c[a],c[a-6],c[a-2]);break;case 111:this.$="";break;case 112:this.$=c[a];break;case 113:this.$=r.commitType.NORMAL;break;case 114:this.$=r.commitType.REVERSE;break;case 115:this.$=r.commitType.HIGHLIGHT;break;case 118:r.parseDirective("%%{","open_directive");break;case 119:r.parseDirective(c[a],"type_directive");break;case 120:c[a]=c[a].trim().replace(/'/g,'"'),r.parseDirective(c[a],"arg_directive");break;case 121:r.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:e,8:i,14:r,46:8,50:n,55:c},{1:[3]},{3:10,4:2,5:3,6:e,8:i,14:r,46:8,50:n,55:c},{3:11,4:2,5:3,6:e,8:i,14:r,46:8,50:n,55:c},{7:12,8:s,9:[1,13],10:[1,14],11:15,14:a},t(o,[2,124]),t(o,[2,125]),t(o,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:s,11:15,14:a},{9:[1,21]},t(l,[2,10],{12:22,13:[1,23]}),t(h,[2,9]),{9:[1,25],48:24,53:m},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:s,11:15,14:a},{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(h,[2,8]),t(u,[2,116]),{49:45,52:[1,46]},t(u,[2,121]),{1:[2,4]},{8:[1,47]},t(l,[2,11]),{4:48,8:i,14:r,55:c},t(l,[2,13]),t(y,[2,14]),t(y,[2,15]),t(y,[2,16]),{21:[1,49]},{23:[1,50]},t(y,[2,19]),t(y,[2,20]),t(y,[2,21]),{28:51,34:p,54:g},t(y,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:p,54:g},{33:[1,61],35:[1,62]},{28:63,34:p,54:g},{48:64,53:m},{53:[2,120]},{1:[2,5]},t(l,[2,12]),t(y,[2,17]),t(y,[2,18]),t(y,[2,22]),t(d,[2,122]),t(d,[2,123]),t(y,[2,46]),{34:[1,65]},{39:66,43:b,44:f,45:k},{34:[1,70]},{34:[1,71]},t(y,[2,112]),t(y,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(y,[2,23],{30:[1,78]}),t(u,[2,117]),t(y,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(y,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(_,[2,113]),t(_,[2,114]),t(_,[2,115]),t(y,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(y,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:b,44:f,45:k},{34:[1,93]},t(y,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:b,44:f,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:b,44:f,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:b,44:f,45:k},{34:[1,109]},t(y,[2,31],{35:[1,111],38:[1,110]}),t(y,[2,32],{33:[1,113],35:[1,112]}),t(y,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(y,[2,24]),t(y,[2,49],{33:[1,120],42:[1,121]}),t(y,[2,53],{38:[1,122],42:[1,123]}),t(y,[2,63],{33:[1,125],38:[1,124]}),t(y,[2,50],{33:[1,126],42:[1,127]}),t(y,[2,55],{35:[1,128],42:[1,129]}),t(y,[2,66],{33:[1,131],35:[1,130]}),t(y,[2,52],{38:[1,132],42:[1,133]}),t(y,[2,54],{35:[1,134],42:[1,135]}),t(y,[2,67],{35:[1,137],38:[1,136]}),t(y,[2,64],{33:[1,139],38:[1,138]}),t(y,[2,65],{33:[1,141],35:[1,140]}),t(y,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:b,44:f,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:b,44:f,45:k},t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:b,44:f,45:k},{34:[1,153]},{39:154,43:b,44:f,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:b,44:f,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:b,44:f,45:k},{34:[1,167]},{39:168,43:b,44:f,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:b,44:f,45:k},{34:[1,173]},t(y,[2,37],{35:[1,174]}),t(y,[2,38],{38:[1,175]}),t(y,[2,36],{33:[1,176]}),t(y,[2,39],{35:[1,177]}),t(y,[2,34],{38:[1,178]}),t(y,[2,35],{33:[1,179]}),t(y,[2,60],{42:[1,180]}),t(y,[2,73],{33:[1,181]}),t(y,[2,61],{42:[1,182]}),t(y,[2,84],{38:[1,183]}),t(y,[2,74],{33:[1,184]}),t(y,[2,83],{38:[1,185]}),t(y,[2,59],{42:[1,186]}),t(y,[2,72],{33:[1,187]}),t(y,[2,58],{42:[1,188]}),t(y,[2,78],{35:[1,189]}),t(y,[2,71],{33:[1,190]}),t(y,[2,77],{35:[1,191]}),t(y,[2,57],{42:[1,192]}),t(y,[2,85],{38:[1,193]}),t(y,[2,56],{42:[1,194]}),t(y,[2,79],{35:[1,195]}),t(y,[2,80],{35:[1,196]}),t(y,[2,86],{38:[1,197]}),t(y,[2,70],{33:[1,198]}),t(y,[2,81],{38:[1,199]}),t(y,[2,69],{33:[1,200]}),t(y,[2,75],{35:[1,201]}),t(y,[2,76],{35:[1,202]}),t(y,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:b,44:f,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:b,44:f,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:b,44:f,45:k},{34:[1,214]},{39:215,43:b,44:f,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:b,44:f,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:b,44:f,45:k},{34:[1,228]},{39:229,43:b,44:f,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:b,44:f,45:k},t(y,[2,40]),t(y,[2,42]),t(y,[2,41]),t(y,[2,43]),t(y,[2,45]),t(y,[2,44]),t(y,[2,101]),t(y,[2,102]),t(y,[2,99]),t(y,[2,100]),t(y,[2,104]),t(y,[2,103]),t(y,[2,108]),t(y,[2,107]),t(y,[2,106]),t(y,[2,105]),t(y,[2,110]),t(y,[2,109]),t(y,[2,98]),t(y,[2,97]),t(y,[2,96]),t(y,[2,95]),t(y,[2,93]),t(y,[2,94]),t(y,[2,92]),t(y,[2,91]),t(y,[2,90]),t(y,[2,89]),t(y,[2,87]),t(y,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],r=[null],n=[],c=this.table,s="",a=0,o=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),m={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(m.yy[u]=this.yy[u]);h.setInput(t,m.yy),m.yy.lexer=h,m.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var p=h.options&&h.options.ranges;"function"==typeof m.yy.parseError?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,d,b,f,k,_,$,x,v,w={};;){if(d=e[e.length-1],this.defaultActions[d]?b=this.defaultActions[d]:(null==g&&(v=void 0,"number"!=typeof(v=i.pop()||h.lex()||1)&&(v instanceof Array&&(v=(i=v).pop()),v=this.symbols_[v]||v),g=v),b=c[d]&&c[d][g]),void 0===b||!b.length||!b[0]){var E;for(k in x=[],c[d])this.terminals_[k]&&k>2&&x.push("'"+this.terminals_[k]+"'");E=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:y,expected:x})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+g);switch(b[0]){case 1:e.push(g),r.push(h.yytext),n.push(h.yylloc),e.push(b[1]),g=null,o=h.yyleng,s=h.yytext,a=h.yylineno,y=h.yylloc;break;case 2:if(_=this.productions_[b[1]][1],w.$=r[r.length-_],w._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},p&&(w._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),void 0!==(f=this.performAction.apply(w,[s,o,a,m.yy,b[1],r,n].concat(l))))return f;_&&(e=e.slice(0,-1*_*2),r=r.slice(0,-1*_),n=n.slice(0,-1*_)),e.push(this.productions_[b[1]][0]),r.push(w.$),n.push(w._$),$=c[e[e.length-2]][e[e.length-1]],e.push($);break;case 3:return!0}}return!0}},x={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,i=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 r=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[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 i,r,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var c in n)this[c]=n[c];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),c=0;ce[0].length)){if(e=i,r=c,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[c])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&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(){return this.next()||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,i,r){switch(i){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 v(){this.yy={}}return $.lexer=x,v.prototype=$,$.Parser=v,new v}());a.parser=a;const o=a;let l=(0,r.g)().gitGraph.mainBranchName,h=(0,r.g)().gitGraph.mainBranchOrder,m={},u=null,y={};y[l]={name:l,order:h};let p={};p[l]=u;let g=l,d="LR",b=0;function f(){return(0,n.q)({length:7})}let k={};const _=function(t){if(t=r.e.sanitizeText(t,(0,r.g)()),void 0===p[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}{g=t;const e=p[g];u=m[e]}};function $(t,e,i){const r=t.indexOf(e);-1===r?t.push(i):t.splice(r,1,i)}function x(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let i="";t.forEach((function(t){i+=t===e?"\t*":"\t|"}));const n=[i,e.id,e.seq];for(let t in p)p[t]===e.id&&n.push(t);if(r.l.debug(n.join(" ")),e.parents&&2==e.parents.length){const i=m[e.parents[0]];$(t,e,i),t.push(m[e.parents[1]])}else{if(0==e.parents.length)return;{const i=m[e.parents];$(t,e,i)}}x(t=function(t,e){const i=Object.create(null);return t.reduce(((t,e)=>{const r=e.id;return i[r]||(i[r]=!0,t.push(e)),t}),[])}(t))}const v=function(){const t=Object.keys(m).map((function(t){return m[t]}));return t.forEach((function(t){r.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},w={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},E={parseDirective:function(t,e,i){c.m.parseDirective(this,t,e,i)},getConfig:()=>(0,r.g)().gitGraph,setDirection:function(t){d=t},setOptions:function(t){r.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{k=JSON.parse(t)}catch(t){r.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return k},commit:function(t,e,i,n){r.l.debug("Entering commit:",t,e,i,n),e=r.e.sanitizeText(e,(0,r.g)()),t=r.e.sanitizeText(t,(0,r.g)()),n=r.e.sanitizeText(n,(0,r.g)());const c={id:e||b+"-"+f(),message:t,seq:b++,type:i||w.NORMAL,tag:n||"",parents:null==u?[]:[u.id],branch:g};u=c,m[c.id]=c,p[g]=c.id,r.l.debug("in pushCommit "+c.id)},branch:function(t,e){if(t=r.e.sanitizeText(t,(0,r.g)()),void 0!==p[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}p[t]=null!=u?u.id:null,y[t]={name:t,order:e?parseInt(e,10):null},_(t),r.l.debug("in createBranch")},merge:function(t,e,i,n){t=r.e.sanitizeText(t,(0,r.g)()),e=r.e.sanitizeText(e,(0,r.g)());const c=m[p[g]],s=m[p[t]];if(g===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===c||!c){let e=new Error('Incorrect usage of "merge". Current branch ('+g+")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===p[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===s||!s){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(c===s){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!==m[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+i+n,token:"merge "+t+e+i+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+i+" "+n]},r}const a={id:e||b+"-"+f(),message:"merged branch "+t+" into "+g,seq:b++,parents:[null==u?null:u.id,p[t]],branch:g,type:w.MERGE,customType:i,customId:!!e,tag:n||""};u=a,m[a.id]=a,p[g]=a.id,r.l.debug(p),r.l.debug("in mergeBranch")},cherryPick:function(t,e,i){if(r.l.debug("Entering cherryPick:",t,e,i),t=r.e.sanitizeText(t,(0,r.g)()),e=r.e.sanitizeText(e,(0,r.g)()),i=r.e.sanitizeText(i,(0,r.g)()),!t||void 0===m[t]){let i=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw i.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"]},i}let n=m[t],c=n.branch;if(n.type===w.MERGE){let i=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw i.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"]},i}if(!e||void 0===m[e]){if(c===g){let i=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw i.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"]},i}const s=m[p[g]];if(void 0===s||!s){let i=new Error('Incorrect usage of "cherry-pick". Current branch ('+g+")has no commits");throw i.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"]},i}const a={id:b+"-"+f(),message:"cherry-picked "+n+" into "+g,seq:b++,parents:[null==u?null:u.id,n.id],branch:g,type:w.CHERRY_PICK,tag:i??"cherry-pick:"+n.id};u=a,m[a.id]=a,p[g]=a.id,r.l.debug(p),r.l.debug("in cherryPick")}},checkout:_,prettyPrint:function(){r.l.debug(m),x([v()[0]])},clear:function(){m={},u=null;let t=(0,r.g)().gitGraph.mainBranchName,e=(0,r.g)().gitGraph.mainBranchOrder;p={},p[t]=null,y={},y[t]={name:t,order:e},g=t,b=0,(0,r.y)()},getBranchesAsObjArray:function(){return Object.values(y).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 p},getCommits:function(){return m},getCommitsArray:v,getCurrentBranch:function(){return g},getDirection:function(){return d},getHead:function(){return u},setAccTitle:r.o,getAccTitle:r.p,getAccDescription:r.q,setAccDescription:r.v,setDiagramTitle:r.w,getDiagramTitle:r.x,commitType:w};let T={};let L={},M={},I=[],O=0;const A=(t,e,i)=>{const r=(0,n.t)().gitGraph,c=t.append("g").attr("class","commit-bullets"),s=t.append("g").attr("class","commit-labels");let a=0;Object.keys(e).sort(((t,i)=>e[t].seq-e[i].seq)).forEach((t=>{const n=e[t],o=L[n.branch].pos,l=a+10;if(i){let t,e=void 0!==n.customType&&""!==n.customType?n.customType:n.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=c.append("rect");e.attr("x",l-10),e.attr("y",o-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${n.id} commit-highlight${L[n.branch].index%8} ${t}-outer`),c.append("rect").attr("x",l-6).attr("y",o-6).attr("height",12).attr("width",12).attr("class",`commit ${n.id} commit${L[n.branch].index%8} ${t}-inner`)}else if(4===e)c.append("circle").attr("cx",l).attr("cy",o).attr("r",10).attr("class",`commit ${n.id} ${t}`),c.append("circle").attr("cx",l-3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${n.id} ${t}`),c.append("circle").attr("cx",l+3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${n.id} ${t}`),c.append("line").attr("x1",l+3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${n.id} ${t}`),c.append("line").attr("x1",l-3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${n.id} ${t}`);else{const i=c.append("circle");if(i.attr("cx",l),i.attr("cy",o),i.attr("r",3===n.type?9:10),i.attr("class",`commit ${n.id} commit${L[n.branch].index%8}`),3===e){const e=c.append("circle");e.attr("cx",l),e.attr("cy",o),e.attr("r",6),e.attr("class",`commit ${t} ${n.id} commit${L[n.branch].index%8}`)}1===e&&c.append("path").attr("d",`M ${l-5},${o-5}L${l+5},${o+5}M${l-5},${o+5}L${l+5},${o-5}`).attr("class",`commit ${t} ${n.id} commit${L[n.branch].index%8}`)}}if(M[n.id]={x:a+10,y:o},i){const t=4,e=2;if(4!==n.type&&(n.customId&&3===n.type||3!==n.type)&&r.showCommitLabel){const t=s.append("g"),i=t.insert("rect").attr("class","commit-label-bkg"),c=t.append("text").attr("x",a).attr("y",o+25).attr("class","commit-label").text(n.id);let l=c.node().getBBox();if(i.attr("x",a+10-l.width/2-e).attr("y",o+13.5).attr("width",l.width+2*e).attr("height",l.height+2*e),c.attr("x",a+10-l.width/2),r.rotateCommitLabel){let e=-7.5-(l.width+10)/25*9.5,i=10+l.width/25*8.5;t.attr("transform","translate("+e+", "+i+") rotate(-45, "+a+", "+o+")")}}if(n.tag){const i=s.insert("polygon"),r=s.append("circle"),c=s.append("text").attr("y",o-16).attr("class","tag-label").text(n.tag);let l=c.node().getBBox();c.attr("x",a+10-l.width/2);const h=l.height/2,m=o-19.2;i.attr("class","tag-label-bkg").attr("points",`\n ${a-l.width/2-t/2},${m+e}\n ${a-l.width/2-t/2},${m-e}\n ${a+10-l.width/2-t},${m-h-e}\n ${a+10+l.width/2+t},${m-h-e}\n ${a+10+l.width/2+t},${m+h+e}\n ${a+10-l.width/2-t},${m+h+e}`),r.attr("cx",a-l.width/2+t/2).attr("cy",m).attr("r",1.5).attr("class","tag-hole")}}a+=50,a>O&&(O=a)}))},R=(t,e,i=0)=>{const r=t+Math.abs(t-e)/2;if(i>5)return r;if(I.every((t=>Math.abs(t-r)>=10)))return I.push(r),r;const n=Math.abs(t-e);return R(t,e-n/5,i+1)},S={draw:function(t,e,i,c){L={},M={},T={},O=0,I=[];const a=(0,n.t)(),o=a.gitGraph;r.l.debug("in gitgraph renderer",t+"\n","id:",e,i),T=c.db.getCommits();const l=c.db.getBranchesAsObjArray();let h=0;l.forEach(((t,e)=>{L[t.name]={pos:h,index:e},h+=50+(o.rotateCommitLabel?40:0)}));const m=(0,s.Ys)(`[id="${e}"]`);A(m,T,!1),o.showBranches&&((t,e)=>{const i=(0,n.t)().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const n=e%8,c=L[t.name].pos,s=r.append("line");s.attr("x1",0),s.attr("y1",c),s.attr("x2",O),s.attr("y2",c),s.attr("class","branch branch"+n),I.push(c);const a=(t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let i=[];i="string"==typeof t?t.split(/\\n|\n|/gi):Array.isArray(t)?t:[];for(const t 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"),i.setAttribute("class","row"),i.textContent=t.trim(),e.appendChild(i)}return e})(t.name),o=r.insert("rect"),l=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+n);l.node().appendChild(a);let h=a.getBBox();o.attr("class","branchLabelBkg label"+n).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(!0===i.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===i.rotateCommitLabel?30:0))+", "+(c-h.height/2-1)+")"),o.attr("transform","translate(-19, "+(c-h.height/2)+")")}))})(m,l),((t,e)=>{const i=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const r=e[t];r.parents&&r.parents.length>0&&r.parents.forEach((t=>{((t,e,i,r)=>{const n=M[e.id],c=M[i.id],s=((t,e,i)=>Object.keys(i).filter((r=>i[r].branch===e.branch&&i[r].seq>t.seq&&i[r].seq0)(e,i,r);let a,o="",l="",h=0,m=0,u=L[i.branch].index;if(s){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10,u=L[i.branch].index;const t=n.yc.y&&(o="A 20 20, 0, 0, 0,",h=20,m=20,u=L[e.branch].index,a=`M ${n.x} ${n.y} L ${c.x-h} ${n.y} ${o} ${c.x} ${n.y-m} L ${c.x} ${c.y}`),n.y===c.y&&(u=L[e.branch].index,a=`M ${n.x} ${n.y} L ${n.x} ${c.y-h} ${o} ${n.x+m} ${c.y} L ${c.x} ${c.y}`);t.append("path").attr("d",a).attr("class","arrow arrow"+u%8)})(i,e[t],r,e)}))}))})(m,T),A(m,T,!0),n.u.insertTitle(m,"gitTitleText",o.titleTopMargin,c.db.getDiagramTitle()),(0,n.v)(void 0,m,o.diagramPadding,o.useMaxWidth??a.useMaxWidth)}},C={parser:o,db:E,renderer:S,styles: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`}}}; \ No newline at end of file diff --git a/themes/daux/js/329.mjs b/themes/daux/js/329.mjs new file mode 100644 index 00000000..d0c5b08a --- /dev/null +++ b/themes/daux/js/329.mjs @@ -0,0 +1 @@ +export const id=329;export const ids=[329];export const modules={8734:function(t){t.exports=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 s=this.$utils(),r=(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 s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.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)(r)}}},285:function(t){t.exports=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?/,s=/\d*[^-_:/,()\s\d]+/,r={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=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)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},d=function(t,e){var n,i=r.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},u={A:[s,function(t){this.afternoon=d(t,!1)}],a:[s,function(t){this.afternoon=d(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,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[s,function(t){var e=r.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,o("month")],MM:[n,o("month")],MMM:[s,function(t){var e=l("months"),n=(l("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:[s,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,s;i=n,s=r&&r.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),s=i.year,r=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,d=i.milliseconds,u=i.zone,f=new Date,y=a||(s||r?1:f.getDate()),m=s||f.getFullYear(),k=0;s&&!r||(k=r>0?r-1:f.getMonth());var p=o||0,g=c||0,v=l||0,b=d||0;return u?new Date(Date.UTC(m,k,y,p,g,v,b+60*u.offset*1e3)):n?new Date(Date.UTC(m,k,y,p,g,v,b)):new Date(m,k,y,p,g,v,b)}catch(t){return new Date("")}}(e,o,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&e!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var f=o.length,y=1;y<=f;y+=1){a[1]=o[y-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}y===f&&(this.$d=new Date(""))}else s.call(this,t)}}}()},9542:function(t){var e;t.exports=(e="day",function(t,n,i){var s=function(t){return t.add(4-t.isoWeekday(),e)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,e));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.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"):a.bind(this)(t,e)}})},5329:(t,e,n)=>{n.d(e,{diagram:()=>Q});var i=n(7967),s=n(7484),r=n(9542),a=n(285),o=n(8734),c=n(9360),l=n(7274),d=(n(7856),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,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,33,34,36,43,48],s=[1,32],r=[1,33],a=[1,34],o=[1,35],c=[1,36],l=[1,37],d=[1,38],u=[1,15],h=[1,16],f=[1,17],y=[1,18],m=[1,19],k=[1,20],p=[1,21],g=[1,22],v=[1,24],b=[1,25],x=[1,26],T=[1,27],_=[1,28],w=[1,30],$=[1,39],D=[1,42],S=[5,7,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,33,34,36,43,48],C={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,weekday:12,weekday_monday:13,weekday_tuesday:14,weekday_wednesday:15,weekday_thursday:16,weekday_friday:17,weekday_saturday:18,weekday_sunday:19,dateFormat:20,inclusiveEndDates:21,topAxis:22,axisFormat:23,tickInterval:24,excludes:25,includes:26,todayMarker:27,title:28,acc_title:29,acc_title_value:30,acc_descr:31,acc_descr_value:32,acc_descr_multiline_value:33,section:34,clickStatement:35,taskTxt:36,taskData:37,openDirective:38,typeDirective:39,closeDirective:40,":":41,argDirective:42,click:43,callbackname:44,callbackargs:45,href:46,clickStatementDebug:47,open_directive:48,type_directive:49,arg_directive:50,close_directive:51,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",13:"weekday_monday",14:"weekday_tuesday",15:"weekday_wednesday",16:"weekday_thursday",17:"weekday_friday",18:"weekday_saturday",19:"weekday_sunday",20:"dateFormat",21:"inclusiveEndDates",22:"topAxis",23:"axisFormat",24:"tickInterval",25:"excludes",26:"includes",27:"todayMarker",28:"title",29:"acc_title",30:"acc_title_value",31:"acc_descr",32:"acc_descr_value",33:"acc_descr_multiline_value",34:"section",36:"taskTxt",37:"taskData",41:":",43:"click",44:"callbackname",45:"callbackargs",46:"href",48:"open_directive",49:"type_directive",50:"arg_directive",51:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[12,1],[10,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],[35,2],[35,3],[35,3],[35,4],[35,3],[35,4],[35,2],[47,2],[47,3],[47,3],[47,4],[47,3],[47,4],[47,2],[38,1],[39,1],[42,1],[40,1]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 2:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 9:i.setWeekday("monday");break;case 10:i.setWeekday("tuesday");break;case 11:i.setWeekday("wednesday");break;case 12:i.setWeekday("thursday");break;case 13:i.setWeekday("friday");break;case 14:i.setWeekday("saturday");break;case 15:i.setWeekday("sunday");break;case 16:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 17:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 18:i.TopAxis(),this.$=r[o].substr(8);break;case 19:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 20:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 21:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 22:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 23:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 25:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 26:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 27:case 28:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 29:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 31:i.addTask(r[o-1],r[o]),this.$="task";break;case 35:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 36:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 37:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 38:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 39:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 40:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 41:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 42:case 48:this.$=r[o-1]+" "+r[o];break;case 43:case 44:case 46:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 45:case 47:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o];break;case 49:i.parseDirective("%%{","open_directive");break;case 50:i.parseDirective(r[o],"type_directive");break;case 51:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"arg_directive");break;case 52:i.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,38:4,48:n},{1:[3]},{3:6,4:2,5:e,38:4,48:n},t(i,[2,3],{6:7}),{39:8,49:[1,9]},{49:[2,49]},{1:[2,1]},{4:31,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:23,13:s,14:r,15:a,16:o,17:c,18:l,19:d,20:u,21:h,22:f,23:y,24:m,25:k,26:p,27:g,28:v,29:b,31:x,33:T,34:_,35:29,36:w,38:4,43:$,48:n},{40:40,41:[1,41],51:D},t([41,51],[2,50]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:31,10:43,12:23,13:s,14:r,15:a,16:o,17:c,18:l,19:d,20:u,21:h,22:f,23:y,24:m,25:k,26:p,27:g,28:v,29:b,31:x,33:T,34:_,35:29,36:w,38:4,43:$,48:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),t(i,[2,23]),t(i,[2,24]),t(i,[2,25]),{30:[1,44]},{32:[1,45]},t(i,[2,28]),t(i,[2,29]),t(i,[2,30]),{37:[1,46]},t(i,[2,32]),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]),{44:[1,47],46:[1,48]},{11:[1,49]},{42:50,50:[1,51]},{11:[2,52]},t(i,[2,5]),t(i,[2,26]),t(i,[2,27]),t(i,[2,31]),t(i,[2,35],{45:[1,52],46:[1,53]}),t(i,[2,41],{44:[1,54]}),t(S,[2,33]),{40:55,51:D},{51:[2,51]},t(i,[2,36],{46:[1,56]}),t(i,[2,37]),t(i,[2,39],{45:[1,57]}),{11:[1,58]},t(i,[2,38]),t(i,[2,40]),t(S,[2,34])],defaultActions:{5:[2,49],6:[2,1],42:[2,52],51:[2,51]},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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(u.yy[h]=this.yy[h]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;s.push(f);var y=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,k,p,g,v,b,x,T,_,w={};;){if(k=e[e.length-1],this.defaultActions[k]?p=this.defaultActions[k]:(null==m&&(_=void 0,"number"!=typeof(_=n.pop()||d.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),m=_),p=r[k]&&r[k][m]),void 0===p||!p.length||!p[0]){var $;for(v in T=[],r[k])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError($,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:f,expected:T})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(p[0]){case 1:e.push(m),i.push(d.yytext),s.push(d.yylloc),e.push(p[1]),m=null,c=d.yyleng,a=d.yytext,o=d.yylineno,f=d.yylloc;break;case 2:if(b=this.productions_[p[1]][1],w.$=i[i.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},y&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.apply(w,[a,c,o,u.yy,p[1],i,s].concat(l))))return g;b&&(e=e.slice(0,-1*b*2),i=i.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[p[1]][0]),i.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},E={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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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"),48;case 1:return this.begin("type_directive"),49;case 2:return this.popState(),this.begin("arg_directive"),41;case 3:return this.popState(),this.popState(),51;case 4:return 50;case 5:return this.begin("acc_title"),29;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),31;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 46;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 44;case 27:return 45;case 28:this.begin("click");break;case 30:return 43;case 31:return 5;case 32:return 20;case 33:return 21;case 34:return 22;case 35:return 23;case 36:return 24;case 37:return 26;case 38:return 25;case 39:return 27;case 40:return 13;case 41:return 14;case 42:return 15;case 43:return 16;case 44:return 17;case 45:return 18;case 46:return 19;case 47:return"date";case 48:return 28;case 49:return"accDescription";case 50:return 34;case 51:return 36;case 52:return 37;case 53:return 41;case 54:return 7;case 55: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,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/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,49,50,51,52,53,54,55],inclusive:!0}}};function M(){this.yy={}}return C.lexer=E,M.prototype=C,C.Parser=M,new M}());d.parser=d;const u=d;s.extend(r),s.extend(a),s.extend(o);let h,f="",y="",m="",k=[],p=[],g={},v=[],b=[],x="",T="";const _=["active","done","crit","milestone"];let w=[],$=!1,D=!1,S="sunday",C=0;const E=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())))},M=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]=Y(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},Y=function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=E(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},A=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=N(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();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},L=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},F=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]=L(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()};let I=0;const O=function(t){return void 0===t?(I+=1,"task"+I):t};let W,z,B=[];const P={},N=function(t){const e=P[t];return B[e]},H=function(){const t=function(t){const e=B[t];let n="";switch(B[t].raw.startTime.type){case"prevTaskEnd":{const t=N(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=A(0,f,B[t].raw.startTime.startData),n&&(B[t].startTime=n)}return B[t].startTime&&(B[t].endTime=F(B[t].startTime,f,B[t].raw.endTime.data,$),B[t].endTime&&(B[t].processed=!0,B[t].manualEndTime=s(B[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),M(B[t],f,p,k))),B[t].processed};let e=!0;for(const[n,i]of B.entries())t(n),e=e&&i.processed;return e},j=function(t,e){t.split(",").forEach((function(t){let n=N(t);void 0!==n&&n.classes.push(e)}))},Z=function(t,e){w.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()}))}))},G={parseDirective:function(t,e,n){c.m.parseDirective(this,t,e,n)},getConfig:()=>(0,c.c)().gantt,clear:function(){v=[],b=[],x="",w=[],I=0,W=void 0,z=void 0,B=[],f="",y="",T="",h=void 0,m="",k=[],p=[],$=!1,D=!1,C=0,g={},(0,c.v)(),S="sunday"},setDateFormat:function(t){f=t},getDateFormat:function(){return f},enableInclusiveEndDates:function(){$=!0},endDatesAreInclusive:function(){return $},enableTopAxis:function(){D=!0},topAxisEnabled:function(){return D},setAxisFormat:function(t){y=t},getAxisFormat:function(){return y},setTickInterval:function(t){h=t},getTickInterval:function(){return h},setTodayMarker:function(t){m=t},getTodayMarker:function(){return m},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.r,getDiagramTitle:c.t,setDisplayMode:function(t){T=t},getDisplayMode:function(){return T},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){x=t,v.push(t)},getSections:function(){return v},getTasks:function(){let t=H(),e=0;for(;!t&&e<10;)t=H(),e++;return b=B,b},addTask:function(t,e){const n={section:x,type:x,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};V(i,s,_);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),j(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Nm)(e)),t.split(",").forEach((function(t){void 0!==N(t)&&(Z(t,(()=>{window.open(n,"_self")})),g[t]=n)})),j(t,"clickable")},getLinks:function(){return g},bindFunctions:function(t){w.forEach((function(e){e(t)}))},parseDuration:L,isInvalidDate:E,setWeekday:function(t){S=t},getWeekday:function(){return S}};function V(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}const R={monday:l.Ox9,tuesday:l.YDX,wednesday:l.EFj,thursday:l.Igq,friday:l.y2j,saturday:l.LqH,sunday:l.Zyz},q=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const t of i)for(let i=0;i=n[i]){n[i]=t.endTime,t.order=i+e,i>s&&(s=i);break}return s};let U;const X={setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const r=(0,c.c)().gantt,a=(0,c.c)().securityLevel;let o;"sandbox"===a&&(o=(0,l.Ys)("#i"+e));const d="sandbox"===a?(0,l.Ys)(o.nodes()[0].contentDocument.body):(0,l.Ys)("body"),u="sandbox"===a?o.nodes()[0].contentDocument:document,h=u.getElementById(e);U=h.parentElement.offsetWidth,void 0===U&&(U=1200),void 0!==r.useWidth&&(U=r.useWidth);const f=i.db.getTasks();let y=[];for(const t of f)y.push(t.type);y=function(t){const e={},n=[];for(let i=0,s=t.length;ie.type===t)).length}h.setAttribute("viewBox","0 0 "+U+" "+k);const p=d.select(`[id="${e}"]`),g=(0,l.Xf)().domain([(0,l.VV$)(f,(function(t){return t.startTime})),(0,l.Fp7)(f,(function(t){return t.endTime}))]).rangeRound([0,U-r.leftPadding-r.rightPadding]);f.sort((function(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:nt?Math.min(t,e):e),0),h=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),f=i.db.getDateFormat();if(!u||!h)return;const y=[];let m=null,k=s(u);for(;k.valueOf()<=h;)i.db.isInvalidDate(k,f,l,d)?m?m.end=k:m={start:k,end:k}:m&&(y.push(m),m=null),k=k.add(1,"d");p.append("g").selectAll("rect").data(y).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")}(d,h,f,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,s){let a=(0,l.LLu)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==o){const t=o[1],e=o[2],n=i.db.getWeekday()||r.weekday;switch(e){case"minute":a.ticks(l.Z_i.every(t));break;case"hour":a.ticks(l.WQD.every(t));break;case"day":a.ticks(l.rr1.every(t));break;case"week":a.ticks(R[n].every(t));break;case"month":a.ticks(l.F0B.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(s-50)+")").call(a).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=(0,l.F5q)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1],e=o[2],s=i.db.getWeekday()||r.weekday;switch(e){case"minute":n.ticks(l.Z_i.every(t));break;case"hour":n.ticks(l.WQD.every(t));break;case"day":n.ticks(l.rr1.every(t));break;case"week":n.ticks(R[s].every(t));break;case"month":n.ticks(l.F0B.every(t))}}p.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)}}(f,h,0,a),function(t,n,s,a,o,d,u){const h=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));p.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+s-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of y.entries())if(t.type===n)return"section section"+e%r.numberSectionStyles;return"section section0"}));const f=p.append("g").selectAll("rect").data(t).enter(),m=i.db.getLinks();if(f.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)+a+.5*(g(t.endTime)-g(t.startTime))-.5*o:g(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+s})).attr("width",(function(t){return t.milestone?o:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+s+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of y.entries())t.type===i&&(n=e%r.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.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*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+s})).attr("text-height",o).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let s="";t.classes.length>0&&(s=t.classes.join(" "));let a=0;for(const[e,n]of y.entries())t.type===n&&(a=e%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?s+" taskTextOutsideLeft taskTextOutside"+a+" "+c:s+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:s+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,c.c)().securityLevel){let t;t=(0,l.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return void 0!==m[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",m[t.id]),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}(t,d,h,f,o,0,n),function(t,e){let n=0;const i=Object.keys(m).map((t=>[t,m[t]]));p.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.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(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a`\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`}}}; \ No newline at end of file diff --git a/themes/daux/js/341.mjs b/themes/daux/js/341.mjs deleted file mode 100644 index 9799a487..00000000 --- a/themes/daux/js/341.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=341;export const ids=[341];export const modules={1341:(t,e,i)=>{i.d(e,{D:()=>c,S:()=>u,a:()=>d,b:()=>p,c:()=>h,d:()=>G,e:()=>l,p:()=>a,s:()=>Y});var s=i(3110),n=i(1188),r=i(6848),o=function(){var t=function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},e=[1,2],i=[1,3],s=[1,5],n=[1,7],r=[2,5],o=[1,15],a=[1,17],c=[1,21],l=[1,22],h=[1,23],u=[1,24],d=[1,37],p=[1,25],y=[1,26],f=[1,27],g=[1,28],m=[1,29],_=[1,32],S=[1,33],k=[1,34],T=[1,35],b=[1,36],E=[1,39],v=[1,40],x=[1,41],D=[1,42],C=[1,38],$=[1,45],A=[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],L=[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],I=[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],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],N={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,i,s,n,r,o){var a=r.length-1;switch(n){case 4:return s.setRootDoc(r[a]),r[a];case 5:this.$=[];break;case 6:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 7:case 8:case 12:this.$=r[a];break;case 9:this.$="nl";break;case 13:const t=r[a-1];t.description=s.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=s.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:s.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 30:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 31:case 32:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 35:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 38:s.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:s.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:s.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:s.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""};break;case 50:s.parseDirective("%%{","open_directive");break;case 51:s.parseDirective(r[a],"type_directive");break;case 52:r[a]=r[a].trim().replace(/'/g,'"'),s.parseDirective(r[a],"arg_directive");break;case 53:s.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:i,6:4,7:s,45:6,60:n},{1:[3]},{3:8,4:e,5:i,6:4,7:s,45:6,60:n},{3:9,4:e,5:i,6:4,7:s,45:6,60:n},{3:10,4:e,5:i,6:4,7:s,45:6,60:n},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],r,{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:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},{47:43,48:[1,44],63:$},t([48,63],[2,51]),t(A,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,47],15:[1,48]}),t(A,[2,16]),{18:[1,49]},t(A,[2,18],{20:[1,50]}),{23:[1,51]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(A,[2,28]),t(A,[2,29]),{34:[1,56]},{36:[1,57]},t(A,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(L,[2,44],{57:[1,61]}),t(L,[2,45],{57:[1,62]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(I,[2,36]),{49:63,62:[1,64]},t(I,[2,53]),t(A,[2,7]),t(A,[2,13]),{13:65,24:d,56:C},t(A,[2,17]),t(O,r,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(A,[2,30]),t(A,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:$},{63:[2,52]},t(A,[2,14],{14:[1,76]}),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,77],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(A,[2,33]),t(A,[2,34]),t(A,[2,35]),t(L,[2,46]),t(L,[2,47]),t(I,[2,37]),t(A,[2,15]),t(A,[2,19]),t(O,r,{8:81}),t(A,[2,26]),t(A,[2,27]),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,82],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],s=[null],n=[],r=this.table,o="",a=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;n.push(p);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,m,_,S,k,T,b,E,v={};;){if(g=e[e.length-1],this.defaultActions[g]?m=this.defaultActions[g]:(null==f&&(E=void 0,"number"!=typeof(E=i.pop()||h.lex()||1)&&(E instanceof Array&&(E=(i=E).pop()),E=this.symbols_[E]||E),f=E),m=r[g]&&r[g][f]),void 0===m||!m.length||!m[0]){var x;for(S in b=[],r[g])this.terminals_[S]&&S>2&&b.push("'"+this.terminals_[S]+"'");x=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:b})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:e.push(f),s.push(h.yytext),n.push(h.yylloc),e.push(m[1]),f=null,c=h.yyleng,o=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(k=this.productions_[m[1]][1],v.$=s[s.length-k],v._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},y&&(v._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),void 0!==(_=this.performAction.apply(v,[o,c,a,u.yy,m[1],s,n].concat(l))))return _;k&&(e=e.slice(0,-1*k*2),s=s.slice(0,-1*k),n=n.slice(0,-1*k)),e.push(this.productions_[m[1]][0]),s.push(v.$),n.push(v._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0}},R={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,i=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 s=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[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 i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&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(){return this.next()||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,i,s){switch(i){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,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/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 B(){this.yy={}}return N.lexer=R,B.prototype=N,N.Parser=B,new B}();o.parser=o;const a=o,c="LR",l="TB",h="state",u="relation",d="default",p="divider",y="[*]",f="start",g=y,m="color",_="fill";let S=c,k=[],T={},b={root:{relations:[],states:{},documents:{}}},E=b.root,v=0,x=0;const D=t=>JSON.parse(JSON.stringify(t)),C=(t,e,i)=>{if(e.stmt===u)C(t,e.state1,!0),C(t,e.state2,!1);else if(e.stmt===h&&("[*]"===e.id?(e.id=i?t.id+"_start":t.id+"_end",e.start=i):e.id=e.id.trim()),e.doc){const t=[];let i,s=[];for(i=0;i0&&s.length>0){const i={stmt:h,id:(0,n.y)(),type:"divider",doc:D(s)};t.push(D(i)),e.doc=t}e.doc.forEach((t=>C(e,t,!0)))}},$=function(t,e=d,i=null,n=null,r=null,o=null,a=null,c=null){const l=null==t?void 0:t.trim();void 0===E.states[l]?(s.l.info("Adding state ",l,n),E.states[l]={id:l,descriptions:[],type:e,doc:i,note:r,classes:[],styles:[],textStyles:[]}):(E.states[l].doc||(E.states[l].doc=i),E.states[l].type||(E.states[l].type=e)),n&&(s.l.info("Setting state description",l,n),"string"==typeof n&&R(l,n.trim()),"object"==typeof n&&n.forEach((t=>R(l,t.trim())))),r&&(E.states[l].note=r,E.states[l].note.text=s.e.sanitizeText(E.states[l].note.text,(0,s.g)())),o&&(s.l.info("Setting state classes",l,o),("string"==typeof o?[o]:o).forEach((t=>w(l,t.trim())))),a&&(s.l.info("Setting state styles",l,a),("string"==typeof a?[a]:a).forEach((t=>P(l,t.trim())))),c&&(s.l.info("Setting state styles",l,a),("string"==typeof c?[c]:c).forEach((t=>F(l,t.trim()))))},A=function(t){b={root:{relations:[],states:{},documents:{}}},E=b.root,v=0,T={},t||(0,s.y)()},L=function(t){return E.states[t]};function I(t=""){let e=t;return t===y&&(v++,e=`${f}${v}`),e}function O(t="",e=d){return t===y?f:e}const N=function(t,e,i){if("object"==typeof t)!function(t,e,i){let n=I(t.id.trim()),r=O(t.id.trim(),t.type),o=I(e.id.trim()),a=O(e.id.trim(),e.type);$(n,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),$(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),E.relations.push({id1:n,id2:o,relationTitle:s.e.sanitizeText(i,(0,s.g)())})}(t,e,i);else{const n=I(t.trim()),r=O(t),o=function(t=""){let e=t;return t===g&&(v++,e=`end${v}`),e}(e.trim()),a=function(t="",e=d){return t===g?"end":e}(e);$(n,r),$(o,a),E.relations.push({id1:n,id2:o,title:s.e.sanitizeText(i,(0,s.g)())})}},R=function(t,e){const i=E.states[t],n=e.startsWith(":")?e.replace(":","").trim():e;i.descriptions.push(s.e.sanitizeText(n,(0,s.g)()))},B=function(t,e=""){void 0===T[t]&&(T[t]={id:t,styles:[],textStyles:[]});const i=T[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(m)){const t=e.replace(_,"bgFill").replace(m,_);i.textStyles.push(t)}i.styles.push(e)}))},w=function(t,e){t.split(",").forEach((function(t){let i=L(t);if(void 0===i){const e=t.trim();$(e),i=L(e)}i.classes.push(e)}))},P=function(t,e){const i=L(t);void 0!==i&&i.textStyles.push(e)},F=function(t,e){const i=L(t);void 0!==i&&i.textStyles.push(e)},G={parseDirective:function(t,e,i){r.m.parseDirective(this,t,e,i)},getConfig:()=>(0,s.g)().state,addState:$,clear:A,getState:L,getStates:function(){return E.states},getRelations:function(){return E.relations},getClasses:function(){return T},getDirection:()=>S,addRelation:N,getDividerId:()=>(x++,"divider-id-"+x),setDirection:t=>{S=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(){s.l.info("Documents = ",b)},getRootDoc:()=>k,setRootDoc:t=>{s.l.info("Setting root doc",t),k=t},getRootDocV2:()=>(C({id:"root"},{id:"root",doc:k},!0),{id:"root",doc:k}),extract:t=>{let e;e=t.doc?t.doc:t,s.l.info(e),A(!0),s.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case h:$(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case u:N(t.state1,t.state2,t.description);break;case"classDef":B(t.id.trim(),t.classes);break;case"applyClass":w(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:s.p,setAccTitle:s.o,getAccDescription:s.q,setAccDescription:s.v,addStyleClass:B,setCssClass:w,addDescription:R,setDiagramTitle:s.w,getDiagramTitle:s.x},Y=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`}}; \ No newline at end of file diff --git a/themes/daux/js/350.mjs b/themes/daux/js/350.mjs new file mode 100644 index 00000000..75e22e33 --- /dev/null +++ b/themes/daux/js/350.mjs @@ -0,0 +1 @@ +export const id=350;export const ids=[350];export const modules={5350:(e,t,s)=>{s.d(t,{diagram:()=>C});var o=s(8900),i=s(5625),r=s(7274),a=s(9360),n=s(2724);s(7484),s(7967),s(7856),s(9451),s(9368);const d="rect",l="rectWithTitle",c="statediagram",p=`${c}-state`,g="transition",b=`${g} note-edge`,h=`${c}-note`,y=`${c}-cluster`,u=`${c}-cluster-alt`,f="parent",x="note",w="----",m=`${w}${x}`,$=`${w}${f}`,T="fill:none",S="fill: #333",D="text",A="normal";let k={},v=0;function B(e="",t=0,s="",o=w){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const E=(e,t,s,i,r,n)=>{const c=s.id,g=null==(w=i[c])?"":w.classes?w.classes.join(" "):"";var w;if("root"!==c){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.D&&(t=s.type),k[c]||(k[c]={id:c,shape:t,description:a.e.sanitizeText(c,(0,a.c)()),classes:`${g} ${p}`});const i=k[c];s.description&&(Array.isArray(i.description)?(i.shape=l,i.description.push(s.description)):i.description.length>0?(i.shape=l,i.description===c?i.description=[s.description]:i.description=[i.description,s.description]):(i.shape=d,i.description=s.description),i.description=a.e.sanitizeTextOrArray(i.description,(0,a.c)())),1===i.description.length&&i.shape===l&&(i.shape=d),!i.type&&s.doc&&(a.l.info("Setting cluster for ",c,V(s)),i.type="group",i.dir=V(s),i.shape=s.type===o.a?"divider":"roundedWithTitle",i.classes=i.classes+" "+y+" "+(n?u:""));const r={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:c,dir:i.dir,domId:B(c,v),type:i.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:c+m+"-"+v,domId:B(c,v,x),type:i.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:i.classes,style:"",id:c+$,domId:B(c,v,f),type:"group",padding:0};v++;const a=c+$;e.setNode(a,o),e.setNode(t.id,t),e.setNode(c,r),e.setParent(c,a),e.setParent(t.id,a);let n=c,d=t.id;"left of"===s.note.position&&(n=t.id,d=c),e.setEdge(n,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:b,arrowheadStyle:S,labelpos:"c",labelType:D,thickness:A})}else e.setNode(c,r)}t&&"root"!==t.id&&(a.l.trace("Setting node ",c," to be child of its parent ",t.id),e.setParent(c,t.id)),s.doc&&(a.l.trace("Adding nodes children "),R(e,s,s.doc,i,r,!n))},R=(e,t,s,i,r,n)=>{a.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.b:case o.D:E(e,t,s,i,r,n);break;case o.S:{E(e,t,s.state1,i,r,n),E(e,t,s.state2,i,r,n);const o={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:a.e.sanitizeText(s.description,(0,a.c)()),arrowheadStyle:S,labelpos:"c",labelType:D,thickness:A,classes:g};e.setEdge(s.state1.id,s.state2.id,o,v),v++}}}))},V=(e,t=o.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/384.mjs b/themes/daux/js/384.mjs new file mode 100644 index 00000000..0294cacb --- /dev/null +++ b/themes/daux/js/384.mjs @@ -0,0 +1 @@ +export const id=384;export const ids=[384];export const modules={5384:(t,e,s)=>{s.d(e,{d:()=>ut,f:()=>st,p:()=>n});var u=s(7274),i=s(9360),r=function(){var t=function(t,e,s,u){for(s=s||{},u=t.length;u--;s[t[u]]=e);return s},e=[1,9],s=[1,7],u=[1,6],i=[1,8],r=[1,20,21,22,23,38,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],n=[2,10],a=[1,20],c=[1,21],o=[1,22],l=[1,23],h=[1,30],A=[1,32],d=[1,33],p=[1,34],y=[1,56],E=[1,55],f=[1,36],D=[1,37],k=[1,38],g=[1,39],b=[1,40],_=[1,51],F=[1,53],T=[1,49],C=[1,54],S=[1,50],B=[1,57],m=[1,52],v=[1,58],x=[1,59],L=[1,41],I=[1,42],R=[1,43],N=[1,44],$=[1,62],O=[1,67],P=[1,20,21,22,23,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],w=[1,71],U=[1,70],V=[1,72],G=[20,21,23,84,86],M=[1,98],Y=[1,103],K=[1,102],j=[1,99],X=[1,95],z=[1,101],H=[1,97],W=[1,104],Q=[1,100],q=[1,105],Z=[1,96],J=[20,21,22,23,84,86],tt=[20,21,22,23,55,84,86],et=[20,21,22,23,40,53,55,57,59,61,63,65,67,69,72,74,76,77,79,84,86,97,110,113,114,117,119,122,123,124],st=[20,21,23],ut=[20,21,23,53,69,84,86,97,110,113,114,117,119,122,123,124],it=[1,12,20,21,22,23,24,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],rt=[53,69,97,110,113,114,117,119,122,123,124],nt=[1,134],at=[1,133],ct=[1,141],ot=[1,155],lt=[1,156],ht=[1,157],At=[1,158],dt=[1,143],pt=[1,145],yt=[1,149],Et=[1,150],ft=[1,151],Dt=[1,152],kt=[1,153],gt=[1,154],bt=[1,159],_t=[1,160],Ft=[1,139],Tt=[1,140],Ct=[1,147],St=[1,142],Bt=[1,146],mt=[1,144],vt=[20,21,22,23,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],xt=[1,162],Lt=[20,21,22,23,26,53,69,97,113,114,117,119,122,123,124],It=[1,182],Rt=[1,178],Nt=[1,179],$t=[1,183],Ot=[1,180],Pt=[1,181],wt=[12,21,22,24],Ut=[86,124,127],Vt=[20,21,22,23,24,26,38,40,43,53,69,84,92,93,94,95,96,97,98,113,117,119,122,123,124],Gt=[22,114],Mt=[42,58,60,62,64,66,71,73,75,76,78,80,124,125,126],Yt=[1,250],Kt=[1,248],jt=[1,252],Xt=[1,246],zt=[1,247],Ht=[1,249],Wt=[1,251],Qt=[1,253],qt=[1,270],Zt=[20,21,23,114],Jt=[20,21,22,23,69,92,113,114,117,118,119,120],te={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,textNoTags:39,SQS:40,text:41,SQE:42,end:43,direction:44,acc_title:45,acc_title_value:46,acc_descr:47,acc_descr_value:48,acc_descr_multiline_value:49,link:50,node:51,styledVertex:52,AMP:53,vertex:54,STYLE_SEPARATOR:55,idString:56,DOUBLECIRCLESTART:57,DOUBLECIRCLEEND:58,PS:59,PE:60,"(-":61,"-)":62,STADIUMSTART:63,STADIUMEND:64,SUBROUTINESTART:65,SUBROUTINEEND:66,VERTEX_WITH_PROPS_START:67,"NODE_STRING[field]":68,COLON:69,"NODE_STRING[value]":70,PIPE:71,CYLINDERSTART:72,CYLINDEREND:73,DIAMOND_START:74,DIAMOND_STOP:75,TAGEND:76,TRAPSTART:77,TRAPEND:78,INVTRAPSTART:79,INVTRAPEND:80,linkStatement:81,arrowText:82,TESTSTR:83,START_LINK:84,edgeText:85,LINK:86,edgeTextToken:87,STR:88,MD_STR:89,textToken:90,keywords:91,STYLE:92,LINKSTYLE:93,CLASSDEF:94,CLASS:95,CLICK:96,DOWN:97,UP:98,textNoTagsToken:99,stylesOpt:100,"idString[vertex]":101,"idString[class]":102,CALLBACKNAME:103,CALLBACKARGS:104,HREF:105,LINK_TARGET:106,"STR[link]":107,"STR[tooltip]":108,alphaNum:109,DEFAULT:110,numList:111,INTERPOLATE:112,NUM:113,COMMA:114,style:115,styleComponent:116,NODE_STRING:117,UNIT:118,BRKT:119,PCT:120,idStringToken:121,MINUS:122,MULT:123,UNICODE_TEXT:124,TEXT:125,TAGSTART:126,EDGE_TEXT:127,alphaNumToken:128,direction_tb:129,direction_bt:130,direction_rl:131,direction_lr:132,$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",42:"SQE",43:"end",45:"acc_title",46:"acc_title_value",47:"acc_descr",48:"acc_descr_value",49:"acc_descr_multiline_value",53:"AMP",55:"STYLE_SEPARATOR",57:"DOUBLECIRCLESTART",58:"DOUBLECIRCLEEND",59:"PS",60:"PE",61:"(-",62:"-)",63:"STADIUMSTART",64:"STADIUMEND",65:"SUBROUTINESTART",66:"SUBROUTINEEND",67:"VERTEX_WITH_PROPS_START",68:"NODE_STRING[field]",69:"COLON",70:"NODE_STRING[value]",71:"PIPE",72:"CYLINDERSTART",73:"CYLINDEREND",74:"DIAMOND_START",75:"DIAMOND_STOP",76:"TAGEND",77:"TRAPSTART",78:"TRAPEND",79:"INVTRAPSTART",80:"INVTRAPEND",83:"TESTSTR",84:"START_LINK",86:"LINK",88:"STR",89:"MD_STR",92:"STYLE",93:"LINKSTYLE",94:"CLASSDEF",95:"CLASS",96:"CLICK",97:"DOWN",98:"UP",101:"idString[vertex]",102:"idString[class]",103:"CALLBACKNAME",104:"CALLBACKARGS",105:"HREF",106:"LINK_TARGET",107:"STR[link]",108:"STR[tooltip]",110:"DEFAULT",112:"INTERPOLATE",113:"NUM",114:"COMMA",117:"NODE_STRING",118:"UNIT",119:"BRKT",120:"PCT",122:"MINUS",123:"MULT",124:"UNICODE_TEXT",125:"TEXT",126:"TAGSTART",127:"EDGE_TEXT",129:"direction_tb",130:"direction_bt",131:"direction_rl",132:"direction_lr"},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],[51,1],[51,5],[52,1],[52,3],[54,4],[54,4],[54,6],[54,4],[54,4],[54,4],[54,8],[54,4],[54,4],[54,4],[54,6],[54,4],[54,4],[54,4],[54,4],[54,4],[54,1],[50,2],[50,3],[50,3],[50,1],[50,3],[85,1],[85,2],[85,1],[85,1],[81,1],[82,3],[41,1],[41,2],[41,1],[41,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[39,1],[39,2],[39,1],[39,1],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,3],[37,5],[37,5],[37,7],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[111,1],[111,3],[100,1],[100,3],[115,1],[115,2],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[90,1],[90,1],[90,1],[90,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[87,1],[87,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[56,1],[56,2],[109,1],[109,2],[44,1],[44,1],[44,1],[44,1]],performAction:function(t,e,s,u,i,r,n){var a=r.length-1;switch(i){case 5:u.parseDirective("%%{","open_directive");break;case 6:u.parseDirective(r[a],"type_directive");break;case 7:r[a]=r[a].trim().replace(/'/g,'"'),u.parseDirective(r[a],"arg_directive");break;case 8:u.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(r[a])||r[a].length>0)&&r[a-1].push(r[a]),this.$=r[a-1];break;case 12:case 184:case 57:case 79:case 182:this.$=r[a];break;case 19:u.setDirection("TB"),this.$="TB";break;case 20:u.setDirection(r[a-1]),this.$=r[a-1];break;case 35:this.$=r[a-1].nodes;break;case 41:this.$=u.addSubGraph(r[a-6],r[a-1],r[a-4]);break;case 42:this.$=u.addSubGraph(r[a-3],r[a-1],r[a-3]);break;case 43:this.$=u.addSubGraph(void 0,r[a-1],void 0);break;case 45:this.$=r[a].trim(),u.setAccTitle(this.$);break;case 46:case 47:this.$=r[a].trim(),u.setAccDescription(this.$);break;case 51:u.addLink(r[a-2].stmt,r[a],r[a-1]),this.$={stmt:r[a],nodes:r[a].concat(r[a-2].nodes)};break;case 52:u.addLink(r[a-3].stmt,r[a-1],r[a-2]),this.$={stmt:r[a-1],nodes:r[a-1].concat(r[a-3].nodes)};break;case 53:this.$={stmt:r[a-1],nodes:r[a-1]};break;case 54:this.$={stmt:r[a],nodes:r[a]};break;case 55:case 129:case 131:this.$=[r[a]];break;case 56:this.$=r[a-4].concat(r[a]);break;case 58:this.$=r[a-2],u.setClass(r[a-2],r[a]);break;case 59:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"square");break;case 60:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"doublecircle");break;case 61:this.$=r[a-5],u.addVertex(r[a-5],r[a-2],"circle");break;case 62:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"ellipse");break;case 63:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"stadium");break;case 64:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"subroutine");break;case 65:this.$=r[a-7],u.addVertex(r[a-7],r[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[r[a-5],r[a-3]]]));break;case 66:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"cylinder");break;case 67:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"round");break;case 68:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"diamond");break;case 69:this.$=r[a-5],u.addVertex(r[a-5],r[a-2],"hexagon");break;case 70:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"odd");break;case 71:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"trapezoid");break;case 72:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"inv_trapezoid");break;case 73:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"lean_right");break;case 74:this.$=r[a-3],u.addVertex(r[a-3],r[a-1],"lean_left");break;case 75:this.$=r[a],u.addVertex(r[a]);break;case 76:r[a-1].text=r[a],this.$=r[a-1];break;case 77:case 78:r[a-2].text=r[a-1],this.$=r[a-2];break;case 80:var c=u.destructLink(r[a],r[a-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:r[a-1]};break;case 81:case 87:case 102:case 104:this.$={text:r[a],type:"text"};break;case 82:case 88:case 103:this.$={text:r[a-1].text+""+r[a],type:r[a-1].type};break;case 83:case 89:this.$={text:r[a],type:"string"};break;case 84:case 90:case 105:this.$={text:r[a],type:"markdown"};break;case 85:c=u.destructLink(r[a]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 86:this.$=r[a-1];break;case 106:this.$=r[a-4],u.addClass(r[a-2],r[a]);break;case 107:this.$=r[a-4],u.setClass(r[a-2],r[a]);break;case 108:case 116:this.$=r[a-1],u.setClickEvent(r[a-1],r[a]);break;case 109:case 117:this.$=r[a-3],u.setClickEvent(r[a-3],r[a-2]),u.setTooltip(r[a-3],r[a]);break;case 110:this.$=r[a-2],u.setClickEvent(r[a-2],r[a-1],r[a]);break;case 111:this.$=r[a-4],u.setClickEvent(r[a-4],r[a-3],r[a-2]),u.setTooltip(r[a-4],r[a]);break;case 112:this.$=r[a-2],u.setLink(r[a-2],r[a]);break;case 113:this.$=r[a-4],u.setLink(r[a-4],r[a-2]),u.setTooltip(r[a-4],r[a]);break;case 114:this.$=r[a-4],u.setLink(r[a-4],r[a-2],r[a]);break;case 115:this.$=r[a-6],u.setLink(r[a-6],r[a-4],r[a]),u.setTooltip(r[a-6],r[a-2]);break;case 118:this.$=r[a-1],u.setLink(r[a-1],r[a]);break;case 119:this.$=r[a-3],u.setLink(r[a-3],r[a-2]),u.setTooltip(r[a-3],r[a]);break;case 120:this.$=r[a-3],u.setLink(r[a-3],r[a-2],r[a]);break;case 121:this.$=r[a-5],u.setLink(r[a-5],r[a-4],r[a]),u.setTooltip(r[a-5],r[a-2]);break;case 122:this.$=r[a-4],u.addVertex(r[a-2],void 0,void 0,r[a]);break;case 123:this.$=r[a-4],u.updateLink([r[a-2]],r[a]);break;case 124:this.$=r[a-4],u.updateLink(r[a-2],r[a]);break;case 125:this.$=r[a-8],u.updateLinkInterpolate([r[a-6]],r[a-2]),u.updateLink([r[a-6]],r[a]);break;case 126:this.$=r[a-8],u.updateLinkInterpolate(r[a-6],r[a-2]),u.updateLink(r[a-6],r[a]);break;case 127:this.$=r[a-6],u.updateLinkInterpolate([r[a-4]],r[a]);break;case 128:this.$=r[a-6],u.updateLinkInterpolate(r[a-4],r[a]);break;case 130:case 132:r[a-2].push(r[a]),this.$=r[a-2];break;case 134:this.$=r[a-1]+r[a];break;case 183:case 185:this.$=r[a-1]+""+r[a];break;case 186:this.$={stmt:"dir",value:"TB"};break;case 187:this.$={stmt:"dir",value:"BT"};break;case 188:this.$={stmt:"dir",value:"RL"};break;case 189:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:s,22:u,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:s,22:u,24:i},t(r,n,{17:11}),{7:12,13:[1,13]},{16:14,21:s,22:u,24:i},{16:15,21:s,22:u,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:a,21:c,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,44:31,45:A,47:d,49:p,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:k,95:g,96:b,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{8:60,10:[1,61],15:$},t([10,15],[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),{20:[1,64],21:[1,65],22:O,27:63,30:66},t(P,[2,11]),t(P,[2,12]),t(P,[2,13]),t(P,[2,14]),t(P,[2,15]),t(P,[2,16]),{9:68,20:w,21:U,23:V,50:69,81:73,84:[1,74],86:[1,75]},{9:76,20:w,21:U,23:V},{9:77,20:w,21:U,23:V},{9:78,20:w,21:U,23:V},{9:79,20:w,21:U,23:V},{9:80,20:w,21:U,23:V},{9:82,20:w,21:U,22:[1,81],23:V},t(P,[2,44]),{46:[1,83]},{48:[1,84]},t(P,[2,47]),t(G,[2,54],{30:85,22:O}),{22:[1,86]},{22:[1,87]},{22:[1,88]},{22:[1,89]},{26:M,53:Y,69:K,88:[1,93],97:j,103:[1,90],105:[1,91],109:92,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},t(P,[2,186]),t(P,[2,187]),t(P,[2,188]),t(P,[2,189]),t(J,[2,55]),t(J,[2,57],{55:[1,106]}),t(tt,[2,75],{121:119,40:[1,107],53:y,57:[1,108],59:[1,109],61:[1,110],63:[1,111],65:[1,112],67:[1,113],69:E,72:[1,114],74:[1,115],76:[1,116],77:[1,117],79:[1,118],97:_,110:F,113:T,114:C,117:S,119:B,122:m,123:v,124:x}),t(et,[2,182]),t(et,[2,143]),t(et,[2,144]),t(et,[2,145]),t(et,[2,146]),t(et,[2,147]),t(et,[2,148]),t(et,[2,149]),t(et,[2,150]),t(et,[2,151]),t(et,[2,152]),t(et,[2,153]),{9:120,20:w,21:U,23:V},{11:121,14:[1,122]},t(st,[2,8]),t(r,[2,20]),t(r,[2,26]),t(r,[2,27]),{21:[1,123]},t(ut,[2,34],{30:124,22:O}),t(P,[2,35]),{51:125,52:45,53:y,54:46,56:47,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},t(it,[2,48]),t(it,[2,49]),t(it,[2,50]),t(rt,[2,79],{82:126,71:[1,128],83:[1,127]}),{85:129,87:130,88:[1,131],89:[1,132],124:nt,127:at},t([53,69,71,83,97,110,113,114,117,119,122,123,124],[2,85]),t(P,[2,36]),t(P,[2,37]),t(P,[2,38]),t(P,[2,39]),t(P,[2,40]),{22:ct,24:ot,26:lt,38:ht,39:135,43:At,53:dt,69:pt,84:yt,88:[1,137],89:[1,138],91:148,92:Et,93:ft,94:Dt,95:kt,96:gt,97:bt,98:_t,99:136,113:Ft,117:Tt,119:Ct,122:St,123:Bt,124:mt},t(vt,n,{17:161}),t(P,[2,45]),t(P,[2,46]),t(G,[2,53],{53:xt}),{53:y,56:163,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},{110:[1,164],111:165,113:[1,166]},{53:y,56:167,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},{53:y,56:168,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},t(st,[2,108],{22:[1,169],104:[1,170]}),{88:[1,171]},t(st,[2,116],{128:173,22:[1,172],26:M,53:Y,69:K,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(st,[2,118],{22:[1,174]}),t(Lt,[2,184]),t(Lt,[2,171]),t(Lt,[2,172]),t(Lt,[2,173]),t(Lt,[2,174]),t(Lt,[2,175]),t(Lt,[2,176]),t(Lt,[2,177]),t(Lt,[2,178]),t(Lt,[2,179]),t(Lt,[2,180]),t(Lt,[2,181]),{53:y,56:175,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},{41:176,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:184,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:186,59:[1,185],76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:187,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:188,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:189,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{117:[1,190]},{41:191,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:192,74:[1,193],76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:194,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:195,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{41:196,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},t(et,[2,183]),t(wt,[2,3]),{8:197,15:$},{15:[2,7]},t(r,[2,28]),t(ut,[2,33]),t(G,[2,51],{30:198,22:O}),t(rt,[2,76],{22:[1,199]}),{22:[1,200]},{41:201,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{86:[1,202],87:203,124:nt,127:at},t(Ut,[2,81]),t(Ut,[2,83]),t(Ut,[2,84]),t(Ut,[2,169]),t(Ut,[2,170]),{9:205,20:w,21:U,22:ct,23:V,24:ot,26:lt,38:ht,40:[1,204],43:At,53:dt,69:pt,84:yt,91:148,92:Et,93:ft,94:Dt,95:kt,96:gt,97:bt,98:_t,99:206,113:Ft,117:Tt,119:Ct,122:St,123:Bt,124:mt},t(Vt,[2,102]),t(Vt,[2,104]),t(Vt,[2,105]),t(Vt,[2,158]),t(Vt,[2,159]),t(Vt,[2,160]),t(Vt,[2,161]),t(Vt,[2,162]),t(Vt,[2,163]),t(Vt,[2,164]),t(Vt,[2,165]),t(Vt,[2,166]),t(Vt,[2,167]),t(Vt,[2,168]),t(Vt,[2,91]),t(Vt,[2,92]),t(Vt,[2,93]),t(Vt,[2,94]),t(Vt,[2,95]),t(Vt,[2,96]),t(Vt,[2,97]),t(Vt,[2,98]),t(Vt,[2,99]),t(Vt,[2,100]),t(Vt,[2,101]),{18:18,19:19,20:a,21:c,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,207],44:31,45:A,47:d,49:p,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:k,95:g,96:b,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{22:O,30:208},{22:[1,209],53:y,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:119,122:m,123:v,124:x},{22:[1,210]},{22:[1,211],114:[1,212]},t(Gt,[2,129]),{22:[1,213],53:y,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:119,122:m,123:v,124:x},{22:[1,214],53:y,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:119,122:m,123:v,124:x},{88:[1,215]},t(st,[2,110],{22:[1,216]}),t(st,[2,112],{22:[1,217]}),{88:[1,218]},t(Lt,[2,185]),{88:[1,219],106:[1,220]},t(J,[2,58],{121:119,53:y,69:E,97:_,110:F,113:T,114:C,117:S,119:B,122:m,123:v,124:x}),{42:[1,221],76:It,90:222,124:$t,125:Ot,126:Pt},t(Mt,[2,87]),t(Mt,[2,89]),t(Mt,[2,90]),t(Mt,[2,154]),t(Mt,[2,155]),t(Mt,[2,156]),t(Mt,[2,157]),{58:[1,223],76:It,90:222,124:$t,125:Ot,126:Pt},{41:224,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{60:[1,225],76:It,90:222,124:$t,125:Ot,126:Pt},{62:[1,226],76:It,90:222,124:$t,125:Ot,126:Pt},{64:[1,227],76:It,90:222,124:$t,125:Ot,126:Pt},{66:[1,228],76:It,90:222,124:$t,125:Ot,126:Pt},{69:[1,229]},{73:[1,230],76:It,90:222,124:$t,125:Ot,126:Pt},{75:[1,231],76:It,90:222,124:$t,125:Ot,126:Pt},{41:232,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},{42:[1,233],76:It,90:222,124:$t,125:Ot,126:Pt},{76:It,78:[1,234],80:[1,235],90:222,124:$t,125:Ot,126:Pt},{76:It,78:[1,237],80:[1,236],90:222,124:$t,125:Ot,126:Pt},{9:238,20:w,21:U,23:V},t(G,[2,52],{53:xt}),t(rt,[2,78]),t(rt,[2,77]),{71:[1,239],76:It,90:222,124:$t,125:Ot,126:Pt},t(rt,[2,80]),t(Ut,[2,82]),{41:240,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},t(vt,n,{17:241}),t(Vt,[2,103]),t(P,[2,43]),{52:242,53:y,54:46,56:47,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},{22:Yt,69:Kt,92:jt,100:243,113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},{22:Yt,69:Kt,92:jt,100:254,112:[1,255],113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},{22:Yt,69:Kt,92:jt,100:256,112:[1,257],113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},{113:[1,258]},{22:Yt,69:Kt,92:jt,100:259,113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},{53:y,56:260,69:E,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x},t(st,[2,109]),{88:[1,261]},{88:[1,262],106:[1,263]},t(st,[2,117]),t(st,[2,119],{22:[1,264]}),t(st,[2,120]),t(tt,[2,59]),t(Mt,[2,88]),t(tt,[2,60]),{60:[1,265],76:It,90:222,124:$t,125:Ot,126:Pt},t(tt,[2,67]),t(tt,[2,62]),t(tt,[2,63]),t(tt,[2,64]),{117:[1,266]},t(tt,[2,66]),t(tt,[2,68]),{75:[1,267],76:It,90:222,124:$t,125:Ot,126:Pt},t(tt,[2,70]),t(tt,[2,71]),t(tt,[2,73]),t(tt,[2,72]),t(tt,[2,74]),t(wt,[2,4]),t([22,53,69,97,110,113,114,117,119,122,123,124],[2,86]),{42:[1,268],76:It,90:222,124:$t,125:Ot,126:Pt},{18:18,19:19,20:a,21:c,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,269],44:31,45:A,47:d,49:p,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:k,95:g,96:b,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},t(J,[2,56]),t(st,[2,122],{114:qt}),t(Zt,[2,131],{116:271,22:Yt,69:Kt,92:jt,113:Xt,117:zt,118:Ht,119:Wt,120:Qt}),t(Jt,[2,133]),t(Jt,[2,135]),t(Jt,[2,136]),t(Jt,[2,137]),t(Jt,[2,138]),t(Jt,[2,139]),t(Jt,[2,140]),t(Jt,[2,141]),t(Jt,[2,142]),t(st,[2,123],{114:qt}),{22:[1,272]},t(st,[2,124],{114:qt}),{22:[1,273]},t(Gt,[2,130]),t(st,[2,106],{114:qt}),t(st,[2,107],{121:119,53:y,69:E,97:_,110:F,113:T,114:C,117:S,119:B,122:m,123:v,124:x}),t(st,[2,111]),t(st,[2,113],{22:[1,274]}),t(st,[2,114]),{106:[1,275]},{60:[1,276]},{71:[1,277]},{75:[1,278]},{9:279,20:w,21:U,23:V},t(P,[2,42]),{22:Yt,69:Kt,92:jt,113:Xt,115:280,116:245,117:zt,118:Ht,119:Wt,120:Qt},t(Jt,[2,134]),{26:M,53:Y,69:K,97:j,109:281,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},{26:M,53:Y,69:K,97:j,109:282,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},{106:[1,283]},t(st,[2,121]),t(tt,[2,61]),{41:284,76:It,88:Rt,89:Nt,90:177,124:$t,125:Ot,126:Pt},t(tt,[2,69]),t(vt,n,{17:285}),t(Zt,[2,132],{116:271,22:Yt,69:Kt,92:jt,113:Xt,117:zt,118:Ht,119:Wt,120:Qt}),t(st,[2,127],{128:173,22:[1,286],26:M,53:Y,69:K,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(st,[2,128],{128:173,22:[1,287],26:M,53:Y,69:K,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(st,[2,115]),{42:[1,288],76:It,90:222,124:$t,125:Ot,126:Pt},{18:18,19:19,20:a,21:c,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,289],44:31,45:A,47:d,49:p,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:k,95:g,96:b,97:_,110:F,113:T,114:C,117:S,119:B,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{22:Yt,69:Kt,92:jt,100:290,113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},{22:Yt,69:Kt,92:jt,100:291,113:Xt,115:244,116:245,117:zt,118:Ht,119:Wt,120:Qt},t(tt,[2,65]),t(P,[2,41]),t(st,[2,125],{114:qt}),t(st,[2,126],{114:qt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],122:[2,7]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],u=[null],i=[],r=this.table,n="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;i.push(d);var p=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,f,D,k,g,b,_,F,T={};;){if(E=e[e.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==y&&(F=void 0,"number"!=typeof(F=s.pop()||l.lex()||1)&&(F instanceof Array&&(F=(s=F).pop()),F=this.symbols_[F]||F),y=F),f=r[E]&&r[E][y]),void 0===f||!f.length||!f[0]){var C;for(k in _=[],r[E])this.terminals_[k]&&k>2&&_.push("'"+this.terminals_[k]+"'");C=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(C,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:d,expected:_})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(f[0]){case 1:e.push(y),u.push(l.yytext),i.push(l.yylloc),e.push(f[1]),y=null,c=l.yyleng,n=l.yytext,a=l.yylineno,d=l.yylloc;break;case 2:if(g=this.productions_[f[1]][1],T.$=u[u.length-g],T._$={first_line:i[i.length-(g||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(g||1)].first_column,last_column:i[i.length-1].last_column},p&&(T._$.range=[i[i.length-(g||1)].range[0],i[i.length-1].range[1]]),void 0!==(D=this.performAction.apply(T,[n,c,a,h.yy,f[1],u,i].concat(o))))return D;g&&(e=e.slice(0,-1*g*2),u=u.slice(0,-1*g),i=i.slice(0,-1*g)),e.push(this.productions_[f[1]][0]),u.push(T.$),i.push(T._$),b=r[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},ee={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,s=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 u=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),s.length-1&&(this.yylineno-=s.length-1);var i=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:s?(s.length===u.length?this.yylloc.first_column:0)+u[u.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[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 s,u,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(u=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.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],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;re[0].length)){if(e=s,u=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[u]))&&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(){return this.next()||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,s,u){switch(s){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:return this.begin("acc_title"),45;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),47;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 13:case 16:case 19:case 22:case 32:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("callbackname");break;case 14:this.popState(),this.begin("callbackargs");break;case 15:return 103;case 17:return 104;case 18:return"MD_STR";case 20:this.begin("md_string");break;case 21:return"STR";case 23:this.pushState("string");break;case 24:return 92;case 25:return 110;case 26:return 93;case 27:return 112;case 28:return 94;case 29:return 95;case 30:return 105;case 31:this.begin("click");break;case 33:return 96;case 34:case 35:case 36:return t.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 43;case 39:case 40:case 41:case 42:return 106;case 43:return this.popState(),25;case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:return this.popState(),26;case 54:return 129;case 55:return 130;case 56:return 131;case 57:return 132;case 58:return 113;case 59:case 100:return 119;case 60:return 55;case 61:return 69;case 62:case 101:return 53;case 63:return 20;case 64:return 114;case 65:case 99:return 123;case 66:case 69:case 72:return this.popState(),86;case 67:return this.pushState("edgeText"),84;case 68:case 71:case 74:return 127;case 70:return this.pushState("thickEdgeText"),84;case 73:return this.pushState("dottedEdgeText"),84;case 75:return 86;case 76:return this.popState(),62;case 77:case 113:return"TEXT";case 78:return this.pushState("ellipseText"),61;case 79:return this.popState(),64;case 80:return this.pushState("text"),63;case 81:return this.popState(),66;case 82:return this.pushState("text"),65;case 83:return 67;case 84:return this.pushState("text"),76;case 85:return this.popState(),73;case 86:return this.pushState("text"),72;case 87:return this.popState(),58;case 88:return this.pushState("text"),57;case 89:return this.popState(),78;case 90:return this.popState(),80;case 91:return 125;case 92:return this.pushState("trapText"),77;case 93:return this.pushState("trapText"),79;case 94:return 126;case 95:return 76;case 96:return 98;case 97:return"SEP";case 98:return 97;case 102:return 117;case 103:return 122;case 104:return 124;case 105:return this.popState(),71;case 106:return this.pushState("text"),71;case 107:return this.popState(),60;case 108:return this.pushState("text"),59;case 109:return this.popState(),42;case 110:return this.pushState("text"),40;case 111:return this.popState(),75;case 112:return this.pushState("text"),74;case 114:return"QUOTE";case 115:return 21;case 116:return 22;case 117:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\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<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|(?!\)+))/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-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])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},arg_directive:{rules:[3,4,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},type_directive:{rules:[2,3,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},open_directive:{rules:[1,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},callbackargs:{rules:[16,17,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},callbackname:{rules:[13,14,15,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},href:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},click:{rules:[20,23,32,33,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},dottedEdgeText:{rules:[20,23,72,74,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},thickEdgeText:{rules:[20,23,69,71,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},edgeText:{rules:[20,23,66,68,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},trapText:{rules:[20,23,75,78,80,82,86,88,89,90,91,92,93,106,108,110,112],inclusive:!1},ellipseText:{rules:[20,23,75,76,77,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},text:{rules:[20,23,75,78,79,80,81,82,85,86,87,88,92,93,105,106,107,108,109,110,111,112,113],inclusive:!1},vertex:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},dir:{rules:[20,23,43,44,45,46,47,48,49,50,51,52,53,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[10,11,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_descr:{rules:[8,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_title:{rules:[6,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},md_string:{rules:[18,19,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},string:{rules:[20,21,22,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,20,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,41,42,54,55,56,57,58,59,60,61,62,63,64,65,66,67,69,70,72,73,75,78,80,82,83,84,86,88,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,114,115,116,117],inclusive:!0}}};function se(){this.yy={}}return te.lexer=ee,se.prototype=te,te.Parser=se,new se}();r.parser=r;const n=r;let a,c,o=0,l=(0,i.c)(),h={},A=[],d={},p=[],y={},E={},f=0,D=!0,k=[];const g=t=>i.e.sanitizeText(t,l),b=function(t,e,s){i.m.parseDirective(this,t,e,s)},_=function(t){const e=Object.keys(h);for(const s of e)if(h[s].id===t)return h[s].domId;return t},F=function(t,e,s,u,r,n,a={}){let c,A=t;void 0!==A&&0!==A.trim().length&&(void 0===h[A]&&(h[A]={id:A,labelType:"text",domId:"flowchart-"+A+"-"+o,styles:[],classes:[]}),o++,void 0!==e?(l=(0,i.c)(),c=g(e.text.trim()),h[A].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[A].text=c):void 0===h[A].text&&(h[A].text=t),void 0!==s&&(h[A].type=s),null!=u&&u.forEach((function(t){h[A].styles.push(t)})),null!=r&&r.forEach((function(t){h[A].classes.push(t)})),void 0!==n&&(h[A].dir=n),void 0===h[A].props?h[A].props=a:void 0!==a&&Object.assign(h[A].props,a))},T=function(t,e,s){const u={start:t,end:e,type:void 0,text:"",labelType:"text"};i.l.info("abc78 Got edge...",u);const r=s.text;void 0!==r&&(u.text=g(r.text.trim()),'"'===u.text[0]&&'"'===u.text[u.text.length-1]&&(u.text=u.text.substring(1,u.text.length-1)),u.labelType=r.type),void 0!==s&&(u.type=s.type,u.stroke=s.stroke,u.length=s.length),A.push(u)},C=function(t,e,s){let u,r;for(i.l.info("addLink (abc78)",t,e,s),u=0;u/)&&(a="LR"),a.match(/.*v/)&&(a="TB"),"TD"===a&&(a="TB")},x=function(t,e){t.split(",").forEach((function(t){let s=t;void 0!==h[s]&&h[s].classes.push(e),void 0!==y[s]&&y[s].classes.push(e)}))},L=function(t,e,s){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=i.u.formatUrl(e,l),h[t].linkTarget=s)})),x(t,"clickable")},I=function(t){if(E.hasOwnProperty(t))return E[t]},R=function(t,e,s){t.split(",").forEach((function(t){!function(t,e,s){let u=_(t);if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof s){r=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,u.Ys)(this).classed("hover",!1)}))};k.push(U);const V=function(t="gen-1"){h={},d={},A=[],k=[U],p=[],y={},f=0,E={},D=!0,c=t,(0,i.v)()},G=t=>{c=t||"gen-2"},M=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},Y=function(t,e,s){let u=t.text.trim(),r=s.text;t===s&&s.text.match(/\s/)&&(u=void 0);let n=[];const{nodeList:a,dir:o}=function(t){const e={boolean:{},number:{},string:{}},s=[];let u;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(u=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!s.includes(t)&&s.push(t))})),dir:u}}(n.concat.apply(n,e));if(n=a,"gen-1"===c)for(let t=0;t2e3)return;if(X[j]=e,p[e].id===t)return{result:!0,count:0};let u=0,i=1;for(;u=0){const s=z(t,e);if(s.result)return{result:!0,count:i+s.count};i+=s.count}u+=1}return{result:!1,count:i}},H=function(t){return X[t]},W=function(){j=-1,p.length>0&&z("none",p.length-1)},Q=function(){return p},q=()=>!!D&&(D=!1,!0),Z=(t,e)=>{const s=(t=>{const e=t.trim();let s=e.slice(0,-1),u="arrow_open";switch(e.slice(-1)){case"x":u="arrow_cross","x"===e[0]&&(u="double_"+u,s=s.slice(1));break;case">":u="arrow_point","<"===e[0]&&(u="double_"+u,s=s.slice(1));break;case"o":u="arrow_circle","o"===e[0]&&(u="double_"+u,s=s.slice(1))}let i="normal",r=s.length-1;"="===s[0]&&(i="thick"),"~"===s[0]&&(i="invisible");let n=((t,e)=>{const s=e.length;let u=0;for(let t=0;t{let e=t.trim(),s="arrow_open";switch(e[0]){case"<":s="arrow_point",e=e.slice(1);break;case"x":s="arrow_cross",e=e.slice(1);break;case"o":s="arrow_circle",e=e.slice(1)}let u="normal";return e.includes("=")&&(u="thick"),e.includes(".")&&(u="dotted"),{type:s,stroke:u}})(e),u.stroke!==s.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===u.type)u.type=s.type;else{if(u.type!==s.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}return"double_arrow"===u.type&&(u.type="double_arrow_point"),u.length=s.length,u}return s},J=(t,e)=>{let s=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(s=!0)})),s},tt=(t,e)=>{const s=[];return t.nodes.forEach(((u,i)=>{J(e,u)||s.push(t.nodes[i])})),{nodes:s}},et={firstGraph:q},st={parseDirective:b,defaultConfig:()=>i.H.flowchart,setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,addVertex:F,lookUpDomId:_,addLink:C,updateLinkInterpolate:S,updateLink:B,addClass:m,setDirection:v,setClass:x,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(E["gen-1"===c?_(t):t]=g(e))}))},getTooltip:I,setClickEvent:R,setLink:L,bindFunctions:N,getDirection:$,getVertices:O,getEdges:P,getClasses:w,clear:V,setGen:G,defaultStyle:M,addSubGraph:Y,getDepthFirstPos:H,indexNodes:W,getSubGraphs:Q,destructLink:Z,lex:et,exists:J,makeUniq:tt,setDiagramTitle:i.r,getDiagramTitle:i.t},ut=Object.freeze(Object.defineProperty({__proto__:null,addClass:m,addLink:C,addSingleLink:T,addSubGraph:Y,addVertex:F,bindFunctions:N,clear:V,default:st,defaultStyle:M,destructLink:Z,firstGraph:q,getClasses:w,getDepthFirstPos:H,getDirection:$,getEdges:P,getSubGraphs:Q,getTooltip:I,getVertices:O,indexNodes:W,lex:et,lookUpDomId:_,parseDirective:b,setClass:x,setClickEvent:R,setDirection:v,setGen:G,setLink:L,updateLink:B,updateLinkInterpolate:S},Symbol.toStringTag,{value:"Module"}))}}; \ No newline at end of file diff --git a/themes/daux/js/397.mjs b/themes/daux/js/397.mjs new file mode 100644 index 00000000..82df2cd6 --- /dev/null +++ b/themes/daux/js/397.mjs @@ -0,0 +1 @@ +export const id=397;export const ids=[397];export const modules={3349:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(6225);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},6225:(e,t,n)=>{n.d(t,{$p:()=>d,O1:()=>a,WR:()=>p,bF:()=>o,bg:()=>c});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},8397:(e,t,n)=>{n.d(t,{diagram:()=>a});var r=n(5384),l=n(8580),o=n(9360);n(7274),n(5625),n(9451),n(9368),n(7484),n(7967),n(7856);const a={parser:r.p,db:r.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,o.q)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),l.f.setConf(e.flowchart),r.f.clear(),r.f.setGen("gen-2")}}},8580:(e,t,n)=>{n.d(t,{a:()=>g,f:()=>u});var r=n(5625),l=n(7274),o=n(9360),a=n(2724),s=n(3349),i=n(5971),c=n(1767);const d=(e,t)=>i.Z.lang.round(c.Z.parse(e)[t]);var p=n(1117);const b={},w=function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,s.a)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(r.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:b,labelType:r.labelType,rx:w,ry:w,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:b,rx:w,ry:w,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}))},f=function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}e.forEach((function(n){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let d=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,d,i[c]);const p="LS-"+n.start,w="LE-"+n.end,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 u="",g="";switch(n.stroke){case"normal":u="fill:none;",void 0!==r&&(u=r),void 0!==a&&(g=a),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;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);u=e.style,g=e.labelStyle}f.style=f.style+=u,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=(0,o.o)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?f.curve=(0,o.o)(e.defaultInterpolate,l.c_6):f.curve=(0,o.o)(b.curve,l.c_6),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=n.text.replace(o.e.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=d,f.classes="flowchart-link "+p+" "+w,t.setEdge(n.start,n.end,f,s)}))},u={setConf:function(e){const t=Object.keys(e);for(const n of t)b[n]=e[n]},addVertices:w,addEdges:f,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),p=d.nodeSpacing||50,b=d.rankSpacing||50;let u;"sandbox"===c&&(u=(0,l.Ys)("#i"+t));const g="sandbox"===c?(0,l.Ys)(u.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h="sandbox"===c?u.nodes()[0].contentDocument:document,y=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:p,ranksep:b,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((e,t)=>{const n=d,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return p.Z(r,l,o,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.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: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/themes/daux/js/433.mjs b/themes/daux/js/433.mjs deleted file mode 100644 index f3d1bf0b..00000000 --- a/themes/daux/js/433.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=433;export const ids=[433];export const modules={3349:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(6225);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},6225:(e,t,n)=>{n.d(t,{$p:()=>d,O1:()=>a,WR:()=>p,bF:()=>o,bg:()=>c});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},3433:(e,t,n)=>{n.d(t,{diagram:()=>s});var r=n(9863),l=(n(5625),n(4309));n(3110),n(3402),n(3688),n(870),n(9451),n(6225),n(3349),n(6749),n(6446),n(3032),l.c_6,n(1188);var o=n(755);n(7856),n(7484),n(7967),n(9368),n(1898);const a={},s={parser:r.p,db:r.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]}(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},755:(e,t,n)=>{n.d(t,{a:()=>w,f:()=>f});var r=n(5625),l=n(4309),o=n(9863),a=n(3110),s=n(1188),i=n(2566),c=n(3349);const d={},p=function(e,t,n,r,l,o){const i=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let d="default";r.classes.length>0&&(d=r.classes.join(" ")),d+=" flowchart-label";const p=(0,s.n)(r.styles);let b,f=void 0!==r.text?r.text:r.id;if(a.l.info("vertex",r,r.labelType),"markdown"===r.labelType)a.l.info("vertex",r,r.labelType);else if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const e={label:f.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};b=(0,c.a)(i,e).node(),b.parentNode.removeChild(b)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",p.labelStyle.replace("color:","fill:"));const t=f.split(a.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}b=e}let w=0,g="";switch(r.type){case"round":w=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question";break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}t.setNode(r.id,{labelStyle:p.labelStyle,shape:g,labelText:f,labelType:r.labelType,rx:w,ry:w,class:d,style:p.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:o.db.getTooltip(r.id)||"",domId:o.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,a.g)().flowchart.padding}),a.l.info("setNode",{labelStyle:p.labelStyle,labelType:r.labelType,shape:g,labelText:f,rx:w,ry:w,class:d,style:p.style,id:r.id,domId:o.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,a.g)().flowchart.padding})}))},b=function(e,t,n){a.l.info("abc78 edges = ",e);let r,o,i=0,c={};if(void 0!==e.defaultStyle){const t=(0,s.n)(e.defaultStyle);r=t.style,o=t.labelStyle}e.forEach((function(n){i++;var p="L-"+n.start+"-"+n.end;void 0===c[p]?(c[p]=0,a.l.info("abc78 new entry",p,c[p])):(c[p]++,a.l.info("abc78 new entry",p,c[p]));let b=p+"-"+c[p];a.l.info("abc78 new link id to be used is",p,b,c[p]);var f="LS-"+n.start,w="LE-"+n.end;const g={style:"",labelStyle:""};switch(g.minlen=n.length||1,"arrow_open"===n.type?g.arrowhead="none":g.arrowhead="normal",g.arrowTypeStart="arrow_open",g.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":g.arrowTypeStart="arrow_cross";case"arrow_cross":g.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":g.arrowTypeStart="arrow_point";case"arrow_point":g.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":g.arrowTypeStart="arrow_circle";case"arrow_circle":g.arrowTypeEnd="arrow_circle"}let h="",u="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==o&&(u=o),g.thickness="normal",g.pattern="solid";break;case"dotted":g.thickness="normal",g.pattern="dotted",g.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":g.thickness="thick",g.pattern="solid",g.style="stroke-width: 3.5px;fill:none;";break;case"invisible":g.thickness="invisible",g.pattern="solid",g.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,s.n)(n.style);h=e.style,u=e.labelStyle}g.style=g.style+=h,g.labelStyle=g.labelStyle+=u,void 0!==n.interpolate?g.curve=(0,s.o)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?g.curve=(0,s.o)(e.defaultInterpolate,l.c_6):g.curve=(0,s.o)(d.curve,l.c_6),void 0===n.text?void 0!==n.style&&(g.arrowheadStyle="fill: #333"):(g.arrowheadStyle="fill: #333",g.labelpos="c"),g.labelType=n.labelType,g.label=n.text.replace(a.e.lineBreakRegex,"\n"),void 0===n.style&&(g.style=g.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),g.labelStyle=g.labelStyle.replace("color:","fill:"),g.id=b,g.classes="flowchart-link "+f+" "+w,t.setEdge(n.start,n.end,g,i)}))},f={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){a.l.info("Extracting classes"),t.db.clear();try{return t.parse(e),t.db.getClasses()}catch(e){return}},draw:function(e,t,n,c){a.l.info("Drawing flowchart"),c.db.clear(),o.f.setGen("gen-2"),c.parser.parse(e);let d=c.db.getDirection();void 0===d&&(d="TD");const{securityLevel:f,flowchart:w}=(0,a.g)(),g=w.nodeSpacing||50,h=w.rankSpacing||50;let u;"sandbox"===f&&(u=(0,l.Ys)("#i"+t));const y="sandbox"===f?(0,l.Ys)(u.nodes()[0].contentDocument.body):(0,l.Ys)("body"),k="sandbox"===f?u.nodes()[0].contentDocument:document,x=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:g,ranksep:h,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let v;const m=c.db.getSubGraphs();a.l.info("Subgraphs - ",m);for(let e=m.length-1;e>=0;e--)v=m[e],a.l.info("Subgraph - ",v),c.db.addVertex(v.id,{text:v.title,type:v.labelType},"group",void 0,v.classes,v.dir);const S=c.db.getVertices(),T=c.db.getEdges();a.l.info("Edges",T);let _=0;for(_=m.length-1;_>=0;_--){v=m[_],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.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: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/themes/daux/js/437.mjs b/themes/daux/js/437.mjs new file mode 100644 index 00000000..606771f0 --- /dev/null +++ b/themes/daux/js/437.mjs @@ -0,0 +1 @@ +export const id=437;export const ids=[437];export const modules={9437:(t,e,r)=>{r.d(e,{diagram:()=>S});var i=r(9360),n=r(7274),a=(r(7484),r(7967),r(7856),function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[1,4],r=[1,7],i=[1,5],n=[1,9],a=[1,6],c=[2,6],s=[1,16],o=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],l=[8,14,20,22,24,25,27,29,32,37,40],h=[8,13,14,20,22,24,25,27,29,32,37,40],m=[1,26],u=[6,8,14,50,55],y=[8,14,55],p=[1,53],g=[1,52],d=[8,14,30,33,35,38,55],b=[1,67],f=[1,68],k=[1,69],$=[8,14,33,35,42,55],_={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,r,i,n,a,c){var s=a.length-1;switch(n){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:r,14:i,46:8,50:n,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:r,14:i,46:8,50:n,55:a},{3:11,4:2,5:3,6:e,8:r,14:i,46:8,50:n,55:a},{7:12,8:c,9:[1,13],10:[1,14],11:15,14:s},t(o,[2,124]),t(o,[2,125]),t(o,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:c,11:15,14:s},{9:[1,21]},t(l,[2,10],{12:22,13:[1,23]}),t(h,[2,9]),{9:[1,25],48:24,53:m},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:c,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(h,[2,8]),t(u,[2,116]),{49:45,52:[1,46]},t(u,[2,121]),{1:[2,4]},{8:[1,47]},t(l,[2,11]),{4:48,8:r,14:i,55:a},t(l,[2,13]),t(y,[2,14]),t(y,[2,15]),t(y,[2,16]),{21:[1,49]},{23:[1,50]},t(y,[2,19]),t(y,[2,20]),t(y,[2,21]),{28:51,34:p,54:g},t(y,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:p,54:g},{33:[1,61],35:[1,62]},{28:63,34:p,54:g},{48:64,53:m},{53:[2,120]},{1:[2,5]},t(l,[2,12]),t(y,[2,17]),t(y,[2,18]),t(y,[2,22]),t(d,[2,122]),t(d,[2,123]),t(y,[2,46]),{34:[1,65]},{39:66,43:b,44:f,45:k},{34:[1,70]},{34:[1,71]},t(y,[2,112]),t(y,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(y,[2,23],{30:[1,78]}),t(u,[2,117]),t(y,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(y,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t($,[2,113]),t($,[2,114]),t($,[2,115]),t(y,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(y,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:b,44:f,45:k},{34:[1,93]},t(y,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:b,44:f,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:b,44:f,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:b,44:f,45:k},{34:[1,109]},t(y,[2,31],{35:[1,111],38:[1,110]}),t(y,[2,32],{33:[1,113],35:[1,112]}),t(y,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(y,[2,24]),t(y,[2,49],{33:[1,120],42:[1,121]}),t(y,[2,53],{38:[1,122],42:[1,123]}),t(y,[2,63],{33:[1,125],38:[1,124]}),t(y,[2,50],{33:[1,126],42:[1,127]}),t(y,[2,55],{35:[1,128],42:[1,129]}),t(y,[2,66],{33:[1,131],35:[1,130]}),t(y,[2,52],{38:[1,132],42:[1,133]}),t(y,[2,54],{35:[1,134],42:[1,135]}),t(y,[2,67],{35:[1,137],38:[1,136]}),t(y,[2,64],{33:[1,139],38:[1,138]}),t(y,[2,65],{33:[1,141],35:[1,140]}),t(y,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:b,44:f,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:b,44:f,45:k},t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:b,44:f,45:k},{34:[1,153]},{39:154,43:b,44:f,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:b,44:f,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:b,44:f,45:k},{34:[1,167]},{39:168,43:b,44:f,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:b,44:f,45:k},{34:[1,173]},t(y,[2,37],{35:[1,174]}),t(y,[2,38],{38:[1,175]}),t(y,[2,36],{33:[1,176]}),t(y,[2,39],{35:[1,177]}),t(y,[2,34],{38:[1,178]}),t(y,[2,35],{33:[1,179]}),t(y,[2,60],{42:[1,180]}),t(y,[2,73],{33:[1,181]}),t(y,[2,61],{42:[1,182]}),t(y,[2,84],{38:[1,183]}),t(y,[2,74],{33:[1,184]}),t(y,[2,83],{38:[1,185]}),t(y,[2,59],{42:[1,186]}),t(y,[2,72],{33:[1,187]}),t(y,[2,58],{42:[1,188]}),t(y,[2,78],{35:[1,189]}),t(y,[2,71],{33:[1,190]}),t(y,[2,77],{35:[1,191]}),t(y,[2,57],{42:[1,192]}),t(y,[2,85],{38:[1,193]}),t(y,[2,56],{42:[1,194]}),t(y,[2,79],{35:[1,195]}),t(y,[2,80],{35:[1,196]}),t(y,[2,86],{38:[1,197]}),t(y,[2,70],{33:[1,198]}),t(y,[2,81],{38:[1,199]}),t(y,[2,69],{33:[1,200]}),t(y,[2,75],{35:[1,201]}),t(y,[2,76],{35:[1,202]}),t(y,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:b,44:f,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:b,44:f,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:b,44:f,45:k},{34:[1,214]},{39:215,43:b,44:f,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:b,44:f,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:b,44:f,45:k},{34:[1,228]},{39:229,43:b,44:f,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:b,44:f,45:k},t(y,[2,40]),t(y,[2,42]),t(y,[2,41]),t(y,[2,43]),t(y,[2,45]),t(y,[2,44]),t(y,[2,101]),t(y,[2,102]),t(y,[2,99]),t(y,[2,100]),t(y,[2,104]),t(y,[2,103]),t(y,[2,108]),t(y,[2,107]),t(y,[2,106]),t(y,[2,105]),t(y,[2,110]),t(y,[2,109]),t(y,[2,98]),t(y,[2,97]),t(y,[2,96]),t(y,[2,95]),t(y,[2,93]),t(y,[2,94]),t(y,[2,92]),t(y,[2,91]),t(y,[2,90]),t(y,[2,89]),t(y,[2,87]),t(y,[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 r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],n=[],a=this.table,c="",s=0,o=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),m={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(m.yy[u]=this.yy[u]);h.setInput(t,m.yy),m.yy.lexer=h,m.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var p=h.options&&h.options.ranges;"function"==typeof m.yy.parseError?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,d,b,f,k,$,_,x,v,w={};;){if(d=e[e.length-1],this.defaultActions[d]?b=this.defaultActions[d]:(null==g&&(v=void 0,"number"!=typeof(v=r.pop()||h.lex()||1)&&(v instanceof Array&&(v=(r=v).pop()),v=this.symbols_[v]||v),g=v),b=a[d]&&a[d][g]),void 0===b||!b.length||!b[0]){var T;for(k in x=[],a[d])this.terminals_[k]&&k>2&&x.push("'"+this.terminals_[k]+"'");T=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:y,expected:x})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+g);switch(b[0]){case 1:e.push(g),i.push(h.yytext),n.push(h.yylloc),e.push(b[1]),g=null,o=h.yyleng,c=h.yytext,s=h.yylineno,y=h.yylloc;break;case 2:if($=this.productions_[b[1]][1],w.$=i[i.length-$],w._$={first_line:n[n.length-($||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-($||1)].first_column,last_column:n[n.length-1].last_column},p&&(w._$.range=[n[n.length-($||1)].range[0],n[n.length-1].range[1]]),void 0!==(f=this.performAction.apply(w,[c,o,s,m.yy,b[1],i,n].concat(l))))return f;$&&(e=e.slice(0,-1*$*2),i=i.slice(0,-1*$),n=n.slice(0,-1*$)),e.push(this.productions_[b[1]][0]),i.push(w.$),n.push(w._$),_=a[e[e.length-2]][e[e.length-1]],e.push(_);break;case 3:return!0}}return!0}},x={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,r=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),r.length-1&&(this.yylineno-=r.length-1);var n=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:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[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 r,i,n;if(this.options.backtrack_lexer&&(n={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&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;ae[0].length)){if(e=r,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[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(){return this.next()||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,r,i){switch(r){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,/^(?:TB\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 v(){this.yy={}}return _.lexer=x,v.prototype=_,_.Parser=v,new v}());a.parser=a;const c=a;let s=(0,i.c)().gitGraph.mainBranchName,o=(0,i.c)().gitGraph.mainBranchOrder,l={},h=null,m={};m[s]={name:s,order:o};let u={};u[s]=h;let y=s,p="LR",g=0;function d(){return(0,i.y)({length:7})}let b={};const f=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===u[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}{y=t;const e=u[y];h=l[e]}};function k(t,e,r){const i=t.indexOf(e);-1===i?t.push(r):t.splice(i,1,r)}function $(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let r="";t.forEach((function(t){r+=t===e?"\t*":"\t|"}));const n=[r,e.id,e.seq];for(let t in u)u[t]===e.id&&n.push(t);if(i.l.debug(n.join(" ")),e.parents&&2==e.parents.length){const r=l[e.parents[0]];k(t,e,r),t.push(l[e.parents[1]])}else{if(0==e.parents.length)return;{const r=l[e.parents];k(t,e,r)}}$(t=function(t,e){const r=Object.create(null);return t.reduce(((t,e)=>{const i=e.id;return r[i]||(r[i]=!0,t.push(e)),t}),[])}(t))}const _=function(){const t=Object.keys(l).map((function(t){return l[t]}));return t.forEach((function(t){i.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},v={parseDirective:function(t,e,r){i.m.parseDirective(this,t,e,r)},getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){p=t},setOptions:function(t){i.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{b=JSON.parse(t)}catch(t){i.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return b},commit:function(t,e,r,n){i.l.debug("Entering commit:",t,e,r,n),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),n=i.e.sanitizeText(n,(0,i.c)());const a={id:e||g+"-"+d(),message:t,seq:g++,type:r||x.NORMAL,tag:n||"",parents:null==h?[]:[h.id],branch:y};h=a,l[a.id]=a,u[y]=a.id,i.l.debug("in pushCommit "+a.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==u[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}u[t]=null!=h?h.id:null,m[t]={name:t,order:e?parseInt(e,10):null},f(t),i.l.debug("in createBranch")},merge:function(t,e,r,n){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const a=l[u[y]],c=l[u[t]];if(y===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===a||!a){let e=new Error('Incorrect usage of "merge". Current branch ('+y+")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===u[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===c||!c){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(a===c){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!==l[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+r+n,token:"merge "+t+e+r+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+r+" "+n]},i}const s={id:e||g+"-"+d(),message:"merged branch "+t+" into "+y,seq:g++,parents:[null==h?null:h.id,u[t]],branch:y,type:x.MERGE,customType:r,customId:!!e,tag:n||""};h=s,l[s.id]=s,u[y]=s.id,i.l.debug(u),i.l.debug("in mergeBranch")},cherryPick:function(t,e,r){if(i.l.debug("Entering cherryPick:",t,e,r),t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)()),r=i.e.sanitizeText(r,(0,i.c)()),!t||void 0===l[t]){let r=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw r.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"]},r}let n=l[t],a=n.branch;if(n.type===x.MERGE){let r=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw r.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"]},r}if(!e||void 0===l[e]){if(a===y){let r=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw r.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"]},r}const c=l[u[y]];if(void 0===c||!c){let r=new Error('Incorrect usage of "cherry-pick". Current branch ('+y+")has no commits");throw r.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"]},r}const s={id:g+"-"+d(),message:"cherry-picked "+n+" into "+y,seq:g++,parents:[null==h?null:h.id,n.id],branch:y,type:x.CHERRY_PICK,tag:r??"cherry-pick:"+n.id};h=s,l[s.id]=s,u[y]=s.id,i.l.debug(u),i.l.debug("in cherryPick")}},checkout:f,prettyPrint:function(){i.l.debug(l),$([_()[0]])},clear:function(){l={},h=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;u={},u[t]=null,m={},m[t]={name:t,order:e},y=t,g=0,(0,i.v)()},getBranchesAsObjArray:function(){return Object.values(m).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 u},getCommits:function(){return l},getCommitsArray:_,getCurrentBranch:function(){return y},getDirection:function(){return p},getHead:function(){return h},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.r,getDiagramTitle:i.t,commitType:x};let w={};let T={},E={},L=[],M=0,A="LR";const I=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let r=[];r="string"==typeof t?t.split(/\\n|\n|/gi):Array.isArray(t)?t:[];for(const t of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}return e},R=(t,e,r)=>{const n=(0,i.z)().gitGraph,a=t.append("g").attr("class","commit-bullets"),c=t.append("g").attr("class","commit-labels");let s=0;"TB"===A&&(s=30),Object.keys(e).sort(((t,r)=>e[t].seq-e[r].seq)).forEach((t=>{const i=e[t],o="TB"===A?s+10:T[i.branch].pos,l="TB"===A?T[i.branch].pos:s+10;if(r){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=a.append("rect");e.attr("x",l-10),e.attr("y",o-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${T[i.branch].index%8} ${t}-outer`),a.append("rect").attr("x",l-6).attr("y",o-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${T[i.branch].index%8} ${t}-inner`)}else if(4===e)a.append("circle").attr("cx",l).attr("cy",o).attr("r",10).attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",l-3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",l+3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",l+3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",l-3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const r=a.append("circle");if(r.attr("cx",l),r.attr("cy",o),r.attr("r",3===i.type?9:10),r.attr("class",`commit ${i.id} commit${T[i.branch].index%8}`),3===e){const e=a.append("circle");e.attr("cx",l),e.attr("cy",o),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${T[i.branch].index%8}`)}1===e&&a.append("path").attr("d",`M ${l-5},${o-5}L${l+5},${o+5}M${l-5},${o+5}L${l+5},${o-5}`).attr("class",`commit ${t} ${i.id} commit${T[i.branch].index%8}`)}}if(E[i.id]="TB"===A?{x:l,y:s+10}:{x:s+10,y:o},r){const t=4,e=2;if(4!==i.type&&(i.customId&&3===i.type||3!==i.type)&&n.showCommitLabel){const r=c.append("g"),a=r.insert("rect").attr("class","commit-label-bkg"),h=r.append("text").attr("x",s).attr("y",o+25).attr("class","commit-label").text(i.id);let m=h.node().getBBox();if(a.attr("x",s+10-m.width/2-e).attr("y",o+13.5).attr("width",m.width+2*e).attr("height",m.height+2*e),"TB"===A&&(a.attr("x",l-(m.width+4*t+5)).attr("y",o-12),h.attr("x",l-(m.width+4*t)).attr("y",o+m.height-12)),"TB"!==A&&h.attr("x",s+10-m.width/2),n.rotateCommitLabel)if("TB"===A)h.attr("transform","rotate(-45, "+l+", "+o+")"),a.attr("transform","rotate(-45, "+l+", "+o+")");else{let t=-7.5-(m.width+10)/25*9.5,e=10+m.width/25*8.5;r.attr("transform","translate("+t+", "+e+") rotate(-45, "+s+", "+o+")")}}if(i.tag){const r=c.insert("polygon"),n=c.append("circle"),a=c.append("text").attr("y",o-16).attr("class","tag-label").text(i.tag);let h=a.node().getBBox();a.attr("x",s+10-h.width/2);const m=h.height/2,u=o-19.2;r.attr("class","tag-label-bkg").attr("points",`\n ${s-h.width/2-t/2},${u+e}\n ${s-h.width/2-t/2},${u-e}\n ${s+10-h.width/2-t},${u-m-e}\n ${s+10+h.width/2+t},${u-m-e}\n ${s+10+h.width/2+t},${u+m+e}\n ${s+10-h.width/2-t},${u+m+e}`),n.attr("cx",s-h.width/2+t/2).attr("cy",u).attr("r",1.5).attr("class","tag-hole"),"TB"===A&&(r.attr("class","tag-label-bkg").attr("points",`\n ${l},${s+e}\n ${l},${s-e}\n ${l+10},${s-m-e}\n ${l+10+h.width+t},${s-m-e}\n ${l+10+h.width+t},${s+m+e}\n ${l+10},${s+m+e}`).attr("transform","translate(12,12) rotate(45, "+l+","+s+")"),n.attr("cx",l+t/2).attr("cy",s).attr("transform","translate(12,12) rotate(45, "+l+","+s+")"),a.attr("x",l+5).attr("y",s+3).attr("transform","translate(14,14) rotate(45, "+l+","+s+")"))}}s+=50,s>M&&(M=s)}))},O=(t,e,r=0)=>{const i=t+Math.abs(t-e)/2;if(r>5)return i;if(L.every((t=>Math.abs(t-i)>=10)))return L.push(i),i;const n=Math.abs(t-e);return O(t,e-n/5,r+1)},C={draw:function(t,e,r,a){T={},E={},w={},M=0,L=[],A="LR";const c=(0,i.z)(),s=c.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,r),w=a.db.getCommits();const o=a.db.getBranchesAsObjArray();A=a.db.getDirection();const l=(0,n.Ys)(`[id="${e}"]`);let h=0;o.forEach(((t,e)=>{const r=I(t.name),i=l.append("g"),n=i.insert("g").attr("class","branchLabel"),a=n.insert("g").attr("class","label branch-label");a.node().appendChild(r);let c=r.getBBox();T[t.name]={pos:h,index:e},h+=50+(s.rotateCommitLabel?40:0)+("TB"===A?c.width/2:0),a.remove(),n.remove(),i.remove()})),R(l,w,!1),s.showBranches&&((t,e)=>{const r=(0,i.z)().gitGraph,n=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=T[t.name].pos,c=n.append("line");c.attr("x1",0),c.attr("y1",a),c.attr("x2",M),c.attr("y2",a),c.attr("class","branch branch"+i),"TB"===A&&(c.attr("y1",30),c.attr("x1",a),c.attr("y2",M),c.attr("x2",a)),L.push(a);let s=t.name;const o=I(s),l=n.insert("rect"),h=n.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);h.node().appendChild(o);let m=o.getBBox();l.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(!0===r.rotateCommitLabel?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),h.attr("transform","translate("+(-m.width-14-(!0===r.rotateCommitLabel?30:0))+", "+(a-m.height/2-1)+")"),"TB"===A&&(l.attr("x",a-m.width/2-10).attr("y",0),h.attr("transform","translate("+(a-m.width/2-5)+", 0)")),"TB"!==A&&l.attr("transform","translate(-19, "+(a-m.height/2)+")")}))})(l,o),((t,e)=>{const r=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=>{((t,e,r,i)=>{const n=E[e.id],a=E[r.id],c=((t,e,r)=>Object.keys(r).filter((i=>r[i].branch===e.branch&&r[i].seq>t.seq&&r[i].seq0)(e,r,i);let s,o="",l="",h=0,m=0,u=T[r.branch].index;if(c){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10,u=T[r.branch].index;const t=n.ya.x&&(o="A 20 20, 0, 0, 0,",l="A 20 20, 0, 0, 1,",h=20,m=20,u=T[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x} ${a.y-h} ${l} ${n.x-m} ${a.y} L ${a.x} ${a.y}`),n.x===a.x&&(u=T[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x+h} ${n.y} ${o} ${n.x+m} ${a.y+h} L ${a.x} ${a.y}`)):(n.ya.y&&(o="A 20 20, 0, 0, 0,",h=20,m=20,u=T[e.branch].index,s=`M ${n.x} ${n.y} L ${a.x-h} ${n.y} ${o} ${a.x} ${n.y-m} L ${a.x} ${a.y}`),n.y===a.y&&(u=T[e.branch].index,s=`M ${n.x} ${n.y} L ${n.x} ${a.y-h} ${o} ${n.x+m} ${a.y} L ${a.x} ${a.y}`));t.append("path").attr("d",s).attr("class","arrow arrow"+u%8)})(r,e[t],i,e)}))}))})(l,w),R(l,w,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,a.db.getDiagramTitle()),(0,i.A)(void 0,l,s.diagramPadding,s.useMaxWidth??c.useMaxWidth)}},S={parser:c,db:v,renderer:C,styles: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`}}}; \ No newline at end of file diff --git a/themes/daux/js/451.mjs b/themes/daux/js/451.mjs index 987eccb4..a3bfb103 100644 --- a/themes/daux/js/451.mjs +++ b/themes/daux/js/451.mjs @@ -1 +1 @@ -export const id=451;export const ids=[451];export const modules={9451:(n,e,t)=>{t.d(e,{bK:()=>Se});var r=t(870),o=t(6749),i=t(3402),u=t(2002),a=t(7961),c=t(3836),s=t(6446),f=t(5625);class d{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return v(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&v(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,t=e._prev;t!==e;)n.push(JSON.stringify(t,h)),t=t._prev;return"["+n.join(", ")+"]"}}function v(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function h(n,e){if("_next"!==n&&"_prev"!==n)return e}var Z=u.Z(1);function l(n,e,t,o,i){var u=i?[]:void 0;return r.Z(n.inEdges(o.v),(function(r){var o=n.edge(r),a=n.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,g(e,t,a)})),r.Z(n.outEdges(o.v),(function(r){var o=n.edge(r),i=r.w,u=n.node(i);u.in-=o,g(e,t,u)})),n.removeNode(o.v),u}function g(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var t=function(n,e){var t=new f.k,o=0,i=0;r.Z(n.nodes(),(function(n){t.setNode(n,{v:n,in:0,out:0})})),r.Z(n.edges(),(function(n){var r=t.edge(n.v,n.w)||0,u=e(n),a=r+u;t.setEdge(n.v,n.w,a),i=Math.max(i,t.node(n.v).out+=u),o=Math.max(o,t.node(n.w).in+=u)}));var u=s.Z(i+o+3).map((function(){return new d})),a=o+1;return r.Z(t.nodes(),(function(n){g(u,a,t.node(n))})),{graph:t,buckets:u,zeroIdx:a}}(n,e||Z),o=function(n,e,t){for(var r,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;r=u.dequeue();)l(n,e,t,r);for(;r=i.dequeue();)l(n,e,t,r);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(r=e[a].dequeue()){o=o.concat(l(n,e,t,r,!0));break}}return o}(t.graph,t.buckets,t.zeroIdx);return a.Z(c.Z(o,(function(e){return n.outEdges(e.v,e.w)})))}(n,function(n){return function(e){return n.edge(e).weight}}(n)):function(n){var e=[],t={},o={};return r.Z(n.nodes(),(function u(a){i.Z(o,a)||(o[a]=!0,t[a]=!0,r.Z(n.outEdges(a),(function(n){i.Z(t,n.w)?e.push(n):u(n.w)})),delete t[a])})),e}(n);r.Z(e,(function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,o.Z("rev"))}))}var b=t(5365),w=t(4752),y=t(9651);const m=function(n,e,t){(void 0!==t&&!(0,y.Z)(n[e],t)||void 0===t&&!(e in n))&&(0,w.Z)(n,e,t)};var _=t(5381),j=t(1050),E=t(2701),x=t(7215),k=t(5418),N=t(4732),O=t(7771),I=t(836),C=t(6706),L=t(3234),M=t(7226),A=t(7514),P=t(7212);const S=function(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var R=t(1899),T=t(7590);const F=function(n,e,t,r,o,i,u){var a,c=S(n,t),s=S(e,t),f=u.get(s);if(f)m(n,t,f);else{var d=i?i(c,s,t+"",n,e,u):void 0,v=void 0===d;if(v){var h=(0,O.Z)(s),Z=!h&&(0,C.Z)(s),l=!h&&!Z&&(0,P.Z)(s);d=s,h||Z||l?(0,O.Z)(c)?d=c:(0,I.Z)(c)?d=(0,x.Z)(c):Z?(v=!1,d=(0,j.Z)(s,!0)):l?(v=!1,d=(0,E.Z)(s,!0)):d=[]:(0,A.Z)(s)||(0,N.Z)(s)?(d=c,(0,N.Z)(c)?(a=c,d=(0,R.Z)(a,(0,T.Z)(a))):(0,M.Z)(c)&&!(0,L.Z)(c)||(d=(0,k.Z)(s))):v=!1}v&&(u.set(s,d),o(d,s,r,i,u),u.delete(s)),m(n,t,d)}},D=function n(e,t,r,o,i){e!==t&&(0,_.Z)(t,(function(u,a){if(i||(i=new b.Z),(0,M.Z)(u))F(e,t,a,r,n,o,i);else{var c=o?o(S(e,a),u,a+"",e,t,i):void 0;void 0===c&&(c=u),m(e,a,c)}}),T.Z)};var z=t(9581),B=t(439);const G=(V=function(n,e,t){D(n,e,t)},(0,z.Z)((function(n,e){var t=-1,r=e.length,o=r>1?e[r-1]:void 0,i=r>2?e[2]:void 0;for(o=V.length>3&&"function"==typeof o?(r--,o):void 0,i&&(0,B.Z)(e[0],e[1],i)&&(o=r<3?void 0:o,r=1),n=Object(n);++te};var K=t(9203);const W=function(n){return n&&n.length?$(n,K.Z,J):void 0},H=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var Q=t(2693),X=t(7058);const nn=function(n,e){var t={};return e=(0,X.Z)(e,3),(0,Q.Z)(n,(function(n,r,o){(0,w.Z)(t,r,e(n,r,o))})),t};var en=t(9360);const tn=function(n,e){return nMath.abs(u)*s?(a<0&&(s=-s),t=s*u/a,r=s):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function fn(n){var e=c.Z(s.Z(vn(n)+1),(function(){return[]}));return r.Z(n.nodes(),(function(t){var r=n.node(t),o=r.rank;en.Z(o)||(e[o][r.order]=t)})),e}function dn(n,e,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),an(n,"border",o,e)}function vn(n){return W(c.Z(n.nodes(),(function(e){var t=n.node(e).rank;if(!en.Z(t))return t})))}function hn(n,e){var t=un();try{return e()}finally{console.log(n+" time: "+(un()-t)+"ms")}}function Zn(n,e){return e()}function ln(n,e,t,r,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],c=an(n,"border",u,t);o[e][i]=c,n.setParent(c,r),a&&n.setEdge(a,c,{weight:1})}function gn(n){r.Z(n.nodes(),(function(e){pn(n.node(e))})),r.Z(n.edges(),(function(e){pn(n.edge(e))}))}function pn(n){var e=n.width;n.width=n.height,n.height=e}function bn(n){n.y=-n.y}function wn(n){var e=n.x;n.x=n.y,n.y=e}const yn=function(n,e){return n&&n.length?$(n,(0,X.Z)(e,2),tn):void 0};function mn(n){var e={};r.Z(n.sources(),(function t(r){var o=n.node(r);if(i.Z(e,r))return o.rank;e[r]=!0;var u=rn(c.Z(n.outEdges(r),(function(e){return t(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function _n(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function jn(n){var e,t,r=new f.k({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(r.setNode(o,{});En(r,n)-1?r[o?n[i]:i]:void 0});var An,Pn=t(2489);u.Z(1),u.Z(1),t(8448),t(6155),t(3243),t(8533),(0,t(4193).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Sn="\\ud800-\\udfff",Rn="["+Sn+"]",Tn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Fn="\\ud83c[\\udffb-\\udfff]",Dn="[^"+Sn+"]",zn="(?:\\ud83c[\\udde6-\\uddff]){2}",Bn="[\\ud800-\\udbff][\\udc00-\\udfff]",Gn="(?:"+Tn+"|"+Fn+")?",Vn="[\\ufe0e\\ufe0f]?",Un=Vn+Gn+"(?:\\u200d(?:"+[Dn,zn,Bn].join("|")+")"+Vn+Gn+")*",qn="(?:"+[Dn+Tn+"?",Tn,zn,Bn,Rn].join("|")+")";function Yn(n,e,t){O.Z(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return r.Z(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);$n(n,e,"post"===t,u,o,i)})),i}function $n(n,e,t,o,u,a){i.Z(o,e)||(o[e]=!0,t||a.push(e),r.Z(u(e),(function(e){$n(n,e,t,o,u,a)})),t&&a.push(e))}function Jn(n){n=function(n){var e=(new f.k).setGraph(n.graph());return r.Z(n.nodes(),(function(t){e.setNode(t,n.node(t))})),r.Z(n.edges(),(function(t){var r=e.edge(t.v,t.w)||{weight:0,minlen:1},o=n.edge(t);e.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),e}(n),mn(n);var e,t=jn(n);for(Hn(t),Kn(t,n);e=Xn(t);)ee(t,n,e,ne(t,n,e))}function Kn(n,e){var t=function(n,e){return Yn(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),r.Z(t,(function(t){!function(n,e,t){var r=n.node(t).parent;n.edge(t,r).cutvalue=Wn(n,e,t)}(n,e,t)}))}function Wn(n,e,t){var o=n.node(t).parent,i=!0,u=e.edge(t,o),a=0;return u||(i=!1,u=e.edge(o,t)),a=u.weight,r.Z(e.nodeEdges(t),(function(r){var u,c,s=r.v===t,f=s?r.w:r.v;if(f!==o){var d=s===i,v=e.edge(r).weight;if(a+=d?v:-v,u=t,c=f,n.hasEdge(u,c)){var h=n.edge(t,f).cutvalue;a+=d?-h:h}}})),a}function Hn(n,e){arguments.length<2&&(e=n.nodes()[0]),Qn(n,{},1,e)}function Qn(n,e,t,o,u){var a=t,c=n.node(o);return e[o]=!0,r.Z(n.neighbors(o),(function(r){i.Z(e,r)||(t=Qn(n,e,t,r,o))})),c.low=a,c.lim=t++,u?c.parent=u:delete c.parent,t}function Xn(n){return Mn(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function ne(n,e,t){var r=t.v,o=t.w;e.hasEdge(r,o)||(r=t.w,o=t.v);var i=n.node(r),u=n.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var s=Pn.Z(e.edges(),(function(e){return c===te(0,n.node(e.v),a)&&c!==te(0,n.node(e.w),a)}));return yn(s,(function(n){return _n(e,n)}))}function ee(n,e,t,o){var i=t.v,u=t.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Hn(n),Kn(n,e),function(n,e){var t=Mn(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return Yn(n,e,"pre")}(n,t);o=o.slice(1),r.Z(o,(function(t){var r=n.node(t).parent,o=e.edge(t,r),i=!1;o||(o=e.edge(r,t),i=!0),e.node(t).rank=e.node(r).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function te(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function re(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){Jn(n)}(n);break;case"tight-tree":!function(n){mn(n),jn(n)}(n);break;case"longest-path":oe(n)}}RegExp(Fn+"(?="+Fn+")|"+qn+Un,"g"),new Error,t(5351),Jn.initLowLimValues=Hn,Jn.initCutValues=Kn,Jn.calcCutValue=Wn,Jn.leaveEdge=Xn,Jn.enterEdge=ne,Jn.exchangeEdges=ee;var oe=mn;var ie=t(4657),ue=t(4283);function ae(n){var e=an(n,"root",{},"_root"),t=function(n){var e={};function t(o,i){var u=n.children(o);u&&u.length&&r.Z(u,(function(n){t(n,i+1)})),e[o]=i}return r.Z(n.children(),(function(n){t(n,1)})),e}(n),o=W(ie.Z(t))-1,i=2*o+1;n.graph().nestingRoot=e,r.Z(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return ue.Z(n.edges(),(function(e,t){return e+n.edge(t).weight}),0)}(n)+1;r.Z(n.children(),(function(r){ce(n,e,i,u,o,t,r)})),n.graph().nodeRankFactor=i}function ce(n,e,t,o,i,u,a){var c=n.children(a);if(c.length){var s=dn(n,"_bt"),f=dn(n,"_bb"),d=n.node(a);n.setParent(s,a),d.borderTop=s,n.setParent(f,a),d.borderBottom=f,r.Z(c,(function(r){ce(n,e,t,o,i,u,r);var c=n.node(r),d=c.borderTop?c.borderTop:r,v=c.borderBottom?c.borderBottom:r,h=c.borderTop?o:2*o,Z=d!==v?1:i-u[a]+1;n.setEdge(s,d,{weight:h,minlen:Z,nestingEdge:!0}),n.setEdge(v,f,{weight:h,minlen:Z,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,s,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:t})}var se=t(9103);const fe=function(n){return(0,se.Z)(n,5)};var de=t(2954);const ve=function(n,e){return function(n,e,t){for(var r=-1,o=n.length,i=e.length,u={};++re||i&&u&&c&&!a&&!s||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!s&&n=a?c:c*("desc"==t[r]?-1:1)}return n.index-e.index}(n,e,t)}))},ye=(0,z.Z)((function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,B.Z)(n,e[0],e[1])?e=[]:t>2&&(0,B.Z)(e[0],e[1],e[2])&&(e=[e[0]]),we(n,(0,he.Z)(e,1),[])}));function me(n,e){for(var t=0,r=1;r0;)e%2&&(t+=f[e+1]),f[e=e-1>>1]+=n.weight;d+=n.weight*t}))),d}function je(n,e){var t,o=function(n,e){var t={lhs:[],rhs:[]};return r.Z(n,(function(n){var e;e=n,i.Z(e,"barycenter")?t.lhs.push(n):t.rhs.push(n)})),t}(n),u=o.lhs,c=ye(o.rhs,(function(n){return-n.i})),s=[],f=0,d=0,v=0;u.sort((t=!!e,function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i})),v=Ee(s,c,v),r.Z(u,(function(n){v+=n.vs.length,s.push(n.vs),f+=n.barycenter*n.weight,d+=n.weight,v=Ee(s,c,v)}));var h={vs:a.Z(s)};return d&&(h.barycenter=f/d,h.weight=d),h}function Ee(n,e,t){for(var r;e.length&&(r=H(e)).i<=t;)e.pop(),n.push(r.vs),t++;return t}function xe(n,e,t,o){var u=n.children(e),s=n.node(e),f=s?s.borderLeft:void 0,d=s?s.borderRight:void 0,v={};f&&(u=Pn.Z(u,(function(n){return n!==f&&n!==d})));var h=function(n,e){return c.Z(e,(function(e){var t=n.inEdges(e);if(t.length){var r=ue.Z(t,(function(e,t){var r=n.edge(t),o=n.node(t.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(n,u);r.Z(h,(function(e){if(n.children(e.v).length){var r=xe(n,e.v,t,o);v[e.v]=r,i.Z(r,"barycenter")&&(u=e,a=r,en.Z(u.barycenter)?(u.barycenter=a.barycenter,u.weight=a.weight):(u.barycenter=(u.barycenter*u.weight+a.barycenter*a.weight)/(u.weight+a.weight),u.weight+=a.weight))}var u,a}));var Z=function(n,e){var t={};return r.Z(n,(function(n,e){var r=t[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};en.Z(n.barycenter)||(r.barycenter=n.barycenter,r.weight=n.weight)})),r.Z(e.edges(),(function(n){var e=t[n.v],r=t[n.w];en.Z(e)||en.Z(r)||(r.indegree++,e.out.push(t[n.w]))})),function(n){var e=[];function t(n){return function(e){var t,r,o,i;e.merged||(en.Z(e.barycenter)||en.Z(n.barycenter)||e.barycenter>=n.barycenter)&&(r=e,o=0,i=0,(t=n).weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.vs=r.vs.concat(t.vs),t.barycenter=o/i,t.weight=i,t.i=Math.min(r.i,t.i),r.merged=!0)}}function o(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var i=n.pop();e.push(i),r.Z(i.in.reverse(),t(i)),r.Z(i.out,o(i))}return c.Z(Pn.Z(e,(function(n){return!n.merged})),(function(n){return U.Z(n,["vs","i","barycenter","weight"])}))}(Pn.Z(t,(function(n){return!n.indegree})))}(h,t);!function(n,e){r.Z(n,(function(n){n.vs=a.Z(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(Z,v);var l=je(Z,o);if(f&&(l.vs=a.Z([f,l.vs,d]),n.predecessors(f).length)){var g=n.node(n.predecessors(f)[0]),p=n.node(n.predecessors(d)[0]);i.Z(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+g.order+p.order)/(l.weight+2),l.weight+=2}return l}function ke(n,e,t){return c.Z(e,(function(e){return function(n,e,t){var u=function(n){for(var e;n.hasNode(e=o.Z("_root")););return e}(n),a=new f.k({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return r.Z(n.nodes(),(function(o){var c=n.node(o),s=n.parent(o);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(a.setNode(o),a.setParent(o,s||u),r.Z(n[t](o),(function(e){var t=e.v===o?e.w:e.v,r=a.edge(t,o),i=en.Z(r)?0:r.weight;a.setEdge(t,o,{weight:n.edge(e).weight+i})})),i.Z(c,"minRank")&&a.setNode(o,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),a}(n,e,t)}))}function Ne(n,e){var t=new f.k;r.Z(n,(function(n){var o=n.graph().root,i=xe(n,o,t,e);r.Z(i.vs,(function(e,t){n.node(e).order=t})),function(n,e,t){var o,i={};r.Z(t,(function(t){for(var r,u,a=n.parent(t);a;){if((r=n.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=r}}))}(n,t,i.vs)}))}function Oe(n,e){r.Z(e,(function(e){r.Z(e,(function(e,t){n.node(e).order=t}))}))}var Ie=t(8882);const Ce=function(n,e){return n&&(0,Q.Z)(n,(0,Ie.Z)(e))},Le=function(n,e){return null==n?n:(0,_.Z)(n,(0,Ie.Z)(e),T.Z)};function Me(n,e,t){if(e>t){var r=e;e=t,t=r}var o=n[e];o||(n[e]=o={}),o[t]=!0}function Ae(n,e,t){if(e>t){var r=e;e=t,t=r}return i.Z(n[e],t)}function Pe(n){var e,t=fn(n),o=G(function(n,e){var t={};return ue.Z(e,(function(e,o){var i=0,u=0,a=e.length,c=H(o);return r.Z(o,(function(e,s){var f=function(n,e){if(n.node(e).dummy)return Mn(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),d=f?n.node(f).order:a;(f||e===c)&&(r.Z(o.slice(u,s+1),(function(e){r.Z(n.predecessors(e),(function(r){var o=n.node(r),u=o.order;!(ua)&&Me(t,e,c)}))}))}return ue.Z(e,(function(e,t){var i,u=-1,a=0;return r.Z(t,(function(r,c){if("border"===n.node(r).dummy){var s=n.predecessors(r);s.length&&(i=n.node(s[0]).order,o(t,a,c,u,i),a=c,u=i)}o(t,a,t.length,i,e.length)})),t})),t}(n,t)),u={};r.Z(["u","d"],(function(a){e="u"===a?t:ie.Z(t).reverse(),r.Z(["l","r"],(function(t){"r"===t&&(e=c.Z(e,(function(n){return ie.Z(n).reverse()})));var s=("u"===a?n.predecessors:n.successors).bind(n),d=function(n,e,t,o){var i={},u={},a={};return r.Z(e,(function(n){r.Z(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),r.Z(e,(function(n){var e=-1;r.Z(n,(function(n){var r=o(n);if(r.length){r=ye(r,(function(n){return a[n]}));for(var c=(r.length-1)/2,s=Math.floor(c),f=Math.ceil(c);s<=f;++s){var d=r[s];u[n]===n&&ec||s>e[o].lim));for(i=o,o=r;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,c=0,s=u[c],f=!0;t!==o.w;){if(r=n.node(t),f){for(;(s=u[c])!==a&&n.node(s).maxRank=2);var h=me(n,u=fn(n));h{t.d(e,{k:()=>C});var r=t(3402),o=t(2002),i=t(3234),u=t(7179),a=t(2489),c=t(9697),s=t(870),f=t(9360),d=t(5140),v=t(9581),h=t(5084),Z=t(1692);const l=function(n){return n!=n},g=function(n,e){return!(null==n||!n.length)&&function(n,e,t){return e==e?function(n,e,t){for(var r=t-1,o=n.length;++r-1},p=function(n,e,t){for(var r=-1,o=null==n?0:n.length;++r=200){var s=e?null:_(n);if(s)return(0,y.Z)(s);u=!1,o=b.Z,c=new h.Z}else c=e?[]:a;n:for(;++r1?r.setNode(n,e):r.setNode(n)})),this}setNode(n,e){return r.Z(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=e),this):(this._nodes[n]=arguments.length>1?e:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=O,this._children[n]={},this._children[O][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return r.Z(this._nodes,n)}removeNode(n){var e=this;if(r.Z(this._nodes,n)){var t=function(n){e.removeEdge(e._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],s.Z(this.children(n),(function(n){e.setParent(n)})),delete this._children[n]),s.Z(u.Z(this._in[n]),t),delete this._in[n],delete this._preds[n],s.Z(u.Z(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f.Z(e))e=O;else{for(var t=e+="";!f.Z(t);t=this.parent(t))if(t===n)throw new Error("Setting "+e+" as parent of "+n+" would create a cycle");this.setNode(e)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=e,this._children[e][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var e=this._parent[n];if(e!==O)return e}}children(n){if(f.Z(n)&&(n=O),this._isCompound){var e=this._children[n];if(e)return u.Z(e)}else{if(n===O)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var e=this._preds[n];if(e)return u.Z(e)}successors(n){var e=this._sucs[n];if(e)return u.Z(e)}neighbors(n){var e=this.predecessors(n);if(e)return E(e,this.successors(n))}isLeaf(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length}filterNodes(n){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var t=this;s.Z(this._nodes,(function(t,r){n(r)&&e.setNode(r,t)})),s.Z(this._edgeObjs,(function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,t.edge(n))}));var r={};function o(n){var i=t.parent(n);return void 0===i||e.hasNode(i)?(r[n]=i,i):i in r?r[i]:o(i)}return this._isCompound&&s.Z(e.nodes(),(function(n){e.setParent(n,o(n))})),e}setDefaultEdgeLabel(n){return i.Z(n)||(n=o.Z(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return x.Z(this._edgeObjs)}setPath(n,e){var t=this,r=arguments;return k.Z(n,(function(n,o){return r.length>1?t.setEdge(n,o,e):t.setEdge(n,o),o})),this}setEdge(){var n,e,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(n=u.v,e=u.w,t=u.name,2===arguments.length&&(o=arguments[1],i=!0)):(n=u,e=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),n=""+n,e=""+e,f.Z(t)||(t=""+t);var a=A(this._isDirected,n,e,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!f.Z(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(e),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(n,e,t);var c=function(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,n,e,t);return n=c.v,e=c.w,Object.freeze(c),this._edgeObjs[a]=c,L(this._preds[e],n),L(this._sucs[n],e),this._in[e][a]=c,this._out[n][a]=c,this._edgeCount++,this}edge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return this._edgeLabels[r]}hasEdge(n,e,t){var o=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return r.Z(this._edgeLabels,o)}removeEdge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t),o=this._edgeObjs[r];return o&&(n=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],M(this._preds[e],n),M(this._sucs[n],e),delete this._in[e][r],delete this._out[n][r],this._edgeCount--),this}inEdges(n,e){var t=this._in[n];if(t){var r=x.Z(t);return e?a.Z(r,(function(n){return n.v===e})):r}}outEdges(n,e){var t=this._out[n];if(t){var r=x.Z(t);return e?a.Z(r,(function(n){return n.w===e})):r}}nodeEdges(n,e){var t=this.inEdges(n,e);if(t)return t.concat(this.outEdges(n,e))}}function L(n,e){n[e]?n[e]++:n[e]=1}function M(n,e){--n[e]||delete n[e]}function A(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}return o+I+i+I+(f.Z(r)?N:r)}function P(n,e){return A(n,e.v,e.w,e.name)}C.prototype._nodeCount=0,C.prototype._edgeCount=0},5625:(n,e,t)=>{t.d(e,{k:()=>r.k});var r=t(5351)},5084:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(520);function o(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new r.Z;++e{t.d(e,{Z:()=>a});var r=t(2536);var o=t(6183),i=t(520);function u(n){var e=this.__data__=new r.Z(n);this.size=e.size}u.prototype.clear=function(){this.__data__=new r.Z,this.size=0},u.prototype.delete=function(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t},u.prototype.get=function(n){return this.__data__.get(n)},u.prototype.has=function(n){return this.__data__.has(n)},u.prototype.set=function(n,e){var t=this.__data__;if(t instanceof r.Z){var u=t.__data__;if(!o.Z||u.length<199)return u.push([n,e]),this.size=++t.size,this;t=this.__data__=new i.Z(u)}return t.set(n,e),this.size=t.size,this};const a=u},7623:(n,e,t)=>{t.d(e,{Z:()=>r});const r=t(6092).Z.Uint8Array},6579:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length;++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length,o=0,i=[];++t{t.d(e,{Z:()=>s});var r=t(4732),o=t(7771),i=t(6706),u=t(6009),a=t(7212),c=Object.prototype.hasOwnProperty;const s=function(n,e){var t=(0,o.Z)(n),s=!t&&(0,r.Z)(n),f=!t&&!s&&(0,i.Z)(n),d=!t&&!s&&!f&&(0,a.Z)(n),v=t||s||f||d,h=v?function(n,e){for(var t=-1,r=Array(n);++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length,o=Array(r);++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=e.length,o=n.length;++t{t.d(e,{Z:()=>u});var r=t(4752),o=t(9651),i=Object.prototype.hasOwnProperty;const u=function(n,e,t){var u=n[e];i.call(n,e)&&(0,o.Z)(u,t)&&(void 0!==t||e in n)||(0,r.Z)(n,e,t)}},4752:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(7904);const o=function(n,e,t){"__proto__"==e&&r.Z?(0,r.Z)(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}},9103:(n,e,t)=>{t.d(e,{Z:()=>V});var r=t(5365),o=t(6579),i=t(2954),u=t(1899),a=t(7179);var c=t(7590);var s=t(1050),f=t(7215),d=t(5695);var v=t(8694),h=t(2513),Z=t(532);const l=Object.getOwnPropertySymbols?function(n){for(var e=[];n;)(0,v.Z)(e,(0,d.Z)(n)),n=(0,h.Z)(n);return e}:Z.Z;var g=t(1808),p=t(3327);const b=function(n){return(0,p.Z)(n,c.Z,l)};var w=t(6155),y=Object.prototype.hasOwnProperty;var m=t(1884);var _=/\w*$/;var j=t(7685),E=j.Z?j.Z.prototype:void 0,x=E?E.valueOf:void 0;var k=t(2701);const N=function(n,e,t){var r,o,i,u=n.constructor;switch(e){case"[object ArrayBuffer]":return(0,m.Z)(n);case"[object Boolean]":case"[object Date]":return new u(+n);case"[object DataView]":return function(n,e){var t=e?(0,m.Z)(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,k.Z)(n,t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(n);case"[object RegExp]":return(i=new(o=n).constructor(o.source,_.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=n,x?Object(x.call(r)):{}}};var O=t(5418),I=t(7771),C=t(6706),L=t(8533);var M=t(1162),A=t(8351),P=A.Z&&A.Z.isMap;const S=P?(0,M.Z)(P):function(n){return(0,L.Z)(n)&&"[object Map]"==(0,w.Z)(n)};var R=t(7226);var T=A.Z&&A.Z.isSet;const F=T?(0,M.Z)(T):function(n){return(0,L.Z)(n)&&"[object Set]"==(0,w.Z)(n)};var D="[object Arguments]",z="[object Function]",B="[object Object]",G={};G[D]=G["[object Array]"]=G["[object ArrayBuffer]"]=G["[object DataView]"]=G["[object Boolean]"]=G["[object Date]"]=G["[object Float32Array]"]=G["[object Float64Array]"]=G["[object Int8Array]"]=G["[object Int16Array]"]=G["[object Int32Array]"]=G["[object Map]"]=G["[object Number]"]=G[B]=G["[object RegExp]"]=G["[object Set]"]=G["[object String]"]=G["[object Symbol]"]=G["[object Uint8Array]"]=G["[object Uint8ClampedArray]"]=G["[object Uint16Array]"]=G["[object Uint32Array]"]=!0,G["[object Error]"]=G[z]=G["[object WeakMap]"]=!1;const V=function n(e,t,v,h,Z,p){var m,_=1&t,j=2&t,E=4&t;if(v&&(m=Z?v(e,h,Z,p):v(e)),void 0!==m)return m;if(!(0,R.Z)(e))return e;var x=(0,I.Z)(e);if(x){if(m=function(n){var e=n.length,t=new n.constructor(e);return e&&"string"==typeof n[0]&&y.call(n,"index")&&(t.index=n.index,t.input=n.input),t}(e),!_)return(0,f.Z)(e,m)}else{var k=(0,w.Z)(e),L=k==z||"[object GeneratorFunction]"==k;if((0,C.Z)(e))return(0,s.Z)(e,_);if(k==B||k==D||L&&!Z){if(m=j||L?{}:(0,O.Z)(e),!_)return j?function(n,e){return(0,u.Z)(n,l(n),e)}(e,function(n,e){return n&&(0,u.Z)(e,(0,c.Z)(e),n)}(m,e)):function(n,e){return(0,u.Z)(n,(0,d.Z)(n),e)}(e,function(n,e){return n&&(0,u.Z)(e,(0,a.Z)(e),n)}(m,e))}else{if(!G[k])return Z?e:{};m=N(e,k,_)}}p||(p=new r.Z);var M=p.get(e);if(M)return M;p.set(e,m),F(e)?e.forEach((function(r){m.add(n(r,t,v,r,e,p))})):S(e)&&e.forEach((function(r,o){m.set(o,n(r,t,v,o,e,p))}));var A=E?j?b:g.Z:j?c.Z:a.Z,P=x?void 0:A(e);return(0,o.Z)(P||e,(function(r,o){P&&(r=e[o=r]),(0,i.Z)(m,o,n(r,t,v,o,e,p))})),m}},8640:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(2693),o=t(585);const i=(u=r.Z,function(n,e){if(null==n)return n;if(!(0,o.Z)(n))return u(n,e);for(var t=n.length,r=-1,i=Object(n);++r{t.d(e,{Z:()=>r});const r=function(n,e,t,r){for(var o=n.length,i=t+(r?1:-1);r?i--:++i{t.d(e,{Z:()=>s});var r=t(8694),o=t(7685),i=t(4732),u=t(7771),a=o.Z?o.Z.isConcatSpreadable:void 0;const c=function(n){return(0,u.Z)(n)||(0,i.Z)(n)||!!(a&&n&&n[a])},s=function n(e,t,o,i,u){var a=-1,s=e.length;for(o||(o=c),u||(u=[]);++a0&&o(f)?t>1?n(f,t-1,o,i,u):(0,r.Z)(u,f):i||(u[u.length]=f)}return u}},5381:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e,t){for(var r=-1,o=Object(n),i=t(n),u=i.length;u--;){var a=i[++r];if(!1===e(o[a],a,o))break}return n}},2693:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(5381),o=t(7179);const i=function(n,e){return n&&(0,r.Z)(n,e,o.Z)}},3317:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(1036),o=t(2656);const i=function(n,e){for(var t=0,i=(e=(0,r.Z)(e,n)).length;null!=n&&t{t.d(e,{Z:()=>i});var r=t(8694),o=t(7771);const i=function(n,e,t){var i=e(n);return(0,o.Z)(n)?i:(0,r.Z)(i,t(n))}},7058:(n,e,t)=>{t.d(e,{Z:()=>B});var r=t(5365),o=t(5084);const i=function(n,e){for(var t=-1,r=null==n?0:n.length;++tf))return!1;var v=c.get(n),h=c.get(e);if(v&&h)return v==e&&h==n;var Z=-1,l=!0,g=2&t?new o.Z:void 0;for(c.set(n,e),c.set(e,n);++Z{t.d(e,{Z:()=>i});var r=t(8640),o=t(585);const i=function(n,e){var t=-1,i=(0,o.Z)(n)?Array(n.length):[];return(0,r.Z)(n,(function(n,r,o){i[++t]=e(n,r,o)})),i}},4193:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return function(e){return null==e?void 0:e[n]}}},9581:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(9203),o=t(3948),i=t(3626);const u=function(n,e){return(0,i.Z)((0,o.Z)(n,e,r.Z),n+"")}},9548:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){return n.has(e)}},8882:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(9203);const o=function(n){return"function"==typeof n?n:r.Z}},1036:(n,e,t)=>{t.d(e,{Z:()=>v});var r=t(7771),o=t(9365),i=t(2454),u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;const c=(s=(0,i.Z)((function(n){var e=[];return 46===n.charCodeAt(0)&&e.push(""),n.replace(u,(function(n,t,r,o){e.push(r?o.replace(a,"$1"):t||n)})),e}),(function(n){return 500===f.size&&f.clear(),n})),f=s.cache,s);var s,f,d=t(2402);const v=function(n,e){return(0,r.Z)(n)?n:(0,o.Z)(n,e)?[n]:c((0,d.Z)(n))}},1884:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(7623);const o=function(n){var e=new n.constructor(n.byteLength);return new r.Z(e).set(new r.Z(n)),e}},1050:(n,e,t)=>{t.d(e,{Z:()=>c});var r=t(6092),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,u=i&&i.exports===o?r.Z.Buffer:void 0,a=u?u.allocUnsafe:void 0;const c=function(n,e){if(e)return n.slice();var t=n.length,r=a?a(t):new n.constructor(t);return n.copy(r),r}},2701:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(1884);const o=function(n,e){var t=e?(0,r.Z)(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}},7215:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){var t=-1,r=n.length;for(e||(e=Array(r));++t{t.d(e,{Z:()=>i});var r=t(2954),o=t(4752);const i=function(n,e,t,i){var u=!t;t||(t={});for(var a=-1,c=e.length;++a{t.d(e,{Z:()=>o});var r=t(2119);const o=function(){try{var n=(0,r.Z)(Object,"defineProperty");return n({},"",{}),n}catch(n){}}()},1808:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(3327),o=t(5695),i=t(7179);const u=function(n){return(0,r.Z)(n,i.Z,o.Z)}},2513:(n,e,t)=>{t.d(e,{Z:()=>r});const r=(0,t(1851).Z)(Object.getPrototypeOf,Object)},5695:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(8774),o=t(532),i=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;const a=u?function(n){return null==n?[]:(n=Object(n),(0,r.Z)(u(n),(function(e){return i.call(n,e)})))}:o.Z},5196:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(1036),o=t(4732),i=t(7771),u=t(6009),a=t(1656),c=t(2656);const s=function(n,e,t){for(var s=-1,f=(e=(0,r.Z)(e,n)).length,d=!1;++s{t.d(e,{Z:()=>c});var r=t(7226),o=Object.create;const i=function(){function n(){}return function(e){if(!(0,r.Z)(e))return{};if(o)return o(e);n.prototype=e;var t=new n;return n.prototype=void 0,t}}();var u=t(2513),a=t(2764);const c=function(n){return"function"!=typeof n.constructor||(0,a.Z)(n)?{}:i((0,u.Z)(n))}},6009:(n,e,t)=>{t.d(e,{Z:()=>o});var r=/^(?:0|[1-9]\d*)$/;const o=function(n,e){var t=typeof n;return!!(e=null==e?9007199254740991:e)&&("number"==t||"symbol"!=t&&r.test(n))&&n>-1&&n%1==0&&n{t.d(e,{Z:()=>a});var r=t(9651),o=t(585),i=t(6009),u=t(7226);const a=function(n,e,t){if(!(0,u.Z)(t))return!1;var a=typeof e;return!!("number"==a?(0,o.Z)(t)&&(0,i.Z)(e,t.length):"string"==a&&e in t)&&(0,r.Z)(t[e],n)}},9365:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(7771),o=t(2714),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const a=function(n,e){if((0,r.Z)(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!(0,o.Z)(n))||u.test(n)||!i.test(n)||null!=e&&n in Object(e)}},3948:(n,e,t)=>{t.d(e,{Z:()=>o});var r=Math.max;const o=function(n,e,t){return e=r(void 0===e?n.length-1:e,0),function(){for(var o=arguments,i=-1,u=r(o.length-e,0),a=Array(u);++i{t.d(e,{Z:()=>r});const r=function(n){var e=-1,t=Array(n.size);return n.forEach((function(n){t[++e]=n})),t}},3626:(n,e,t)=>{t.d(e,{Z:()=>c});var r=t(2002),o=t(7904),i=t(9203);const u=o.Z?function(n,e){return(0,o.Z)(n,"toString",{configurable:!0,enumerable:!1,value:(0,r.Z)(e),writable:!0})}:i.Z;var a=Date.now;const c=(s=u,f=0,d=0,function(){var n=a(),e=16-(n-d);if(d=n,e>0){if(++f>=800)return arguments[0]}else f=0;return s.apply(void 0,arguments)});var s,f,d},2656:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(2714);const o=function(n){if("string"==typeof n||(0,r.Z)(n))return n;var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},2002:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return function(){return n}}},3688:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(9581),o=t(9651),i=t(439),u=t(7590),a=Object.prototype,c=a.hasOwnProperty;const s=(0,r.Z)((function(n,e){n=Object(n);var t=-1,r=e.length,s=r>2?e[2]:void 0;for(s&&(0,i.Z)(e[0],e[1],s)&&(r=1);++t{t.d(e,{Z:()=>c});var r=t(8774),o=t(8640);const i=function(n,e){var t=[];return(0,o.Z)(n,(function(n,r,o){e(n,r,o)&&t.push(n)})),t};var u=t(7058),a=t(7771);const c=function(n,e){return((0,a.Z)(n)?r.Z:i)(n,(0,u.Z)(e,3))}},7961:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(5140);const o=function(n){return null!=n&&n.length?(0,r.Z)(n,1):[]}},870:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(6579),o=t(8640),i=t(8882),u=t(7771);const a=function(n,e){return((0,u.Z)(n)?r.Z:o.Z)(n,(0,i.Z)(e))}},3402:(n,e,t)=>{t.d(e,{Z:()=>u});var r=Object.prototype.hasOwnProperty;const o=function(n,e){return null!=n&&r.call(n,e)};var i=t(5196);const u=function(n,e){return null!=n&&(0,i.Z)(n,e,o)}},1910:(n,e,t)=>{t.d(e,{Z:()=>i});const r=function(n,e){return null!=n&&e in Object(n)};var o=t(5196);const i=function(n,e){return null!=n&&(0,o.Z)(n,e,r)}},9203:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return n}},836:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(585),o=t(8533);const i=function(n){return(0,o.Z)(n)&&(0,r.Z)(n)}},7514:(n,e,t)=>{t.d(e,{Z:()=>d});var r=t(3243),o=t(2513),i=t(8533),u=Function.prototype,a=Object.prototype,c=u.toString,s=a.hasOwnProperty,f=c.call(Object);const d=function(n){if(!(0,i.Z)(n)||"[object Object]"!=(0,r.Z)(n))return!1;var e=(0,o.Z)(n);if(null===e)return!0;var t=s.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&c.call(t)==f}},2714:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(3243),o=t(8533);const i=function(n){return"symbol"==typeof n||(0,o.Z)(n)&&"[object Symbol]"==(0,r.Z)(n)}},9360:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return void 0===n}},7179:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(9001),o=t(8448),i=t(585);const u=function(n){return(0,i.Z)(n)?(0,r.Z)(n):(0,o.Z)(n)}},7590:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(9001),o=t(7226),i=t(2764);var u=Object.prototype.hasOwnProperty;const a=function(n){if(!(0,o.Z)(n))return function(n){var e=[];if(null!=n)for(var t in Object(n))e.push(t);return e}(n);var e=(0,i.Z)(n),t=[];for(var r in n)("constructor"!=r||!e&&u.call(n,r))&&t.push(r);return t};var c=t(585);const s=function(n){return(0,c.Z)(n)?(0,r.Z)(n,!0):a(n)}},3836:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(4073),o=t(7058),i=t(1018),u=t(7771);const a=function(n,e){return((0,u.Z)(n)?r.Z:i.Z)(n,(0,o.Z)(e,3))}},3032:(n,e,t)=>{t.d(e,{Z:()=>l});var r=t(3317),o=t(2954),i=t(1036),u=t(6009),a=t(7226),c=t(2656);const s=function(n,e,t,r){if(!(0,a.Z)(n))return n;for(var s=-1,f=(e=(0,i.Z)(e,n)).length,d=f-1,v=n;null!=v&&++s{t.d(e,{Z:()=>a});var r=Math.ceil,o=Math.max;var i=t(439),u=t(6770);const a=function(n,e,t){return t&&"number"!=typeof t&&(0,i.Z)(n,e,t)&&(e=t=void 0),n=(0,u.Z)(n),void 0===e?(e=n,n=0):e=(0,u.Z)(e),function(n,e,t,i){for(var u=-1,a=o(r((e-n)/(t||1)),0),c=Array(a);a--;)c[i?a:++u]=n,n+=t;return c}(n,e,t=void 0===t?n{t.d(e,{Z:()=>c});const r=function(n,e,t,r){var o=-1,i=null==n?0:n.length;for(r&&i&&(t=n[++o]);++o{t.d(e,{Z:()=>r});const r=function(){return[]}},6770:(n,e,t)=>{t.d(e,{Z:()=>v});var r=/\s/;var o=/^\s+/;const i=function(n){return n?n.slice(0,function(n){for(var e=n.length;e--&&r.test(n.charAt(e)););return e}(n)+1).replace(o,""):n};var u=t(7226),a=t(2714),c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt;const v=function(n){return n?Infinity===(n=function(n){if("number"==typeof n)return n;if((0,a.Z)(n))return NaN;if((0,u.Z)(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.Z)(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var t=s.test(n);return t||f.test(n)?d(n.slice(2),t?2:8):c.test(n)?NaN:+n}(n))||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}},2402:(n,e,t)=>{t.d(e,{Z:()=>f});var r=t(7685),o=t(4073),i=t(7771),u=t(2714),a=r.Z?r.Z.prototype:void 0,c=a?a.toString:void 0;const s=function n(e){if("string"==typeof e)return e;if((0,i.Z)(e))return(0,o.Z)(e,n)+"";if((0,u.Z)(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},f=function(n){return null==n?"":s(n)}},6749:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(2402),o=0;const i=function(n){var e=++o;return(0,r.Z)(n)+e}},4657:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(4073);var o=t(7179);const i=function(n){return null==n?[]:function(n,e){return(0,r.Z)(e,(function(e){return n[e]}))}(n,(0,o.Z)(n))}}}; \ No newline at end of file +export const id=451;export const ids=[451];export const modules={9451:(n,e,t)=>{t.d(e,{bK:()=>Se});var r=t(870),o=t(6749),i=t(3402),u=t(2002),a=t(7961),c=t(3836),s=t(6446),f=t(5625);class d{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return v(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&v(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,t=e._prev;t!==e;)n.push(JSON.stringify(t,h)),t=t._prev;return"["+n.join(", ")+"]"}}function v(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function h(n,e){if("_next"!==n&&"_prev"!==n)return e}var Z=u.Z(1);function l(n,e,t,o,i){var u=i?[]:void 0;return r.Z(n.inEdges(o.v),(function(r){var o=n.edge(r),a=n.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,g(e,t,a)})),r.Z(n.outEdges(o.v),(function(r){var o=n.edge(r),i=r.w,u=n.node(i);u.in-=o,g(e,t,u)})),n.removeNode(o.v),u}function g(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var t=function(n,e){var t=new f.k,o=0,i=0;r.Z(n.nodes(),(function(n){t.setNode(n,{v:n,in:0,out:0})})),r.Z(n.edges(),(function(n){var r=t.edge(n.v,n.w)||0,u=e(n),a=r+u;t.setEdge(n.v,n.w,a),i=Math.max(i,t.node(n.v).out+=u),o=Math.max(o,t.node(n.w).in+=u)}));var u=s.Z(i+o+3).map((function(){return new d})),a=o+1;return r.Z(t.nodes(),(function(n){g(u,a,t.node(n))})),{graph:t,buckets:u,zeroIdx:a}}(n,e||Z),o=function(n,e,t){for(var r,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;r=u.dequeue();)l(n,e,t,r);for(;r=i.dequeue();)l(n,e,t,r);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(r=e[a].dequeue()){o=o.concat(l(n,e,t,r,!0));break}}return o}(t.graph,t.buckets,t.zeroIdx);return a.Z(c.Z(o,(function(e){return n.outEdges(e.v,e.w)})))}(n,function(n){return function(e){return n.edge(e).weight}}(n)):function(n){var e=[],t={},o={};return r.Z(n.nodes(),(function u(a){i.Z(o,a)||(o[a]=!0,t[a]=!0,r.Z(n.outEdges(a),(function(n){i.Z(t,n.w)?e.push(n):u(n.w)})),delete t[a])})),e}(n);r.Z(e,(function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,o.Z("rev"))}))}var b=t(5365),w=t(4752),y=t(9651);const m=function(n,e,t){(void 0!==t&&!(0,y.Z)(n[e],t)||void 0===t&&!(e in n))&&(0,w.Z)(n,e,t)};var _=t(5381),j=t(1050),E=t(2701),x=t(7215),k=t(5418),N=t(4732),O=t(7771),I=t(836),C=t(6706),L=t(3234),M=t(7226),A=t(7514),P=t(7212);const S=function(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var R=t(1899),T=t(7590);const F=function(n,e,t,r,o,i,u){var a,c=S(n,t),s=S(e,t),f=u.get(s);if(f)m(n,t,f);else{var d=i?i(c,s,t+"",n,e,u):void 0,v=void 0===d;if(v){var h=(0,O.Z)(s),Z=!h&&(0,C.Z)(s),l=!h&&!Z&&(0,P.Z)(s);d=s,h||Z||l?(0,O.Z)(c)?d=c:(0,I.Z)(c)?d=(0,x.Z)(c):Z?(v=!1,d=(0,j.Z)(s,!0)):l?(v=!1,d=(0,E.Z)(s,!0)):d=[]:(0,A.Z)(s)||(0,N.Z)(s)?(d=c,(0,N.Z)(c)?(a=c,d=(0,R.Z)(a,(0,T.Z)(a))):(0,M.Z)(c)&&!(0,L.Z)(c)||(d=(0,k.Z)(s))):v=!1}v&&(u.set(s,d),o(d,s,r,i,u),u.delete(s)),m(n,t,d)}},D=function n(e,t,r,o,i){e!==t&&(0,_.Z)(t,(function(u,a){if(i||(i=new b.Z),(0,M.Z)(u))F(e,t,a,r,n,o,i);else{var c=o?o(S(e,a),u,a+"",e,t,i):void 0;void 0===c&&(c=u),m(e,a,c)}}),T.Z)};var z=t(9581),B=t(439);const G=(V=function(n,e,t){D(n,e,t)},(0,z.Z)((function(n,e){var t=-1,r=e.length,o=r>1?e[r-1]:void 0,i=r>2?e[2]:void 0;for(o=V.length>3&&"function"==typeof o?(r--,o):void 0,i&&(0,B.Z)(e[0],e[1],i)&&(o=r<3?void 0:o,r=1),n=Object(n);++te};var K=t(9203);const W=function(n){return n&&n.length?$(n,K.Z,J):void 0},H=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var Q=t(2693),X=t(7058);const nn=function(n,e){var t={};return e=(0,X.Z)(e,3),(0,Q.Z)(n,(function(n,r,o){(0,w.Z)(t,r,e(n,r,o))})),t};var en=t(752);const tn=function(n,e){return nMath.abs(u)*s?(a<0&&(s=-s),t=s*u/a,r=s):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function fn(n){var e=c.Z(s.Z(vn(n)+1),(function(){return[]}));return r.Z(n.nodes(),(function(t){var r=n.node(t),o=r.rank;en.Z(o)||(e[o][r.order]=t)})),e}function dn(n,e,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),an(n,"border",o,e)}function vn(n){return W(c.Z(n.nodes(),(function(e){var t=n.node(e).rank;if(!en.Z(t))return t})))}function hn(n,e){var t=un();try{return e()}finally{console.log(n+" time: "+(un()-t)+"ms")}}function Zn(n,e){return e()}function ln(n,e,t,r,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],c=an(n,"border",u,t);o[e][i]=c,n.setParent(c,r),a&&n.setEdge(a,c,{weight:1})}function gn(n){r.Z(n.nodes(),(function(e){pn(n.node(e))})),r.Z(n.edges(),(function(e){pn(n.edge(e))}))}function pn(n){var e=n.width;n.width=n.height,n.height=e}function bn(n){n.y=-n.y}function wn(n){var e=n.x;n.x=n.y,n.y=e}const yn=function(n,e){return n&&n.length?$(n,(0,X.Z)(e,2),tn):void 0};function mn(n){var e={};r.Z(n.sources(),(function t(r){var o=n.node(r);if(i.Z(e,r))return o.rank;e[r]=!0;var u=rn(c.Z(n.outEdges(r),(function(e){return t(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function _n(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function jn(n){var e,t,r=new f.k({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(r.setNode(o,{});En(r,n)-1?r[o?n[i]:i]:void 0});var An,Pn=t(2489);u.Z(1),u.Z(1),t(8448),t(6155),t(3243),t(8533),(0,t(4193).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Sn="\\ud800-\\udfff",Rn="["+Sn+"]",Tn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Fn="\\ud83c[\\udffb-\\udfff]",Dn="[^"+Sn+"]",zn="(?:\\ud83c[\\udde6-\\uddff]){2}",Bn="[\\ud800-\\udbff][\\udc00-\\udfff]",Gn="(?:"+Tn+"|"+Fn+")?",Vn="[\\ufe0e\\ufe0f]?",Un=Vn+Gn+"(?:\\u200d(?:"+[Dn,zn,Bn].join("|")+")"+Vn+Gn+")*",qn="(?:"+[Dn+Tn+"?",Tn,zn,Bn,Rn].join("|")+")";function Yn(n,e,t){O.Z(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return r.Z(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);$n(n,e,"post"===t,u,o,i)})),i}function $n(n,e,t,o,u,a){i.Z(o,e)||(o[e]=!0,t||a.push(e),r.Z(u(e),(function(e){$n(n,e,t,o,u,a)})),t&&a.push(e))}function Jn(n){n=function(n){var e=(new f.k).setGraph(n.graph());return r.Z(n.nodes(),(function(t){e.setNode(t,n.node(t))})),r.Z(n.edges(),(function(t){var r=e.edge(t.v,t.w)||{weight:0,minlen:1},o=n.edge(t);e.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),e}(n),mn(n);var e,t=jn(n);for(Hn(t),Kn(t,n);e=Xn(t);)ee(t,n,e,ne(t,n,e))}function Kn(n,e){var t=function(n,e){return Yn(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),r.Z(t,(function(t){!function(n,e,t){var r=n.node(t).parent;n.edge(t,r).cutvalue=Wn(n,e,t)}(n,e,t)}))}function Wn(n,e,t){var o=n.node(t).parent,i=!0,u=e.edge(t,o),a=0;return u||(i=!1,u=e.edge(o,t)),a=u.weight,r.Z(e.nodeEdges(t),(function(r){var u,c,s=r.v===t,f=s?r.w:r.v;if(f!==o){var d=s===i,v=e.edge(r).weight;if(a+=d?v:-v,u=t,c=f,n.hasEdge(u,c)){var h=n.edge(t,f).cutvalue;a+=d?-h:h}}})),a}function Hn(n,e){arguments.length<2&&(e=n.nodes()[0]),Qn(n,{},1,e)}function Qn(n,e,t,o,u){var a=t,c=n.node(o);return e[o]=!0,r.Z(n.neighbors(o),(function(r){i.Z(e,r)||(t=Qn(n,e,t,r,o))})),c.low=a,c.lim=t++,u?c.parent=u:delete c.parent,t}function Xn(n){return Mn(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function ne(n,e,t){var r=t.v,o=t.w;e.hasEdge(r,o)||(r=t.w,o=t.v);var i=n.node(r),u=n.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var s=Pn.Z(e.edges(),(function(e){return c===te(0,n.node(e.v),a)&&c!==te(0,n.node(e.w),a)}));return yn(s,(function(n){return _n(e,n)}))}function ee(n,e,t,o){var i=t.v,u=t.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Hn(n),Kn(n,e),function(n,e){var t=Mn(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return Yn(n,e,"pre")}(n,t);o=o.slice(1),r.Z(o,(function(t){var r=n.node(t).parent,o=e.edge(t,r),i=!1;o||(o=e.edge(r,t),i=!0),e.node(t).rank=e.node(r).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function te(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function re(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){Jn(n)}(n);break;case"tight-tree":!function(n){mn(n),jn(n)}(n);break;case"longest-path":oe(n)}}RegExp(Fn+"(?="+Fn+")|"+qn+Un,"g"),new Error,t(5351),Jn.initLowLimValues=Hn,Jn.initCutValues=Kn,Jn.calcCutValue=Wn,Jn.leaveEdge=Xn,Jn.enterEdge=ne,Jn.exchangeEdges=ee;var oe=mn;var ie=t(4657),ue=t(4283);function ae(n){var e=an(n,"root",{},"_root"),t=function(n){var e={};function t(o,i){var u=n.children(o);u&&u.length&&r.Z(u,(function(n){t(n,i+1)})),e[o]=i}return r.Z(n.children(),(function(n){t(n,1)})),e}(n),o=W(ie.Z(t))-1,i=2*o+1;n.graph().nestingRoot=e,r.Z(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return ue.Z(n.edges(),(function(e,t){return e+n.edge(t).weight}),0)}(n)+1;r.Z(n.children(),(function(r){ce(n,e,i,u,o,t,r)})),n.graph().nodeRankFactor=i}function ce(n,e,t,o,i,u,a){var c=n.children(a);if(c.length){var s=dn(n,"_bt"),f=dn(n,"_bb"),d=n.node(a);n.setParent(s,a),d.borderTop=s,n.setParent(f,a),d.borderBottom=f,r.Z(c,(function(r){ce(n,e,t,o,i,u,r);var c=n.node(r),d=c.borderTop?c.borderTop:r,v=c.borderBottom?c.borderBottom:r,h=c.borderTop?o:2*o,Z=d!==v?1:i-u[a]+1;n.setEdge(s,d,{weight:h,minlen:Z,nestingEdge:!0}),n.setEdge(v,f,{weight:h,minlen:Z,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,s,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:t})}var se=t(9103);const fe=function(n){return(0,se.Z)(n,5)};var de=t(2954);const ve=function(n,e){return function(n,e,t){for(var r=-1,o=n.length,i=e.length,u={};++re||i&&u&&c&&!a&&!s||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!s&&n=a?c:c*("desc"==t[r]?-1:1)}return n.index-e.index}(n,e,t)}))},ye=(0,z.Z)((function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,B.Z)(n,e[0],e[1])?e=[]:t>2&&(0,B.Z)(e[0],e[1],e[2])&&(e=[e[0]]),we(n,(0,he.Z)(e,1),[])}));function me(n,e){for(var t=0,r=1;r0;)e%2&&(t+=f[e+1]),f[e=e-1>>1]+=n.weight;d+=n.weight*t}))),d}function je(n,e){var t,o=function(n,e){var t={lhs:[],rhs:[]};return r.Z(n,(function(n){var e;e=n,i.Z(e,"barycenter")?t.lhs.push(n):t.rhs.push(n)})),t}(n),u=o.lhs,c=ye(o.rhs,(function(n){return-n.i})),s=[],f=0,d=0,v=0;u.sort((t=!!e,function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i})),v=Ee(s,c,v),r.Z(u,(function(n){v+=n.vs.length,s.push(n.vs),f+=n.barycenter*n.weight,d+=n.weight,v=Ee(s,c,v)}));var h={vs:a.Z(s)};return d&&(h.barycenter=f/d,h.weight=d),h}function Ee(n,e,t){for(var r;e.length&&(r=H(e)).i<=t;)e.pop(),n.push(r.vs),t++;return t}function xe(n,e,t,o){var u=n.children(e),s=n.node(e),f=s?s.borderLeft:void 0,d=s?s.borderRight:void 0,v={};f&&(u=Pn.Z(u,(function(n){return n!==f&&n!==d})));var h=function(n,e){return c.Z(e,(function(e){var t=n.inEdges(e);if(t.length){var r=ue.Z(t,(function(e,t){var r=n.edge(t),o=n.node(t.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(n,u);r.Z(h,(function(e){if(n.children(e.v).length){var r=xe(n,e.v,t,o);v[e.v]=r,i.Z(r,"barycenter")&&(u=e,a=r,en.Z(u.barycenter)?(u.barycenter=a.barycenter,u.weight=a.weight):(u.barycenter=(u.barycenter*u.weight+a.barycenter*a.weight)/(u.weight+a.weight),u.weight+=a.weight))}var u,a}));var Z=function(n,e){var t={};return r.Z(n,(function(n,e){var r=t[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};en.Z(n.barycenter)||(r.barycenter=n.barycenter,r.weight=n.weight)})),r.Z(e.edges(),(function(n){var e=t[n.v],r=t[n.w];en.Z(e)||en.Z(r)||(r.indegree++,e.out.push(t[n.w]))})),function(n){var e=[];function t(n){return function(e){var t,r,o,i;e.merged||(en.Z(e.barycenter)||en.Z(n.barycenter)||e.barycenter>=n.barycenter)&&(r=e,o=0,i=0,(t=n).weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.vs=r.vs.concat(t.vs),t.barycenter=o/i,t.weight=i,t.i=Math.min(r.i,t.i),r.merged=!0)}}function o(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var i=n.pop();e.push(i),r.Z(i.in.reverse(),t(i)),r.Z(i.out,o(i))}return c.Z(Pn.Z(e,(function(n){return!n.merged})),(function(n){return U.Z(n,["vs","i","barycenter","weight"])}))}(Pn.Z(t,(function(n){return!n.indegree})))}(h,t);!function(n,e){r.Z(n,(function(n){n.vs=a.Z(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(Z,v);var l=je(Z,o);if(f&&(l.vs=a.Z([f,l.vs,d]),n.predecessors(f).length)){var g=n.node(n.predecessors(f)[0]),p=n.node(n.predecessors(d)[0]);i.Z(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+g.order+p.order)/(l.weight+2),l.weight+=2}return l}function ke(n,e,t){return c.Z(e,(function(e){return function(n,e,t){var u=function(n){for(var e;n.hasNode(e=o.Z("_root")););return e}(n),a=new f.k({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return r.Z(n.nodes(),(function(o){var c=n.node(o),s=n.parent(o);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(a.setNode(o),a.setParent(o,s||u),r.Z(n[t](o),(function(e){var t=e.v===o?e.w:e.v,r=a.edge(t,o),i=en.Z(r)?0:r.weight;a.setEdge(t,o,{weight:n.edge(e).weight+i})})),i.Z(c,"minRank")&&a.setNode(o,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),a}(n,e,t)}))}function Ne(n,e){var t=new f.k;r.Z(n,(function(n){var o=n.graph().root,i=xe(n,o,t,e);r.Z(i.vs,(function(e,t){n.node(e).order=t})),function(n,e,t){var o,i={};r.Z(t,(function(t){for(var r,u,a=n.parent(t);a;){if((r=n.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=r}}))}(n,t,i.vs)}))}function Oe(n,e){r.Z(e,(function(e){r.Z(e,(function(e,t){n.node(e).order=t}))}))}var Ie=t(8882);const Ce=function(n,e){return n&&(0,Q.Z)(n,(0,Ie.Z)(e))},Le=function(n,e){return null==n?n:(0,_.Z)(n,(0,Ie.Z)(e),T.Z)};function Me(n,e,t){if(e>t){var r=e;e=t,t=r}var o=n[e];o||(n[e]=o={}),o[t]=!0}function Ae(n,e,t){if(e>t){var r=e;e=t,t=r}return i.Z(n[e],t)}function Pe(n){var e,t=fn(n),o=G(function(n,e){var t={};return ue.Z(e,(function(e,o){var i=0,u=0,a=e.length,c=H(o);return r.Z(o,(function(e,s){var f=function(n,e){if(n.node(e).dummy)return Mn(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),d=f?n.node(f).order:a;(f||e===c)&&(r.Z(o.slice(u,s+1),(function(e){r.Z(n.predecessors(e),(function(r){var o=n.node(r),u=o.order;!(ua)&&Me(t,e,c)}))}))}return ue.Z(e,(function(e,t){var i,u=-1,a=0;return r.Z(t,(function(r,c){if("border"===n.node(r).dummy){var s=n.predecessors(r);s.length&&(i=n.node(s[0]).order,o(t,a,c,u,i),a=c,u=i)}o(t,a,t.length,i,e.length)})),t})),t}(n,t)),u={};r.Z(["u","d"],(function(a){e="u"===a?t:ie.Z(t).reverse(),r.Z(["l","r"],(function(t){"r"===t&&(e=c.Z(e,(function(n){return ie.Z(n).reverse()})));var s=("u"===a?n.predecessors:n.successors).bind(n),d=function(n,e,t,o){var i={},u={},a={};return r.Z(e,(function(n){r.Z(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),r.Z(e,(function(n){var e=-1;r.Z(n,(function(n){var r=o(n);if(r.length){r=ye(r,(function(n){return a[n]}));for(var c=(r.length-1)/2,s=Math.floor(c),f=Math.ceil(c);s<=f;++s){var d=r[s];u[n]===n&&ec||s>e[o].lim));for(i=o,o=r;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,c=0,s=u[c],f=!0;t!==o.w;){if(r=n.node(t),f){for(;(s=u[c])!==a&&n.node(s).maxRank=2);var h=me(n,u=fn(n));h{t.d(e,{k:()=>C});var r=t(3402),o=t(2002),i=t(3234),u=t(7179),a=t(2489),c=t(9697),s=t(870),f=t(752),d=t(5140),v=t(9581),h=t(5084),Z=t(1692);const l=function(n){return n!=n},g=function(n,e){return!(null==n||!n.length)&&function(n,e,t){return e==e?function(n,e,t){for(var r=t-1,o=n.length;++r-1},p=function(n,e,t){for(var r=-1,o=null==n?0:n.length;++r=200){var s=e?null:_(n);if(s)return(0,y.Z)(s);u=!1,o=b.Z,c=new h.Z}else c=e?[]:a;n:for(;++r1?r.setNode(n,e):r.setNode(n)})),this}setNode(n,e){return r.Z(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=e),this):(this._nodes[n]=arguments.length>1?e:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=O,this._children[n]={},this._children[O][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return r.Z(this._nodes,n)}removeNode(n){var e=this;if(r.Z(this._nodes,n)){var t=function(n){e.removeEdge(e._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],s.Z(this.children(n),(function(n){e.setParent(n)})),delete this._children[n]),s.Z(u.Z(this._in[n]),t),delete this._in[n],delete this._preds[n],s.Z(u.Z(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f.Z(e))e=O;else{for(var t=e+="";!f.Z(t);t=this.parent(t))if(t===n)throw new Error("Setting "+e+" as parent of "+n+" would create a cycle");this.setNode(e)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=e,this._children[e][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var e=this._parent[n];if(e!==O)return e}}children(n){if(f.Z(n)&&(n=O),this._isCompound){var e=this._children[n];if(e)return u.Z(e)}else{if(n===O)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var e=this._preds[n];if(e)return u.Z(e)}successors(n){var e=this._sucs[n];if(e)return u.Z(e)}neighbors(n){var e=this.predecessors(n);if(e)return E(e,this.successors(n))}isLeaf(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length}filterNodes(n){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var t=this;s.Z(this._nodes,(function(t,r){n(r)&&e.setNode(r,t)})),s.Z(this._edgeObjs,(function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,t.edge(n))}));var r={};function o(n){var i=t.parent(n);return void 0===i||e.hasNode(i)?(r[n]=i,i):i in r?r[i]:o(i)}return this._isCompound&&s.Z(e.nodes(),(function(n){e.setParent(n,o(n))})),e}setDefaultEdgeLabel(n){return i.Z(n)||(n=o.Z(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return x.Z(this._edgeObjs)}setPath(n,e){var t=this,r=arguments;return k.Z(n,(function(n,o){return r.length>1?t.setEdge(n,o,e):t.setEdge(n,o),o})),this}setEdge(){var n,e,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(n=u.v,e=u.w,t=u.name,2===arguments.length&&(o=arguments[1],i=!0)):(n=u,e=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),n=""+n,e=""+e,f.Z(t)||(t=""+t);var a=A(this._isDirected,n,e,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!f.Z(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(e),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(n,e,t);var c=function(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,n,e,t);return n=c.v,e=c.w,Object.freeze(c),this._edgeObjs[a]=c,L(this._preds[e],n),L(this._sucs[n],e),this._in[e][a]=c,this._out[n][a]=c,this._edgeCount++,this}edge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return this._edgeLabels[r]}hasEdge(n,e,t){var o=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return r.Z(this._edgeLabels,o)}removeEdge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t),o=this._edgeObjs[r];return o&&(n=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],M(this._preds[e],n),M(this._sucs[n],e),delete this._in[e][r],delete this._out[n][r],this._edgeCount--),this}inEdges(n,e){var t=this._in[n];if(t){var r=x.Z(t);return e?a.Z(r,(function(n){return n.v===e})):r}}outEdges(n,e){var t=this._out[n];if(t){var r=x.Z(t);return e?a.Z(r,(function(n){return n.w===e})):r}}nodeEdges(n,e){var t=this.inEdges(n,e);if(t)return t.concat(this.outEdges(n,e))}}function L(n,e){n[e]?n[e]++:n[e]=1}function M(n,e){--n[e]||delete n[e]}function A(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}return o+I+i+I+(f.Z(r)?N:r)}function P(n,e){return A(n,e.v,e.w,e.name)}C.prototype._nodeCount=0,C.prototype._edgeCount=0},5625:(n,e,t)=>{t.d(e,{k:()=>r.k});var r=t(5351)},5084:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(520);function o(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new r.Z;++e{t.d(e,{Z:()=>a});var r=t(2536);var o=t(6183),i=t(520);function u(n){var e=this.__data__=new r.Z(n);this.size=e.size}u.prototype.clear=function(){this.__data__=new r.Z,this.size=0},u.prototype.delete=function(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t},u.prototype.get=function(n){return this.__data__.get(n)},u.prototype.has=function(n){return this.__data__.has(n)},u.prototype.set=function(n,e){var t=this.__data__;if(t instanceof r.Z){var u=t.__data__;if(!o.Z||u.length<199)return u.push([n,e]),this.size=++t.size,this;t=this.__data__=new i.Z(u)}return t.set(n,e),this.size=t.size,this};const a=u},7623:(n,e,t)=>{t.d(e,{Z:()=>r});const r=t(6092).Z.Uint8Array},6579:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length;++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length,o=0,i=[];++t{t.d(e,{Z:()=>s});var r=t(4732),o=t(7771),i=t(6706),u=t(6009),a=t(7212),c=Object.prototype.hasOwnProperty;const s=function(n,e){var t=(0,o.Z)(n),s=!t&&(0,r.Z)(n),f=!t&&!s&&(0,i.Z)(n),d=!t&&!s&&!f&&(0,a.Z)(n),v=t||s||f||d,h=v?function(n,e){for(var t=-1,r=Array(n);++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=null==n?0:n.length,o=Array(r);++t{t.d(e,{Z:()=>r});const r=function(n,e){for(var t=-1,r=e.length,o=n.length;++t{t.d(e,{Z:()=>u});var r=t(4752),o=t(9651),i=Object.prototype.hasOwnProperty;const u=function(n,e,t){var u=n[e];i.call(n,e)&&(0,o.Z)(u,t)&&(void 0!==t||e in n)||(0,r.Z)(n,e,t)}},4752:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(7904);const o=function(n,e,t){"__proto__"==e&&r.Z?(0,r.Z)(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}},9103:(n,e,t)=>{t.d(e,{Z:()=>V});var r=t(5365),o=t(6579),i=t(2954),u=t(1899),a=t(7179);var c=t(7590);var s=t(1050),f=t(7215),d=t(5695);var v=t(8694),h=t(2513),Z=t(532);const l=Object.getOwnPropertySymbols?function(n){for(var e=[];n;)(0,v.Z)(e,(0,d.Z)(n)),n=(0,h.Z)(n);return e}:Z.Z;var g=t(1808),p=t(3327);const b=function(n){return(0,p.Z)(n,c.Z,l)};var w=t(6155),y=Object.prototype.hasOwnProperty;var m=t(1884);var _=/\w*$/;var j=t(7685),E=j.Z?j.Z.prototype:void 0,x=E?E.valueOf:void 0;var k=t(2701);const N=function(n,e,t){var r,o,i,u=n.constructor;switch(e){case"[object ArrayBuffer]":return(0,m.Z)(n);case"[object Boolean]":case"[object Date]":return new u(+n);case"[object DataView]":return function(n,e){var t=e?(0,m.Z)(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,k.Z)(n,t);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(n);case"[object RegExp]":return(i=new(o=n).constructor(o.source,_.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=n,x?Object(x.call(r)):{}}};var O=t(5418),I=t(7771),C=t(6706),L=t(8533);var M=t(1162),A=t(8351),P=A.Z&&A.Z.isMap;const S=P?(0,M.Z)(P):function(n){return(0,L.Z)(n)&&"[object Map]"==(0,w.Z)(n)};var R=t(7226);var T=A.Z&&A.Z.isSet;const F=T?(0,M.Z)(T):function(n){return(0,L.Z)(n)&&"[object Set]"==(0,w.Z)(n)};var D="[object Arguments]",z="[object Function]",B="[object Object]",G={};G[D]=G["[object Array]"]=G["[object ArrayBuffer]"]=G["[object DataView]"]=G["[object Boolean]"]=G["[object Date]"]=G["[object Float32Array]"]=G["[object Float64Array]"]=G["[object Int8Array]"]=G["[object Int16Array]"]=G["[object Int32Array]"]=G["[object Map]"]=G["[object Number]"]=G[B]=G["[object RegExp]"]=G["[object Set]"]=G["[object String]"]=G["[object Symbol]"]=G["[object Uint8Array]"]=G["[object Uint8ClampedArray]"]=G["[object Uint16Array]"]=G["[object Uint32Array]"]=!0,G["[object Error]"]=G[z]=G["[object WeakMap]"]=!1;const V=function n(e,t,v,h,Z,p){var m,_=1&t,j=2&t,E=4&t;if(v&&(m=Z?v(e,h,Z,p):v(e)),void 0!==m)return m;if(!(0,R.Z)(e))return e;var x=(0,I.Z)(e);if(x){if(m=function(n){var e=n.length,t=new n.constructor(e);return e&&"string"==typeof n[0]&&y.call(n,"index")&&(t.index=n.index,t.input=n.input),t}(e),!_)return(0,f.Z)(e,m)}else{var k=(0,w.Z)(e),L=k==z||"[object GeneratorFunction]"==k;if((0,C.Z)(e))return(0,s.Z)(e,_);if(k==B||k==D||L&&!Z){if(m=j||L?{}:(0,O.Z)(e),!_)return j?function(n,e){return(0,u.Z)(n,l(n),e)}(e,function(n,e){return n&&(0,u.Z)(e,(0,c.Z)(e),n)}(m,e)):function(n,e){return(0,u.Z)(n,(0,d.Z)(n),e)}(e,function(n,e){return n&&(0,u.Z)(e,(0,a.Z)(e),n)}(m,e))}else{if(!G[k])return Z?e:{};m=N(e,k,_)}}p||(p=new r.Z);var M=p.get(e);if(M)return M;p.set(e,m),F(e)?e.forEach((function(r){m.add(n(r,t,v,r,e,p))})):S(e)&&e.forEach((function(r,o){m.set(o,n(r,t,v,o,e,p))}));var A=E?j?b:g.Z:j?c.Z:a.Z,P=x?void 0:A(e);return(0,o.Z)(P||e,(function(r,o){P&&(r=e[o=r]),(0,i.Z)(m,o,n(r,t,v,o,e,p))})),m}},8640:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(2693),o=t(585);const i=(u=r.Z,function(n,e){if(null==n)return n;if(!(0,o.Z)(n))return u(n,e);for(var t=n.length,r=-1,i=Object(n);++r{t.d(e,{Z:()=>r});const r=function(n,e,t,r){for(var o=n.length,i=t+(r?1:-1);r?i--:++i{t.d(e,{Z:()=>s});var r=t(8694),o=t(7685),i=t(4732),u=t(7771),a=o.Z?o.Z.isConcatSpreadable:void 0;const c=function(n){return(0,u.Z)(n)||(0,i.Z)(n)||!!(a&&n&&n[a])},s=function n(e,t,o,i,u){var a=-1,s=e.length;for(o||(o=c),u||(u=[]);++a0&&o(f)?t>1?n(f,t-1,o,i,u):(0,r.Z)(u,f):i||(u[u.length]=f)}return u}},5381:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e,t){for(var r=-1,o=Object(n),i=t(n),u=i.length;u--;){var a=i[++r];if(!1===e(o[a],a,o))break}return n}},2693:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(5381),o=t(7179);const i=function(n,e){return n&&(0,r.Z)(n,e,o.Z)}},3317:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(1036),o=t(2656);const i=function(n,e){for(var t=0,i=(e=(0,r.Z)(e,n)).length;null!=n&&t{t.d(e,{Z:()=>i});var r=t(8694),o=t(7771);const i=function(n,e,t){var i=e(n);return(0,o.Z)(n)?i:(0,r.Z)(i,t(n))}},7058:(n,e,t)=>{t.d(e,{Z:()=>B});var r=t(5365),o=t(5084);const i=function(n,e){for(var t=-1,r=null==n?0:n.length;++tf))return!1;var v=c.get(n),h=c.get(e);if(v&&h)return v==e&&h==n;var Z=-1,l=!0,g=2&t?new o.Z:void 0;for(c.set(n,e),c.set(e,n);++Z{t.d(e,{Z:()=>i});var r=t(8640),o=t(585);const i=function(n,e){var t=-1,i=(0,o.Z)(n)?Array(n.length):[];return(0,r.Z)(n,(function(n,r,o){i[++t]=e(n,r,o)})),i}},4193:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return function(e){return null==e?void 0:e[n]}}},9581:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(9203),o=t(3948),i=t(3626);const u=function(n,e){return(0,i.Z)((0,o.Z)(n,e,r.Z),n+"")}},9548:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){return n.has(e)}},8882:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(9203);const o=function(n){return"function"==typeof n?n:r.Z}},1036:(n,e,t)=>{t.d(e,{Z:()=>v});var r=t(7771),o=t(9365),i=t(2454),u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;const c=(s=(0,i.Z)((function(n){var e=[];return 46===n.charCodeAt(0)&&e.push(""),n.replace(u,(function(n,t,r,o){e.push(r?o.replace(a,"$1"):t||n)})),e}),(function(n){return 500===f.size&&f.clear(),n})),f=s.cache,s);var s,f,d=t(2402);const v=function(n,e){return(0,r.Z)(n)?n:(0,o.Z)(n,e)?[n]:c((0,d.Z)(n))}},1884:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(7623);const o=function(n){var e=new n.constructor(n.byteLength);return new r.Z(e).set(new r.Z(n)),e}},1050:(n,e,t)=>{t.d(e,{Z:()=>c});var r=t(6092),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,u=i&&i.exports===o?r.Z.Buffer:void 0,a=u?u.allocUnsafe:void 0;const c=function(n,e){if(e)return n.slice();var t=n.length,r=a?a(t):new n.constructor(t);return n.copy(r),r}},2701:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(1884);const o=function(n,e){var t=e?(0,r.Z)(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}},7215:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n,e){var t=-1,r=n.length;for(e||(e=Array(r));++t{t.d(e,{Z:()=>i});var r=t(2954),o=t(4752);const i=function(n,e,t,i){var u=!t;t||(t={});for(var a=-1,c=e.length;++a{t.d(e,{Z:()=>o});var r=t(2119);const o=function(){try{var n=(0,r.Z)(Object,"defineProperty");return n({},"",{}),n}catch(n){}}()},1808:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(3327),o=t(5695),i=t(7179);const u=function(n){return(0,r.Z)(n,i.Z,o.Z)}},2513:(n,e,t)=>{t.d(e,{Z:()=>r});const r=(0,t(1851).Z)(Object.getPrototypeOf,Object)},5695:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(8774),o=t(532),i=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;const a=u?function(n){return null==n?[]:(n=Object(n),(0,r.Z)(u(n),(function(e){return i.call(n,e)})))}:o.Z},5196:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(1036),o=t(4732),i=t(7771),u=t(6009),a=t(1656),c=t(2656);const s=function(n,e,t){for(var s=-1,f=(e=(0,r.Z)(e,n)).length,d=!1;++s{t.d(e,{Z:()=>c});var r=t(7226),o=Object.create;const i=function(){function n(){}return function(e){if(!(0,r.Z)(e))return{};if(o)return o(e);n.prototype=e;var t=new n;return n.prototype=void 0,t}}();var u=t(2513),a=t(2764);const c=function(n){return"function"!=typeof n.constructor||(0,a.Z)(n)?{}:i((0,u.Z)(n))}},6009:(n,e,t)=>{t.d(e,{Z:()=>o});var r=/^(?:0|[1-9]\d*)$/;const o=function(n,e){var t=typeof n;return!!(e=null==e?9007199254740991:e)&&("number"==t||"symbol"!=t&&r.test(n))&&n>-1&&n%1==0&&n{t.d(e,{Z:()=>a});var r=t(9651),o=t(585),i=t(6009),u=t(7226);const a=function(n,e,t){if(!(0,u.Z)(t))return!1;var a=typeof e;return!!("number"==a?(0,o.Z)(t)&&(0,i.Z)(e,t.length):"string"==a&&e in t)&&(0,r.Z)(t[e],n)}},9365:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(7771),o=t(2714),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const a=function(n,e){if((0,r.Z)(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!(0,o.Z)(n))||u.test(n)||!i.test(n)||null!=e&&n in Object(e)}},3948:(n,e,t)=>{t.d(e,{Z:()=>o});var r=Math.max;const o=function(n,e,t){return e=r(void 0===e?n.length-1:e,0),function(){for(var o=arguments,i=-1,u=r(o.length-e,0),a=Array(u);++i{t.d(e,{Z:()=>r});const r=function(n){var e=-1,t=Array(n.size);return n.forEach((function(n){t[++e]=n})),t}},3626:(n,e,t)=>{t.d(e,{Z:()=>c});var r=t(2002),o=t(7904),i=t(9203);const u=o.Z?function(n,e){return(0,o.Z)(n,"toString",{configurable:!0,enumerable:!1,value:(0,r.Z)(e),writable:!0})}:i.Z;var a=Date.now;const c=(s=u,f=0,d=0,function(){var n=a(),e=16-(n-d);if(d=n,e>0){if(++f>=800)return arguments[0]}else f=0;return s.apply(void 0,arguments)});var s,f,d},2656:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(2714);const o=function(n){if("string"==typeof n||(0,r.Z)(n))return n;var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},2002:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return function(){return n}}},3688:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(9581),o=t(9651),i=t(439),u=t(7590),a=Object.prototype,c=a.hasOwnProperty;const s=(0,r.Z)((function(n,e){n=Object(n);var t=-1,r=e.length,s=r>2?e[2]:void 0;for(s&&(0,i.Z)(e[0],e[1],s)&&(r=1);++t{t.d(e,{Z:()=>c});var r=t(8774),o=t(8640);const i=function(n,e){var t=[];return(0,o.Z)(n,(function(n,r,o){e(n,r,o)&&t.push(n)})),t};var u=t(7058),a=t(7771);const c=function(n,e){return((0,a.Z)(n)?r.Z:i)(n,(0,u.Z)(e,3))}},7961:(n,e,t)=>{t.d(e,{Z:()=>o});var r=t(5140);const o=function(n){return null!=n&&n.length?(0,r.Z)(n,1):[]}},870:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(6579),o=t(8640),i=t(8882),u=t(7771);const a=function(n,e){return((0,u.Z)(n)?r.Z:o.Z)(n,(0,i.Z)(e))}},3402:(n,e,t)=>{t.d(e,{Z:()=>u});var r=Object.prototype.hasOwnProperty;const o=function(n,e){return null!=n&&r.call(n,e)};var i=t(5196);const u=function(n,e){return null!=n&&(0,i.Z)(n,e,o)}},1910:(n,e,t)=>{t.d(e,{Z:()=>i});const r=function(n,e){return null!=n&&e in Object(n)};var o=t(5196);const i=function(n,e){return null!=n&&(0,o.Z)(n,e,r)}},9203:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return n}},836:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(585),o=t(8533);const i=function(n){return(0,o.Z)(n)&&(0,r.Z)(n)}},7514:(n,e,t)=>{t.d(e,{Z:()=>d});var r=t(3243),o=t(2513),i=t(8533),u=Function.prototype,a=Object.prototype,c=u.toString,s=a.hasOwnProperty,f=c.call(Object);const d=function(n){if(!(0,i.Z)(n)||"[object Object]"!=(0,r.Z)(n))return!1;var e=(0,o.Z)(n);if(null===e)return!0;var t=s.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&c.call(t)==f}},2714:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(3243),o=t(8533);const i=function(n){return"symbol"==typeof n||(0,o.Z)(n)&&"[object Symbol]"==(0,r.Z)(n)}},752:(n,e,t)=>{t.d(e,{Z:()=>r});const r=function(n){return void 0===n}},7179:(n,e,t)=>{t.d(e,{Z:()=>u});var r=t(9001),o=t(8448),i=t(585);const u=function(n){return(0,i.Z)(n)?(0,r.Z)(n):(0,o.Z)(n)}},7590:(n,e,t)=>{t.d(e,{Z:()=>s});var r=t(9001),o=t(7226),i=t(2764);var u=Object.prototype.hasOwnProperty;const a=function(n){if(!(0,o.Z)(n))return function(n){var e=[];if(null!=n)for(var t in Object(n))e.push(t);return e}(n);var e=(0,i.Z)(n),t=[];for(var r in n)("constructor"!=r||!e&&u.call(n,r))&&t.push(r);return t};var c=t(585);const s=function(n){return(0,c.Z)(n)?(0,r.Z)(n,!0):a(n)}},3836:(n,e,t)=>{t.d(e,{Z:()=>a});var r=t(4073),o=t(7058),i=t(1018),u=t(7771);const a=function(n,e){return((0,u.Z)(n)?r.Z:i.Z)(n,(0,o.Z)(e,3))}},3032:(n,e,t)=>{t.d(e,{Z:()=>l});var r=t(3317),o=t(2954),i=t(1036),u=t(6009),a=t(7226),c=t(2656);const s=function(n,e,t,r){if(!(0,a.Z)(n))return n;for(var s=-1,f=(e=(0,i.Z)(e,n)).length,d=f-1,v=n;null!=v&&++s{t.d(e,{Z:()=>a});var r=Math.ceil,o=Math.max;var i=t(439),u=t(6770);const a=function(n,e,t){return t&&"number"!=typeof t&&(0,i.Z)(n,e,t)&&(e=t=void 0),n=(0,u.Z)(n),void 0===e?(e=n,n=0):e=(0,u.Z)(e),function(n,e,t,i){for(var u=-1,a=o(r((e-n)/(t||1)),0),c=Array(a);a--;)c[i?a:++u]=n,n+=t;return c}(n,e,t=void 0===t?n{t.d(e,{Z:()=>c});const r=function(n,e,t,r){var o=-1,i=null==n?0:n.length;for(r&&i&&(t=n[++o]);++o{t.d(e,{Z:()=>r});const r=function(){return[]}},6770:(n,e,t)=>{t.d(e,{Z:()=>v});var r=/\s/;var o=/^\s+/;const i=function(n){return n?n.slice(0,function(n){for(var e=n.length;e--&&r.test(n.charAt(e)););return e}(n)+1).replace(o,""):n};var u=t(7226),a=t(2714),c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt;const v=function(n){return n?Infinity===(n=function(n){if("number"==typeof n)return n;if((0,a.Z)(n))return NaN;if((0,u.Z)(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.Z)(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var t=s.test(n);return t||f.test(n)?d(n.slice(2),t?2:8):c.test(n)?NaN:+n}(n))||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}},2402:(n,e,t)=>{t.d(e,{Z:()=>f});var r=t(7685),o=t(4073),i=t(7771),u=t(2714),a=r.Z?r.Z.prototype:void 0,c=a?a.toString:void 0;const s=function n(e){if("string"==typeof e)return e;if((0,i.Z)(e))return(0,o.Z)(e,n)+"";if((0,u.Z)(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},f=function(n){return null==n?"":s(n)}},6749:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(2402),o=0;const i=function(n){var e=++o;return(0,r.Z)(n)+e}},4657:(n,e,t)=>{t.d(e,{Z:()=>i});var r=t(4073);var o=t(7179);const i=function(n){return null==n?[]:function(n,e){return(0,r.Z)(e,(function(e){return n[e]}))}(n,(0,o.Z)(n))}}}; \ No newline at end of file diff --git a/themes/daux/js/478.mjs b/themes/daux/js/478.mjs deleted file mode 100644 index 65ddadea..00000000 --- a/themes/daux/js/478.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=478;export const ids=[478];export const modules={3349:(e,t,r)=>{r.d(t,{a:()=>l});var n=r(6225);function l(e,t){var r=e.append("foreignObject").attr("width","100000"),l=r.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}n.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return r.attr("width",a.width).attr("height",a.height),r}},6225:(e,t,r)=>{r.d(t,{$p:()=>d,O1:()=>a,WR:()=>p,bF:()=>o,bg:()=>c});var n=r(7514),l=r(3234);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,r){t&&e.attr("class",t).attr("class",r+" "+e.attr("class"))}function p(e,t){var r=t.graph();if(n.Z(r)){var o=r.transition;if(l.Z(o))return o(e)}return e}},9478:(e,t,r)=>{r.d(t,{diagram:()=>a});var n=r(9863),l=r(755),o=r(3110);r(4309),r(7967),r(7856),r(5625),r(9451),r(9368),r(1898),r(7484);const a={parser:n.p,db:n.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,o.h)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),l.f.setConf(e.flowchart),n.f.clear(),n.f.setGen("gen-2")}}},755:(e,t,r)=>{r.d(t,{a:()=>w,f:()=>f});var n=r(5625),l=r(4309),o=r(9863),a=r(3110),s=r(1188),i=r(2566),c=r(3349);const d={},p=function(e,t,r,n,l,o){const i=n.select(`[id="${r}"]`);Object.keys(e).forEach((function(r){const n=e[r];let d="default";n.classes.length>0&&(d=n.classes.join(" ")),d+=" flowchart-label";const p=(0,s.n)(n.styles);let b,f=void 0!==n.text?n.text:n.id;if(a.l.info("vertex",n,n.labelType),"markdown"===n.labelType)a.l.info("vertex",n,n.labelType);else if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const e={label:f.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};b=(0,c.a)(i,e).node(),b.parentNode.removeChild(b)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",p.labelStyle.replace("color:","fill:"));const t=f.split(a.e.lineBreakRegex);for(const r of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=r,e.appendChild(t)}b=e}let w=0,h="";switch(n.type){case"round":w=5,h="rect";break;case"square":case"group":default:h="rect";break;case"diamond":h="question";break;case"hexagon":h="hexagon";break;case"odd":case"odd_right":h="rect_left_inv_arrow";break;case"lean_right":h="lean_right";break;case"lean_left":h="lean_left";break;case"trapezoid":h="trapezoid";break;case"inv_trapezoid":h="inv_trapezoid";break;case"circle":h="circle";break;case"ellipse":h="ellipse";break;case"stadium":h="stadium";break;case"subroutine":h="subroutine";break;case"cylinder":h="cylinder";break;case"doublecircle":h="doublecircle"}t.setNode(n.id,{labelStyle:p.labelStyle,shape:h,labelText:f,labelType:n.labelType,rx:w,ry:w,class:d,style:p.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:o.db.getTooltip(n.id)||"",domId:o.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:(0,a.g)().flowchart.padding}),a.l.info("setNode",{labelStyle:p.labelStyle,labelType:n.labelType,shape:h,labelText:f,rx:w,ry:w,class:d,style:p.style,id:n.id,domId:o.db.lookUpDomId(n.id),width:"group"===n.type?500:void 0,type:n.type,dir:n.dir,props:n.props,padding:(0,a.g)().flowchart.padding})}))},b=function(e,t,r){a.l.info("abc78 edges = ",e);let n,o,i=0,c={};if(void 0!==e.defaultStyle){const t=(0,s.n)(e.defaultStyle);n=t.style,o=t.labelStyle}e.forEach((function(r){i++;var p="L-"+r.start+"-"+r.end;void 0===c[p]?(c[p]=0,a.l.info("abc78 new entry",p,c[p])):(c[p]++,a.l.info("abc78 new entry",p,c[p]));let b=p+"-"+c[p];a.l.info("abc78 new link id to be used is",p,b,c[p]);var f="LS-"+r.start,w="LE-"+r.end;const h={style:"",labelStyle:""};switch(h.minlen=r.length||1,"arrow_open"===r.type?h.arrowhead="none":h.arrowhead="normal",h.arrowTypeStart="arrow_open",h.arrowTypeEnd="arrow_open",r.type){case"double_arrow_cross":h.arrowTypeStart="arrow_cross";case"arrow_cross":h.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":h.arrowTypeStart="arrow_point";case"arrow_point":h.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":h.arrowTypeStart="arrow_circle";case"arrow_circle":h.arrowTypeEnd="arrow_circle"}let u="",g="";switch(r.stroke){case"normal":u="fill:none;",void 0!==n&&(u=n),void 0!==o&&(g=o),h.thickness="normal",h.pattern="solid";break;case"dotted":h.thickness="normal",h.pattern="dotted",h.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":h.thickness="thick",h.pattern="solid",h.style="stroke-width: 3.5px;fill:none;";break;case"invisible":h.thickness="invisible",h.pattern="solid",h.style="stroke-width: 0;fill:none;"}if(void 0!==r.style){const e=(0,s.n)(r.style);u=e.style,g=e.labelStyle}h.style=h.style+=u,h.labelStyle=h.labelStyle+=g,void 0!==r.interpolate?h.curve=(0,s.o)(r.interpolate,l.c_6):void 0!==e.defaultInterpolate?h.curve=(0,s.o)(e.defaultInterpolate,l.c_6):h.curve=(0,s.o)(d.curve,l.c_6),void 0===r.text?void 0!==r.style&&(h.arrowheadStyle="fill: #333"):(h.arrowheadStyle="fill: #333",h.labelpos="c"),h.labelType=r.labelType,h.label=r.text.replace(a.e.lineBreakRegex,"\n"),void 0===r.style&&(h.style=h.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),h.labelStyle=h.labelStyle.replace("color:","fill:"),h.id=b,h.classes="flowchart-link "+f+" "+w,t.setEdge(r.start,r.end,h,i)}))},f={setConf:function(e){const t=Object.keys(e);for(const r of t)d[r]=e[r]},addVertices:p,addEdges:b,getClasses:function(e,t){a.l.info("Extracting classes"),t.db.clear();try{return t.parse(e),t.db.getClasses()}catch(e){return}},draw:function(e,t,r,c){a.l.info("Drawing flowchart"),c.db.clear(),o.f.setGen("gen-2"),c.parser.parse(e);let d=c.db.getDirection();void 0===d&&(d="TD");const{securityLevel:f,flowchart:w}=(0,a.g)(),h=w.nodeSpacing||50,u=w.rankSpacing||50;let g;"sandbox"===f&&(g=(0,l.Ys)("#i"+t));const y="sandbox"===f?(0,l.Ys)(g.nodes()[0].contentDocument.body):(0,l.Ys)("body"),k="sandbox"===f?g.nodes()[0].contentDocument:document,x=new n.k({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:h,ranksep:u,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let v;const m=c.db.getSubGraphs();a.l.info("Subgraphs - ",m);for(let e=m.length-1;e>=0;e--)v=m[e],a.l.info("Subgraph - ",v),c.db.addVertex(v.id,{text:v.title,type:v.labelType},"group",void 0,v.classes,v.dir);const S=c.db.getVertices(),T=c.db.getEdges();a.l.info("Edges",T);let _=0;for(_=m.length-1;_>=0;_--){v=m[_],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.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: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/themes/daux/js/492.mjs b/themes/daux/js/492.mjs deleted file mode 100644 index c62f72af..00000000 --- a/themes/daux/js/492.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=492;export const ids=[492];export const modules={492:(t,e,n)=>{n.d(e,{diagram:()=>I});var i=n(6848),s=n(3110),r=n(4309),a=n(1188),o=(n(7856),n(7484),n(7967),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],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,20],h=[1,24],u=[4,6,9,11,17,18,20,22,23,24,26],y={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,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 11:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 16:i.addTask(r[o-1],r[o]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(r[o],"type_directive");break;case 20:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"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:s,18:r,20:a,22:o,23:c,24:l,26:n},{1:[2,2]},{14:22,15:[1,23],29:h},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:s,18:r,20:a,22:o,23:c,24:l,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(u,[2,9]),{14:32,29:h},{29:[2,20]},{11:[1,33]},t(u,[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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,x,m,k,_,b,v,$,w={};;){if(g=e[e.length-1],this.defaultActions[g]?x=this.defaultActions[g]:(null==f&&($=void 0,"number"!=typeof($=n.pop()||h.lex()||1)&&($ instanceof Array&&($=(n=$).pop()),$=this.symbols_[$]||$),f=$),x=r[g]&&r[g][f]),void 0===x||!x.length||!x[0]){var M;for(k in v=[],r[g])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");M=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:v})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(x[0]){case 1:e.push(f),i.push(h.yytext),s.push(h.yylloc),e.push(x[1]),f=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(_=this.productions_[x[1]][1],w.$=i[i.length-_],w._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[a,c,o,u.yy,x[1],i,s].concat(l))))return m;_&&(e=e.slice(0,-1*_*2),i=i.slice(0,-1*_),s=s.slice(0,-1*_)),e.push(this.productions_[x[1]][0]),i.push(w.$),s.push(w._$),b=r[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},p={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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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 d(){this.yy={}}return y.lexer=p,d.prototype=y,y.Parser=d,new d}());o.parser=o;const c=o;let l="";const h=[],u=[],y=[],p=function(){let t=!0;for(const[e,n]of y.entries())y[e].processed,t=t&&n.processed;return t},d={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,s.g)().journey,clear:function(){h.length=0,u.length=0,l="",y.length=0,(0,s.y)()},setDiagramTitle:s.w,getDiagramTitle:s.x,setAccTitle:s.o,getAccTitle:s.p,setAccDescription:s.v,getAccDescription:s.q,addSection:function(t){l=t,h.push(t)},getSections:function(){return h},getTasks:function(){let t=p(),e=0;for(;!t&&e<100;)t=p(),e++;return u.push(...y),u},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,s=[];1===n.length?(i=Number(n[0]),s=[]):(i=Number(n[0]),s=n[1].split(","));const r=s.map((t=>t.trim())),a={section:l,type:l,people:r,task:t,score:i};y.push(a)},addTaskOrg:function(t){const e={section:l,type:l,description:t,task:t,classes:[]};u.push(e)},getActors:function(){return function(){const t=[];return u.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},f=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},g=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};let x=-1;const m=function(){function t(t,e,n,s,r,a,o,c){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,c,l){const{taskFontSize:h,taskFontFamily:u}=c,y=t.split(//gi);for(let t=0;t/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 s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(n),i},v=function(t,e,n){const i=e.x+n.width/2,s=t.append("g");x++,s.append("line").attr("id","task"+x).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(t,e){t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible");const n=t.append("g");n.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){const n=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.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")}(s,{cx:i,cy:300+30*(5-e.score),score:e.score});const a={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+e.num,a.rx=3,a.ry=3,f(s,a);let o=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};g(s,i),o+=10})),m(n)(e.task,s,a.x,a.y,a.width,a.height,{class:"task"},n,e.colour)},$={},w=(0,s.g)().journey,M=w.leftMargin,S={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=(0,s.g)().journey,a=this;let o=0;this.sequenceItems.forEach((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(S.data,"startx",t-c*r.boxMargin,Math.min),a.updateVal(S.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(S.data,"starty",e-c*r.boxMargin,Math.min),a.updateVal(S.data,"stopy",i+c*r.boxMargin,Math.max)}))},insert:function(t,e,n,i){const s=Math.min(t,n),r=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(S.data,"startx",s,Math.min),this.updateVal(S.data,"starty",a,Math.min),this.updateVal(S.data,"stopx",r,Math.max),this.updateVal(S.data,"stopy",o,Math.max),this.updateBounds(s,a,r,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},T=w.sectionFills,E=w.sectionColours,A={setConf:function(t){Object.keys(t).forEach((function(e){w[e]=t[e]}))},draw:function(t,e,n,i){const o=(0,s.g)().journey;i.db.clear(),i.parser.parse(t+"\n");const c=(0,s.g)().securityLevel;let l;"sandbox"===c&&(l=(0,r.Ys)("#i"+e));const h="sandbox"===c?(0,r.Ys)(l.nodes()[0].contentDocument.body):(0,r.Ys)("body");S.init();const u=h.select("#"+e);u.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");const y=i.db.getTasks(),p=i.db.getDiagramTitle(),d=i.db.getActors();for(const t in $)delete $[t];let f=0;d.forEach((t=>{$[t]={color:o.actorColours[f%o.actorColours.length],position:f},f++})),function(t){const e=(0,s.g)().journey;let n=60;Object.keys($).forEach((i=>{const s=$[i].color,r={cx:20,cy:n,r:7,fill:s,stroke:"#000",pos:$[i].position};k(t,r);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};b(t,a),n+=20}))}(u),S.insert(0,0,M,50*Object.keys($).length),function(t,e,n){const i=(0,s.g)().journey;let r="";const a=n+(2*i.height+i.diagramMarginY);let o=0,c="#CCC",l="black",h=0;for(const[n,s]of e.entries()){if(r!==s.section){c=T[o%T.length],h=o%T.length,l=E[o%E.length];let a=0;const u=s.section;for(let t=n;t($[e]&&(t[e]=$[e]),t)),{});s.x=n*i.taskMargin+n*i.width+M,s.y=a,s.width=i.diagramMarginX,s.height=i.diagramMarginY,s.colour=l,s.fill=c,s.num=h,s.actors=u,v(t,s,i),S.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}}(u,y,0);const g=S.getBounds();p&&u.append("text").text(p).attr("x",M).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const x=g.stopy-g.starty+2*o.diagramMarginY,m=M+g.stopx+2*o.diagramMarginX;(0,a.k)(u,x,m,o.useMaxWidth),u.append("line").attr("x1",M).attr("y1",4*o.height).attr("x2",m-M-4).attr("y2",4*o.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const w=p?70:0;u.attr("viewBox",`${g.startx} -25 ${m} ${x+w}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",x+w+25)}},I={parser:c,db:d,renderer:A,styles: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`,init:t=>{A.setConf(t.journey),d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/527.mjs b/themes/daux/js/527.mjs new file mode 100644 index 00000000..68c3cc5e --- /dev/null +++ b/themes/daux/js/527.mjs @@ -0,0 +1 @@ +export const id=527;export const ids=[527];export const modules={4527:(t,e,a)=>{a.d(e,{diagram:()=>g});var r=a(2121),n=a(7274),i=a(9451),d=a(5625),o=a(9360),s=a(8111);a(7484),a(7967),a(7856);let l={};const p=function(t){const e=Object.entries(l).find((e=>e[1].label===t));if(e)return e[0]},c={draw:function(t,e,a,r){const c=(0,o.c)().class;l={},o.l.info("Rendering diagram "+t);const g=(0,o.c)().securityLevel;let h;"sandbox"===g&&(h=(0,n.Ys)("#i"+e));const f="sandbox"===g?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body"),x=f.select(`[id='${e}']`);var u;(u=x).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"),u.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"),u.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"),u.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"),u.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"),u.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"),u.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"),u.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");const y=new d.k({multigraph:!0});y.setGraph({isMultiGraph:!0}),y.setDefaultEdgeLabel((function(){return{}}));const b=r.db.getClasses(),m=Object.keys(b);for(const t of m){const e=b[t],a=s.s.drawClass(x,e,c,r);l[a.id]=a,y.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach((function(t){o.l.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),y.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=s.s.drawNote(x,t,c,r);l[e.id]=e,y.setNode(e.id,e),t.class&&t.class in b&&y.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,i.bK)(y),y.nodes().forEach((function(t){void 0!==t&&void 0!==y.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(y.node(t))),f.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y-y.node(t).height/2)+" )"))})),y.edges().forEach((function(t){void 0!==t&&void 0!==y.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),s.s.drawEdge(x,y.edge(t),y.edge(t).relation,c,r))}));const w=x.node().getBBox(),k=w.width+40,E=w.height+40;(0,o.i)(x,E,k,c.useMaxWidth);const L=`${w.x-20} ${w.y-20} ${k} ${E}`;o.l.debug(`viewBox ${L}`),x.attr("viewBox",L)}},g={parser:r.p,db:r.d,renderer:c,styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}},8111:(t,e,a)=>{a.d(e,{p:()=>o,s:()=>p});var r=a(7274),n=a(9360);let i=0;const d=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},o=function(t){let e="",a="",r="",i="",d=t.substring(0,1),o=t.substring(t.length-1,t.length);d.match(/[#+~-]/)&&(i=d);let s=/[\s\w)~]/;o.match(s)||(a=l(o));const p=""===i?0:1;let c=""===a?t.length:t.length-1;const g=(t=t.substring(p,c)).indexOf("("),h=t.indexOf(")");if(g>1&&h>g&&h<=t.length){let d=t.substring(0,g).trim();const o=t.substring(g+1,h);if(e=i+d+"("+(0,n.x)(o.trim())+")",h0&&(k+=e.cssClasses.join(" "));const E=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*a.padding).attr("height",w.height+a.padding+.5*a.dividerMargin).attr("class",k).node().getBBox().width;return p.node().childNodes.forEach((function(t){t.setAttribute("x",(E-t.getBBox().width)/2)})),e.tooltip&&p.insert("title").text(e.tooltip),x.attr("x2",E),b.attr("x2",E),o.width=E,o.height=w.height+a.padding+.5*a.dividerMargin,o},drawEdge:function(t,e,a,d,o){const s=function(t){switch(t){case o.db.relationType.AGGREGATION:return"aggregation";case o.db.relationType.EXTENSION:return"extension";case o.db.relationType.COMPOSITION:return"composition";case o.db.relationType.DEPENDENCY:return"dependency";case o.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const l=e.points,p=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),c=t.append("path").attr("d",p(l)).attr("id","edge"+i).attr("class","relation");let g,h,f="";d.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==a.relation.lineType&&c.attr("class","relation dashed-line"),10==a.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==a.relation.type1&&c.attr("marker-start","url("+f+"#"+s(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&c.attr("marker-end","url("+f+"#"+s(a.relation.type2)+"End)");const x=e.points.length;let u,y,b,m,w=n.u.calcLabelPosition(e.points);if(g=w.x,h=w.y,x%2!=0&&x>1){let t=n.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=n.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[x-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(r)),u=t.x,y=t.y,b=r.x,m=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",g).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=r;const n=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-d.padding/2).attr("y",n.y-d.padding/2).attr("width",n.width+d.padding).attr("height",n.height+d.padding)}n.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",y).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",m).attr("fill","black").attr("font-size","6").text(a.relationTitle2),i++},drawNote:function(t,e,a,r){n.l.debug("Rendering note ",e,a);const i=e.id,d={id:i,text:e.text,width:0,height:0},o=t.append("g").attr("id",i).attr("class","classGroup");let s=o.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){n.l.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const p=o.node().getBBox(),c=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(c-t.getBBox().width)/2)})),d.width=c,d.height=p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin,d},parseMember:o}}}; \ No newline at end of file diff --git a/themes/daux/js/542.mjs b/themes/daux/js/542.mjs new file mode 100644 index 00000000..10cd9a49 --- /dev/null +++ b/themes/daux/js/542.mjs @@ -0,0 +1 @@ +export const id=542;export const ids=[542];export const modules={6542:(t,e,r)=>{r.d(e,{diagram:()=>M});var i=r(9360),a=r(5625),n=r(7274),s=r(9451);const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));const c=/^(?:[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,l=function(t){if(!function(t){return"string"==typeof t&&c.test(t)}(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e,r,i){switch(t){case 0:return e&r^~e&i;case 1:case 3:return e^r^i;case 2:return e&r^e&i^r&i}}function d(t,e){return t<>>32-e}const y=function(t,e,r){function i(t,e,r,i){var a;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>0;l=c,c=o,o=d(s,30)>>>0,s=a,a=n}r[0]=r[0]+a>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}(n),n[6]=15&n[6]|80,n[8]=63&n[8]|128,r){i=i||0;for(let t=0;t<16;++t)r[i+t]=n[t];return r}return function(t,e=0){return(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase()}(n)}try{i.name="v5"}catch(t){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}();r(7484),r(7967),r(7856);var u=function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[1,2],r=[1,5],i=[6,9,11,23,25,27,29,30,31,52],a=[1,17],n=[1,18],s=[1,19],o=[1,20],c=[1,21],l=[1,22],h=[1,25],d=[1,30],y=[1,31],u=[1,32],p=[1,33],_=[1,34],f=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,48,52],g=[1,46],m=[30,31,49,50],E=[4,6,9,11,23,25,27,29,30,31,52],O=[44,45,46,47,48],b=[22,37],k=[1,66],R=[1,65],N=[22,37,39,41],x={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,MD_PARENT:48,NON_IDENTIFYING:49,IDENTIFYING:50,WORD:51,open_directive:52,type_directive:53,arg_directive:54,close_directive:55,$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:"MD_PARENT",49:"NON_IDENTIFYING",50:"IDENTIFYING",51:"WORD",52:"open_directive",53:"type_directive",54:"arg_directive",55:"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],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:n[o-1].push(n[o]),this.$=n[o-1];break;case 5:case 6:case 20:case 44:case 28:case 29:case 32:this.$=n[o];break;case 12:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 13:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 14:i.addEntity(n[o-2]);break;case 15:i.addEntity(n[o]);break;case 16:case 17:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 21:case 42:case 43:case 33:this.$=n[o].replace(/"/g,"");break;case 22:case 30:this.$=[n[o]];break;case 23:n[o].push(n[o-1]),this.$=n[o];break;case 24:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 26:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 27:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 31:n[o-2].push(n[o]),this.$=n[o-2];break;case 34:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-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.Cardinality.MD_PARENT;break;case 40:this.$=i.Identification.NON_IDENTIFYING;break;case 41:this.$=i.Identification.IDENTIFYING;break;case 45:i.parseDirective("%%{","open_directive");break;case 46:i.parseDirective(n[o],"type_directive");break;case 47:n[o]=n[o].trim().replace(/'/g,'"'),i.parseDirective(n[o],"arg_directive");break;case 48:i.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,52:r},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,52:r},{13:8,53:[1,9]},{53:[2,45]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:a,25:n,27:s,29:o,30:c,31:l,52:r},{1:[2,2]},{14:23,15:[1,24],55:h},t([15,55],[2,46]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:a,25:n,27:s,29:o,30:c,31:l,52:r},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:d,45:y,46:u,47:p,48:_}),{24:[1,35]},{26:[1,36]},{28:[1,37]},t(i,[2,19]),t(f,[2,20]),t(f,[2,21]),{11:[1,38]},{16:39,54:[1,40]},{11:[2,48]},t(i,[2,5]),{17:41,30:c,31:l},{21:42,22:[1,43],32:44,33:45,37:g},{43:47,49:[1,48],50:[1,49]},t(m,[2,35]),t(m,[2,36]),t(m,[2,37]),t(m,[2,38]),t(m,[2,39]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(E,[2,9]),{14:50,55:h},{55:[2,47]},{15:[1,51]},{22:[1,52]},t(i,[2,14]),{21:53,22:[2,22],32:44,33:45,37:g},{34:54,37:[1,55]},{37:[2,28]},{42:56,44:d,45:y,46:u,47:p,48:_},t(O,[2,40]),t(O,[2,41]),{11:[1,57]},{19:58,30:[1,61],31:[1,60],51:[1,59]},t(i,[2,13]),{22:[2,23]},t(b,[2,24],{35:62,36:63,38:64,40:k,41:R}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(E,[2,10]),t(i,[2,12]),t(i,[2,42]),t(i,[2,43]),t(i,[2,44]),t(b,[2,25],{36:67,39:[1,68],41:R}),t(b,[2,26]),t(N,[2,30]),t(b,[2,33]),t(N,[2,32]),t(b,[2,27]),{38:69,40:k},t(N,[2,31])],defaultActions:{5:[2,45],7:[2,2],25:[2,48],40:[2,47],46:[2,28],53:[2,23]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,s="",o=0,c=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(d.yy[y]=this.yy[y]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;a.push(u);var p=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,f,g,m,E,O,b,k,R,N={};;){if(f=e[e.length-1],this.defaultActions[f]?g=this.defaultActions[f]:(null==_&&(R=void 0,"number"!=typeof(R=r.pop()||h.lex()||1)&&(R instanceof Array&&(R=(r=R).pop()),R=this.symbols_[R]||R),_=R),g=n[f]&&n[f][_]),void 0===g||!g.length||!g[0]){var x;for(E in k=[],n[f])this.terminals_[E]&&E>2&&k.push("'"+this.terminals_[E]+"'");x=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:u,expected:k})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+_);switch(g[0]){case 1:e.push(_),i.push(h.yytext),a.push(h.yylloc),e.push(g[1]),_=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(O=this.productions_[g[1]][1],N.$=i[i.length-O],N._$={first_line:a[a.length-(O||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(O||1)].first_column,last_column:a[a.length-1].last_column},p&&(N._$.range=[a[a.length-(O||1)].range[0],a[a.length-1].range[1]]),void 0!==(m=this.performAction.apply(N,[s,c,o,d.yy,g[1],i,a].concat(l))))return m;O&&(e=e.slice(0,-1*O*2),i=i.slice(0,-1*O),a=a.slice(0,-1*O)),e.push(this.productions_[g[1]][0]),i.push(N.$),a.push(N._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);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,r=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),r.length-1&&(this.yylineno-=r.length-1);var a=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:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[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 r,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[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(){return this.next()||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,r,i){switch(r){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"),52;case 8:return this.begin("type_directive"),53;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),55;case 11:return 54;case 12:return 11;case 13:case 20:case 25:break;case 14:return 9;case 15:return 31;case 16:return 51;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 21:return 40;case 22:case 23:return 37;case 24:return 41;case 26:return this.popState(),22;case 27:case 57:return e.yytext[0];case 28:case 32:case 33:case 46:return 44;case 29:case 30:case 31:case 39:case 41:case 48:return 46;case 34:case 35:case 36:case 37:case 38:case 40:case 47:return 45;case 42:case 43:case 44:case 45:return 47;case 49:return 48;case 50:case 53:case 54:case 55:return 49;case 51:case 52:return 50;case 56:return 30;case 58: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,/^(?:\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,/^(?:\s*u\b)/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:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,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],inclusive:!0}}};function A(){this.yy={}}return x.lexer=T,A.prototype=x,x.Parser=A,new A}();u.parser=u;const p=u;let _={},f=[];const g=function(t){return void 0===_[t]&&(_[t]={attributes:[]},i.l.info("Added new entity :",t)),_[t]},m={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,r){i.m.parseDirective(this,t,e,r)},getConfig:()=>(0,i.c)().er,addEntity:g,addAttributes:function(t,e){let r,a=g(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>_,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};f.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>f,clear:function(){_={},f=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.r,getDiagramTitle:i.t},E={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",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},O=E,b=/[^\dA-Za-z](\W)*/g;let k={},R=new Map;const N=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let x=0;const T="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function A(t=""){return t.length>0?`${t}-`:""}const v={setConf:function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},draw:function(t,e,r,o){k=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let l;"sandbox"===c&&(l=(0,n.Ys)("#i"+e));const h=("sandbox"===c?(0,n.Ys)(l.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${e}']`);let d;(function(t,e){let r;t.append("defs").append("marker").attr("id",E.MD_PARENT_START).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.MD_PARENT_END).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",E.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",E.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"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",E.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",E.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"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(h,k),d=new a.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const u=function(t,e,r){let a;return Object.keys(e).forEach((function(n){const s=function(t="",e=""){const r=t.replace(b,"");return`${A(e)}${A(r)}${y(t,T)}`}(n,"entity");R.set(n,s);const o=t.append("g").attr("id",s);a=void 0===a?s:a;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(n),{width:h,height:d}=((t,e,r)=>{const a=k.entityPadding/3,n=k.entityPadding/3,s=.85*k.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*a,f=1;r.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),r.forEach((r=>{const n=`${e.node().id}-attr-${f}`;let o=0;const g=(0,i.x)(r.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(g),E=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=m,O.nn=E;const b=m.node().getBBox(),k=E.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),l){const e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;const c=a.node().getBBox();u=Math.max(u,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;const a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,c.push(O),_+=o+2*a,f+=1}));let g=4;l&&(g+=2),h&&(g+=2);const m=d+y+u+p,E={width:Math.max(k.minEntityWidth,Math.max(o.width+2*k.entityPadding,m+n*g)),height:r.length>0?_:Math.max(k.minEntityHeight,o.height+2*k.entityPadding)};if(r.length>0){const r=Math.max(0,(E.width-m-n*g)/(g/2));e.attr("transform","translate("+E.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";c.forEach((e=>{const o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);let g=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(g+n)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",g).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);g=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(g+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",g).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else E.height=Math.max(k.minEntityHeight,_),e.attr("transform","translate("+E.width/2+","+E.height/2+")");return E})(o,l,e[n].attributes),u=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})})),a}(h,o.db.getEntities(),d),p=function(t,e){return t.forEach((function(t){e.setEdge(R.get(t.entityA),R.get(t.entityB),{relationship:t},N(t))})),t}(o.db.getRelationships(),d);var _,f;(0,s.bK)(d),_=h,(f=d).nodes().forEach((function(t){void 0!==t&&void 0!==f.node(t)&&_.select("#"+t).attr("transform","translate("+(f.node(t).x-f.node(t).width/2)+","+(f.node(t).y-f.node(t).height/2)+" )")})),p.forEach((function(t){!function(t,e,r,a,s){x++;const o=r.edge(R.get(e.entityA),R.get(e.entityB),N(e)),c=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+O.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+O.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+O.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+O.MD_PARENT_START+")")}const d=l.node().getTotalLength(),y=l.node().getPointAtLength(.5*d),u="rel"+x,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)}(h,t,d,u,o)}));const g=k.diagramPadding;i.u.insertTitle(h,"entityTitleText",k.titleTopMargin,o.db.getDiagramTitle());const m=h.node().getBBox(),v=m.width+2*g,M=m.height+2*g;(0,i.i)(h,M,v,k.useMaxWidth),h.attr("viewBox",`${m.x-g} ${m.y-g} ${v} ${M}`)}},M={parser:p,db:m,renderer:v,styles: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 #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}}}; \ No newline at end of file diff --git a/themes/daux/js/566.mjs b/themes/daux/js/566.mjs deleted file mode 100644 index 3daa299e..00000000 --- a/themes/daux/js/566.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=566;export const ids=[566];export const modules={9368:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(9360),i=n(9103);const d=function(e){return(0,i.Z)(e,4)};var a=n(3836);function o(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l(e),edges:s(e)};return r.Z(e.graph())||(t.value=d(e.graph())),t}function l(e){return a.Z(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),d={v:t};return r.Z(n)||(d.value=n),r.Z(i)||(d.parent=i),d}))}function s(e){return a.Z(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.Z(t.name)||(i.name=t.name),r.Z(n)||(i.value=n),i}))}n(5351)},2566:(e,t,n)=>{n.d(t,{r:()=>E});var r=n(9451),i=n(9368),d=n(8099),a=n(3110),o=n(5625),l=n(211),s=n(4309);let c={},h={},g={};const f=(e,t)=>(a.l.trace("In isDecendant",t," ",e," = ",h[t].includes(e)),!!h[t].includes(e)),u=(e,t,n,r)=>{a.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),a.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)u(i,t,n,r);else{const d=t.node(i);a.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,d),r!==t.parent(i)&&(a.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(a.l.debug("Setting parent",i,e),n.setParent(i,e)):(a.l.info("In copy ",e,"root",r,"data",t.node(e),r),a.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);a.l.debug("Copying Edges",o),o.forEach((i=>{a.l.info("Edge",i);const d=t.edge(i.v,i.w,i.name);a.l.info("Edge data",d,r);try{((e,t)=>(a.l.info("Decendants of ",t," is ",h[t]),a.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(h[t]?h[t].includes(e.v)||f(e.v,t)||f(e.w,t)||h[t].includes(e.w):(a.l.debug("Tilt, ",t,",not in decendants"),!1))))(i,r)?(a.l.info("Copying as ",i.v,i.w,d,i.name),n.setEdge(i.v,i.w,d,i.name),a.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):a.l.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){a.l.error(e)}}))}a.l.debug("Removing node",i),t.removeNode(i)}))},w=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)g[i]=e,r=[...r,...w(i,t)];return r},p=(e,t)=>{a.l.trace("Searching",e);const n=t.children(e);if(a.l.trace("Searching children of id ",e,n),n.length<1)return a.l.trace("This is a valid node",e),e;for(const r of n){const n=p(r,t);if(n)return a.l.trace("Found replacement for",e," => ",n),n}},v=e=>c[e]&&c[e].externalConnections&&c[e]?c[e].id:e,y=(e,t)=>{if(a.l.warn("extractor - ",t,i.c(e),e.children("D")),t>10)return void a.l.error("Bailing out");let n=e.nodes(),r=!1;for(const t of n){const n=e.children(t);r=r||n.length>0}if(r){a.l.debug("Nodes = ",n,t);for(const r of n)if(a.l.debug("Extracting node",r,c,c[r]&&!c[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),c[r])if(!c[r].externalConnections&&e.children(r)&&e.children(r).length>0){a.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";c[r]&&c[r].clusterData&&c[r].clusterData.dir&&(n=c[r].clusterData.dir,a.l.warn("Fixing dir",c[r].clusterData.dir,n));const d=new o.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));a.l.warn("Old graph before copy",i.c(e)),u(r,e,d,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:c[r].clusterData,labelText:c[r].labelText,graph:d}),a.l.warn("New graph after copy node: (",r,")",i.c(d)),a.l.debug("Old graph after copy",i.c(e))}else a.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!c[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),a.l.debug(c);else a.l.debug("Not a cluster",r,t);n=e.nodes(),a.l.warn("New list of nodes",n);for(const r of n){const n=e.node(r);a.l.warn(" Now next level",r,n),n.clusterNode&&y(n.graph,t+1)}}else a.l.debug("Done, no node has children",e.nodes())},x=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=x(e,r);n=[...n,...i]})),n},m={rect:(e,t)=>{a.l.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,a.k)((0,a.g)().flowchart.htmlLabels),o=n.insert("g").attr("class","cluster-label"),c="markdown"===t.labelType?(0,l.c)(o,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):o.node().appendChild((0,d.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ys)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}const g=0*t.padding,f=g/2,u=t.width<=h.width+g?h.width+g:t.width;t.width<=h.width+g?t.diff=(h.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,a.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-u/2).attr("y",t.y-t.height/2-f).attr("width",u).attr("height",t.height+g),i?o.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2)+")"):o.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const w=r.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(e){return(0,d.i)(t,e)},n},roundedWithTitle:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),o=n.append("rect"),l=i.node().appendChild((0,d.c)(t.labelText,t.labelStyle,void 0,!0));let c=l.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const e=l.children[0],t=(0,s.Ys)(l);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}c=l.getBBox();const h=0*t.padding,g=h/2,f=t.width<=c.width+t.padding?c.width+t.padding:t.width;t.width<=c.width+t.padding?t.diff=(c.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+h).attr("height",t.height+h),o.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+c.height-1).attr("width",f+h).attr("height",t.height+h-c.height-3),i.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,a.k)((0,a.g)().flowchart.htmlLabels)?5:3))+")");const u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,d.i)(t,e)},n},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return(0,d.i)(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,d.i)(t,e)},n}};let b={};const N=(e,t,n,o)=>{a.l.info("Graph in recursive render: XXX",i.c(t),o);const l=t.graph().rankdir;a.l.trace("Dir in recursive render - dir:",l);const s=e.insert("g").attr("class","root");t.nodes()?a.l.info("Recursive render XXX",t.nodes()):a.l.info("No nodes found for",t),t.edges().length>0&&a.l.trace("Recursive edges",t.edge(t.edges()[0]));const h=s.insert("g").attr("class","clusters"),g=s.insert("g").attr("class","edgePaths"),f=s.insert("g").attr("class","edgeLabels"),u=s.insert("g").attr("class","nodes");t.nodes().forEach((function(e){const r=t.node(e);if(void 0!==o){const n=JSON.parse(JSON.stringify(o.clusterData));a.l.info("Setting data for cluster XXX (",e,") ",n,o),t.setNode(o.id,n),t.parent(e)||(a.l.trace("Setting parent",e,o.id),t.setParent(e,o.id,n))}if(a.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){a.l.info("Cluster identified",e,r.width,t.node(e));const i=N(u,r.graph,n,t.node(e)),o=i.elem;(0,d.u)(r,o),r.diff=i.diff||0,a.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,d.s)(o,r),a.l.warn("Recursive render complete ",o,r)}else t.children(e).length>0?(a.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),a.l.info(p(r.id,t)),c[r.id]={id:p(r.id,t),node:r}):(a.l.info("Node - the non recursive path",e,r.id,r),(0,d.e)(u,t.node(e),l))})),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),a.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),a.l.info("Fix",c,"ids:",e.v,e.w,"Translateing: ",c[e.v],c[e.w]),(0,d.f)(f,n)})),t.edges().forEach((function(e){a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),a.l.info("#############################################"),a.l.info("### Layout ###"),a.l.info("#############################################"),a.l.info(t),(0,r.bK)(t),a.l.info("Graph after layout:",i.c(t));let w=0;return(e=>x(e,e.children()))(t).forEach((function(e){const n=t.node(e);a.l.info("Position "+e+": "+JSON.stringify(t.node(e))),a.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,d.p)(n):t.children(e).length>0?(((e,t)=>{a.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=m[n](e,t)})(h,n),c[n.id].node=n):(0,d.p)(n)})),t.edges().forEach((function(e){const r=t.edge(e);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);const i=(0,d.g)(g,e,r,c,n,t);(0,d.h)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);a.l.info(e,n.type,n.diff),"group"===n.type&&(w=n.diff)})),{elem:s,diff:w}},E=(e,t,n,r,o)=>{(0,d.a)(e,n,r,o),(0,d.b)(),(0,d.d)(),b={},h={},g={},c={},a.l.warn("Graph at first:",i.c(t)),((e,t)=>{e?(a.l.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(a.l.warn("Cluster identified",t," Replacement id in edges: ",p(t,e)),h[t]=w(t,e),c[t]={id:p(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(a.l.debug("Cluster identified",t,h),r.forEach((e=>{e.v!==t&&e.w!==t&&f(e.v,t)^f(e.w,t)&&(a.l.warn("Edge: ",e," leaves cluster ",t),a.l.warn("Decendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):a.l.debug("Not a cluster ",t,h)})),e.edges().forEach((function(t){const n=e.edge(t);a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(a.l.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c[t.v]," --- ",c[t.w]),c[t.v]&&c[t.w]&&c[t.v]===c[t.w]){a.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name);const d=t.w+"---"+t.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),l=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",l.label="",o.fromCluster=t.v,l.toCluster=t.v,e.setEdge(r,d,o,t.name+"-cyclic-special"),e.setEdge(d,i,l,t.name+"-cyclic-special")}else(c[t.v]||c[t.w])&&(a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),a.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))})),a.l.warn("Adjusted Graph",i.c(e)),y(e,0),a.l.trace(c)):a.l.debug("Opting out, no graph ")})(t),a.l.warn("Graph after:",i.c(t)),N(e,t,r)}}}; \ No newline at end of file diff --git a/themes/daux/js/571.mjs b/themes/daux/js/571.mjs new file mode 100644 index 00000000..13609d67 --- /dev/null +++ b/themes/daux/js/571.mjs @@ -0,0 +1 @@ +export const id=571;export const ids=[571];export const modules={4571:(e,t,i)=>{i.d(t,{diagram:()=>k});var r=i(9360),n=i(7274),s=i(9451),a=i(5625),c=(i(7484),i(7967),i(7856),function(){var e=function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},t=[1,3],i=[1,5],r=[1,6],n=[1,7],s=[1,8],a=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],c=[1,22],o=[2,13],l=[1,26],h=[1,27],u=[1,28],d=[1,29],y=[1,30],p=[1,31],_=[1,24],g=[1,32],E=[1,33],R=[1,36],m=[71,72],f=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],I=[1,56],b=[1,57],S=[1,58],k=[1,59],T=[1,60],N=[1,61],v=[1,62],x=[62,63],A=[1,74],q=[1,70],$=[1,71],O=[1,72],w=[1,73],C=[1,75],D=[1,79],L=[1,80],F=[1,77],M=[1,78],P=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],V={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(e,t,i,r,n,s,a){var c=s.length-1;switch(n){case 6:this.$=s[c].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=s[c].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(s[c],"type_directive");break;case 11:s[c]=s[c].trim().replace(/'/g,'"'),r.parseDirective(s[c],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(s[c-3],s[c-4]);break;case 20:r.setNewReqId(s[c-2]);break;case 21:r.setNewReqText(s[c-2]);break;case 22:r.setNewReqRisk(s[c-2]);break;case 23:r.setNewReqVerifyMethod(s[c-2]);break;case 26:this.$=r.RequirementType.REQUIREMENT;break;case 27:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=r.RiskLevel.LOW_RISK;break;case 33:this.$=r.RiskLevel.MED_RISK;break;case 34:this.$=r.RiskLevel.HIGH_RISK;break;case 35:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=r.VerifyType.VERIFY_TEST;break;case 39:r.addElement(s[c-3]);break;case 40:r.setNewElementType(s[c-2]);break;case 41:r.setNewElementDocRef(s[c-2]);break;case 44:r.addRelationship(s[c-2],s[c],s[c-4]);break;case 45:r.addRelationship(s[c-2],s[c-4],s[c]);break;case 46:this.$=r.Relationships.CONTAINS;break;case 47:this.$=r.Relationships.COPIES;break;case 48:this.$=r.Relationships.DERIVES;break;case 49:this.$=r.Relationships.SATISFIES;break;case 50:this.$=r.Relationships.VERIFIES;break;case 51:this.$=r.Relationships.REFINES;break;case 52:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:i,16:r,18:n,19:s},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(a,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[2,2]},{4:21,5:c,7:17,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{11:34,12:[1,35],22:R},e([12,22],[2,10]),e(a,[2,6]),e(a,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:c,7:38,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:39,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:40,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:41,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:42,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(m,[2,26]),e(m,[2,27]),e(m,[2,28]),e(m,[2,29]),e(m,[2,30]),e(m,[2,31]),e(f,[2,55]),e(f,[2,56]),e(a,[2,4]),{13:51,21:[1,52]},e(a,[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:I,65:b,66:S,67:k,68:T,69:N,70:v},{61:63,64:I,65:b,66:S,67:k,68:T,69:N,70:v},{11:64,22:R},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(x,[2,46]),e(x,[2,47]),e(x,[2,48]),e(x,[2,49]),e(x,[2,50]),e(x,[2,51]),e(x,[2,52]),{63:[1,68]},e(a,[2,5]),{5:A,29:69,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:76,56:F,58:M},{32:81,71:g,72:E},{32:82,71:g,72:E},e(P,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:A,29:87,30:q,33:$,35:O,37:w,39:C},e(P,[2,25]),e(P,[2,39]),{31:[1,88]},{31:[1,89]},{5:D,39:L,55:90,56:F,58:M},e(P,[2,43]),e(P,[2,44]),e(P,[2,45]),{32:91,71:g,72:E},{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]},e(P,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(P,[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:A,29:116,30:q,33:$,35:O,37:w,39:C},{5:A,29:117,30:q,33:$,35:O,37:w,39:C},{5:A,29:118,30:q,33:$,35:O,37:w,39:C},{5:A,29:119,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:120,56:F,58:M},{5:D,39:L,55:121,56:F,58:M},e(P,[2,20]),e(P,[2,21]),e(P,[2,22]),e(P,[2,23]),e(P,[2,40]),e(P,[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(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=[0],i=[],r=[null],n=[],s=this.table,a="",c=0,o=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(e,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var p=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,g,E,R,m,f,I,b,S,k={};;){if(g=t[t.length-1],this.defaultActions[g]?E=this.defaultActions[g]:(null==_&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),_=S),E=s[g]&&s[g][_]),void 0===E||!E.length||!E[0]){var T;for(m in b=[],s[g])this.terminals_[m]&&m>2&&b.push("'"+this.terminals_[m]+"'");T=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:y,expected:b})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+_);switch(E[0]){case 1:t.push(_),r.push(h.yytext),n.push(h.yylloc),t.push(E[1]),_=null,o=h.yyleng,a=h.yytext,c=h.yylineno,y=h.yylloc;break;case 2:if(f=this.productions_[E[1]][1],k.$=r[r.length-f],k._$={first_line:n[n.length-(f||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(f||1)].first_column,last_column:n[n.length-1].last_column},p&&(k._$.range=[n[n.length-(f||1)].range[0],n[n.length-1].range[1]]),void 0!==(R=this.performAction.apply(k,[a,o,c,u.yy,E[1],r,n].concat(l))))return R;f&&(t=t.slice(0,-1*f*2),r=r.slice(0,-1*f),n=n.slice(0,-1*f)),t.push(this.productions_[E[1]][0]),r.push(k.$),n.push(k._$),I=s[t[t.length-2]][t[t.length-1]],t.push(I);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in n)this[s]=n[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),s=0;st[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[r]))&&e:""===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(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,i,r){switch(i){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 t.yytext=t.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 U(){this.yy={}}return V.lexer=Y,U.prototype=V,V.Parser=U,new U}());c.parser=c;const o=c;let l=[],h={},u={},d={},y={};const p={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(e,t,i){r.m.parseDirective(this,e,t,i)},getConfig:()=>(0,r.c)().req,addRequirement:(e,t)=>(void 0===u[e]&&(u[e]={name:e,type:t,id:h.id,text:h.text,risk:h.risk,verifyMethod:h.verifyMethod}),h={},u[e]),getRequirements:()=>u,setNewReqId:e=>{void 0!==h&&(h.id=e)},setNewReqText:e=>{void 0!==h&&(h.text=e)},setNewReqRisk:e=>{void 0!==h&&(h.risk=e)},setNewReqVerifyMethod:e=>{void 0!==h&&(h.verifyMethod=e)},setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addElement:e=>(void 0===y[e]&&(y[e]={name:e,type:d.type,docRef:d.docRef},r.l.info("Added new requirement: ",e)),d={},y[e]),getElements:()=>y,setNewElementType:e=>{void 0!==d&&(d.type=e)},setNewElementDocRef:e=>{void 0!==d&&(d.docRef=e)},addRelationship:(e,t,i)=>{l.push({type:e,src:t,dst:i})},getRelationships:()=>l,clear:()=>{l=[],h={},u={},d={},y={},(0,r.v)()}},_={CONTAINS:"contains",ARROW:"arrow"},g=_;let E={},R=0;const m=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",E.rect_min_width+"px").attr("height",E.rect_min_height+"px"),f=(e,t,i)=>{let r=E.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",E.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",.75*E.line_height).text(e),s++}));let a=1.5*E.rect_padding+s*E.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",E.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},I=(e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",E.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach((e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0})),a.forEach((e=>{n.append("tspan").attr("x",E.rect_padding).attr("dy",E.line_height).text(e)})),n},b=e=>e.replace(/\s/g,"").replace(/\./g,"_"),S={draw:(e,t,i,c)=>{E=(0,r.c)().requirement;const o=E.securityLevel;let l;"sandbox"===o&&(l=(0,n.Ys)("#i"+t));const h=("sandbox"===o?(0,n.Ys)(l.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${t}']`);((e,t)=>{let i=e.append("defs").append("marker").attr("id",_.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",_.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(h,E);const u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:E.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let d=c.db.getRequirements(),y=c.db.getElements(),p=c.db.getRelationships();var S,k,T;S=d,k=u,T=h,Object.keys(S).forEach((e=>{let t=S[e];e=b(e),r.l.info("Added new requirement: ",e);const i=T.append("g").attr("id",e),n=m(i,"req-"+e);let s=f(i,e+"_title",[`<<${t.type}>>`,`${t.name}`]);I(i,e+"_body",[`Id: ${t.id}`,`Text: ${t.text}`,`Risk: ${t.risk}`,`Verification: ${t.verifyMethod}`],s.y);const a=n.node().getBBox();k.setNode(e,{width:a.width,height:a.height,shape:"rect",id:e})})),((e,t,i)=>{Object.keys(e).forEach((r=>{let n=e[r];const s=b(r),a=i.append("g").attr("id",s),c="element-"+s,o=m(a,c);let l=f(a,c+"_title",["<>",`${r}`]);I(a,c+"_body",[`Type: ${n.type||"Not Specified"}`,`Doc Ref: ${n.docRef||"None"}`],l.y);const h=o.node().getBBox();t.setNode(s,{width:h.width,height:h.height,shape:"rect",id:s})}))})(y,u,h),((e,t)=>{e.forEach((function(e){let i=b(e.src),r=b(e.dst);t.setEdge(i,r,{relationship:e})}))})(p,u),(0,s.bK)(u),function(e,t){t.nodes().forEach((function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))}))}(h,u),p.forEach((function(e){!function(e,t,i,s,a){const c=i.edge(b(t.src),b(t.dst)),o=(0,n.jvg)().x((function(e){return e.x})).y((function(e){return e.y})),l=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",o(c.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?l.attr("marker-start","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(l.attr("stroke-dasharray","10,7"),l.attr("marker-end","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+g.ARROW+"_line_ending)")),((e,t,i,r)=>{const n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+R;R++;const c=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-c.width/2).attr("y",s.y-c.height/2).attr("width",c.width).attr("height",c.height).attr("fill","white").attr("fill-opacity","85%")})(e,l,0,`<<${t.type}>>`)}(h,e,u,t,c)}));const N=E.rect_padding,v=h.node().getBBox(),x=v.width+2*N,A=v.height+2*N;(0,r.i)(h,A,x,E.useMaxWidth),h.attr("viewBox",`${v.x-N} ${v.y-N} ${x} ${A}`)}},k={parser:o,db:p,renderer:S,styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}; \ No newline at end of file diff --git a/themes/daux/js/573.mjs b/themes/daux/js/573.mjs deleted file mode 100644 index d017ea7f..00000000 --- a/themes/daux/js/573.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=573;export const ids=[573];export const modules={6500:(t,e,n)=>{n.d(e,{Z:()=>a});var i=n(5971),s=n(1767);const r=t=>(t=>{const{r:e,g:n,b:r}=s.Z.parse(t),a=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(n)+.0722*i.Z.channel.toLinear(r);return i.Z.lang.round(a)})(t)>=.5,a=t=>!r(t)},1573:(t,e,n)=>{n.d(e,{diagram:()=>O});var i=n(1188),s=n(3110),r=n(4309),a=n(6500),o=n(2281),c=n(7201),l=(n(7967),n(7856),n(7484),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],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,23],h=[1,24],d=[1,27],u=[4,6,9,11,17,18,20,22,23,26,27,28],p={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,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 11:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 19:i.addTask(r[o],0,""),this.$=r[o];break;case 20:i.addEvent(r[o].substr(2)),this.$=r[o];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(r[o],"type_directive");break;case 23:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"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:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,28:n},{1:[2,2]},{14:25,15:[1,26],31:d},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:s,18:r,20:a,22:o,23:c,24:20,25:21,26:l,27:h,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(u,[2,9]),{14:34,31:d},{31:[2,23]},{11:[1,35]},t(u,[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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,f,m,_,b,v,k,x,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==y&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),y=S),m=r[f]&&r[f][y]),void 0===m||!m.length||!m[0]){var $;for(b in x=[],r[f])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");$=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:p,expected:x})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+y);switch(m[0]){case 1:e.push(y),i.push(h.yytext),s.push(h.yylloc),e.push(m[1]),y=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(v=this.productions_[m[1]][1],w.$=i[i.length-v],w._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(w,[a,c,o,d.yy,m[1],i,s].concat(l))))return _;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),s=s.slice(0,-1*v)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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 y(){this.yy={}}return p.lexer=g,y.prototype=p,p.Parser=y,new y}());l.parser=l;const h=l;let d="",u=0;const p=[],g=[],y=[],f=()=>s.c,m=(t,e,n)=>{(0,i.p)(globalThis,t,e,n)},_=function(){p.length=0,g.length=0,d="",y.length=0,(0,s.y)()},b=function(t){d=t,p.push(t)},v=function(){return p},k=function(){let t=$(),e=0;for(;!t&&e<100;)t=$(),e++;return g.push(...y),g},x=function(t,e,n){const i={id:u++,section:d,type:d,task:t,score:e||0,events:n?[n]:[]};y.push(i)},S=function(t){y.find((t=>t.id===u-1)).events.push(t)},w=function(t){const e={section:d,type:d,description:t,task:t,classes:[]};g.push(e)},$=function(){let t=!0;for(const[e,n]of y.entries())y[e].processed,t=t&&n.processed;return t},E={clear:_,getCommonDb:f,addSection:b,getSections:v,getTasks:k,addTask:x,addTaskOrg:w,addEvent:S,parseDirective:m},I=Object.freeze(Object.defineProperty({__proto__:null,addEvent:S,addSection:b,addTask:x,addTaskOrg:w,clear:_,default:E,getCommonDb:f,getSections:v,getTasks:k,parseDirective:m},Symbol.toStringTag,{value:"Module"}));function T(t,e){t.each((function(){var t,n=(0,r.Ys)(this),i=n.text().split(/(\s+|
    )/).reverse(),s=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let r=0;re||"
    "===t)&&(s.pop(),c.text(s.join(" ").trim()),s="
    "===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const D=function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(T,e.width).node().getBBox(),l=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} 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)}(a,e,s),e},L=function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(T,e.width).node().getBBox(),r=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding},A=function(t,e,n,i,r,a,o,c,l,h,d){var u;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};s.l.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),g=D(p,e,n,o).height;if(s.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,g),c.events){const e=t.append("g").attr("class","lineWrapper");let s=a;r+=100,s+=C(t,c.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+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}i+=200,d&&!(null==(u=o.timeline)?void 0:u.disableMulticolor)&&n++}r-=10},C=function(t,e,n,i,r,a){let o=0;const c=r;r+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};s.l.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=D(l,e,n,a).height;o+=h,l.attr("transform",`translate(${i}, ${r})`),r=r+10+h}return r=c,o},M={setConf:()=>{},draw:function(t,e,n,a){var o,c,l,h;const d=(0,s.g)(),u=d.leftMargin??50;null==(c=(o=a.db).clear)||c.call(o),a.parser.parse(t+"\n"),s.l.debug("timeline",a.db);const p=d.securityLevel;let g;"sandbox"===p&&(g=(0,r.Ys)("#i"+e));const y=("sandbox"===p?(0,r.Ys)(g.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);y.append("g");const f=a.db.getTasks(),m=a.db.getCommonDb().getDiagramTitle();s.l.debug("task",f),y.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");const _=a.db.getSections();s.l.debug("sections",_);let b=0,v=0,k=0,x=0,S=50+u,w=50;x=50;let $=0,E=!0;_.forEach((function(t){const e=L(y,{number:$,descr:t,section:$,width:150,padding:20,maxHeight:b},d);s.l.debug("sectionHeight before draw",e),b=Math.max(b,e+20)}));let I=0,T=0;s.l.debug("tasks.length",f.length);for(const[t,e]of f.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:v},i=L(y,n,d);s.l.debug("taskHeight before draw",i),v=Math.max(v,i+20),I=Math.max(I,e.events.length);let r=0;for(let t=0;t0?_.forEach((t=>{const e=f.filter((e=>e.section===t)),n={number:$,descr:t,section:$,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:b};s.l.debug("sectionNode",n);const i=y.append("g"),r=D(i,n,$,d);s.l.debug("sectionNode output",r),i.attr("transform",`translate(${S}, 50)`),w+=b+50,e.length>0&&A(y,e,$,S,w,v,d,0,T,b,!1),S+=200*Math.max(e.length,1),w=50,$++})):(E=!1,A(y,f,$,S,w,v,d,0,T,b,!0));const C=y.node().getBBox();s.l.debug("bounds",C),m&&y.append("text").text(m).attr("x",C.width/2-u).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),k=E?b+v+150:v+100,y.append("g").attr("class","lineWrapper").append("line").attr("x1",u).attr("y1",k).attr("x2",C.width+3*u).attr("y2",k).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.s)(void 0,y,(null==(l=d.timeline)?void 0:l.padding)??50,(null==(h=d.timeline)?void 0:h.useMaxWidth)??!1)}},O={db:I,renderer:M,parser:h,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e{t.d(n,{c:()=>on});var r={};t.r(r),t.d(r,{attentionMarkers:()=>Le,contentInitial:()=>Ce,disable:()=>Me,document:()=>we,flow:()=>ze,flowInitial:()=>Te,insideSpan:()=>_e,string:()=>De,text:()=>Be});var i=t(9360);const u={};function o(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return c(e.children,n,t)}return Array.isArray(e)?c(e,n,t):""}function c(e,n,t){const r=[];let i=-1;for(;++ii?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)u=Array.from(r),u.unshift(n,t),e.splice(...u);else for(t&&e.splice(n,t);o0?(s(e,e.length,0,n),e):n}const a={}.hasOwnProperty;function f(e,n){let t;for(t in n){const r=(a.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let u;if(i)for(u in i){a.call(r,u)||(r[u]=[]);const e=i[u];d(r[u],Array.isArray(e)?e:e?[e]:[])}}}function d(e,n){let t=-1;const r=[];for(;++tu))return;const t=n.events.length;let i,c,l=t;for(;l--;)if("exit"===n.events[l][0]&&"chunkFlow"===n.events[l][1].type){if(i){c=n.events[l][1].end;break}i=!0}for(k(o),e=t;er;){const r=t[i];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function y(){r.write([null]),i=void 0,r=void 0,n.containerState._closeFlow=void 0}}},T={tokenize:function(e,n,t){return I(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},z={tokenize:function(e,n,t){return function(n){return b(n)?I(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||F(e)?n(e):t(e)}},partial:!0};function D(e){const n={};let t,r,i,u,o,c,l,a=-1;for(;++a=4?n(i):e.interrupt(r.parser.constructs.flow,t,n)(i)}},partial:!0},M={tokenize:function(e){const n=this,t=e.attempt(z,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,I(e,e.attempt(this.parser.constructs.flow,r,e.attempt(_,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}},P={resolveAll:R()},O=H("string"),j=H("text");function H(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],i=n.attempt(r,u,o);return u;function u(e){return s(e)?i(e):o(e)}function o(e){if(null!==e)return n.enter("data"),n.consume(e),c;n.consume(e)}function c(e){return s(e)?(n.exit("data"),i(e)):(n.consume(e),c)}function s(e){if(null===e)return!0;const n=r[e];let i=-1;if(n)for(;++i-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}u>0&&o.push(e[i].slice(0,u))}return o}(o,e)}function g(){const{line:e,column:n,offset:t,_index:i,_bufferIndex:u}=r;return{line:e,column:n,offset:t,_index:i,_bufferIndex:u}}function x(e){a=void 0,h=e,p=p(e)}function k(e,n){n.restore()}function y(e,n){return function(t,i,u){let o,s,l,h;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):(p=t,function(e){const n=null!==e&&p[e],t=null!==e&&p.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(t)?t:t?[t]:[]])(e)});var p;function m(e){return o=e,s=0,0===e.length?u:x(e[s])}function x(e){return function(t){return h=function(){const e=g(),n=d.previous,t=d.currentConstruct,i=d.events.length,u=Array.from(c);return{restore:function(){r=e,d.previous=n,d.currentConstruct=t,d.events.length=i,c=u,b()},from:i}}(),l=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(n?Object.assign(Object.create(d),n):d,f,k,y)(t)}}function k(n){return a=!0,e(l,h),i}function y(e){return a=!0,h.restore(),++s=3&&(null===u||F(u))?(e.exit("thematicBreak"),n(u)):t(u)}function o(n){return n===r?(e.consume(n),i++,o):(e.exit("thematicBreakSequence"),b(n)?I(e,u,"whitespace")(n):u(n))}}},U={name:"list",tokenize:function(e,n,t){const r=this,i=r.events[r.events.length-1];let u=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(n){const i=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||n===r.containerState.marker:x(n)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===n||45===n?e.check(N,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(n)}return t(n)};function c(n){return x(n)&&++o<10?(e.consume(n),c):(!r.interrupt||o<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(z,r.interrupt?t:l,e.attempt($,f,a))}function l(e){return r.containerState.initialBlankLine=!0,u++,f(e)}function a(n){return b(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(z,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,I(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){return r.containerState.furtherBlankLines||!b(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W,n,i)(t))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,I(e,e.attempt(U,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},$={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return!b(e)&&i&&"listItemPrefixWhitespace"===i[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},W={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Z={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),i}return t(n)};function i(t){return b(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){return b(n)?I(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):i(n)};function i(r){return e.attempt(Z,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Y(e,n,t,r,i,u,o,c,s){const l=s||Number.POSITIVE_INFINITY;let a=0;return function(n){return 60===n?(e.enter(r),e.enter(i),e.enter(u),e.consume(n),e.exit(u),f):null===n||32===n||41===n||g(n)?t(n):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),p(n))};function f(t){return 62===t?(e.enter(u),e.consume(t),e.exit(u),e.exit(i),e.exit(r),n):(e.enter(c),e.enter("chunkString",{contentType:"string"}),d(t))}function d(n){return 62===n?(e.exit("chunkString"),e.exit(c),f(n)):null===n||60===n||F(n)?t(n):(e.consume(n),92===n?h:d)}function h(n){return 60===n||62===n||92===n?(e.consume(n),d):d(n)}function p(i){return a||null!==i&&41!==i&&!v(i)?a999||null===f||91===f||93===f&&!c||94===f&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):93===f?(e.exit(u),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),a(f))}function a(n){return null===n||91===n||93===n||F(n)||s++>999?(e.exit("chunkString"),l(n)):(e.consume(n),c||(c=!b(n)),92===n?f:a)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,a):a(n)}}function J(e,n,t,r,i,u){let o;return function(n){return 34===n||39===n||40===n?(e.enter(r),e.enter(i),e.consume(n),e.exit(i),o=40===n?41:n,c):t(n)};function c(t){return t===o?(e.enter(i),e.consume(t),e.exit(i),e.exit(r),n):(e.enter(u),s(t))}function s(n){return n===o?(e.exit(u),c(o)):null===n?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(n))}function l(n){return n===o||null===n||F(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?a:l)}function a(n){return n===o||92===n?(e.consume(n),l):l(n)}}function K(e,n){let t;return function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):b(i)?I(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}function X(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ee={name:"definition",tokenize:function(e,n,t){const r=this;let i;return function(n){return e.enter("definition"),function(n){return G.call(r,e,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function u(n){return i=X(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),o):t(n)}function o(n){return v(n)?K(e,c)(n):c(n)}function c(n){return Y(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(ne,l,l)(n)}function l(n){return b(n)?I(e,a,"whitespace")(n):a(n)}function a(u){return null===u||F(u)?(e.exit("definition"),r.parser.defined.push(i),n(u)):t(u)}}},ne={tokenize:function(e,n,t){return function(n){return v(n)?K(e,r)(n):t(n)};function r(n){return J(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return b(n)?I(e,u,"whitespace")(n):u(n)}function u(e){return null===e||F(e)?n(e):t(e)}},partial:!0},te={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),I(e,i,"linePrefix",5)(n)};function i(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?u(e):t(e)}function u(n){return null===n?c(n):F(n)?e.attempt(re,u,c)(n):(e.enter("codeFlowValue"),o(n))}function o(n){return null===n||F(n)?(e.exit("codeFlowValue"),u(n)):(e.consume(n),o)}function c(t){return e.exit("codeIndented"),n(t)}}},re={tokenize:function(e,n,t){const r=this;return i;function i(n){return r.parser.lazy[r.now().line]?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):I(e,u,"linePrefix",5)(n)}function u(e){const u=r.events[r.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?n(e):F(e)?i(e):t(e)}},partial:!0},ie={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),i(n)}(n)};function i(n){return 35===n&&r++<6?(e.consume(n),i):null===n||v(n)?(e.exit("atxHeadingSequence"),u(n)):t(n)}function u(t){return 35===t?(e.enter("atxHeadingSequence"),o(t)):null===t||F(t)?(e.exit("atxHeading"),n(t)):b(t)?I(e,u,"whitespace")(t):(e.enter("atxHeadingText"),c(t))}function o(n){return 35===n?(e.consume(n),o):(e.exit("atxHeadingSequence"),u(n))}function c(n){return null===n||35===n||v(n)?(e.exit("atxHeadingText"),u(n)):(e.consume(n),c)}},resolve:function(e,n){let t,r,i=e.length-2,u=3;return"whitespace"===e[u][1].type&&(u+=2),i-2>u&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(u===i-1||i-4>u&&"whitespace"===e[i-2][1].type)&&(i-=u+1===i?2:4),i>u&&(t={type:"atxHeadingText",start:e[u][1].start,end:e[i][1].end},r={type:"chunkText",start:e[u][1].start,end:e[i][1].end,contentType:"text"},s(e,u,i-u+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},ue={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let i;return function(n){let o,c=r.events.length;for(;c--;)if("lineEnding"!==r.events[c][1].type&&"linePrefix"!==r.events[c][1].type&&"content"!==r.events[c][1].type){o="paragraph"===r.events[c][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?t(n):(e.enter("setextHeadingLine"),i=n,function(n){return e.enter("setextHeadingLineSequence"),u(n)}(n))};function u(n){return n===i?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),b(n)?I(e,o,"lineSuffix")(n):o(n))}function o(r){return null===r||F(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,i,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){t=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),i||"definition"!==e[u][1].type||(i=u);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,n]),e.splice(i+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[i][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},oe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ce=["pre","script","style","textarea"],se={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let i,u,o,c,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l}(n)};function l(c){return 33===c?(e.consume(c),a):47===c?(e.consume(c),u=!0,m):63===c?(e.consume(c),i=3,r.interrupt?n:H):h(c)?(e.consume(c),o=String.fromCharCode(c),g):t(c)}function a(u){return 45===u?(e.consume(u),i=2,f):91===u?(e.consume(u),i=5,c=0,d):h(u)?(e.consume(u),i=4,r.interrupt?n:H):t(u)}function f(i){return 45===i?(e.consume(i),r.interrupt?n:H):t(i)}function d(i){return i==="CDATA[".charCodeAt(c++)?(e.consume(i),6===c?r.interrupt?n:D:d):t(i)}function m(n){return h(n)?(e.consume(n),o=String.fromCharCode(n),g):t(n)}function g(c){if(null===c||47===c||62===c||v(c)){const s=47===c,l=o.toLowerCase();return s||u||!ce.includes(l)?oe.includes(o.toLowerCase())?(i=6,s?(e.consume(c),x):r.interrupt?n(c):D(c)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(c):u?k(c):y(c)):(i=1,r.interrupt?n(c):D(c))}return 45===c||p(c)?(e.consume(c),o+=String.fromCharCode(c),g):t(c)}function x(i){return 62===i?(e.consume(i),r.interrupt?n:D):t(i)}function k(n){return b(n)?(e.consume(n),k):T(n)}function y(n){return 47===n?(e.consume(n),T):58===n||95===n||h(n)?(e.consume(n),S):b(n)?(e.consume(n),y):T(n)}function S(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),S):E(n)}function E(n){return 61===n?(e.consume(n),A):b(n)?(e.consume(n),E):y(n)}function A(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,I):b(n)?(e.consume(n),A):w(n)}function I(n){return n===s?(e.consume(n),s=null,C):null===n||F(n)?t(n):(e.consume(n),I)}function w(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||v(n)?E(n):(e.consume(n),w)}function C(e){return 47===e||62===e||b(e)?y(e):t(e)}function T(n){return 62===n?(e.consume(n),z):t(n)}function z(n){return null===n||F(n)?D(n):b(n)?(e.consume(n),z):t(n)}function D(n){return 45===n&&2===i?(e.consume(n),M):60===n&&1===i?(e.consume(n),P):62===n&&4===i?(e.consume(n),R):63===n&&3===i?(e.consume(n),H):93===n&&5===i?(e.consume(n),j):!F(n)||6!==i&&7!==i?null===n||F(n)?(e.exit("htmlFlowData"),B(n)):(e.consume(n),D):(e.exit("htmlFlowData"),e.check(le,q,B)(n))}function B(n){return e.check(ae,_,q)(n)}function _(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),L}function L(n){return null===n||F(n)?B(n):(e.enter("htmlFlowData"),D(n))}function M(n){return 45===n?(e.consume(n),H):D(n)}function P(n){return 47===n?(e.consume(n),o="",O):D(n)}function O(n){if(62===n){const t=o.toLowerCase();return ce.includes(t)?(e.consume(n),R):D(n)}return h(n)&&o.length<8?(e.consume(n),o+=String.fromCharCode(n),O):D(n)}function j(n){return 93===n?(e.consume(n),H):D(n)}function H(n){return 62===n?(e.consume(n),R):45===n&&2===i?(e.consume(n),H):D(n)}function R(n){return null===n||F(n)?(e.exit("htmlFlowData"),q(n)):(e.consume(n),R)}function q(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},le={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(z,n,t)}},partial:!0},ae={tokenize:function(e,n,t){const r=this;return function(n){return F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):t(n)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},fe={tokenize:function(e,n,t){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},de={name:"codeFenced",tokenize:function(e,n,t){const r=this,i={tokenize:function(e,n,t){let i=0;return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(n){return e.enter("codeFencedFence"),b(n)?I(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):s(n)}function s(n){return n===u?(e.enter("codeFencedFenceSequence"),l(n)):t(n)}function l(n){return n===u?(i++,e.consume(n),l):i>=c?(e.exit("codeFencedFenceSequence"),b(n)?I(e,a,"whitespace")(n):a(n)):t(n)}function a(r){return null===r||F(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let u,o=0,c=0;return function(n){return function(n){const t=r.events[r.events.length-1];return o=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,u=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===u?(c++,e.consume(n),s):c<3?t(n):(e.exit("codeFencedFenceSequence"),b(n)?I(e,l,"whitespace")(n):l(n))}function l(t){return null===t||F(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(fe,h,k)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),a(t))}function a(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(n)):b(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(n)):96===n&&n===u?t(n):(e.consume(n),a)}function f(n){return null===n||F(n)?l(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(n)):96===n&&n===u?t(n):(e.consume(n),d)}function h(n){return e.attempt(i,k,p)(n)}function p(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m}function m(n){return o>0&&b(n)?I(e,g,"linePrefix",o+1)(n):g(n)}function g(n){return null===n||F(n)?e.check(fe,h,k)(n):(e.enter("codeFlowValue"),x(n))}function x(n){return null===n||F(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),x)}function k(t){return e.exit("codeFenced"),n(t)}},concrete:!0},he=document.createElement("i");function pe(e){const n="&"+e+";";he.innerHTML=n;const t=he.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&t!==n&&t}const me={name:"characterReference",tokenize:function(e,n,t){const r=this;let i,u,o=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),c};function c(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,u=p,l(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=k,l):(e.enter("characterReferenceValue"),i=7,u=x,l(n))}function l(c){if(59===c&&o){const i=e.exit("characterReferenceValue");return u!==p||pe(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(c)}return u(c)&&o++1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const h=Object.assign({},e[t][1].end),p=Object.assign({},e[d][1].start);Ee(h,-c),Ee(p,c),u={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[t][1].end)},o={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[d][1].start)},r={type:c>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},u.start),e[d][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=l(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=l(a,[["enter",r,n],["enter",u,n],["exit",u,n],["enter",i,n]]),a=l(a,V(n.parser.constructs.insideSpan.null,e.slice(t+1,d),n)),a=l(a,[["exit",i,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,a=l(a,[["enter",e[d][1],n],["exit",e[d][1],n]])):f=0,s(e,t-1,d-t+3,a),d=t+a.length-f-2;break}for(d=-1;++d13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535==(65535&t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const je=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function He(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return Oe(t.slice(n?2:1),n?16:10)}return pe(t)||e}function Re(e){return e&&"object"==typeof e?"position"in e||"type"in e?Ve(e.position):"start"in e||"end"in e?Ve(e):"line"in e||"column"in e?qe(e):"":""}function qe(e){return Qe(e&&e.line)+":"+Qe(e&&e.column)}function Ve(e){return qe(e&&e.start)+"-"+qe(e&&e.end)}function Qe(e){return e&&"number"==typeof e?e:1}const Ne={}.hasOwnProperty,Ue=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(b),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(y),blockQuote:s((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:s(k),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(k,l),codeText:s((function(){return{type:"inlineCode",value:""}}),l),codeTextData:p,data:p,codeFlowValue:p,definition:s((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:s(F),hardBreakTrailing:s(F),htmlFlow:s(v,l),htmlFlowData:p,htmlText:s(v,l),htmlTextData:p,image:s((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:s(b),listItem:s((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){c("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:s(S,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:s(S),paragraph:s((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(y),strong:s((function(){return{type:"strong",children:[]}})),thematicBreak:s((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:f(),atxHeadingSequence:function(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}},autolink:f(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:f(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:x,characterReferenceMarkerNumeric:x,characterReferenceValue:function(e){const n=this.sliceSerialize(e),t=c("characterReferenceType");let r;t?(r=Oe(n,"characterReferenceMarkerNumeric"===t?10:16),i("characterReferenceType")):r=pe(n);const u=this.stack.pop();u.value+=r,u.position.end=$e(e.end)},codeFenced:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){c("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:m,data:m,definition:f(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:f(),hardBreakEscape:f(g),hardBreakTrailing:f(g),htmlFlow:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:m,htmlText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:m,image:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===t.type){const n=e.children;t.children=n}else t.alt=n},labelText:function(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(je,He)}(n),t.identifier=X(n).toLowerCase()},lineEnding:function(e){const t=this.stack[this.stack.length-1];if(c("atHardBreak"))return t.children[t.children.length-1].position.end=$e(e.end),void i("atHardBreak");!c("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(p.call(this,e),m.call(this,e))},link:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:f((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:f(),thematicBreak:f()}};We(n,(e||{}).mdastExtensions||[]);const t={};return function(e){let t={type:"root",children:[]};const u={stack:[t],tokenStack:[],config:n,enter:a,exit:d,buffer:l,resume:h,setData:i,getData:c},o=[];let s=-1;for(;++s0){const e=u.tokenStack[u.tokenStack.length-1];(e[1]||Ye).call(u,void 0,e[0])}for(t.position={start:$e(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$e(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s{0!==t&&(i++,r.push([])),e.split(" ").forEach((e=>{e&&r[i].push({content:e,type:n})}))})):"strong"!==e.type&&"emphasis"!==e.type||e.children.forEach((n=>{u(n,e.type)}))}return t.forEach((e=>{"paragraph"===e.type&&e.children.forEach((e=>{u(e)}))})),r}function Ke(e,n){var t;return Xe(e,[],(t=n.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((e=>e.segment)):[...t]),n.type)}function Xe(e,n,t,r){if(0===t.length)return[{content:n.join(""),type:r},{content:"",type:r}];const[i,...u]=t,o=[...n,i];return e([{content:o.join(""),type:r}])?Xe(e,o,u,r):(0===n.length&&i&&(n.push(i),t.shift()),[{content:n.join(""),type:r},{content:t.join(""),type:r}])}function en(e,n){if(e.some((({content:e})=>e.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return nn(e,n)}function nn(e,n,t=[],r=[]){if(0===e.length)return r.length>0&&t.push(r),t.length>0?t:[];let i="";" "===e[0].content&&(i=" ",e.shift());const u=e.shift()??{content:" ",type:"normal"},o=[...r];if(""!==i&&o.push({content:i,type:"normal"}),o.push(u),n(o))return nn(e,n,t,o);if(r.length>0)t.push(r),e.unshift(u);else if(u.content){const[r,i]=Ke(n,u);t.push([r]),i.content&&e.unshift(i)}return nn(e,n,t)}function tn(e,n,t){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*t-.1+"em").attr("dy",t+"em")}function rn(e,n,t){const r=e.append("text"),i=tn(r,1,n);un(i,t);const u=i.node().getComputedTextLength();return r.remove(),u}function un(e,n){e.text(""),n.forEach(((n,t)=>{const r=e.append("tspan").attr("font-style","emphasis"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===t?r.text(n.content):r.text(" "+n.content)}))}const on=(e,n="",{style:t="",isTitle:r=!1,classes:u="",useHtmlLabels:o=!0,isNode:c=!0,width:s=200,addSvgBackground:l=!1}={})=>{if(i.l.info("createText",n,t,r,u,o,c,l),o){const r=function(e){const{children:n}=Ue(e);return n.map((function e(n){return"text"===n.type?n.value.replace(/\n/g,"
    "):"strong"===n.type?`${n.children.map(e).join("")}`:"emphasis"===n.type?`${n.children.map(e).join("")}`:"paragraph"===n.type?`

    ${n.children.map(e).join("")}

    `:`Unsupported markdown: ${n.type}`})).join("")}(n),o=function(e,n,t,r,i=!1){const u=e.append("foreignObject"),o=u.append("xhtml:div"),c=n.label,s=n.isNode?"nodeLabel":"edgeLabel";var l,a;o.html(`\n "+c+""),l=o,(a=n.labelStyle)&&l.attr("style",a),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("max-width",t+"px"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&o.attr("class","labelBkg");let f=o.node().getBoundingClientRect();return f.width===t&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",t+"px"),f=o.node().getBoundingClientRect()),u.style("width",f.width),u.style("height",f.height),u.node()}(e,{isNode:c,label:(0,i.I)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``)),labelStyle:t.replace("fill:","color:")},s,u,l);return o}{const t=function(e,n,t,r=!1){const i=n.append("g"),u=i.insert("rect").attr("class","background"),o=i.append("text").attr("y","-10.1");let c=0;for(const n of t){const t=n=>rn(i,1.1,n)<=e,r=t(n)?[n]:en(n,t);for(const e of r)un(tn(o,c,1.1),e),c++}if(r){const e=o.node().getBBox(),n=2;return u.attr("x",-n).attr("y",-n).attr("width",e.width+2*n).attr("height",e.height+2*n),i.node()}return o.node()}(s,e,Je(n),l);return t}}}}; \ No newline at end of file diff --git a/themes/daux/js/582.mjs b/themes/daux/js/582.mjs new file mode 100644 index 00000000..fa017adf --- /dev/null +++ b/themes/daux/js/582.mjs @@ -0,0 +1 @@ +export const id=582;export const ids=[582];export const modules={7582:(t,e,a)=>{a.d(e,{diagram:()=>ft});var i=a(9360),r=a(7274),s=a(8770),n=a(7967),o=(a(7484),a(7856),function(){var t=function(t,e,a,i){for(a=a||{},i=t.length;i--;a[t[i]]=e);return a},e=[1,2],a=[1,3],i=[1,5],r=[1,7],s=[2,5],n=[1,15],o=[1,17],c=[1,19],l=[1,20],h=[1,22],d=[1,23],p=[1,24],g=[1,30],u=[1,31],x=[1,32],y=[1,33],m=[1,34],f=[1,35],b=[1,36],T=[1,37],E=[1,38],w=[1,39],_=[1,40],v=[1,41],P=[1,42],k=[1,44],L=[1,45],I=[1,46],M=[1,48],N=[1,49],A=[1,50],S=[1,51],O=[1,52],D=[1,53],R=[1,56],Y=[1,4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,54,55,56,58,59,60,65,66,67,68,76,86],C=[4,5,22,56,58,59],$=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,56,58,59,60,65,66,67,68,76,86],V=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,55,56,58,59,60,65,66,67,68,76,86],B=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,54,56,58,59,60,65,66,67,68,76,86],F=[4,5,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,56,58,59,60,65,66,67,68,76,86],W=[74,75,76],q=[1,133],z=[1,4,5,7,19,20,22,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,53,54,55,56,58,59,60,65,66,67,68,76,86],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,create:19,box:20,restOfLine:21,end:22,signal:23,autonumber:24,NUM:25,off:26,activate:27,actor:28,deactivate:29,note_statement:30,links_statement:31,link_statement:32,properties_statement:33,details_statement: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:45,else_sections:46,par:47,par_sections:48,par_over:49,critical:50,option_sections:51,break:52,option:53,and:54,else:55,participant:56,AS:57,participant_actor:58,destroy:59,note:60,placement:61,text2:62,over:63,actor_pair:64,links:65,link:66,properties:67,details:68,spaceList:69,",":70,left_of:71,right_of:72,signaltype:73,"+":74,"-":75,ACTOR:76,SOLID_OPEN_ARROW:77,DOTTED_OPEN_ARROW:78,SOLID_ARROW:79,DOTTED_ARROW:80,SOLID_CROSS:81,DOTTED_CROSS:82,SOLID_POINT:83,DOTTED_POINT:84,TXT:85,open_directive:86,type_directive:87,arg_directive:88,close_directive:89,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"create",20:"box",21:"restOfLine",22:"end",24:"autonumber",25:"NUM",26:"off",27:"activate",29:"deactivate",35:"title",36:"legacy_title",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"loop",43:"rect",44:"opt",45:"alt",47:"par",49:"par_over",50:"critical",52:"break",53:"option",54:"and",55:"else",56:"participant",57:"AS",58:"participant_actor",59:"destroy",60:"note",63:"over",65:"links",66:"link",67:"properties",68:"details",70:",",71:"left_of",72:"right_of",74:"+",75:"-",76:"ACTOR",77:"SOLID_OPEN_ARROW",78:"DOTTED_OPEN_ARROW",79:"SOLID_ARROW",80:"DOTTED_ARROW",81:"SOLID_CROSS",82:"DOTTED_CROSS",83:"SOLID_POINT",84:"DOTTED_POINT",85:"TXT",86:"open_directive",87:"type_directive",88:"arg_directive",89:"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,2],[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,4],[10,1],[51,1],[51,4],[48,1],[48,4],[46,1],[46,4],[13,5],[13,3],[13,5],[13,3],[13,3],[30,4],[30,4],[31,3],[32,3],[33,3],[34,3],[69,2],[69,1],[64,3],[64,1],[61,1],[61,1],[23,5],[23,5],[23,4],[28,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[62,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,a,i,r,s,n){var o=s.length-1;switch(r){case 4:return i.apply(s[o]),s[o];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:s[o-1].push(s[o]),this.$=s[o-1];break;case 7:case 8:case 12:case 13:case 66:this.$=s[o];break;case 18:s[o].type="createParticipant",this.$=s[o];break;case 19:s[o-1].unshift({type:"boxStart",boxData:i.parseBoxData(s[o-2])}),s[o-1].push({type:"boxEnd",boxText:s[o-2]}),this.$=s[o-1];break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-2]),sequenceIndexStep:Number(s[o-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 25:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:s[o-1]};break;case 26:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:s[o-1]};break;case 32:i.setDiagramTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 33:i.setDiagramTitle(s[o].substring(7)),this.$=s[o].substring(7);break;case 34:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 35:case 36:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 37:s[o-1].unshift({type:"loopStart",loopText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.LOOP_START}),s[o-1].push({type:"loopEnd",loopText:s[o-2],signalType:i.LINETYPE.LOOP_END}),this.$=s[o-1];break;case 38:s[o-1].unshift({type:"rectStart",color:i.parseMessage(s[o-2]),signalType:i.LINETYPE.RECT_START}),s[o-1].push({type:"rectEnd",color:i.parseMessage(s[o-2]),signalType:i.LINETYPE.RECT_END}),this.$=s[o-1];break;case 39:s[o-1].unshift({type:"optStart",optText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.OPT_START}),s[o-1].push({type:"optEnd",optText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.OPT_END}),this.$=s[o-1];break;case 40:s[o-1].unshift({type:"altStart",altText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.ALT_START}),s[o-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=s[o-1];break;case 41:s[o-1].unshift({type:"parStart",parText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.PAR_START}),s[o-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=s[o-1];break;case 42:s[o-1].unshift({type:"parStart",parText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.PAR_OVER_START}),s[o-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=s[o-1];break;case 43:s[o-1].unshift({type:"criticalStart",criticalText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.CRITICAL_START}),s[o-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=s[o-1];break;case 44:s[o-1].unshift({type:"breakStart",breakText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.BREAK_START}),s[o-1].push({type:"breakEnd",optText:i.parseMessage(s[o-2]),signalType:i.LINETYPE.BREAK_END}),this.$=s[o-1];break;case 47:this.$=s[o-3].concat([{type:"option",optionText:i.parseMessage(s[o-1]),signalType:i.LINETYPE.CRITICAL_OPTION},s[o]]);break;case 49:this.$=s[o-3].concat([{type:"and",parText:i.parseMessage(s[o-1]),signalType:i.LINETYPE.PAR_AND},s[o]]);break;case 51:this.$=s[o-3].concat([{type:"else",altText:i.parseMessage(s[o-1]),signalType:i.LINETYPE.ALT_ELSE},s[o]]);break;case 52:s[o-3].draw="participant",s[o-3].type="addParticipant",s[o-3].description=i.parseMessage(s[o-1]),this.$=s[o-3];break;case 53:s[o-1].draw="participant",s[o-1].type="addParticipant",this.$=s[o-1];break;case 54:s[o-3].draw="actor",s[o-3].type="addParticipant",s[o-3].description=i.parseMessage(s[o-1]),this.$=s[o-3];break;case 55:s[o-1].draw="actor",s[o-1].type="addParticipant",this.$=s[o-1];break;case 56:s[o-1].type="destroyParticipant",this.$=s[o-1];break;case 57:this.$=[s[o-1],{type:"addNote",placement:s[o-2],actor:s[o-1].actor,text:s[o]}];break;case 58:s[o-2]=[].concat(s[o-1],s[o-1]).slice(0,2),s[o-2][0]=s[o-2][0].actor,s[o-2][1]=s[o-2][1].actor,this.$=[s[o-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:s[o-2].slice(0,2),text:s[o]}];break;case 59:this.$=[s[o-1],{type:"addLinks",actor:s[o-1].actor,text:s[o]}];break;case 60:this.$=[s[o-1],{type:"addALink",actor:s[o-1].actor,text:s[o]}];break;case 61:this.$=[s[o-1],{type:"addProperties",actor:s[o-1].actor,text:s[o]}];break;case 62:this.$=[s[o-1],{type:"addDetails",actor:s[o-1].actor,text:s[o]}];break;case 65:this.$=[s[o-2],s[o]];break;case 67:this.$=i.PLACEMENT.LEFTOF;break;case 68:this.$=i.PLACEMENT.RIGHTOF;break;case 69:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:s[o-1]}];break;case 70:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:s[o-4]}];break;case 71:this.$=[s[o-3],s[o-1],{type:"addMessage",from:s[o-3].actor,to:s[o-1].actor,signalType:s[o-2],msg:s[o]}];break;case 72:this.$={type:"addParticipant",actor:s[o]};break;case 73:this.$=i.LINETYPE.SOLID_OPEN;break;case 74:this.$=i.LINETYPE.DOTTED_OPEN;break;case 75:this.$=i.LINETYPE.SOLID;break;case 76:this.$=i.LINETYPE.DOTTED;break;case 77:this.$=i.LINETYPE.SOLID_CROSS;break;case 78:this.$=i.LINETYPE.DOTTED_CROSS;break;case 79:this.$=i.LINETYPE.SOLID_POINT;break;case 80:this.$=i.LINETYPE.DOTTED_POINT;break;case 81:this.$=i.parseMessage(s[o].trim().substring(1));break;case 82:i.parseDirective("%%{","open_directive");break;case 83:i.parseDirective(s[o],"type_directive");break;case 84:s[o]=s[o].trim().replace(/'/g,'"'),i.parseDirective(s[o],"arg_directive");break;case 85:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:a,6:4,7:i,14:6,86:r},{1:[3]},{3:8,4:e,5:a,6:4,7:i,14:6,86:r},{3:9,4:e,5:a,6:4,7:i,14:6,86:r},{3:10,4:e,5:a,6:4,7:i,14:6,86:r},t([1,4,5,19,20,24,27,29,35,36,37,39,41,42,43,44,45,47,49,50,52,56,58,59,60,65,66,67,68,76,86],s,{8:11}),{15:12,87:[1,13]},{87:[2,82]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{16:54,17:[1,55],89:R},t([17,89],[2,83]),t(Y,[2,6]),{6:43,10:57,13:18,14:6,19:c,20:l,23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},t(Y,[2,8]),t(Y,[2,9]),t(Y,[2,17]),{13:58,56:k,58:L,59:I},{21:[1,59]},{5:[1,60]},{5:[1,63],25:[1,61],26:[1,62]},{28:64,76:D},{28:65,76:D},{5:[1,66]},{5:[1,67]},{5:[1,68]},{5:[1,69]},{5:[1,70]},t(Y,[2,32]),t(Y,[2,33]),{38:[1,71]},{40:[1,72]},t(Y,[2,36]),{21:[1,73]},{21:[1,74]},{21:[1,75]},{21:[1,76]},{21:[1,77]},{21:[1,78]},{21:[1,79]},{21:[1,80]},t(Y,[2,45]),{28:81,76:D},{28:82,76:D},{28:83,76:D},{73:84,77:[1,85],78:[1,86],79:[1,87],80:[1,88],81:[1,89],82:[1,90],83:[1,91],84:[1,92]},{61:93,63:[1,94],71:[1,95],72:[1,96]},{28:97,76:D},{28:98,76:D},{28:99,76:D},{28:100,76:D},t([5,57,70,77,78,79,80,81,82,83,84,85],[2,72]),{5:[1,101]},{18:102,88:[1,103]},{5:[2,85]},t(Y,[2,7]),t(Y,[2,18]),t(C,[2,10],{11:104}),t(Y,[2,20]),{5:[1,106],25:[1,105]},{5:[1,107]},t(Y,[2,24]),{5:[1,108]},{5:[1,109]},t(Y,[2,27]),t(Y,[2,28]),t(Y,[2,29]),t(Y,[2,30]),t(Y,[2,31]),t(Y,[2,34]),t(Y,[2,35]),t($,s,{8:110}),t($,s,{8:111}),t($,s,{8:112}),t(V,s,{46:113,8:114}),t(B,s,{48:115,8:116}),t(B,s,{8:116,48:117}),t(F,s,{51:118,8:119}),t($,s,{8:120}),{5:[1,122],57:[1,121]},{5:[1,124],57:[1,123]},{5:[1,125]},{28:128,74:[1,126],75:[1,127],76:D},t(W,[2,73]),t(W,[2,74]),t(W,[2,75]),t(W,[2,76]),t(W,[2,77]),t(W,[2,78]),t(W,[2,79]),t(W,[2,80]),{28:129,76:D},{28:131,64:130,76:D},{76:[2,67]},{76:[2,68]},{62:132,85:q},{62:134,85:q},{62:135,85:q},{62:136,85:q},t(z,[2,15]),{16:137,89:R},{89:[2,84]},{4:[1,140],5:[1,142],12:139,13:141,22:[1,138],56:k,58:L,59:I},{5:[1,143]},t(Y,[2,22]),t(Y,[2,23]),t(Y,[2,25]),t(Y,[2,26]),{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[1,144],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[1,145],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[1,146],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{22:[1,147]},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[2,50],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,55:[1,148],56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{22:[1,149]},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[2,48],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,54:[1,150],56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{22:[1,151]},{22:[1,152]},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[2,46],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,53:[1,153],56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{4:n,5:o,6:43,9:14,10:16,13:18,14:6,19:c,20:l,22:[1,154],23:21,24:h,27:d,28:47,29:p,30:25,31:26,32:27,33:28,34:29,35:g,36:u,37:x,39:y,41:m,42:f,43:b,44:T,45:E,47:w,49:_,50:v,52:P,56:k,58:L,59:I,60:M,65:N,66:A,67:S,68:O,76:D,86:r},{21:[1,155]},t(Y,[2,53]),{21:[1,156]},t(Y,[2,55]),t(Y,[2,56]),{28:157,76:D},{28:158,76:D},{62:159,85:q},{62:160,85:q},{62:161,85:q},{70:[1,162],85:[2,66]},{5:[2,59]},{5:[2,81]},{5:[2,60]},{5:[2,61]},{5:[2,62]},{5:[1,163]},t(Y,[2,19]),t(C,[2,11]),{13:164,56:k,58:L,59:I},t(C,[2,13]),t(C,[2,14]),t(Y,[2,21]),t(Y,[2,37]),t(Y,[2,38]),t(Y,[2,39]),t(Y,[2,40]),{21:[1,165]},t(Y,[2,41]),{21:[1,166]},t(Y,[2,42]),t(Y,[2,43]),{21:[1,167]},t(Y,[2,44]),{5:[1,168]},{5:[1,169]},{62:170,85:q},{62:171,85:q},{5:[2,71]},{5:[2,57]},{5:[2,58]},{28:172,76:D},t(z,[2,16]),t(C,[2,12]),t(V,s,{8:114,46:173}),t(B,s,{8:116,48:174}),t(F,s,{8:119,51:175}),t(Y,[2,52]),t(Y,[2,54]),{5:[2,69]},{5:[2,70]},{85:[2,65]},{22:[2,51]},{22:[2,49]},{22:[2,47]}],defaultActions:{7:[2,82],8:[2,1],9:[2,2],10:[2,3],56:[2,85],95:[2,67],96:[2,68],103:[2,84],132:[2,59],133:[2,81],134:[2,60],135:[2,61],136:[2,62],159:[2,71],160:[2,57],161:[2,58],170:[2,69],171:[2,70],172:[2,65],173:[2,51],174:[2,49],175:[2,47]},parseError:function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},parse:function(t){var e=[0],a=[],i=[null],r=[],s=this.table,n="",o=0,c=0,l=r.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var g=h.yylloc;r.push(g);var u=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,y,m,f,b,T,E,w,_,v={};;){if(y=e[e.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==x&&(_=void 0,"number"!=typeof(_=a.pop()||h.lex()||1)&&(_ instanceof Array&&(_=(a=_).pop()),_=this.symbols_[_]||_),x=_),m=s[y]&&s[y][x]),void 0===m||!m.length||!m[0]){var P;for(b in w=[],s[y])this.terminals_[b]&&b>2&&w.push("'"+this.terminals_[b]+"'");P=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(P,{text:h.match,token:this.terminals_[x]||x,line:h.yylineno,loc:g,expected:w})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+x);switch(m[0]){case 1:e.push(x),i.push(h.yytext),r.push(h.yylloc),e.push(m[1]),x=null,c=h.yyleng,n=h.yytext,o=h.yylineno,g=h.yylloc;break;case 2:if(T=this.productions_[m[1]][1],v.$=i[i.length-T],v._$={first_line:r[r.length-(T||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(T||1)].first_column,last_column:r[r.length-1].last_column},u&&(v._$.range=[r[r.length-(T||1)].range[0],r[r.length-1].range[1]]),void 0!==(f=this.performAction.apply(v,[n,c,o,d.yy,m[1],i,r].concat(l))))return f;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),r=r.slice(0,-1*T)),e.push(this.productions_[m[1]][0]),i.push(v.$),r.push(v._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);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,a=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),a.length-1&&(this.yylineno-=a.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:a?(a.length===i.length?this.yylloc.first_column:0)+i[i.length-a.length].length-a[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 a,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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,a,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=a,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,r[s])))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(){return this.next()||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,a,i){switch(a){case 0:return this.begin("open_directive"),86;case 1:return this.begin("type_directive"),87;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),89;case 4:return 88;case 5:case 56:case 69:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 25;case 12:return this.begin("LINE"),20;case 13:return this.begin("ID"),56;case 14:return this.begin("ID"),58;case 15:return 19;case 16:return this.begin("ID"),59;case 17:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),76;case 18:return this.popState(),this.popState(),this.begin("LINE"),57;case 19:return this.popState(),this.popState(),5;case 20:return this.begin("LINE"),42;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),44;case 23:return this.begin("LINE"),45;case 24:return this.begin("LINE"),55;case 25:return this.begin("LINE"),47;case 26:return this.begin("LINE"),49;case 27:return this.begin("LINE"),54;case 28:return this.begin("LINE"),50;case 29:return this.begin("LINE"),53;case 30:return this.begin("LINE"),52;case 31:return this.popState(),21;case 32:return 22;case 33:return 71;case 34:return 72;case 35:return 65;case 36:return 66;case 37:return 67;case 38:return 68;case 39:return 63;case 40:return 60;case 41:return this.begin("ID"),27;case 42:return this.begin("ID"),29;case 43:return 35;case 44:return 36;case 45:return this.begin("acc_title"),37;case 46:return this.popState(),"acc_title_value";case 47:return this.begin("acc_descr"),39;case 48:return this.popState(),"acc_descr_value";case 49:this.begin("acc_descr_multiline");break;case 50:this.popState();break;case 51:return"acc_descr_multiline_value";case 52:return 7;case 53:return 24;case 54:return 26;case 55:return 70;case 57:return e.yytext=e.yytext.trim(),76;case 58:return 79;case 59:return 80;case 60:return 77;case 61:return 78;case 62:return 81;case 63:return 82;case 64:return 83;case 65:return 84;case 66:return 85;case 67:return 74;case 68:return 75;case 70: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,/^(?:create\b)/i,/^(?:destroy\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,/^(?:par_over\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:[50,51],inclusive:!1},acc_descr:{rules:[48],inclusive:!1},acc_title:{rules:[46],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,17],inclusive:!1},ALIAS:{rules:[7,8,18,19],inclusive:!1},LINE:{rules:[7,8,31],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,49,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70],inclusive:!0}}};function j(){this.yy={}}return H.lexer=U,j.prototype=H,H.Parser=j,new j}());o.parser=o;const c=o;let l,h,d,p,g,u={},x={},y={},m=[],f=[],b=!1;const T=function(t,e,a,i){let r=d;const s=u[t];if(s){if(d&&s.box&&d!==s.box)throw new Error("A same participant should only be defined in one Box: "+s.name+" can't be in '"+s.box.name+"' and in '"+d.name+"' at the same time.");if(r=s.box?s.box:d,s.box=r,s&&e===s.name&&null==a)return}null!=a&&null!=a.text||(a={text:e,wrap:null,type:i}),null!=i&&null!=a.text||(a={text:e,wrap:null,type:i}),u[t]={box:r,name:e,description:a.text,wrap:void 0===a.wrap&&_()||!!a.wrap,prevActor:l,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},l&&u[l]&&(u[l].nextActor=t),d&&d.actorKeys.push(t),l=t},E=function(t,e,a={text:void 0,wrap:void 0},i){if(i===v.ACTIVE_END&&(t=>{let e,a=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return f.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&_()||!!a.wrap,type:i}),!0},w=function(t){return u[t]},_=()=>void 0!==h?h:(0,i.c)().sequence.wrap,v={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,PAR_OVER_START:32},P=function(t,e,a){a.text,void 0===a.wrap&&_()||a.wrap;const i=[].concat(t,t);f.push({from:i[0],to:i[1],message:a.text,wrap:void 0===a.wrap&&_()||!!a.wrap,type:v.NOTE,placement:e})},k=function(t,e){const a=w(t);try{let t=(0,i.d)(e.text,(0,i.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),L(a,JSON.parse(t))}catch(t){i.l.error("error while parsing actor link text",t)}};function L(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const I=function(t,e){const a=w(t);try{let t=(0,i.d)(e.text,(0,i.c)());M(a,JSON.parse(t))}catch(t){i.l.error("error while parsing actor properties text",t)}};function M(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const N=function(t,e){const a=w(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&M(a,e.properties),e.links&&L(a,e.links)}catch(t){i.l.error("error while parsing actor details text",t)}},A=function(t){if(Array.isArray(t))t.forEach((function(t){A(t)}));else switch(t.type){case"sequenceIndex":f.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":T(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(u[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");p=t.actor,T(t.actor,t.actor,t.description,t.draw),x[t.actor]=f.length;break;case"destroyParticipant":g=t.actor,y[t.actor]=f.length;break;case"activeStart":case"activeEnd":E(t.actor,void 0,void 0,t.signalType);break;case"addNote":P(t.actor,t.placement,t.text);break;case"addLinks":k(t.actor,t.text);break;case"addALink":!function(t,e){const a=w(t);try{const t={};let o=(0,i.d)(e.text,(0,i.c)());var r=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var s=o.slice(0,r-1).trim(),n=o.slice(r+1).trim();t[s]=n,L(a,t)}catch(t){i.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":I(t.actor,t.text);break;case"addDetails":N(t.actor,t.text);break;case"addMessage":if(p){if(t.to!==p)throw new Error("The created participant "+p+" does not have an associated creating message after its declaration. Please check the sequence diagram.");p=void 0}else if(g){if(t.to!==g&&t.from!==g)throw new Error("The destroyed participant "+g+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");g=void 0}E(t.from,t.to,t.msg,t.signalType);break;case"boxStart":e=t.boxData,m.push({name:e.text,wrap:void 0===e.wrap&&_()||!!e.wrap,fill:e.color,actorKeys:[]}),d=m.slice(-1)[0];break;case"boxEnd":d=void 0;break;case"loopStart":E(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":E(void 0,void 0,void 0,t.signalType);break;case"rectStart":E(void 0,void 0,t.color,t.signalType);break;case"optStart":E(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":E(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,i.s)(t.text);break;case"parStart":case"and":E(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":E(void 0,void 0,t.criticalText,t.signalType);break;case"option":E(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":E(void 0,void 0,t.breakText,t.signalType)}var e},S={addActor:T,addMessage:function(t,e,a,i){f.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&_()||!!a.wrap,answer:i})},addSignal:E,addLinks:k,addDetails:N,addProperties:I,autoWrap:_,setWrap:function(t){h=t},enableSequenceNumbers:function(){b=!0},disableSequenceNumbers:function(){b=!1},showSequenceNumbers:()=>b,getMessages:function(){return f},getActors:function(){return u},getCreatedActors:function(){return x},getDestroyedActors:function(){return y},getActor:w,getActorKeys:function(){return Object.keys(u)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:i.g,getBoxes:function(){return m},getDiagramTitle:i.t,setDiagramTitle:i.r,parseDirective:function(t,e,a){i.m.parseDirective(this,t,e,a)},getConfig:()=>(0,i.c)().sequence,clear:function(){u={},x={},y={},m=[],f=[],b=!1,(0,i.v)()},parseMessage:function(t){const e=t.trim(),a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return i.l.debug("parseMessage:",a),a},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",r=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}return{color:a,text:void 0!==r?(0,i.d)(r.replace(/^:?(?:no)?wrap:/,""),(0,i.c)()):void 0,wrap:void 0!==r?null!==r.match(/^:?wrap:/)||null===r.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:v,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:P,setAccTitle:i.s,apply:A,setAccDescription:i.b,getAccDescription:i.a,hasAtLeastOneBox:function(){return m.length>0},hasAtLeastOneBoxWithTitle:function(){return m.some((t=>t.name))}},O=function(t,e){return(0,s.d)(t,e)},D=(t,e)=>{(0,i.F)((()=>{const a=document.querySelectorAll(t);0!==a.length&&(a[0].addEventListener("mouseover",(function(){R("actor"+e+"_popup")})),a[0].addEventListener("mouseout",(function(){Y("actor"+e+"_popup")})))}))},R=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},Y=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},C=function(t,e){let a=0,r=0;const s=e.text.split(i.e.lineBreakRegex),[n,o]=(0,i.C)(e.fontSize);let c=[],l=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(a+r+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(a+r+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[d,p]of s.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=d*n);const s=t.append("text");s.attr("x",e.x),s.attr("y",h()),void 0!==e.anchor&&s.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&s.style("font-family",e.fontFamily),void 0!==o&&s.style("font-size",o),void 0!==e.fontWeight&&s.style("font-weight",e.fontWeight),void 0!==e.fill&&s.attr("fill",e.fill),void 0!==e.class&&s.attr("class",e.class),void 0!==e.dy?s.attr("dy",e.dy):0!==l&&s.attr("dy",l);const g=p||i.Z;if(e.tspan){const t=s.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else s.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(s._groups||s)[0][0].getBBox().height,a=r),c.push(s)}return c},$=function(t,e){const a=t.append("polygon");var i,r,s,n;return a.attr("points",(i=e.x)+","+(r=e.y)+" "+(i+(s=e.width))+","+r+" "+(i+s)+","+(r+(n=e.height)-7)+" "+(i+s-8.4)+","+(r+n)+" "+i+","+(r+n)),a.attr("class","labelBox"),e.y=e.y+e.height/2,C(t,e),a};let V=-1;const B=(t,e,a,i)=>{t.select&&a.forEach((a=>{const r=e[a],s=t.select("#actor"+r.actorCnt);!i.mirrorActors&&r.stopy?s.attr("y2",r.stopy+r.height/2):i.mirrorActors&&s.attr("y2",r.stopy)}))},F=function(t,e){(0,s.a)(t,e)},W=function(){function t(t,e,a,i,s,n,o){r(e.append("text").attr("x",a+s/2).attr("y",i+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,s,n,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,[g,u]=(0,i.C)(h),x=t.split(i.e.lineBreakRegex);for(let t=0;ta?c.width:a;const g=h.append("rect");if(g.attr("class","actorPopupMenuPanel"+d),g.attr("x",c.x),g.attr("y",c.height),g.attr("fill",c.fill),g.attr("stroke",c.stroke),g.attr("width",p),g.attr("height",c.height),g.attr("rx",c.rx),g.attr("ry",c.ry),null!=s){var u=20;for(let t in s){var x=h.append("a"),y=(0,n.Nm)(s[t]);x.attr("xlink:href",y),x.attr("target","_blank"),q(i)(t,x,c.x+10,c.height+u,p,20,{class:"actor"},i),u+=30}}return g.attr("height",u),{height:c.height+u,width:p}},K=function(t){return t.append("g")},X=function(t,e,a,i,r){const n=(0,s.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+r%3,n.width=e.stopx-e.startx,n.height=a-e.starty,O(o,n)},G=function(t,e,a,i){const{boxMargin:r,boxTextMargin:n,labelBoxHeight:o,labelBoxWidth:c,messageFontFamily:l,messageFontSize:h,messageFontWeight:d}=i,p=t.append("g"),g=function(t,e,a,i){return p.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",i).attr("class","loopLine")};g(e.startx,e.starty,e.stopx,e.starty),g(e.stopx,e.starty,e.stopx,e.stopy),g(e.startx,e.stopy,e.stopx,e.stopy),g(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){g(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let u=(0,s.e)();u.text=a,u.x=e.startx,u.y=e.starty,u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.anchor="middle",u.valign="middle",u.tspan=!1,u.width=c||50,u.height=o||20,u.textMargin=n,u.class="labelText",$(p,u),u={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},u.text=e.title,u.x=e.startx+c/2+(e.stopx-e.startx)/2,u.y=e.starty+r+n,u.anchor="middle",u.valign="middle",u.textMargin=n,u.class="loopText",u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.wrap=!0;let x=C(p,u);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,a){if(t.message){u.text=t.message,u.x=e.startx+(e.stopx-e.startx)/2,u.y=e.sections[a].y+r+n,u.class="loopText",u.anchor="middle",u.valign="middle",u.tspan=!1,u.fontFamily=l,u.fontSize=h,u.fontWeight=d,u.wrap=e.wrap,x=C(p,u);let i=Math.round(x.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[a].height+=i-(r+n)}})),e.height=Math.round(e.stopy-e.starty),p},J=F,Z=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")},Q=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")},tt=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)},et=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")},at=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")},it=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")},rt=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")};n.Nm;let st={};const nt={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,pt((0,i.c)())},updateVal:function(t,e,a,i){void 0===t[e]?t[e]=a:t[e]=i(a,t[e])},updateBounds:function(t,e,a,i){const r=this;let s=0;function n(n){return function(o){s++;const c=r.sequenceItems.length-s+1;r.updateVal(o,"starty",e-c*st.boxMargin,Math.min),r.updateVal(o,"stopy",i+c*st.boxMargin,Math.max),r.updateVal(nt.data,"startx",t-c*st.boxMargin,Math.min),r.updateVal(nt.data,"stopx",a+c*st.boxMargin,Math.max),"activation"!==n&&(r.updateVal(o,"startx",t-c*st.boxMargin,Math.min),r.updateVal(o,"stopx",a+c*st.boxMargin,Math.max),r.updateVal(nt.data,"starty",e-c*st.boxMargin,Math.min),r.updateVal(nt.data,"stopy",i+c*st.boxMargin,Math.max))}}this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},insert:function(t,e,a,r){const s=i.e.getMin(t,a),n=i.e.getMax(t,a),o=i.e.getMin(e,r),c=i.e.getMax(e,r);this.updateVal(nt.data,"startx",s,Math.min),this.updateVal(nt.data,"starty",o,Math.min),this.updateVal(nt.data,"stopx",n,Math.max),this.updateVal(nt.data,"stopy",c,Math.max),this.updateBounds(s,o,n,c)},newActivation:function(t,e,a){const i=a[t.from.actor],r=gt(t.from.actor).length||0,s=i.x+i.width/2+(r-1)*st.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+st.activationWidth,stopy:void 0,actor:t.from.actor,anchored:K(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()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:nt.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=i.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},ot=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),ct=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),lt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),ht=function(t,e,a,r){if(r){let r=0;nt.bumpVerticalPos(2*st.boxMargin);for(const s of a){const a=e[s];a.stopy||(a.stopy=nt.getVerticalPos());const n=H(t,a,st,!0);r=i.e.getMax(r,n)}nt.bumpVerticalPos(r+st.boxMargin)}else for(const i of a){const a=e[i];H(t,a,st,!1)}},dt=function(t,e,a,i){let r=0,s=0;for(const n of a){const a=e[n],o=yt(a),c=j(t,a,o,st,st.forceMenus,i);c.height>r&&(r=c.height),c.width+a.x>s&&(s=c.width+a.x)}return{maxHeight:r,maxWidth:s}},pt=function(t){(0,i.f)(st,t),t.fontFamily&&(st.actorFontFamily=st.noteFontFamily=st.messageFontFamily=t.fontFamily),t.fontSize&&(st.actorFontSize=st.noteFontSize=st.messageFontSize=t.fontSize),t.fontWeight&&(st.actorFontWeight=st.noteFontWeight=st.messageFontWeight=t.fontWeight)},gt=function(t){return nt.activations.filter((function(e){return e.actor===t}))},ut=function(t,e){const a=e[t],r=gt(t);return[r.reduce((function(t,e){return i.e.getMin(t,e.startx)}),a.x+a.width/2),r.reduce((function(t,e){return i.e.getMax(t,e.stopx)}),a.x+a.width/2)]};function xt(t,e,a,r,s){nt.bumpVerticalPos(a);let n=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,s=ot(st);e.message=i.u.wrapLabel(`[${e.message}]`,a-2*st.wrapPadding,s),e.width=a,e.wrap=!0;const o=i.u.calculateTextDimensions(e.message,s),c=i.e.getMax(o.height,st.labelBoxHeight);n=r+c,i.l.debug(`${c} - ${e.message}`)}s(e),nt.bumpVerticalPos(n)}const yt=function(t){let e=0;const a=lt(st);for(const r in t.links){const t=i.u.calculateTextDimensions(r,a).width+2*st.wrapPadding+2*st.boxMargin;e{const a=t[e];a.wrap&&(a.description=i.u.wrapLabel(a.description,st.width-2*st.wrapPadding,lt(st)));const s=i.u.calculateTextDimensions(a.description,lt(st));a.width=a.wrap?st.width:i.e.getMax(st.width,s.width+2*st.wrapPadding),a.height=a.wrap?i.e.getMax(s.height,st.height):st.height,r=i.e.getMax(r,a.height)}));for(const a in e){const r=t[a];if(!r)continue;const s=t[r.nextActor];if(!s){const t=e[a]+st.actorMargin-r.width/2;r.margin=i.e.getMax(t,st.actorMargin);continue}const n=e[a]+st.actorMargin-r.width/2-s.width/2;r.margin=i.e.getMax(n,st.actorMargin)}let s=0;return a.forEach((e=>{const a=ot(st);let r=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);r-=2*st.boxTextMargin,e.wrap&&(e.name=i.u.wrapLabel(e.name,r-2*st.wrapPadding,a));const n=i.u.calculateTextDimensions(e.name,a);s=i.e.getMax(n.height,s);const o=i.e.getMax(r,n.width+2*st.wrapPadding);if(e.margin=st.boxTextMargin,rt.textMaxHeight=s)),i.e.getMax(r,st.height)}(g,w,y),it(p),at(p),rt(p),T&&(nt.bumpVerticalPos(st.boxMargin),E&&nt.bumpVerticalPos(y[0].textMaxHeight)),!0===st.hideUnusedParticipants){const t=new Set;f.forEach((e=>{t.add(e.from),t.add(e.to)})),m=m.filter((e=>t.has(e)))}!function(t,e,a,r,s,n,o){let c,l=0,h=0,d=0;for(const t of r){const r=e[t],s=r.box;c&&c!=s&&(nt.models.addBox(c),h+=st.boxMargin+c.margin),s&&s!=c&&(s.x=l+h,s.y=0,h+=s.margin),r.width=r.width||st.width,r.height=i.e.getMax(r.height||st.height,st.height),r.margin=r.margin||st.actorMargin,d=i.e.getMax(d,r.height),a[r.name]&&(h+=r.width/2),r.x=l+h,r.starty=nt.getVerticalPos(),nt.insert(r.x,0,r.x+r.width,r.height),l+=r.width+h,r.box&&(r.box.width=l+s.margin-r.box.x),h=r.margin,c=r.box,nt.models.addActor(r)}c&&nt.models.addBox(c),nt.bumpVerticalPos(d)}(0,g,u,m);const _=function(t,e,a,r){const s={},n=[];let o,c,l;return t.forEach((function(t){switch(t.id=i.u.random({length:10}),t.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:n.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=n.pop(),s[o.id]=o,s[t.id]=o,n.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=n.pop(),s[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const a=e[t.from?t.from.actor:t.to.actor],i=gt(t.from?t.from.actor:t.to.actor).length,r=a.x+a.width/2+(i-1)*st.activationWidth/2,s={startx:r,stopx:r+st.activationWidth,actor:t.from.actor,enabled:!0};nt.activations.push(s)}break;case r.db.LINETYPE.ACTIVE_END:{const e=nt.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete nt.activations.splice(e,1)[0]}}void 0!==t.placement?(c=function(t,e,a){const r=e[t.from].x,s=e[t.to].x,n=t.wrap&&t.message;let o=i.u.calculateTextDimensions(n?i.u.wrapLabel(t.message,st.width,ct(st)):t.message,ct(st));const c={width:n?st.width:i.e.getMax(st.width,o.width+2*st.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(c.width=n?i.e.getMax(st.width,o.width):i.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*st.noteMargin),c.startx=r+(e[t.from].width+st.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(c.width=n?i.e.getMax(st.width,o.width+2*st.noteMargin):i.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*st.noteMargin),c.startx=r-c.width+(e[t.from].width-st.actorMargin)/2):t.to===t.from?(o=i.u.calculateTextDimensions(n?i.u.wrapLabel(t.message,i.e.getMax(st.width,e[t.from].width),ct(st)):t.message,ct(st)),c.width=n?i.e.getMax(st.width,e[t.from].width):i.e.getMax(e[t.from].width,st.width,o.width+2*st.noteMargin),c.startx=r+(e[t.from].width-c.width)/2):(c.width=Math.abs(r+e[t.from].width/2-(s+e[t.to].width/2))+st.actorMargin,c.startx=r{o=t,o.from=i.e.getMin(o.from,c.startx),o.to=i.e.getMax(o.to,c.startx+c.width),o.width=i.e.getMax(o.width,Math.abs(o.from-o.to))-st.labelBoxWidth}))):(l=function(t,e,a){let r=!1;if([a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(r=!0),!r)return{};const s=ut(t.from,e),n=ut(t.to,e),o=s[0]<=n[0]?1:0,c=s[0]0&&n.forEach((a=>{if(o=a,l.startx===l.stopx){const a=e[t.from],r=e[t.to];o.from=i.e.getMin(a.x-l.width/2,a.x-a.width/2,o.from),o.to=i.e.getMax(r.x+l.width/2,r.x+a.width/2,o.to),o.width=i.e.getMax(o.width,Math.abs(o.to-o.from))-st.labelBoxWidth}else o.from=i.e.getMin(l.startx,o.from),o.to=i.e.getMax(l.stopx,o.to),o.width=i.e.getMax(o.width,l.width)-st.labelBoxWidth})))})),nt.activations=[],i.l.debug("Loop type widths:",s),s}(f,g,0,n);Z(p),et(p),Q(p),tt(p);let v=1,P=1;const k=[],L=[];f.forEach((function(t,e){let a,r,o;switch(t.type){case n.db.LINETYPE.NOTE:nt.resetVerticalPos(),r=t.noteModel,function(t,e){nt.bumpVerticalPos(st.boxMargin),e.height=st.boxMargin,e.starty=nt.getVerticalPos();const a=(0,s.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||st.width,a.class="note";const i=t.append("g"),r=z(i,a),n=(0,s.e)();n.x=e.startx,n.y=e.starty,n.width=a.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=st.noteFontFamily,n.fontSize=st.noteFontSize,n.fontWeight=st.noteFontWeight,n.anchor=st.noteAlign,n.textMargin=st.noteMargin,n.valign="center";const o=C(i,n),c=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",c+2*st.noteMargin),e.height+=c+2*st.noteMargin,nt.bumpVerticalPos(c+2*st.noteMargin),e.stopy=e.starty+c+2*st.noteMargin,e.stopx=e.startx+a.width,nt.insert(e.startx,e.starty,e.stopx,e.stopy),nt.models.addNote(e)}(p,r);break;case n.db.LINETYPE.ACTIVE_START:nt.newActivation(t,p,g);break;case n.db.LINETYPE.ACTIVE_END:!function(t,e){const a=nt.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),X(p,a,e,st,gt(t.from.actor).length),nt.insert(a.startx,e-10,a.stopx,e)}(t,nt.getVerticalPos());break;case n.db.LINETYPE.LOOP_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.LOOP_END:a=nt.endLoop(),G(p,a,"loop",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.RECT_START:xt(_,t,st.boxMargin,st.boxMargin,(t=>nt.newLoop(void 0,t.message)));break;case n.db.LINETYPE.RECT_END:a=nt.endLoop(),L.push(a),nt.models.addLoop(a),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos());break;case n.db.LINETYPE.OPT_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.OPT_END:a=nt.endLoop(),G(p,a,"opt",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.ALT_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.ALT_ELSE:xt(_,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.ALT_END:a=nt.endLoop(),G(p,a,"alt",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t))),nt.saveVerticalPos();break;case n.db.LINETYPE.PAR_AND:xt(_,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.PAR_END:a=nt.endLoop(),G(p,a,"par",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.AUTONUMBER:v=t.message.start||v,P=t.message.step||P,t.message.visible?n.db.enableSequenceNumbers():n.db.disableSequenceNumbers();break;case n.db.LINETYPE.CRITICAL_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.CRITICAL_OPTION:xt(_,t,st.boxMargin+st.boxTextMargin,st.boxMargin,(t=>nt.addSectionToLoop(t)));break;case n.db.LINETYPE.CRITICAL_END:a=nt.endLoop(),G(p,a,"critical",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;case n.db.LINETYPE.BREAK_START:xt(_,t,st.boxMargin,st.boxMargin+st.boxTextMargin,(t=>nt.newLoop(t)));break;case n.db.LINETYPE.BREAK_END:a=nt.endLoop(),G(p,a,"break",st),nt.bumpVerticalPos(a.stopy-nt.getVerticalPos()),nt.models.addLoop(a);break;default:try{o=t.msgModel,o.starty=nt.getVerticalPos(),o.sequenceIndex=v,o.sequenceVisible=n.db.showSequenceNumbers();const a=function(t,e){nt.bumpVerticalPos(10);const{startx:a,stopx:r,message:s}=e,n=i.e.splitBreaks(s).length,o=i.u.calculateTextDimensions(s,ot(st)),c=o.height/n;let l;e.height+=c,nt.bumpVerticalPos(c);let h=o.height-10;const d=o.width;if(a===r){l=nt.getVerticalPos()+h,st.rightAngles||(h+=st.boxMargin,l=nt.getVerticalPos()+h),h+=30;const t=i.e.getMax(d/2,st.width/2);nt.insert(a-t,nt.getVerticalPos()-10+h,r+t,nt.getVerticalPos()+30+h)}else h+=st.boxMargin,l=nt.getVerticalPos()+h,nt.insert(a,l-10,r,l);return nt.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,nt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}(0,o);!function(t,e,a,i,r,s,n){function o(a,i){a.xfunction(t,e,a,r){const{startx:n,stopx:o,starty:c,message:l,type:h,sequenceIndex:d,sequenceVisible:p}=e,g=i.u.calculateTextDimensions(l,ot(st)),u=(0,s.e)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=st.messageFontFamily,u.fontSize=st.messageFontSize,u.fontWeight=st.messageFontWeight,u.anchor=st.messageAlign,u.valign="center",u.textMargin=st.wrapPadding,u.tspan=!1,C(t,u);const x=g.width;let y;n===o?y=st.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+i.e.getMax(st.width/2,x/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)):(y=t.append("line"),y.attr("x1",n),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),h===r.db.LINETYPE.DOTTED||h===r.db.LINETYPE.DOTTED_CROSS||h===r.db.LINETYPE.DOTTED_POINT||h===r.db.LINETYPE.DOTTED_OPEN?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";st.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),h!==r.db.LINETYPE.SOLID&&h!==r.db.LINETYPE.DOTTED||y.attr("marker-end","url("+m+"#arrowhead)"),h!==r.db.LINETYPE.SOLID_POINT&&h!==r.db.LINETYPE.DOTTED_POINT||y.attr("marker-end","url("+m+"#filled-head)"),h!==r.db.LINETYPE.SOLID_CROSS&&h!==r.db.LINETYPE.DOTTED_CROSS||y.attr("marker-end","url("+m+"#crosshead)"),(p||st.showSequenceNumbers)&&(y.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(d))}(p,t.messageModel,t.lineStartY,n))),st.mirrorActors&&ht(p,g,m,!0),L.forEach((t=>J(p,t))),B(p,g,m,st),nt.models.boxes.forEach((function(t){t.height=nt.getVerticalPos()-t.y,nt.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)",U(p,t,st)})),T&&nt.bumpVerticalPos(st.boxMargin);const I=dt(p,g,m,d),{bounds:M}=nt.getBounds();let N=M.stopy-M.starty;N`.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`}},8770:(t,e,a)=>{a.d(e,{a:()=>s,b:()=>c,c:()=>o,d:()=>r,e:()=>h,f:()=>n,g:()=>l});var i=a(7967);const r=function(t,e){const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),a.attr("rx",e.rx),a.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return"undefined"!==e.class&&a.attr("class",e.class),a},s=function(t,e){r(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()},n=function(t,e){const a=e.text.replace(//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(a),i},o=function(t,e,a,r){const s=t.append("image");s.attr("x",e),s.attr("y",a);var n=(0,i.Nm)(r);s.attr("xlink:href",n)},c=function(t,e,a,r){const s=t.append("use");s.attr("x",e),s.attr("y",a);const n=(0,i.Nm)(r);s.attr("xlink:href","#"+n)},l=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}; \ No newline at end of file diff --git a/themes/daux/js/619.mjs b/themes/daux/js/619.mjs deleted file mode 100644 index 66442911..00000000 --- a/themes/daux/js/619.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=619;export const ids=[619];export const modules={619:(e,t,l)=>{l.d(t,{diagram:()=>b});var o=l(5001),n=l(4309),a=l(5625),i=l(3110),s=l(2566),r=l(1188);l(7856),l(7484),l(9451),l(9368),l(1898),l(7967);const d=e=>i.e.sanitizeText(e,(0,i.g)());let c={dividerMargin:10,padding:5,textHeight:10,curve:void 0};function g(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const p={setConf:function(e){c={...c,...e}},draw:function(e,t,l,o){i.l.info("Drawing class - ",t);const p=(0,i.g)().flowchart??(0,i.g)().class,b=(0,i.g)().securityLevel;i.l.info("config:",p);const u=(null==p?void 0:p.nodeSpacing)??50,y=(null==p?void 0:p.rankSpacing)??50,f=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:o.db.getDirection(),nodesep:u,ranksep:y,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=o.db.getClasses(),v=o.db.getRelations(),w=o.db.getNotes();let x;i.l.info(v),function(e,t,l,o){const n=Object.keys(e);i.l.info("keys:",n),i.l.info(e),n.forEach((function(l){var n,a;const s=e[l];let r="";s.cssClasses.length>0&&(r=r+" "+s.cssClasses.join(" "));const c=s.label??s.id,g={labelStyle:"",shape:"class_box",labelText:d(c),classData:s,rx:0,ry:0,class:r,style:"",id:s.id,domId:s.domId,tooltip:o.db.getTooltip(s.id)||"",haveCallback:s.haveCallback,link:s.link,width:"group"===s.type?500:void 0,type:s.type,padding:(null==(n=(0,i.g)().flowchart)?void 0:n.padding)??(null==(a=(0,i.g)().class)?void 0:a.padding)};t.setNode(s.id,g),i.l.info("setNode",g)}))}(h,f,0,o),function(e,t){const l=(0,i.g)().flowchart;let o=0;e.forEach((function(e){var a;o++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+o,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:g(e.relation.type1),arrowTypeEnd:g(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,r.o)(null==l?void 0:l.curve,n.c_6)};if(i.l.info(s,e),void 0!==e.style){const t=(0,r.n)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,i.g)().flowchart)?void 0:a.htmlLabels)??(0,i.g)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(i.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,o)}))}(v,f),function(e,t,l,o){i.l.info(e),e.forEach((function(e,a){var s,g;const p=e,b=p.text,u={labelStyle:"",shape:"note",labelText:d(b),noteData:p,rx:0,ry:0,class:"",style:"",id:p.id,domId:p.id,tooltip:"",type:"note",padding:(null==(s=(0,i.g)().flowchart)?void 0:s.padding)??(null==(g=(0,i.g)().class)?void 0:g.padding)};if(t.setNode(p.id,u),i.l.info("setNode",u),!p.class||!(p.class in o))return;const y=l+a,f={id:`edgeNote${y}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,r.o)(c.curve,n.c_6)};t.setEdge(p.id,p.class,f,y)}))}(w,f,v.length+1,h),"sandbox"===b&&(x=(0,n.Ys)("#i"+t));const m="sandbox"===b?(0,n.Ys)(x.nodes()[0].contentDocument.body):(0,n.Ys)("body"),k=m.select(`[id="${t}"]`),T=m.select("#"+t+" g");if((0,s.r)(T,f,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),r.u.insertTitle(k,"classTitleText",(null==p?void 0:p.titleTopMargin)??5,o.db.getDiagramTitle()),(0,r.s)(f,k,null==p?void 0:p.diagramPadding,null==p?void 0:p.useMaxWidth),!(null==p?void 0:p.htmlLabels)){const e="sandbox"===b?x.nodes()[0].contentDocument:document,l=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of l){const l=t.getBBox(),o=e.createElementNS("http://www.w3.org/2000/svg","rect");o.setAttribute("rx",0),o.setAttribute("ry",0),o.setAttribute("width",l.width),o.setAttribute("height",l.height),t.insertBefore(o,t.firstChild)}}}},b={parser:o.p,db:o.d,renderer:p,styles:o.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/672.mjs b/themes/daux/js/672.mjs new file mode 100644 index 00000000..c676b743 --- /dev/null +++ b/themes/daux/js/672.mjs @@ -0,0 +1 @@ +export const id=672;export const ids=[672];export const modules={2672:(t,i,e)=>{e.d(i,{diagram:()=>u});var a=e(9360),n=e(7274),r=(e(7484),e(7967),e(7856),function(){var t=function(t,i,e,a){for(e=e||{},a=t.length;a--;e[t[a]]=i);return e},i=[1,3],e=[1,5],a=[1,6],n=[1,7],r=[1,8],s=[1,10],l=[1,5,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],o=[1,5,7,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],h=[38,39,40],c=[2,8],d=[1,19],u=[1,23],x=[1,24],g=[1,25],f=[1,26],y=[1,27],p=[1,29],q=[1,30],T=[1,31],_=[1,32],m=[1,33],A=[1,34],b=[1,37],S=[1,38],v=[1,39],k=[1,40],F=[1,41],P=[1,42],E=[1,43],L=[1,44],C=[1,45],D=[1,46],z=[1,47],I=[1,48],B=[1,49],w=[1,52],R=[1,67],W=[1,68],N=[5,23,27,38,39,40,50,51,52,53,54,55,56,57,58,59,60,61],U=[5,7,38,39,40,41],Q={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,directive:6,QUADRANT:7,document:8,line:9,statement:10,axisDetails:11,quadrantDetails:12,points: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:21,text:22,point_start:23,point_x:24,point_y:25,"X-AXIS":26,"AXIS-TEXT-DELIMITER":27,"Y-AXIS":28,QUADRANT_1:29,QUADRANT_2:30,QUADRANT_3:31,QUADRANT_4:32,openDirective:33,typeDirective:34,closeDirective:35,":":36,argDirective:37,NEWLINE:38,SEMI:39,EOF:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,alphaNumToken:45,textNoTagsToken:46,STR:47,MD_STR:48,alphaNum:49,PUNCTUATION:50,AMP:51,NUM:52,ALPHA:53,COMMA:54,PLUS:55,EQUALS:56,MULT:57,DOT:58,BRKT:59,UNDERSCORE:60,MINUS:61,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",7:"QUADRANT",14:"title",15:"title_value",16:"acc_title",17:"acc_title_value",18:"acc_descr",19:"acc_descr_value",20:"acc_descr_multiline_value",21:"section",23:"point_start",24:"point_x",25:"point_y",26:"X-AXIS",27:"AXIS-TEXT-DELIMITER",28:"Y-AXIS",29:"QUADRANT_1",30:"QUADRANT_2",31:"QUADRANT_3",32:"QUADRANT_4",36:":",38:"NEWLINE",39:"SEMI",40:"EOF",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive",47:"STR",48:"MD_STR",50:"PUNCTUATION",51:"AMP",52:"NUM",53:"ALPHA",54:"COMMA",55:"PLUS",56:"EQUALS",57:"MULT",58:"DOT",59:"BRKT",60:"UNDERSCORE",61:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[10,0],[10,2],[10,1],[10,1],[10,1],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[13,4],[11,4],[11,3],[11,2],[11,4],[11,3],[11,2],[12,2],[12,2],[12,2],[12,2],[6,3],[6,5],[4,1],[4,1],[4,1],[33,1],[34,1],[37,1],[35,1],[22,1],[22,2],[22,1],[22,1],[49,1],[49,2],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[46,1],[46,1],[46,1]],performAction:function(t,i,e,a,n,r,s){var l=r.length-1;switch(n){case 13:this.$=r[l].trim(),a.setDiagramTitle(this.$);break;case 14:this.$=r[l].trim(),a.setAccTitle(this.$);break;case 15:case 16:this.$=r[l].trim(),a.setAccDescription(this.$);break;case 17:a.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 19:a.addPoint(r[l-3],r[l-1],r[l]);break;case 20:a.setXAxisLeftText(r[l-2]),a.setXAxisRightText(r[l]);break;case 21:r[l-1].text+=" ⟶ ",a.setXAxisLeftText(r[l-1]);break;case 22:a.setXAxisLeftText(r[l]);break;case 23:a.setYAxisBottomText(r[l-2]),a.setYAxisTopText(r[l]);break;case 24:r[l-1].text+=" ⟶ ",a.setYAxisBottomText(r[l-1]);break;case 25:a.setYAxisBottomText(r[l]);break;case 26:a.setQuadrant1Text(r[l]);break;case 27:a.setQuadrant2Text(r[l]);break;case 28:a.setQuadrant3Text(r[l]);break;case 29:a.setQuadrant4Text(r[l]);break;case 35:a.parseDirective("%%{","open_directive");break;case 36:a.parseDirective(r[l],"type_directive");break;case 37:r[l]=r[l].trim().replace(/'/g,'"'),a.parseDirective(r[l],"arg_directive");break;case 38:a.parseDirective("}%%","close_directive","quadrantChart");break;case 39:case 41:this.$={text:r[l],type:"text"};break;case 40:this.$={text:r[l-1].text+""+r[l],type:r[l-1].type};break;case 42:this.$={text:r[l],type:"markdown"};break;case 43:this.$=r[l];break;case 44:this.$=r[l-1]+""+r[l]}},table:[{3:1,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{1:[3]},{3:11,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{3:12,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{3:13,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},t(l,[2,5],{8:14}),t(o,[2,32]),t(o,[2,33]),t(o,[2,34]),{34:15,42:[1,16]},{42:[2,35]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(h,c,{33:9,9:17,10:18,11:20,12:21,13:22,6:28,22:35,45:36,1:[2,4],5:d,14:u,16:x,18:g,20:f,21:y,26:p,28:q,29:T,30:_,31:m,32:A,41:s,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B}),{35:50,36:[1,51],44:w},t([36,44],[2,36]),t(l,[2,6]),{4:53,38:a,39:n,40:r},t(h,c,{33:9,11:20,12:21,13:22,6:28,22:35,45:36,10:54,5:d,14:u,16:x,18:g,20:f,21:y,26:p,28:q,29:T,30:_,31:m,32:A,41:s,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B}),t(h,[2,10]),t(h,[2,11]),t(h,[2,12]),{15:[1,55]},{17:[1,56]},{19:[1,57]},t(h,[2,16]),t(h,[2,17]),t(h,[2,18]),{22:58,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{22:59,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{22:60,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{22:61,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{22:62,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{22:63,45:36,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B},{5:R,23:[1,64],45:66,46:65,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W},t(N,[2,39]),t(N,[2,41]),t(N,[2,42]),t(N,[2,45]),t(N,[2,46]),t(N,[2,47]),t(N,[2,48]),t(N,[2,49]),t(N,[2,50]),t(N,[2,51]),t(N,[2,52]),t(N,[2,53]),t(N,[2,54]),t(N,[2,55]),t(U,[2,30]),{37:69,43:[1,70]},t(U,[2,38]),t(l,[2,7]),t(h,[2,9]),t(h,[2,13]),t(h,[2,14]),t(h,[2,15]),t(h,[2,22],{46:65,45:66,5:R,27:[1,71],50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,25],{46:65,45:66,5:R,27:[1,72],50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,26],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,27],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,28],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,29],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),{24:[1,73]},t(N,[2,40]),t(N,[2,56]),t(N,[2,57]),t(N,[2,58]),{35:74,44:w},{44:[2,37]},t(h,[2,21],{45:36,22:75,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B}),t(h,[2,24],{45:36,22:76,47:b,48:S,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B}),{25:[1,77]},t(U,[2,31]),t(h,[2,20],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,23],{46:65,45:66,5:R,50:v,51:k,52:F,53:P,54:E,55:L,56:C,57:D,58:z,59:I,60:B,61:W}),t(h,[2,19])],defaultActions:{10:[2,35],11:[2,1],12:[2,2],13:[2,3],70:[2,37]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],a=[null],n=[],r=this.table,s="",l=0,o=0,h=n.slice.call(arguments,1),c=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);c.setInput(t,d.yy),d.yy.lexer=c,d.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var g=c.options&&c.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,y,p,q,T,_,m,A,b,S={};;){if(y=i[i.length-1],this.defaultActions[y]?p=this.defaultActions[y]:(null==f&&(b=void 0,"number"!=typeof(b=e.pop()||c.lex()||1)&&(b instanceof Array&&(b=(e=b).pop()),b=this.symbols_[b]||b),f=b),p=r[y]&&r[y][f]),void 0===p||!p.length||!p[0]){var v;for(T in A=[],r[y])this.terminals_[T]&&T>2&&A.push("'"+this.terminals_[T]+"'");v=c.showPosition?"Parse error on line "+(l+1)+":\n"+c.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(v,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:x,expected:A})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+f);switch(p[0]){case 1:i.push(f),a.push(c.yytext),n.push(c.yylloc),i.push(p[1]),f=null,o=c.yyleng,s=c.yytext,l=c.yylineno,x=c.yylloc;break;case 2:if(_=this.productions_[p[1]][1],S.$=a[a.length-_],S._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},g&&(S._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),void 0!==(q=this.performAction.apply(S,[s,o,l,d.yy,p[1],a,n].concat(h))))return q;_&&(i=i.slice(0,-1*_*2),a=a.slice(0,-1*_),n=n.slice(0,-1*_)),i.push(this.productions_[p[1]][0]),a.push(S.$),n.push(S._$),m=r[i[i.length-2]][i[i.length-1]],i.push(m);break;case 3:return!0}}return!0}},H={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||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 i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=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),e.length-1&&(this.yylineno-=e.length-1);var n=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:e?(e.length===a.length?this.yylloc.first_column:0)+a[a.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),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(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,a,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.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],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;ri[0].length)){if(i=e,a=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[a]))&&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(){return this.next()||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,i,e,a){switch(e){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),36;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:break;case 7:return 38;case 9:return this.begin("title"),14;case 10:return this.popState(),"title_value";case 11:return this.begin("acc_title"),16;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),18;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 27:case 29:case 33:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 26;case 19:return 28;case 20:return 27;case 21:return 29;case 22:return 30;case 23:return 31;case 24:return 32;case 25:this.begin("md_string");break;case 26:return"MD_STR";case 28:this.begin("string");break;case 30:return"STR";case 31:return this.begin("point_start"),23;case 32:return this.begin("point_x"),24;case 34:this.popState(),this.begin("point_y");break;case 35:return this.popState(),25;case 36:return 7;case 37:return 53;case 38:return"COLON";case 39:return 55;case 40:return 54;case 41:case 42:return 56;case 43:return 57;case 44:return 59;case 45:return 60;case 46:return 58;case 47:return 51;case 48:return 61;case 49:return 52;case 50:return 5;case 51:return 39;case 52:return 50;case 53:return 40}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/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,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[35],inclusive:!1},point_x:{rules:[34],inclusive:!1},point_start:{rules:[32,33],inclusive:!1},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:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[10],inclusive:!1},md_string:{rules:[26,27],inclusive:!1},string:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,11,13,15,18,19,20,21,22,23,24,25,28,31,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function $(){this.yy={}}return Q.lexer=H,$.prototype=Q,Q.Parser=$,new $}());r.parser=r;const s=r,l=(0,a.D)(),o=(0,a.c)();function h(t){return(0,a.d)(t.trim(),o)}const c=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,i,e,n,r,s,l,o,h,c,d,u,x,g,f,y,p,q;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=a.E.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(i=a.E.quadrantChart)?void 0:i.chartHeight)||500,titlePadding:(null==(e=a.E.quadrantChart)?void 0:e.titlePadding)||10,titleFontSize:(null==(n=a.E.quadrantChart)?void 0:n.titleFontSize)||20,quadrantPadding:(null==(r=a.E.quadrantChart)?void 0:r.quadrantPadding)||5,xAxisLabelPadding:(null==(s=a.E.quadrantChart)?void 0:s.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(l=a.E.quadrantChart)?void 0:l.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(o=a.E.quadrantChart)?void 0:o.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(h=a.E.quadrantChart)?void 0:h.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(c=a.E.quadrantChart)?void 0:c.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(d=a.E.quadrantChart)?void 0:d.quadrantTextTopPadding)||5,pointTextPadding:(null==(u=a.E.quadrantChart)?void 0:u.pointTextPadding)||5,pointLabelFontSize:(null==(x=a.E.quadrantChart)?void 0:x.pointLabelFontSize)||12,pointRadius:(null==(g=a.E.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(f=a.E.quadrantChart)?void 0:f.xAxisPosition)||"top",yAxisPosition:(null==(y=a.E.quadrantChart)?void 0:y.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(p=a.E.quadrantChart)?void 0:p.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(q=a.E.quadrantChart)?void 0:q.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:l.quadrant1Fill,quadrant2Fill:l.quadrant2Fill,quadrant3Fill:l.quadrant3Fill,quadrant4Fill:l.quadrant4Fill,quadrant1TextFill:l.quadrant1TextFill,quadrant2TextFill:l.quadrant2TextFill,quadrant3TextFill:l.quadrant3TextFill,quadrant4TextFill:l.quadrant4TextFill,quadrantPointFill:l.quadrantPointFill,quadrantPointTextFill:l.quadrantPointTextFill,quadrantXAxisTextFill:l.quadrantXAxisTextFill,quadrantYAxisTextFill:l.quadrantYAxisTextFill,quadrantTitleFill:l.quadrantTitleFill,quadrantInternalBorderStrokeFill:l.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:l.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),a.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){a.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,i,e,a){const n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,r={top:"top"===t&&i?n:0,bottom:"bottom"===t&&i?n:0},s=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&e?s:0,right:"right"===this.config.yAxisPosition&&e?s:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+r.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-r.top-r.bottom-h.top;return{xAxisSpace:r,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,i,e,a){const{quadrantSpace:n,titleSpace:r}=a,{quadrantHalfHeight:s,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=0===this.data.points.length,x=[];return this.data.xAxisLeftText&&i&&x.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&i&&x.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&e&&x.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&e&&x.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+s-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),x}getQuadrants(t){const{quadrantSpace:i}=t,{quadrantHalfHeight:e,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:r}=i,s=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r,width:n,height:e,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r,width:n,height:e,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant4Fill}];for(const t of s)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return s}getQuadrantPoints(t){const{quadrantSpace:i}=t,{quadrantHeight:e,quadrantLeft:a,quadrantTop:r,quadrantWidth:s}=i,l=(0,n.BYU)().domain([0,1]).range([a,s+a]),o=(0,n.BYU)().domain([0,1]).range([e+r,r]);return this.data.points.map((t=>({x:l(t.x),y:o(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const i=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:e}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:r,quadrantHalfWidth:s,quadrantTop:l,quadrantWidth:o}=e;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l,x2:r+o+i,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r+o,y1:l+i,x2:r+o,y2:l+n-i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l+n,x2:r+o+i,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r,y1:l+i,x2:r,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+s,y1:l+i,x2:r+s,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+i,y1:l+a,x2:r+o-i,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),i=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),e=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,i,e);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,i,n),borderLines:this.getBorders(n),title:this.getTitle(e)}}},d={draw:(t,i,e,r)=>{var s,l,o;function h(t){return"top"===t?"hanging":"middle"}function c(t){return"left"===t?"start":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const u=(0,a.c)();a.l.debug("Rendering quadrant chart\n"+t);const x=u.securityLevel;let g;"sandbox"===x&&(g=(0,n.Ys)("#i"+i));const f=("sandbox"===x?(0,n.Ys)(g.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${i}"]`),y=f.append("g").attr("class","main"),p=(null==(s=u.quadrantChart)?void 0:s.chartWidth)||500,q=(null==(l=u.quadrantChart)?void 0:l.chartHeight)||500;(0,a.i)(f,q,p,(null==(o=u.quadrantChart)?void 0:o.useMaxWidth)||!0),f.attr("viewBox","0 0 "+p+" "+q),r.db.setHeight(q),r.db.setWidth(p);const T=r.db.getQuadrantData(),_=y.append("g").attr("class","quadrants"),m=y.append("g").attr("class","border"),A=y.append("g").attr("class","data-points"),b=y.append("g").attr("class","labels"),S=y.append("g").attr("class","title");T.title&&S.append("text").attr("x",0).attr("y",0).attr("fill",T.title.fill).attr("font-size",T.title.fontSize).attr("dominant-baseline",h(T.title.horizontalPos)).attr("text-anchor",c(T.title.verticalPos)).attr("transform",d(T.title)).text(T.title.text),T.borderLines&&m.selectAll("line").data(T.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const v=_.selectAll("g.quadrant").data(T.quadrants).enter().append("g").attr("class","quadrant");v.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),v.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text))).text((t=>t.text.text)),b.selectAll("g.label").data(T.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>h(t.horizontalPos))).attr("text-anchor",(t=>c(t.verticalPos))).attr("transform",(t=>d(t)));const k=A.selectAll("g.data-point").data(T.points).enter().append("g").attr("class","data-point");k.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),k.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text)))}},u={parser:s,db:{setWidth:function(t){c.setConfig({chartWidth:t})},setHeight:function(t){c.setConfig({chartHeight:t})},setQuadrant1Text:function(t){c.setData({quadrant1Text:h(t.text)})},setQuadrant2Text:function(t){c.setData({quadrant2Text:h(t.text)})},setQuadrant3Text:function(t){c.setData({quadrant3Text:h(t.text)})},setQuadrant4Text:function(t){c.setData({quadrant4Text:h(t.text)})},setXAxisLeftText:function(t){c.setData({xAxisLeftText:h(t.text)})},setXAxisRightText:function(t){c.setData({xAxisRightText:h(t.text)})},setYAxisTopText:function(t){c.setData({yAxisTopText:h(t.text)})},setYAxisBottomText:function(t){c.setData({yAxisBottomText:h(t.text)})},addPoint:function(t,i,e){c.addPoints([{x:i,y:e,text:h(t.text)}])},getQuadrantData:function(){const t=(0,a.c)(),{themeVariables:i,quadrantChart:e}=t;return e&&c.setConfig(e),c.setThemeConfig({quadrant1Fill:i.quadrant1Fill,quadrant2Fill:i.quadrant2Fill,quadrant3Fill:i.quadrant3Fill,quadrant4Fill:i.quadrant4Fill,quadrant1TextFill:i.quadrant1TextFill,quadrant2TextFill:i.quadrant2TextFill,quadrant3TextFill:i.quadrant3TextFill,quadrant4TextFill:i.quadrant4TextFill,quadrantPointFill:i.quadrantPointFill,quadrantPointTextFill:i.quadrantPointTextFill,quadrantXAxisTextFill:i.quadrantXAxisTextFill,quadrantYAxisTextFill:i.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:i.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:i.quadrantInternalBorderStrokeFill,quadrantTitleFill:i.quadrantTitleFill}),c.setData({titleText:(0,a.t)()}),c.build()},parseDirective:function(t,i,e){a.m.parseDirective(this,t,i,e)},clear:function(){c.clear(),(0,a.v)()},setAccTitle:a.s,getAccTitle:a.g,setDiagramTitle:a.r,getDiagramTitle:a.t,getAccDescription:a.a,setAccDescription:a.b},renderer:d,styles:()=>""}}}; \ No newline at end of file diff --git a/themes/daux/js/692.mjs b/themes/daux/js/692.mjs new file mode 100644 index 00000000..8a5aedfd --- /dev/null +++ b/themes/daux/js/692.mjs @@ -0,0 +1 @@ +export const id=692;export const ids=[692];export const modules={6692:(t,n,e)=>{e.d(n,{diagram:()=>V});var i=e(9360),s=e(7274);function r(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e>s||void 0===e&&s>=s)&&(e=s)}return e}function o(t){return t.target.depth}function c(t,n){return t.sourceLinks.length?t.depth:n-1}function l(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let i=-1;for(let s of t)(s=+n(s,++i,t))&&(e+=s)}return e}function h(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e=s)&&(e=s)}return e}function a(t){return function(){return t}}function u(t,n){return y(t.source,n.source)||t.index-n.index}function f(t,n){return y(t.target,n.target)||t.index-n.index}function y(t,n){return t.y0-n.y0}function d(t){return t.value}function p(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,n){const e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function k({nodes:t}){for(const n of t){let t=n.y0,e=t;for(const e of n.sourceLinks)e.y0=t+e.width/2,t+=e.width;for(const t of n.targetLinks)t.y1=e+t.width/2,e+=t.width}}var m=Math.PI,v=2*m,b=1e-6,w=v-b;function E(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function L(){return new E}E.prototype=L.prototype={constructor:E,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,s,r){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+s)+","+(this._y1=+r)},arcTo:function(t,n,e,i,s){t=+t,n=+n,e=+e,i=+i,s=+s;var r=this._x1,o=this._y1,c=e-t,l=i-n,h=r-t,a=o-n,u=h*h+a*a;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(u>b)if(Math.abs(a*c-l*h)>b&&s){var f=e-r,y=i-o,d=c*c+l*l,p=f*f+y*y,g=Math.sqrt(d),_=Math.sqrt(u),x=s*Math.tan((m-Math.acos((d+u-p)/(2*g*_)))/2),k=x/_,v=x/g;Math.abs(k-1)>b&&(this._+="L"+(t+k*h)+","+(n+k*a)),this._+="A"+s+","+s+",0,0,"+ +(a*f>h*y)+","+(this._x1=t+v*c)+","+(this._y1=n+v*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,i,s,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),c=e*Math.sin(i),l=t+o,h=n+c,a=1^r,u=r?i-s:s-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>b||Math.abs(this._y1-h)>b)&&(this._+="L"+l+","+h),e&&(u<0&&(u=u%v+v),u>w?this._+="A"+e+","+e+",0,1,"+a+","+(t-o)+","+(n-c)+"A"+e+","+e+",0,1,"+a+","+(this._x1=l)+","+(this._y1=h):u>b&&(this._+="A"+e+","+e+",0,"+ +(u>=m)+","+a+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const A=L;var S=Array.prototype.slice;function M(t){return function(){return t}}function I(t){return t[0]}function T(t){return t[1]}function O(t){return t.source}function P(t){return t.target}function D(t,n,e,i,s){t.moveTo(n,e),t.bezierCurveTo(n=(n+i)/2,e,n,s,i,s)}function N(t){return[t.source.x1,t.y0]}function C(t){return[t.target.x0,t.y1]}function $(){return function(t){var n=O,e=P,i=I,s=T,r=null;function o(){var o,c=S.call(arguments),l=n.apply(this,c),h=e.apply(this,c);if(r||(r=o=A()),t(r,+i.apply(this,(c[0]=l,c)),+s.apply(this,c),+i.apply(this,(c[0]=h,c)),+s.apply(this,c)),o)return r=null,o+""||null}return o.source=function(t){return arguments.length?(n=t,o):n},o.target=function(t){return arguments.length?(e=t,o):e},o.x=function(t){return arguments.length?(i="function"==typeof t?t:M(+t),o):i},o.y=function(t){return arguments.length?(s="function"==typeof t?t:M(+t),o):s},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}(D).source(N).target(C)}e(7484),e(7967),e(7856);var j=function(){var t=function(t,n,e,i){for(e=e||{},i=t.length;i--;e[t[i]]=n);return e},n=[1,9],e=[1,10],i=[1,5,10,12],s={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(t,n,e,i,s,r,o){var c=r.length-1;switch(s){case 7:const t=i.findOrCreateNode(r[c-4].trim().replaceAll('""','"')),n=i.findOrCreateNode(r[c-2].trim().replaceAll('""','"')),e=parseFloat(r[c].trim());i.addLink(t,n,e);break;case 8:case 9:case 11:this.$=r[c];break;case 10:this.$=r[c-1]}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:e},{1:[2,6],7:11,10:[1,12]},t(e,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(e,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:e},{15:18,16:7,17:8,18:n,20:e},{18:[1,19]},t(e,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:n,20:e},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(t,n){if(!n.recoverable){var e=new Error(t);throw e.hash=n,e}this.trace(t)},parse:function(t){var n=[0],e=[],i=[null],s=[],r=this.table,o="",c=0,l=0,h=s.slice.call(arguments,1),a=Object.create(this.lexer),u={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(u.yy[f]=this.yy[f]);a.setInput(t,u.yy),u.yy.lexer=a,u.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var y=a.yylloc;s.push(y);var d=a.options&&a.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,g,_,x,k,m,v,b,w,E={};;){if(g=n[n.length-1],this.defaultActions[g]?_=this.defaultActions[g]:(null==p&&(w=void 0,"number"!=typeof(w=e.pop()||a.lex()||1)&&(w instanceof Array&&(w=(e=w).pop()),w=this.symbols_[w]||w),p=w),_=r[g]&&r[g][p]),void 0===_||!_.length||!_[0]){var L;for(k in b=[],r[g])this.terminals_[k]&&k>2&&b.push("'"+this.terminals_[k]+"'");L=a.showPosition?"Parse error on line "+(c+1)+":\n"+a.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(L,{text:a.match,token:this.terminals_[p]||p,line:a.yylineno,loc:y,expected:b})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+p);switch(_[0]){case 1:n.push(p),i.push(a.yytext),s.push(a.yylloc),n.push(_[1]),p=null,l=a.yyleng,o=a.yytext,c=a.yylineno,y=a.yylloc;break;case 2:if(m=this.productions_[_[1]][1],E.$=i[i.length-m],E._$={first_line:s[s.length-(m||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(m||1)].first_column,last_column:s[s.length-1].last_column},d&&(E._$.range=[s[s.length-(m||1)].range[0],s[s.length-1].range[1]]),void 0!==(x=this.performAction.apply(E,[o,l,c,u.yy,_[1],i,s].concat(h))))return x;m&&(n=n.slice(0,-1*m*2),i=i.slice(0,-1*m),s=s.slice(0,-1*m)),n.push(this.productions_[_[1]][0]),i.push(E.$),s.push(E._$),v=r[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,n){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,n)},setInput:function(t,n){return this.yy=n||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 n=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;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),e.length-1&&(this.yylineno-=e.length-1);var s=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:e?(e.length===i.length?this.yylloc.first_column:0)+i[i.length-e.length].length-e[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-n]),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(),n=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+n+"^"},test_match:function(t,n){var e,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.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],e=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,n,e,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;rn[0].length)){if(n=e,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,s[r])))return t;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(t=this.test_match(n,s[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(){return this.next()||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:{easy_keword_rules:!0},performAction:function(t,n,e,i){switch(e){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function o(){this.yy={}}return s.lexer=r,o.prototype=s,s.Parser=o,new o}();j.parser=j;const z=j;let Y=[],F=[],U={};class W{constructor(t,n,e=0){this.source=t,this.target=n,this.value=e}}class G{constructor(t){this.ID=t}}const K={nodesMap:U,getConfig:()=>(0,i.c)().sankey,getNodes:()=>F,getLinks:()=>Y,getGraph:()=>({nodes:F.map((t=>({id:t.ID}))),links:Y.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))}),addLink:(t,n,e)=>{Y.push(new W(t,n,e))},findOrCreateNode:t=>(t=i.e.sanitizeText(t,(0,i.c)()),U[t]||(U[t]=new G(t),F.push(U[t])),U[t]),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,getDiagramTitle:i.t,setDiagramTitle:i.r,clear:()=>{Y=[],F=[],U={},(0,i.v)()}},X=class{static next(t){return new X(t+ ++X.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}};let q=X;q.count=0;const Q={left:function(t){return t.depth},right:function(t,n){return n-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?r(t.sourceLinks,o)-1:0},justify:c},B={draw:function(t,n,e,o){const{securityLevel:m,sankey:v}=(0,i.c)(),b=i.H.sankey;let w;"sandbox"===m&&(w=(0,s.Ys)("#i"+n));const E="sandbox"===m?(0,s.Ys)(w.nodes()[0].contentDocument.body):(0,s.Ys)("body"),L="sandbox"===m?E.select(`[id="${n}"]`):(0,s.Ys)(`[id="${n}"]`),A=(null==v?void 0:v.width)||b.width,S=(null==v?void 0:v.height)||b.width,M=(null==v?void 0:v.useMaxWidth)||b.useMaxWidth,I=(null==v?void 0:v.nodeAlignment)||b.nodeAlignment;(0,i.i)(L,S,A,M);const T=o.db.getGraph(),O=Q[I];(function(){let t,n,e,i=0,s=0,o=1,m=1,v=24,b=8,w=p,E=c,L=g,A=_,S=6;function M(){const c={nodes:L.apply(null,arguments),links:A.apply(null,arguments)};return function({nodes:t,links:n}){for(const[n,e]of t.entries())e.index=n,e.sourceLinks=[],e.targetLinks=[];const i=new Map(t.map(((n,e)=>[w(n,e,t),n])));for(const[t,e]of n.entries()){e.index=t;let{source:n,target:s}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof s&&(s=e.target=x(i,s)),n.sourceLinks.push(e),s.targetLinks.push(e)}if(null!=e)for(const{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(c),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(l(n.sourceLinks,d),l(n.targetLinks,d)):n.fixedValue}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.depth=s;for(const{target:n}of t.sourceLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.height=s;for(const{source:n}of t.targetLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function(e){const c=function({nodes:t}){const e=h(t,(t=>t.depth))+1,s=(o-i-v)/(e-1),r=new Array(e);for(const n of t){const t=Math.max(0,Math.min(e-1,Math.floor(E.call(null,n,e))));n.layer=t,n.x0=i+t*s,n.x1=n.x0+v,r[t]?r[t].push(n):r[t]=[n]}if(n)for(const t of r)t.sort(n);return r}(e);t=Math.min(b,(m-s)/(h(c,(t=>t.length))-1)),function(n){const e=r(n,(n=>(m-s-(n.length-1)*t)/l(n,d)));for(const i of n){let n=s;for(const s of i){s.y0=n,s.y1=n+s.value*e,n=s.y1+t;for(const t of s.sourceLinks)t.width=t.value*e}n=(m-n+t)/(i.length+1);for(let t=0;t0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,N(t)}void 0===n&&r.sort(y),O(r,i)}}function T(t,e,i){for(let s=t.length-2;s>=0;--s){const r=t[s];for(const t of r){let n=0,i=0;for(const{target:e,value:s}of t.sourceLinks){let r=s*(e.layer-t.layer);n+=j(t,e)*r,i+=r}if(!(i>0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,N(t)}void 0===n&&r.sort(y),O(r,i)}}function O(n,e){const i=n.length>>1,r=n[i];D(n,r.y0-t,i-1,e),P(n,r.y1+t,i+1,e),D(n,m,n.length-1,e),P(n,s,0,e)}function P(n,e,i,s){for(;i1e-6&&(r.y0+=o,r.y1+=o),e=r.y1+t}}function D(n,e,i,s){for(;i>=0;--i){const r=n[i],o=(r.y1-e)*s;o>1e-6&&(r.y0-=o,r.y1-=o),e=r.y0-t}}function N({sourceLinks:t,targetLinks:n}){if(void 0===e){for(const{source:{sourceLinks:t}}of n)t.sort(f);for(const{target:{targetLinks:n}}of t)n.sort(u)}}function C(t){if(void 0===e)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(f),e.sort(u)}function $(n,e){let i=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:s,width:r}of n.sourceLinks){if(s===e)break;i+=r+t}for(const{source:t,width:s}of e.targetLinks){if(t===n)break;i-=s}return i}function j(n,e){let i=e.y0-(e.targetLinks.length-1)*t/2;for(const{source:s,width:r}of e.targetLinks){if(s===n)break;i+=r+t}for(const{target:t,width:s}of n.sourceLinks){if(t===e)break;i-=s}return i}return M.update=function(t){return k(t),t},M.nodeId=function(t){return arguments.length?(w="function"==typeof t?t:a(t),M):w},M.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:a(t),M):E},M.nodeSort=function(t){return arguments.length?(n=t,M):n},M.nodeWidth=function(t){return arguments.length?(v=+t,M):v},M.nodePadding=function(n){return arguments.length?(b=t=+n,M):b},M.nodes=function(t){return arguments.length?(L="function"==typeof t?t:a(t),M):L},M.links=function(t){return arguments.length?(A="function"==typeof t?t:a(t),M):A},M.linkSort=function(t){return arguments.length?(e=t,M):e},M.size=function(t){return arguments.length?(i=s=0,o=+t[0],m=+t[1],M):[o-i,m-s]},M.extent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],s=+t[0][1],m=+t[1][1],M):[[i,s],[o,m]]},M.iterations=function(t){return arguments.length?(S=+t,M):S},M})().nodeId((t=>t.id)).nodeWidth(10).nodePadding(10).nodeAlign(O).extent([[0,0],[A,S]])(T);const P=(0,s.PKp)(s.K2I);L.append("g").attr("class","nodes").selectAll(".node").data(T.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=q.next("node-")).id)).attr("transform",(function(t){return"translate("+t.x0+","+t.y0+")"})).attr("x",(t=>t.x0)).attr("y",(t=>t.y0)).append("rect").attr("height",(t=>t.y1-t.y0)).attr("width",(t=>t.x1-t.x0)).attr("fill",(t=>P(t.id))),L.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(T.nodes).join("text").attr("x",(t=>t.x0(t.y1+t.y0)/2)).attr("dy","0.35em").attr("text-anchor",(t=>t.x0t.id));const D=L.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(T.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),N=(null==v?void 0:v.linkColor)||"gradient";if("gradient"===N){const t=D.append("linearGradient").attr("id",(t=>(t.uid=q.next("linearGradient-")).id)).attr("gradientUnits","userSpaceOnUse").attr("x1",(t=>t.source.x1)).attr("x2",(t=>t.target.x0));t.append("stop").attr("offset","0%").attr("stop-color",(t=>P(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>P(t.target.id)))}let C;switch(N){case"gradient":C=t=>t.uid;break;case"source":C=t=>P(t.source.id);break;case"target":C=t=>P(t.target.id);break;default:C=N}D.append("path").attr("d",$()).attr("stroke",C).attr("stroke-width",(t=>Math.max(1,t.width)))}},R=z.parse.bind(z);z.parse=t=>R((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim())(t));const V={parser:z,db:K,renderer:B}}}; \ No newline at end of file diff --git a/themes/daux/js/706.mjs b/themes/daux/js/706.mjs deleted file mode 100644 index 3e9a2eb0..00000000 --- a/themes/daux/js/706.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=706;export const ids=[706];export const modules={8734:function(t){t.exports=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 s=this.$utils(),r=(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 s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.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)(r)}}},285:function(t){t.exports=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?/,s=/\d*[^-_:/,()\s\d]+/,r={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=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)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var n,i=r.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},d={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(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,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[s,function(t){var e=r.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,o("month")],MM:[n,o("month")],MMM:[s,function(t){var e=l("months"),n=(l("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:[s,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,s;i=n,s=r&&r.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),s=i.year,r=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,u=i.milliseconds,d=i.zone,f=new Date,m=a||(s||r?1:f.getDate()),p=s||f.getFullYear(),y=0;s&&!r||(y=r>0?r-1:f.getMonth());var g=o||0,k=c||0,v=l||0,b=u||0;return d?new Date(Date.UTC(p,y,m,g,k,v,b+60*d.offset*1e3)):n?new Date(Date.UTC(p,y,m,g,k,v,b)):new Date(p,y,m,g,k,v,b)}catch(t){return new Date("")}}(e,o,i),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&e!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var f=o.length,m=1;m<=f;m+=1){a[1]=o[m-1];var p=n.apply(this,a);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}m===f&&(this.$d=new Date(""))}else s.call(this,t)}}}()},9542:function(t){var e;t.exports=(e="day",function(t,n,i){var s=function(t){return t.add(4-t.isoWeekday(),e)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,e));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.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"):a.bind(this)(t,e)}})},4706:(t,e,n)=>{n.d(e,{diagram:()=>Q});var i=n(7967),s=n(7484),r=n(9542),a=n(285),o=n(8734),c=n(3110),l=n(1188),u=n(6848),d=n(4309),h=(n(7856),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],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,20],u=[1,21],d=[1,22],h=[1,23],f=[1,24],m=[1,25],p=[1,26],y=[1,27],g=[1,29],k=[1,31],v=[1,34],b=[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,s,r,a){var o=r.length-1;switch(s){case 2:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 9:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 11:i.TopAxis(),this.$=r[o].substr(8);break;case 12:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 13:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 14:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 15:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 16:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 17:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 18:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 23:i.addTask(r[o-1],r[o]),this.$="task";break;case 27:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 28:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 29:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 30:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 31:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 32:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 33:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 34:case 40:this.$=r[o-1]+" "+r[o];break;case 35:case 36:case 38:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 37:case 39:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(r[o],"type_directive");break;case 43:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"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:s,13:r,14:a,15:o,16:c,17:l,18:u,19:d,20:h,21:f,23:m,25:p,26:y,27:28,28:g,30:4,35:k,40:n},{32:32,33:[1,33],43:v},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:s,13:r,14:a,15:o,16:c,17:l,18:u,19:d,20:h,21:f,23:m,25:p,26:y,27:28,28:g,30:4,35:k,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(b,[2,25]),{32:47,43:v},{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(b,[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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(d.yy[h]=this.yy[h]);u.setInput(t,d.yy),d.yy.lexer=u,d.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;s.push(f);var m=u.options&&u.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,y,g,k,v,b,x,T,_,$={};;){if(y=e[e.length-1],this.defaultActions[y]?g=this.defaultActions[y]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||u.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),g=r[y]&&r[y][p]),void 0===g||!g.length||!g[0]){var D;for(v in T=[],r[y])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");D=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(D,{text:u.match,token:this.terminals_[p]||p,line:u.yylineno,loc:f,expected:T})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+p);switch(g[0]){case 1:e.push(p),i.push(u.yytext),s.push(u.yylloc),e.push(g[1]),p=null,c=u.yyleng,a=u.yytext,o=u.yylineno,f=u.yylloc;break;case 2:if(b=this.productions_[g[1]][1],$.$=i[i.length-b],$._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},m&&($._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(k=this.performAction.apply($,[a,c,o,d.yy,g[1],i,s].concat(l))))return k;b&&(e=e.slice(0,-1*b*2),i=i.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[g[1]][0]),i.push($.$),s.push($._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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=T,_.prototype=x,x.Parser=_,new _}());h.parser=h;const f=h;s.extend(r),s.extend(a),s.extend(o);let m,p="",y="",g="",k=[],v=[],b={},x=[],T=[],_="",$="";const D=["active","done","crit","milestone"];let w=[],S=!1,C=!1,E=0;const M=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())))},A=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]=Y(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},Y=function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=M(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},L=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=H(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();{c.l.debug("Invalid date:"+n),c.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}},I=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},F=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]=I(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()};let O=0;const z=function(t){return void 0===t?(O+=1,"task"+O):t};let B,P,W=[];const N={},H=function(t){const e=N[t];return W[e]},G=function(){const t=function(t){const e=W[t];let n="";switch(W[t].raw.startTime.type){case"prevTaskEnd":{const t=H(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=L(0,p,W[t].raw.startTime.startData),n&&(W[t].startTime=n)}return W[t].startTime&&(W[t].endTime=F(W[t].startTime,p,W[t].raw.endTime.data,S),W[t].endTime&&(W[t].processed=!0,W[t].manualEndTime=s(W[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),A(W[t],p,v,k))),W[t].processed};let e=!0;for(const[n,i]of W.entries())t(n),e=e&&i.processed;return e},j=function(t,e){t.split(",").forEach((function(t){let n=H(t);void 0!==n&&n.classes.push(e)}))},Z=function(t,e){w.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()}))}))},V={parseDirective:function(t,e,n){u.m.parseDirective(this,t,e,n)},getConfig:()=>(0,c.g)().gantt,clear:function(){x=[],T=[],_="",w=[],O=0,B=void 0,P=void 0,W=[],p="",y="",$="",m=void 0,g="",k=[],v=[],S=!1,C=!1,E=0,b={},(0,c.y)()},setDateFormat:function(t){p=t},getDateFormat:function(){return p},enableInclusiveEndDates:function(){S=!0},endDatesAreInclusive:function(){return S},enableTopAxis:function(){C=!0},topAxisEnabled:function(){return C},setAxisFormat:function(t){y=t},getAxisFormat:function(){return y},setTickInterval:function(t){m=t},getTickInterval:function(){return m},setTodayMarker:function(t){g=t},getTodayMarker:function(){return g},setAccTitle:c.o,getAccTitle:c.p,setDiagramTitle:c.w,getDiagramTitle:c.x,setDisplayMode:function(t){$=t},getDisplayMode:function(){return $},setAccDescription:c.v,getAccDescription:c.q,addSection:function(t){_=t,x.push(t)},getSections:function(){return x},getTasks:function(){let t=G(),e=0;for(;!t&&e<10;)t=G(),e++;return T=W,T},addTask:function(t,e){const n={section:_,type:_,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};R(i,s,D);for(let t=0;t{l.u.runFunc(e,...i)}))}(t,e,n)})),j(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.g)().securityLevel&&(n=(0,i.N)(e)),t.split(",").forEach((function(t){void 0!==H(t)&&(Z(t,(()=>{window.open(n,"_self")})),b[t]=n)})),j(t,"clickable")},getLinks:function(){return b},bindFunctions:function(t){w.forEach((function(e){e(t)}))},parseDuration:I,isInvalidDate:M};function R(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}const q=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const t of i)for(let i=0;i=n[i]){n[i]=t.endTime,t.order=i+e,i>s&&(s=i);break}return s};let U;const X={setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const r=(0,c.g)().gantt,a=(0,c.g)().securityLevel;let o;"sandbox"===a&&(o=(0,d.Ys)("#i"+e));const u="sandbox"===a?(0,d.Ys)(o.nodes()[0].contentDocument.body):(0,d.Ys)("body"),h="sandbox"===a?o.nodes()[0].contentDocument:document,f=h.getElementById(e);U=f.parentElement.offsetWidth,void 0===U&&(U=1200),void 0!==r.useWidth&&(U=r.useWidth);const m=i.db.getTasks();let p=[];for(const t of m)p.push(t.type);p=function(t){const e={},n=[];for(let i=0,s=t.length;ie.type===t)).length}f.setAttribute("viewBox","0 0 "+U+" "+g);const k=u.select(`[id="${e}"]`),v=(0,d.Xf)().domain([(0,d.VV$)(m,(function(t){return t.startTime})),(0,d.Fp7)(m,(function(t){return t.endTime}))]).rangeRound([0,U-r.leftPadding-r.rightPadding]);m.sort((function(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:nt?Math.min(t,e):e),0),h=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),f=i.db.getDateFormat();if(!d||!h)return;const m=[];let p=null,y=s(d);for(;y.valueOf()<=h;)i.db.isInvalidDate(y,f,l,u)?p?p.end=y:p={start:y,end:y}:p&&(m.push(p),p=null),y=y.add(1,"d");k.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return v(t.start)+n})).attr("y",r.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return v(e)-v(t.start)})).attr("height",o-e-r.gridLineStartPadding).attr("transform-origin",(function(e,i){return(v(e.start)+n+.5*(v(e.end)-v(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}(l,u,f,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,s){let a=(0,d.LLu)(v).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,d.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==o){const t=o[1];switch(o[2]){case"minute":a.ticks(d.Z_i.every(t));break;case"hour":a.ticks(d.WQD.every(t));break;case"day":a.ticks(d.rr1.every(t));break;case"week":a.ticks(d.NGh.every(t));break;case"month":a.ticks(d.F0B.every(t))}}if(k.append("g").attr("class","grid").attr("transform","translate("+t+", "+(s-50)+")").call(a).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=(0,d.F5q)(v).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,d.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1];switch(o[2]){case"minute":n.ticks(d.Z_i.every(t));break;case"hour":n.ticks(d.WQD.every(t));break;case"day":n.ticks(d.rr1.every(t));break;case"week":n.ticks(d.NGh.every(t));break;case"month":n.ticks(d.F0B.every(t))}}k.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)}}(f,u,0,a),function(t,n,s,a,o,l,u){const h=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));k.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+s-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 f=k.append("g").selectAll("rect").data(t).enter(),m=i.db.getLinks();if(f.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?v(t.startTime)+a+.5*(v(t.endTime)-v(t.startTime))-.5*o:v(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+s})).attr("width",(function(t){return t.milestone?o:v(t.renderEndTime||t.endTime)-v(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(v(t.startTime)+a+.5*(v(t.endTime)-v(t.startTime))).toString()+"px "+(e*n+s+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of p.entries())t.type===i&&(n=e%r.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.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=v(t.startTime),n=v(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(v(t.endTime)-v(t.startTime))-.5*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+s})).attr("text-height",o).attr("class",(function(t){const e=v(t.startTime);let n=v(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let s="";t.classes.length>0&&(s=t.classes.join(" "));let a=0;for(const[e,n]of p.entries())t.type===n&&(a=e%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?s+" taskTextOutsideLeft taskTextOutside"+a+" "+c:s+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:s+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,c.g)().securityLevel){let t;t=(0,d.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return void 0!==m[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",m[t.id]),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}(t,l,u,f,o,0,n),function(t,e){let n=0;const i=Object.keys(y).map((t=>[t,y[t]]));k.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=h.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=h.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(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a`\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`}}}; \ No newline at end of file diff --git a/themes/daux/js/724.mjs b/themes/daux/js/724.mjs new file mode 100644 index 00000000..466f5fd8 --- /dev/null +++ b/themes/daux/js/724.mjs @@ -0,0 +1 @@ +export const id=724;export const ids=[724];export const modules={9368:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(752),i=n(9103);const a=function(e){return(0,i.Z)(e,4)};var d=n(3836);function o(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l(e),edges:s(e)};return r.Z(e.graph())||(t.value=a(e.graph())),t}function l(e){return d.Z(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),a={v:t};return r.Z(n)||(a.value=n),r.Z(i)||(a.parent=i),a}))}function s(e){return d.Z(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.Z(t.name)||(i.name=t.name),r.Z(n)||(i.value=n),i}))}n(5351)},2724:(e,t,n)=>{n.d(t,{r:()=>X});var r=n(9451),i=n(9368),a=n(6288),d=n(9360),o=n(5625),l=n(4576),s=n(7274);let c={},h={},g={};const f=(e,t)=>(d.l.trace("In isDecendant",t," ",e," = ",h[t].includes(e)),!!h[t].includes(e)),u=(e,t,n,r)=>{d.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),d.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)u(i,t,n,r);else{const a=t.node(i);d.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.l.debug("Setting parent",i,e),n.setParent(i,e)):(d.l.info("In copy ",e,"root",r,"data",t.node(e),r),d.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);d.l.debug("Copying Edges",o),o.forEach((i=>{d.l.info("Edge",i);const a=t.edge(i.v,i.w,i.name);d.l.info("Edge data",a,r);try{((e,t)=>(d.l.info("Decendants of ",t," is ",h[t]),d.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(h[t]?h[t].includes(e.v)||f(e.v,t)||f(e.w,t)||h[t].includes(e.w):(d.l.debug("Tilt, ",t,",not in decendants"),!1))))(i,r)?(d.l.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.l.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.l.error(e)}}))}d.l.debug("Removing node",i),t.removeNode(i)}))},w=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)g[i]=e,r=[...r,...w(i,t)];return r},p=(e,t)=>{d.l.trace("Searching",e);const n=t.children(e);if(d.l.trace("Searching children of id ",e,n),n.length<1)return d.l.trace("This is a valid node",e),e;for(const r of n){const n=p(r,t);if(n)return d.l.trace("Found replacement for",e," => ",n),n}},v=e=>c[e]&&c[e].externalConnections&&c[e]?c[e].id:e,y=(e,t)=>{if(d.l.warn("extractor - ",t,i.c(e),e.children("D")),t>10)return void d.l.error("Bailing out");let n=e.nodes(),r=!1;for(const t of n){const n=e.children(t);r=r||n.length>0}if(r){d.l.debug("Nodes = ",n,t);for(const r of n)if(d.l.debug("Extracting node",r,c,c[r]&&!c[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),c[r])if(!c[r].externalConnections&&e.children(r)&&e.children(r).length>0){d.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";c[r]&&c[r].clusterData&&c[r].clusterData.dir&&(n=c[r].clusterData.dir,d.l.warn("Fixing dir",c[r].clusterData.dir,n));const a=new o.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));d.l.warn("Old graph before copy",i.c(e)),u(r,e,a,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:c[r].clusterData,labelText:c[r].labelText,graph:a}),d.l.warn("New graph after copy node: (",r,")",i.c(a)),d.l.debug("Old graph after copy",i.c(e))}else d.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!c[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.l.debug(c);else d.l.debug("Not a cluster",r,t);n=e.nodes(),d.l.warn("New list of nodes",n);for(const r of n){const n=e.node(r);d.l.warn(" Now next level",r,n),n.clusterNode&&y(n.graph,t+1)}}else d.l.debug("Done, no node has children",e.nodes())},x=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=x(e,r);n=[...n,...i]})),n},m={rect:(e,t)=>{d.l.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,d.n)((0,d.c)().flowchart.htmlLabels),o=n.insert("g").attr("class","cluster-label"),c="markdown"===t.labelType?(0,l.c)(o,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):o.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,d.n)((0,d.c)().flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ys)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}const g=0*t.padding,f=g/2,u=t.width<=h.width+g?h.width+g:t.width;t.width<=h.width+g?t.diff=(h.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,d.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-u/2).attr("y",t.y-t.height/2-f).attr("width",u).attr("height",t.height+g),i?o.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2)+")"):o.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const w=r.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(e){return(0,a.i)(t,e)},n},roundedWithTitle:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),o=n.append("rect"),l=i.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let c=l.getBBox();if((0,d.n)((0,d.c)().flowchart.htmlLabels)){const e=l.children[0],t=(0,s.Ys)(l);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}c=l.getBBox();const h=0*t.padding,g=h/2,f=t.width<=c.width+t.padding?c.width+t.padding:t.width;t.width<=c.width+t.padding?t.diff=(c.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+h).attr("height",t.height+h),o.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+c.height-1).attr("width",f+h).attr("height",t.height+h-c.height-3),i.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,d.n)((0,d.c)().flowchart.htmlLabels)?5:3))+")");const u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,a.i)(t,e)},n},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2-d).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return(0,a.i)(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,a.i)(t,e)},n}};let b={};const N=async(e,t,n,o)=>{d.l.info("Graph in recursive render: XXX",i.c(t),o);const l=t.graph().rankdir;d.l.trace("Dir in recursive render - dir:",l);const s=e.insert("g").attr("class","root");t.nodes()?d.l.info("Recursive render XXX",t.nodes()):d.l.info("No nodes found for",t),t.edges().length>0&&d.l.trace("Recursive edges",t.edge(t.edges()[0]));const h=s.insert("g").attr("class","clusters"),g=s.insert("g").attr("class","edgePaths"),f=s.insert("g").attr("class","edgeLabels"),u=s.insert("g").attr("class","nodes");await Promise.all(t.nodes().map((async function(e){const r=t.node(e);if(void 0!==o){const n=JSON.parse(JSON.stringify(o.clusterData));d.l.info("Setting data for cluster XXX (",e,") ",n,o),t.setNode(o.id,n),t.parent(e)||(d.l.trace("Setting parent",e,o.id),t.setParent(e,o.id,n))}if(d.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){d.l.info("Cluster identified",e,r.width,t.node(e));const i=await N(u,r.graph,n,t.node(e)),o=i.elem;(0,a.u)(r,o),r.diff=i.diff||0,d.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,a.s)(o,r),d.l.warn("Recursive render complete ",o,r)}else t.children(e).length>0?(d.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),d.l.info(p(r.id,t)),c[r.id]={id:p(r.id,t),node:r}):(d.l.info("Node - the non recursive path",e,r.id,r),await(0,a.e)(u,t.node(e),l))}))),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.l.info("Fix",c,"ids:",e.v,e.w,"Translateing: ",c[e.v],c[e.w]),(0,a.f)(f,n)})),t.edges().forEach((function(e){d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),d.l.info("#############################################"),d.l.info("### Layout ###"),d.l.info("#############################################"),d.l.info(t),(0,r.bK)(t),d.l.info("Graph after layout:",i.c(t));let w=0;return(e=>x(e,e.children()))(t).forEach((function(e){const n=t.node(e);d.l.info("Position "+e+": "+JSON.stringify(t.node(e))),d.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,a.p)(n):t.children(e).length>0?(((e,t)=>{d.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=m[n](e,t)})(h,n),c[n.id].node=n):(0,a.p)(n)})),t.edges().forEach((function(e){const r=t.edge(e);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);const i=(0,a.g)(g,e,r,c,n,t);(0,a.h)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);d.l.info(e,n.type,n.diff),"group"===n.type&&(w=n.diff)})),{elem:s,diff:w}},X=async(e,t,n,r,o)=>{(0,a.a)(e,n,r,o),(0,a.b)(),(0,a.d)(),b={},h={},g={},c={},d.l.warn("Graph at first:",i.c(t)),((e,t)=>{e?(d.l.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(d.l.warn("Cluster identified",t," Replacement id in edges: ",p(t,e)),h[t]=w(t,e),c[t]={id:p(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(d.l.debug("Cluster identified",t,h),r.forEach((e=>{e.v!==t&&e.w!==t&&f(e.v,t)^f(e.w,t)&&(d.l.warn("Edge: ",e," leaves cluster ",t),d.l.warn("Decendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):d.l.debug("Not a cluster ",t,h)})),e.edges().forEach((function(t){const n=e.edge(t);d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.l.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c[t.v]," --- ",c[t.w]),c[t.v]&&c[t.w]&&c[t.v]===c[t.w]){d.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name);const a=t.w+"---"+t.v;e.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),l=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",l.label="",o.fromCluster=t.v,l.toCluster=t.v,e.setEdge(r,a,o,t.name+"-cyclic-special"),e.setEdge(a,i,l,t.name+"-cyclic-special")}else(c[t.v]||c[t.w])&&(d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),d.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))})),d.l.warn("Adjusted Graph",i.c(e)),y(e,0),d.l.trace(c)):d.l.debug("Opting out, no graph ")})(t),d.l.warn("Graph after:",i.c(t)),await N(e,t,r)}}}; \ No newline at end of file diff --git a/themes/daux/js/725.mjs b/themes/daux/js/725.mjs deleted file mode 100644 index 21895d4f..00000000 --- a/themes/daux/js/725.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=725;export const ids=[725];export const modules={8725:(t,e,i)=>{i.d(e,{diagram:()=>I});var r=i(3110),n=i(6848),a=i(5625),s=i(4309),o=i(9451),c=i(1188);const l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));const h=/^(?:[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,d=function(t){if(!function(t){return"string"==typeof t&&h.test(t)}(t))throw TypeError("Invalid UUID");let e;const i=new Uint8Array(16);return i[0]=(e=parseInt(t.slice(0,8),16))>>>24,i[1]=e>>>16&255,i[2]=e>>>8&255,i[3]=255&e,i[4]=(e=parseInt(t.slice(9,13),16))>>>8,i[5]=255&e,i[6]=(e=parseInt(t.slice(14,18),16))>>>8,i[7]=255&e,i[8]=(e=parseInt(t.slice(19,23),16))>>>8,i[9]=255&e,i[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,i[11]=e/4294967296&255,i[12]=e>>>24&255,i[13]=e>>>16&255,i[14]=e>>>8&255,i[15]=255&e,i};function y(t,e,i,r){switch(t){case 0:return e&i^~e&r;case 1:case 3:return e^i^r;case 2:return e&i^e&r^i&r}}function u(t,e){return t<>>32-e}const p=function(t,e,i){function r(t,e,i,r){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let i=0;i>>0;l=c,c=o,o=u(s,30)>>>0,s=n,n=a}i[0]=i[0]+n>>>0,i[1]=i[1]+s>>>0,i[2]=i[2]+o>>>0,i[3]=i[3]+c>>>0,i[4]=i[4]+l>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}(a),a[6]=15&a[6]|80,a[8]=63&a[8]|128,i){r=r||0;for(let t=0;t<16;++t)i[r+t]=a[t];return i}return function(t,e=0){return(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase()}(a)}try{r.name="v5"}catch(t){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}();i(7856),i(7484),i(7967);var _=function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[1,2],i=[1,5],r=[6,9,11,23,25,27,29,30,31,51],n=[1,17],a=[1,18],s=[1,19],o=[1,20],c=[1,21],l=[1,22],h=[1,25],d=[1,30],y=[1,31],u=[1,32],p=[1,33],_=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],f=[1,45],g=[30,31,48,49],m=[4,6,9,11,23,25,27,29,30,31,51],O=[44,45,46,47],E=[22,37],b=[1,65],k=[1,64],R=[22,37,39,41],N={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,i,r,n,a,s){var o=a.length-1;switch(n){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[o-1].push(a[o]),this.$=a[o-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=a[o];break;case 12:r.addEntity(a[o-4]),r.addEntity(a[o-2]),r.addRelationship(a[o-4],a[o],a[o-2],a[o-3]);break;case 13:r.addEntity(a[o-3]),r.addAttributes(a[o-3],a[o-1]);break;case 14:r.addEntity(a[o-2]);break;case 15:r.addEntity(a[o]);break;case 16:case 17:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=a[o].replace(/"/g,"");break;case 22:case 30:this.$=[a[o]];break;case 23:a[o].push(a[o-1]),this.$=a[o];break;case 24:this.$={attributeType:a[o-1],attributeName:a[o]};break;case 25:this.$={attributeType:a[o-2],attributeName:a[o-1],attributeKeyTypeList:a[o]};break;case 26:this.$={attributeType:a[o-2],attributeName:a[o-1],attributeComment:a[o]};break;case 27:this.$={attributeType:a[o-3],attributeName:a[o-2],attributeKeyTypeList:a[o-1],attributeComment:a[o]};break;case 31:a[o-2].push(a[o]),this.$=a[o-2];break;case 34:this.$={cardA:a[o],relType:a[o-1],cardB:a[o-2]};break;case 35:this.$=r.Cardinality.ZERO_OR_ONE;break;case 36:this.$=r.Cardinality.ZERO_OR_MORE;break;case 37:this.$=r.Cardinality.ONE_OR_MORE;break;case 38:this.$=r.Cardinality.ONLY_ONE;break;case 39:this.$=r.Identification.NON_IDENTIFYING;break;case 40:this.$=r.Identification.IDENTIFYING;break;case 44:r.parseDirective("%%{","open_directive");break;case 45:r.parseDirective(a[o],"type_directive");break;case 46:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 47:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,51:i},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,51:i},{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:n,25:a,27:s,29:o,30:c,31:l,51:i},{1:[2,2]},{14:23,15:[1,24],54:h},t([15,54],[2,45]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:15,10:26,12:4,17:16,23:n,25:a,27:s,29:o,30:c,31:l,51:i},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,15],{18:27,42:29,20:[1,28],44:d,45:y,46:u,47:p}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(r,[2,19]),t(_,[2,20]),t(_,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(r,[2,5]),{17:40,30:c,31:l},{21:41,22:[1,42],32:43,33:44,37:f},{43:46,48:[1,47],49:[1,48]},t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(g,[2,38]),t(r,[2,16]),t(r,[2,17]),t(r,[2,18]),t(m,[2,9]),{14:49,54:h},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(r,[2,14]),{21:52,22:[2,22],32:43,33:44,37:f},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:d,45:y,46:u,47:p},t(O,[2,39]),t(O,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(r,[2,13]),{22:[2,23]},t(E,[2,24],{35:61,36:62,38:63,40:b,41:k}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(m,[2,10]),t(r,[2,12]),t(r,[2,41]),t(r,[2,42]),t(r,[2,43]),t(E,[2,25],{36:66,39:[1,67],41:k}),t(E,[2,26]),t(R,[2,30]),t(E,[2,33]),t(R,[2,32]),t(E,[2,27]),{38:68,40:b},t(R,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],r=[null],n=[],a=this.table,s="",o=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(d.yy[y]=this.yy[y]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;n.push(u);var p=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,f,g,m,O,E,b,k,R,N={};;){if(f=e[e.length-1],this.defaultActions[f]?g=this.defaultActions[f]:(null==_&&(R=void 0,"number"!=typeof(R=i.pop()||h.lex()||1)&&(R instanceof Array&&(R=(i=R).pop()),R=this.symbols_[R]||R),_=R),g=a[f]&&a[f][_]),void 0===g||!g.length||!g[0]){var x;for(O in k=[],a[f])this.terminals_[O]&&O>2&&k.push("'"+this.terminals_[O]+"'");x=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:u,expected:k})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+_);switch(g[0]){case 1:e.push(_),r.push(h.yytext),n.push(h.yylloc),e.push(g[1]),_=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(E=this.productions_[g[1]][1],N.$=r[r.length-E],N._$={first_line:n[n.length-(E||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(E||1)].first_column,last_column:n[n.length-1].last_column},p&&(N._$.range=[n[n.length-(E||1)].range[0],n[n.length-1].range[1]]),void 0!==(m=this.performAction.apply(N,[s,c,o,d.yy,g[1],r,n].concat(l))))return m;E&&(e=e.slice(0,-1*E*2),r=r.slice(0,-1*E),n=n.slice(0,-1*E)),e.push(this.productions_[g[1]][0]),r.push(N.$),n.push(N._$),b=a[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},x={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,i=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 r=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[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 i,r,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;ae[0].length)){if(e=i,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&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(){return this.next()||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,i,r){switch(i){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:return 11;case 13:case 20:case 25:break;case 14:return 9;case 15:return 31;case 16:return 50;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 21:return 40;case 22:case 23:return 37;case 24:return 41;case 26:return this.popState(),22;case 27:case 56:return e.yytext[0];case 28:case 32:case 33:case 46:return 44;case 29:case 30:case 31:case 39:case 41:case 48:return 46;case 34:case 35:case 36:case 37:case 38:case 40:case 47:return 45;case 42:case 43:case 44:case 45:return 47;case 49:case 52:case 53:case 54:return 48;case 50:case 51:return 49;case 55:return 30;case 57: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,/^(?:\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:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,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],inclusive:!0}}};function T(){this.yy={}}return N.lexer=x,T.prototype=N,N.Parser=T,new T}();_.parser=_;const f=_;let g={},m=[];const O=function(t){return void 0===g[t]&&(g[t]={attributes:[]},r.l.info("Added new entity :",t)),g[t]},E={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,i){n.m.parseDirective(this,t,e,i)},getConfig:()=>(0,r.g)().er,addEntity:O,addAttributes:function(t,e){let i,n=O(t);for(i=e.length-1;i>=0;i--)n.attributes.push(e[i]),r.l.debug("Added attribute ",e[i].attributeName)},getEntities:()=>g,addRelationship:function(t,e,i,n){let a={entityA:t,roleA:e,entityB:i,relSpec:n};m.push(a),r.l.debug("Added new relationship :",a)},getRelationships:()=>m,clear:function(){g={},m=[],(0,r.y)()},setAccTitle:r.o,getAccTitle:r.p,setAccDescription:r.v,getAccDescription:r.q,setDiagramTitle:r.w,getDiagramTitle:r.x},b={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"},k=b,R=/[^\dA-Za-z](\W)*/g;let N={},x=new Map;const T=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let v=0;const A="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function M(t=""){return t.length>0?`${t}-`:""}const w={setConf:function(t){const e=Object.keys(t);for(const i of e)N[i]=t[i]},draw:function(t,e,i,n){N=(0,r.g)().er,r.l.info("Drawing ER diagram");const l=(0,r.g)().securityLevel;let h;"sandbox"===l&&(h=(0,s.Ys)("#i"+e));const d=("sandbox"===l?(0,s.Ys)(h.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id='${e}']`);let y;(function(t,e){let i;t.append("defs").append("marker").attr("id",b.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",b.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"),i=t.append("defs").append("marker").attr("id",b.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),i.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),i.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),i=t.append("defs").append("marker").attr("id",b.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),i.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",b.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",b.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"),i=t.append("defs").append("marker").attr("id",b.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),i.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),i.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),i=t.append("defs").append("marker").attr("id",b.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),i.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(d,N),y=new a.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:N.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const u=function(t,e,i){let n;return Object.keys(e).forEach((function(a){const s=function(t="",e=""){const i=t.replace(R,"");return`${M(e)}${M(i)}${p(t,A)}`}(a,"entity");x.set(a,s);const o=t.append("g").attr("id",s);n=void 0===n?s:n;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,r.g)().fontFamily).style("font-size",N.fontSize+"px").text(a),{width:h,height:d}=((t,e,i)=>{const n=N.entityPadding/3,a=N.entityPadding/3,s=.85*N.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*n,f=1;i.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),i.forEach((i=>{const a=`${e.node().id}-attr-${f}`;let o=0;const g=(0,r.z)(i.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,r.g)().fontFamily).style("font-size",s+"px").text(g),O=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,r.g)().fontFamily).style("font-size",s+"px").text(i.attributeName),E={};E.tn=m,E.nn=O;const b=m.node().getBBox(),k=O.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),l){const e=void 0!==i.attributeKeyTypeList?i.attributeKeyTypeList.join(","):"",n=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,r.g)().fontFamily).style("font-size",s+"px").text(e);E.kn=n;const c=n.node().getBBox();u=Math.max(u,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,r.g)().fontFamily).style("font-size",s+"px").text(i.attributeComment||"");E.cn=e;const n=e.node().getBBox();p=Math.max(p,n.width),o=Math.max(o,n.height)}E.height=o,c.push(E),_+=o+2*n,f+=1}));let g=4;l&&(g+=2),h&&(g+=2);const m=d+y+u+p,O={width:Math.max(N.minEntityWidth,Math.max(o.width+2*N.entityPadding,m+a*g)),height:i.length>0?_:Math.max(N.minEntityHeight,o.height+2*N.entityPadding)};if(i.length>0){const i=Math.max(0,(O.width-m-a*g)/(g/2));e.attr("transform","translate("+O.width/2+","+(n+o.height/2)+")");let r=o.height+2*n,s="attributeBoxOdd";c.forEach((e=>{const o=r+n+e.height/2;e.tn.attr("transform","translate("+a+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",r).attr("width",d+2*a+i).attr("height",e.height+2*n),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+a)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",r).attr("width",y+2*a+i).attr("height",e.height+2*n);let g=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(g+a)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",g).attr("y",r).attr("width",u+2*a+i).attr("height",e.height+2*n);g=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(g+a)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",g).attr("y",r).attr("width",p+2*a+i).attr("height",e.height+2*n)),r+=e.height+2*n,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else O.height=Math.max(N.minEntityHeight,_),e.attr("transform","translate("+O.width/2+","+O.height/2+")");return O})(o,l,e[a].attributes),y=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();i.setNode(s,{width:y.width,height:y.height,shape:"rect",id:s})})),n}(d,n.db.getEntities(),y),_=function(t,e){return t.forEach((function(t){e.setEdge(x.get(t.entityA),x.get(t.entityB),{relationship:t},T(t))})),t}(n.db.getRelationships(),y);var f,g;(0,o.bK)(y),f=d,(g=y).nodes().forEach((function(t){void 0!==t&&void 0!==g.node(t)&&f.select("#"+t).attr("transform","translate("+(g.node(t).x-g.node(t).width/2)+","+(g.node(t).y-g.node(t).height/2)+" )")})),_.forEach((function(t){!function(t,e,i,n,a){v++;const o=i.edge(x.get(e.entityA),x.get(e.entityB),T(e)),c=(0,s.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(s.$0Z),l=t.insert("path","#"+n).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",N.stroke).style("fill","none");e.relSpec.relType===a.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(N.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case a.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+k.ZERO_OR_ONE_END+")");break;case a.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+k.ZERO_OR_MORE_END+")");break;case a.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+k.ONE_OR_MORE_END+")");break;case a.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+k.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case a.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+k.ZERO_OR_ONE_START+")");break;case a.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+k.ZERO_OR_MORE_START+")");break;case a.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+k.ONE_OR_MORE_START+")");break;case a.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+k.ONLY_ONE_START+")")}const d=l.node().getTotalLength(),y=l.node().getPointAtLength(.5*d),u="rel"+v,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,r.g)().fontFamily).style("font-size",N.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)}(d,t,y,u,n)}));const m=N.diagramPadding;c.u.insertTitle(d,"entityTitleText",N.titleTopMargin,n.db.getDiagramTitle());const O=d.node().getBBox(),E=O.width+2*m,w=O.height+2*m;(0,c.k)(d,w,E,N.useMaxWidth),d.attr("viewBox",`${O.x-m} ${O.y-m} ${E} ${w}`)}},I={parser:f,db:E,renderer:w,styles: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`}}}; \ No newline at end of file diff --git a/themes/daux/js/730.mjs b/themes/daux/js/730.mjs deleted file mode 100644 index 26e9ad9d..00000000 --- a/themes/daux/js/730.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=730;export const ids=[730];export const modules={6730:(t,e,i)=>{i.d(e,{diagram:()=>g});var n=i(3110),s=i(6848),r=i(4309),c=i(1188),a=(i(7856),i(7484),i(7967),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,4],i=[1,5],n=[1,6],s=[1,7],r=[1,9],c=[1,11,13,15,17,19,20,26,27,28,29],a=[2,5],o=[1,6,11,13,15,17,19,20,26,27,28,29],l=[26,27,28],h=[2,8],u=[1,18],p=[1,19],y=[1,20],d=[1,21],g=[1,22],_=[1,23],f=[1,28],m=[6,26,27,28,29],v={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,i,n,s,r,c){var a=r.length-1;switch(s){case 4:n.setShowData(!0);break;case 7:this.$=r[a-1];break;case 9:n.addSection(r[a-1],n.cleanupValue(r[a]));break;case 10:this.$=r[a].trim(),n.setDiagramTitle(this.$);break;case 11:this.$=r[a].trim(),n.setAccTitle(this.$);break;case 12:case 13:this.$=r[a].trim(),n.setAccDescription(this.$);break;case 14:n.addSection(r[a].substr(8)),this.$=r[a].substr(8);break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[a],"type_directive");break;case 23:r[a]=r[a].trim().replace(/'/g,'"'),n.parseDirective(r[a],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{3:11,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},t(c,a,{7:12,8:[1,13]}),t(o,[2,18]),t(o,[2,19]),t(o,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(l,h,{21:8,9:16,10:17,5:24,1:[2,3],11:u,13:p,15:y,17:d,19:g,20:_,29:r}),t(c,a,{7:25}),{23:26,24:[1,27],32:f},t([24,32],[2,22]),t(c,[2,6]),{4:29,26:i,27:n,28:s},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(l,[2,13]),t(l,[2,14]),t(l,[2,15]),t(l,h,{21:8,9:16,10:17,5:24,1:[2,4],11:u,13:p,15:y,17:d,19:g,20:_,29:r}),t(m,[2,16]),{25:34,31:[1,35]},t(m,[2,24]),t(c,[2,7]),t(l,[2,9]),t(l,[2,10]),t(l,[2,11]),t(l,[2,12]),{23:36,32:f},{32:[2,23]},t(m,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],s=[],r=this.table,c="",a=0,o=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;s.push(y);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,f,m,v,b,x,k,S,w={};;){if(_=e[e.length-1],this.defaultActions[_]?f=this.defaultActions[_]:(null==g&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),g=S),f=r[_]&&r[_][g]),void 0===f||!f.length||!f[0]){var E;for(v in k=[],r[_])this.terminals_[v]&&v>2&&k.push("'"+this.terminals_[v]+"'");E=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:y,expected:k})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(f[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(f[1]),g=null,o=h.yyleng,c=h.yytext,a=h.yylineno,y=h.yylloc;break;case 2:if(b=this.productions_[f[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[c,o,a,u.yy,f[1],n,s].concat(l))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),n.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},b={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,i=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 n=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),i.length-1&&(this.yylineno-=i.length-1);var s=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[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 i,n,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&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(){return this.next()||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,i,n){switch(i){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 v.lexer=b,x.prototype=v,v.Parser=x,new x}());a.parser=a;const o=a;let l={},h=!1;const u={parseDirective:function(t,e,i){s.m.parseDirective(this,t,e,i)},getConfig:()=>(0,n.g)().pie,addSection:function(t,e){t=n.e.sanitizeText(t,(0,n.g)()),void 0===l[t]&&(l[t]=e,n.l.debug("Added new section :",t))},getSections:()=>l,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){l={},h=!1,(0,n.y)()},setAccTitle:n.o,getAccTitle:n.p,setDiagramTitle:n.w,getDiagramTitle:n.x,setShowData:function(t){h=t},getShowData:function(){return h},getAccDescription:n.q,setAccDescription:n.v};let p,y=(0,n.g)();const d={draw:(t,e,i,s)=>{var a;try{y=(0,n.g)(),n.l.debug("Rendering info diagram\n"+t);const i=(0,n.g)().securityLevel;let x;"sandbox"===i&&(x=(0,r.Ys)("#i"+e));const k="sandbox"===i?(0,r.Ys)(x.nodes()[0].contentDocument.body):(0,r.Ys)("body"),S="sandbox"===i?x.nodes()[0].contentDocument:document;s.db.clear(),s.parser.parse(t),n.l.debug("Parsed info diagram");const w=S.getElementById(e);p=w.parentElement.offsetWidth,void 0===p&&(p=1200),void 0!==y.useWidth&&(p=y.useWidth),void 0!==y.pie.useWidth&&(p=y.pie.useWidth);const E=k.select("#"+e);(0,c.k)(E,450,p,y.pie.useMaxWidth),w.setAttribute("viewBox","0 0 "+p+" 450");var o=Math.min(p,450)/2-40,l=E.append("g").attr("transform","translate("+p/2+",225)"),h=s.db.getSections(),u=0;Object.keys(h).forEach((function(t){u+=h[t]}));const D=y.themeVariables;var d=[D.pie1,D.pie2,D.pie3,D.pie4,D.pie5,D.pie6,D.pie7,D.pie8,D.pie9,D.pie10,D.pie11,D.pie12];const $=(null==(a=y.pie)?void 0:a.textPosition)??.75;let[A]=(0,c.x)(D.pieOuterStrokeWidth);A??(A=2);var g=(0,r.PKp)().range(d),_=Object.entries(h).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),f=(0,r.ve8)().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(_),m=(0,r.Nb1)().innerRadius(0).outerRadius(o),v=(0,r.Nb1)().innerRadius(o*$).outerRadius(o*$);l.append("circle").attr("cx",0).attr("cy",0).attr("r",o+A/2).attr("class","pieOuterCircle"),l.selectAll("mySlices").data(f).enter().append("path").attr("d",m).attr("fill",(function(t){return g(t.data.name)})).attr("class","pieCircle"),l.selectAll("mySlices").data(f).enter().append("text").text((function(t){return(t.data.value/u*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+v.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),l.append("text").text(s.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var b=l.selectAll(".legend").data(g.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*g.domain().length/2)+")"}));b.append("rect").attr("width",18).attr("height",18).style("fill",g).style("stroke",g),b.data(f).append("text").attr("x",22).attr("y",14).text((function(t){return s.db.getShowData()||y.showData||y.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){n.l.error("Error while rendering info diagram"),n.l.error(t)}}},g={parser:o,db:u,renderer:d,styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\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`}}}; \ No newline at end of file diff --git a/themes/daux/js/733.mjs b/themes/daux/js/733.mjs deleted file mode 100644 index 67ddd4fc..00000000 --- a/themes/daux/js/733.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=733;export const ids=[733];export const modules={6733:(t,e,i)=>{i.d(e,{diagram:()=>W});var n=i(6848),a=i(3110),s=i(4309),r=i(7967),l=i(1188),o=(i(7856),i(7484),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,6],i=[1,7],n=[1,8],a=[1,9],s=[1,16],r=[1,11],l=[1,12],o=[1,13],h=[1,14],d=[1,15],u=[1,27],p=[1,33],y=[1,34],f=[1,35],b=[1,36],g=[1,37],_=[1,72],x=[1,73],m=[1,74],E=[1,75],A=[1,76],S=[1,77],v=[1,78],C=[1,38],O=[1,39],k=[1,40],T=[1,41],w=[1,42],D=[1,43],R=[1,44],N=[1,45],P=[1,46],j=[1,47],M=[1,48],B=[1,49],Y=[1,50],L=[1,51],I=[1,52],U=[1,53],F=[1,54],X=[1,55],z=[1,56],Q=[1,57],W=[1,59],$=[1,60],q=[1,61],V=[1,62],G=[1,63],H=[1,64],K=[1,65],J=[1,66],Z=[1,67],tt=[1,68],et=[1,69],it=[24,52],nt=[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=[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],st=[1,94],rt=[1,95],lt=[1,96],ot=[1,97],ct=[15,24,52],ht=[7,8,9,10,18,22,25,26,27,28],dt=[15,24,43,52],ut=[15,24,43,52,86,87,89,90],pt=[15,43],yt=[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],ft={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,i,n,a,s,r){var l=s.length-1;switch(a){case 4:n.setDirection("TB");break;case 5:n.setDirection("BT");break;case 6:n.setDirection("RL");break;case 7:n.setDirection("LR");break;case 11:n.parseDirective("%%{","open_directive");break;case 12:break;case 13:s[l]=s[l].trim().replace(/'/g,'"'),n.parseDirective(s[l],"arg_directive");break;case 14:n.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:n.setC4Type(s[l-3]);break;case 26:n.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 27:n.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 28:this.$=s[l].trim(),n.setTitle(this.$);break;case 29:case 30:this.$=s[l].trim(),n.setAccDescription(this.$);break;case 35:case 36:s[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 37:n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 38:s[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...s[l]),this.$=s[l];break;case 39:n.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 40:n.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 41:n.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 42:n.popBoundaryParseStack();break;case 46:n.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 47:n.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 48:n.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 49:n.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 50:n.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 51:n.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 52:n.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 53:n.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 54:n.addContainer("container",...s[l]),this.$=s[l];break;case 55:n.addContainer("container_db",...s[l]),this.$=s[l];break;case 56:n.addContainer("container_queue",...s[l]),this.$=s[l];break;case 57:n.addContainer("external_container",...s[l]),this.$=s[l];break;case 58:n.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 59:n.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 60:n.addComponent("component",...s[l]),this.$=s[l];break;case 61:n.addComponent("component_db",...s[l]),this.$=s[l];break;case 62:n.addComponent("component_queue",...s[l]),this.$=s[l];break;case 63:n.addComponent("external_component",...s[l]),this.$=s[l];break;case 64:n.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 65:n.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 67:n.addRel("rel",...s[l]),this.$=s[l];break;case 68:n.addRel("birel",...s[l]),this.$=s[l];break;case 69:n.addRel("rel_u",...s[l]),this.$=s[l];break;case 70:n.addRel("rel_d",...s[l]),this.$=s[l];break;case 71:n.addRel("rel_l",...s[l]),this.$=s[l];break;case 72:n.addRel("rel_r",...s[l]),this.$=s[l];break;case 73:n.addRel("rel_b",...s[l]),this.$=s[l];break;case 74:s[l].splice(0,1),n.addRel("rel",...s[l]),this.$=s[l];break;case 75:n.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 76:n.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 77:n.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 78:this.$=[s[l]];break;case 79:s[l].unshift(s[l-1]),this.$=s[l];break;case 80:case 82:this.$=s[l].trim();break;case 81:let t={};t[s[l-1].trim()]=s[l].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:i,9:n,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:i,9:n,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{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:u},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:y,34:f,36:b,38:g,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:79,29:29,30:30,31:31,32:p,33:y,34:f,36:b,38:g,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:80,29:29,30:30,31:31,32:p,33:y,34:f,36:b,38:g,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:81,29:29,30:30,31:31,32:p,33:y,34:f,36:b,38:g,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:82,29:29,30:30,31:31,32:p,33:y,34:f,36:b,38:g,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(it,[2,20],{53:32,39:58,40:70,42:71,30:87,44:_,46:x,47:m,48:E,49:A,50:S,51:v,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(it,[2,21]),t(nt,[2,23],{15:[1,88]}),t(it,[2,43],{15:[1,89]}),t(at,[2,26]),t(at,[2,27]),{35:[1,90]},{37:[1,91]},t(at,[2,30]),{45:92,85:93,86:st,87:rt,89:lt,90:ot},{45:98,85:93,86:st,87:rt,89:lt,90:ot},{45:99,85:93,86:st,87:rt,89:lt,90:ot},{45:100,85:93,86:st,87:rt,89:lt,90:ot},{45:101,85:93,86:st,87:rt,89:lt,90:ot},{45:102,85:93,86:st,87:rt,89:lt,90:ot},{45:103,85:93,86:st,87:rt,89:lt,90:ot},{45:104,85:93,86:st,87:rt,89:lt,90:ot},{45:105,85:93,86:st,87:rt,89:lt,90:ot},{45:106,85:93,86:st,87:rt,89:lt,90:ot},{45:107,85:93,86:st,87:rt,89:lt,90:ot},{45:108,85:93,86:st,87:rt,89:lt,90:ot},{45:109,85:93,86:st,87:rt,89:lt,90:ot},{45:110,85:93,86:st,87:rt,89:lt,90:ot},{45:111,85:93,86:st,87:rt,89:lt,90:ot},{45:112,85:93,86:st,87:rt,89:lt,90:ot},{45:113,85:93,86:st,87:rt,89:lt,90:ot},{45:114,85:93,86:st,87:rt,89:lt,90:ot},{45:115,85:93,86:st,87:rt,89:lt,90:ot},{45:116,85:93,86:st,87:rt,89:lt,90:ot},t(ct,[2,66]),{45:117,85:93,86:st,87:rt,89:lt,90:ot},{45:118,85:93,86:st,87:rt,89:lt,90:ot},{45:119,85:93,86:st,87:rt,89:lt,90:ot},{45:120,85:93,86:st,87:rt,89:lt,90:ot},{45:121,85:93,86:st,87:rt,89:lt,90:ot},{45:122,85:93,86:st,87:rt,89:lt,90:ot},{45:123,85:93,86:st,87:rt,89:lt,90:ot},{45:124,85:93,86:st,87:rt,89:lt,90:ot},{45:125,85:93,86:st,87:rt,89:lt,90:ot},{45:126,85:93,86:st,87:rt,89:lt,90:ot},{45:127,85:93,86:st,87:rt,89:lt,90:ot},{30:128,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:st,87:rt,89:lt,90:ot},{45:132,85:93,86:st,87:rt,89:lt,90:ot},{45:133,85:93,86:st,87:rt,89:lt,90:ot},{45:134,85:93,86:st,87:rt,89:lt,90:ot},{45:135,85:93,86:st,87:rt,89:lt,90:ot},{45:136,85:93,86:st,87:rt,89:lt,90:ot},{45:137,85:93,86:st,87:rt,89:lt,90:ot},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(ht,[2,9]),{14:142,21:u},{21:[2,13]},{1:[2,15]},t(it,[2,22]),t(nt,[2,24],{31:31,29:143,32:p,33:y,34:f,36:b,38:g}),t(it,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:y,34:f,36:b,38:g,44:_,46:x,47:m,48:E,49:A,50:S,51:v,54:C,55:O,56:k,57:T,58:w,59:D,60:R,61:N,62:P,63:j,64:M,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(at,[2,28]),t(at,[2,29]),t(ct,[2,46]),t(dt,[2,78],{85:93,45:145,86:st,87:rt,89:lt,90:ot}),t(ut,[2,80]),{88:[1,146]},t(ut,[2,82]),t(ut,[2,83]),t(ct,[2,47]),t(ct,[2,48]),t(ct,[2,49]),t(ct,[2,50]),t(ct,[2,51]),t(ct,[2,52]),t(ct,[2,53]),t(ct,[2,54]),t(ct,[2,55]),t(ct,[2,56]),t(ct,[2,57]),t(ct,[2,58]),t(ct,[2,59]),t(ct,[2,60]),t(ct,[2,61]),t(ct,[2,62]),t(ct,[2,63]),t(ct,[2,64]),t(ct,[2,65]),t(ct,[2,67]),t(ct,[2,68]),t(ct,[2,69]),t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(pt,[2,35]),t(pt,[2,36]),t(pt,[2,37]),t(pt,[2,38]),t(pt,[2,39]),t(pt,[2,40]),t(pt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(nt,[2,25]),t(it,[2,45]),t(dt,[2,79]),t(ut,[2,81]),t(ct,[2,31]),t(ct,[2,42]),t(yt,[2,32]),t(yt,[2,33],{15:[1,152]}),t(ht,[2,10]),t(yt,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],a=[],s=this.table,r="",l=0,o=0,c=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;a.push(p);var y=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,b,g,_,x,m,E,A,S,v={};;){if(b=e[e.length-1],this.defaultActions[b]?g=this.defaultActions[b]:(null==f&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),f=S),g=s[b]&&s[b][f]),void 0===g||!g.length||!g[0]){var C;for(x in A=[],s[b])this.terminals_[x]&&x>2&&A.push("'"+this.terminals_[x]+"'");C=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:A})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+f);switch(g[0]){case 1:e.push(f),n.push(h.yytext),a.push(h.yylloc),e.push(g[1]),f=null,o=h.yyleng,r=h.yytext,l=h.yylineno,p=h.yylloc;break;case 2:if(m=this.productions_[g[1]][1],v.$=n[n.length-m],v._$={first_line:a[a.length-(m||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(m||1)].first_column,last_column:a[a.length-1].last_column},y&&(v._$.range=[a[a.length-(m||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(v,[r,o,l,d.yy,g[1],n,a].concat(c))))return _;m&&(e=e.slice(0,-1*m*2),n=n.slice(0,-1*m),a=a.slice(0,-1*m)),e.push(this.productions_[g[1]][0]),n.push(v.$),a.push(v._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);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,i=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 n=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),i.length-1&&(this.yylineno-=i.length-1);var a=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[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 i,n,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in a)this[s]=a[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,a[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[n]))&&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(){return this.next()||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,i,n){switch(i){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 gt(){this.yy={}}return ft.lexer=bt,gt.prototype=ft,ft.Parser=gt,new gt}());o.parser=o;const h=o;let d=[],u=[""],p="global",y="",f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b=[],g="",_=!1,x=4,m=2;var E;const A=function(t){return null==t?d:d.filter((e=>e.parentBoundary===t))},S=function(){return _},v={addPersonOrSystem:function(t,e,i,n,a,s,r){if(null===e||null===i)return;let l={};const o=d.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,d.push(l)),l.label=null==i?{text:""}:{text:i},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.sprite=a;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=p,l.wrap=S()},addPersonOrSystemBoundary:function(t,e,i,n,a){if(null===t||null===e)return;let s={};const r=f.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,f.push(s)),s.label=null==e?{text:""}:{text:e},null==i)s.type={text:"system"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.type={text:i};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=p,s.wrap=S(),y=p,p=t,u.push(y)},addContainer:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=d.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,d.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=p},addContainerBoundary:function(t,e,i,n,a){if(null===t||null===e)return;let s={};const r=f.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,f.push(s)),s.label=null==e?{text:""}:{text:e},null==i)s.type={text:"container"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.type={text:i};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=p,s.wrap=S(),y=p,p=t,u.push(y)},addComponent:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=d.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,d.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=p},addDeploymentNode:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=f.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,f.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=p,o.wrap=S(),y=p,p=e,u.push(y)},popBoundaryParseStack:function(){p=y,u.pop(),y=u.pop(),u.push(y)},addRel:function(t,e,i,n,a,s,r,l,o){if(null==t||null==e||null==i||null==n)return;let c={};const h=b.find((t=>t.from===e&&t.to===i));if(h?c=h:b.push(c),c.type=t,c.from=e,c.to=i,c.label={text:n},null==a)c.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]={text:e}}else c.techn={text:a};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=S()},updateElStyle:function(t,e,i,n,a,s,r,l,o,c,h){let u=d.find((t=>t.alias===e));if(void 0!==u||(u=f.find((t=>t.alias===e)),void 0!==u)){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.bgColor=i;if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.fontColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.borderColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.legendText=c;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];u[t]=e}else u.legendSprite=h}},updateRelStyle:function(t,e,i,n,a,s,r){const l=b.find((t=>t.from===e&&t.to===i));if(void 0!==l){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.lineColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},updateLayoutConfig:function(t,e,i){let n=x,a=m;if("object"==typeof e){const t=Object.values(e)[0];n=parseInt(t)}else n=parseInt(e);if("object"==typeof i){const t=Object.values(i)[0];a=parseInt(t)}else a=parseInt(i);n>=1&&(x=n),a>=1&&(m=a)},autoWrap:S,setWrap:function(t){_=t},getC4ShapeArray:A,getC4Shape:function(t){return d.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(A(t))},getBoundarys:function(t){return null==t?f:f.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return p},getParentBoundaryParse:function(){return y},getRels:function(){return b},getTitle:function(){return g},getC4Type:function(){return E},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return m},setAccTitle:a.o,getAccTitle:a.p,getAccDescription:a.q,setAccDescription:a.v,parseDirective:function(t,e,i){n.m.parseDirective(this,t,e,i)},getConfig:()=>(0,a.g)().c4,clear:function(){d=[],f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],y="",p="global",u=[""],b=[],u=[""],g="",_=!1,x=4,m=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=(0,a.b)(t,(0,a.g)());g=e},setC4Type:function(t){let e=(0,a.b)(t,(0,a.g)());E=e}},C=function(t,e){const i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return"undefined"!==e.class&&i.attr("class",e.class),i},O=function(){function t(t,e,i,a,s,r,l){n(e.append("text").attr("x",i+s/2).attr("y",a+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,i,s,r,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:u}=c,p=t.split(a.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,i,n,a,s){const l=t.append("image");l.attr("width",e),l.attr("height",i),l.attr("x",n),l.attr("y",a);let o=s.startsWith("data:image/png;base64")?s:(0,r.N)(s);l.attr("xlink:href",o)}(c,48,48,e.x+e.width/2-24,e.y+e.image.Y,o)}let y=i[e.typeC4Shape.text+"Font"]();return y.fontWeight="bold",y.fontSize=y.fontSize+2,y.fontColor=l,O(i)(e.label.text,c,e.x,e.y+e.label.Y,e.width,e.height,{fill:l},y),y=i[e.typeC4Shape.text+"Font"](),y.fontColor=l,e.techn&&""!==(null==(n=e.techn)?void 0:n.text)?O(i)(e.techn.text,c,e.x,e.y+e.techn.Y,e.width,e.height,{fill:l,"font-style":"italic"},y):e.type&&""!==e.type.text&&O(i)(e.type.text,c,e.x,e.y+e.type.Y,e.width,e.height,{fill:l,"font-style":"italic"},y),e.descr&&""!==e.descr.text&&(y=i.personFont(),y.fontColor=l,O(i)(e.descr.text,c,e.x,e.y+e.descr.Y,e.width,e.height,{fill:l},y)),e.height};r.N;let T=0,w=0,D=4,R=2;o.yy=v;let N={};class P{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,j(t.db.getConfig())}setData(t,e,i,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=i,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,i,n){void 0===t[e]?t[e]=i:t[e]=n(i,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,i=e+t.width,n=this.nextData.starty+2*t.margin,a=n+t.height;(e>=this.data.widthLimit||i>=this.data.widthLimit||this.nextData.cnt>D)&&(e=this.nextData.startx+t.margin+N.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=i=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=a=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",i,Math.max),this.updateVal(this.data,"stopy",a,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",i,Math.max),this.updateVal(this.nextData,"stopy",a,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},j(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const j=function(t){(0,a.d)(N,t),t.fontFamily&&(N.personFontFamily=N.systemFontFamily=N.messageFontFamily=t.fontFamily),t.fontSize&&(N.personFontSize=N.systemFontSize=N.messageFontSize=t.fontSize),t.fontWeight&&(N.personFontWeight=N.systemFontWeight=N.messageFontWeight=t.fontWeight)},M=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),B=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function Y(t,e,i,n,s){if(!e[t].width)if(i)e[t].text=(0,l.w)(e[t].text,s,n),e[t].textLines=e[t].text.split(a.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,l.m)(e[t].text,n);else{let i=e[t].text.split(a.e.lineBreakRegex);e[t].textLines=i.length;let s=0;e[t].height=0,e[t].width=0;for(const a of i)e[t].width=Math.max((0,l.j)(a,n),e[t].width),s=(0,l.m)(a,n),e[t].height=e[t].height+s}}const L=function(t,e,i){e.x=i.data.startx,e.y=i.data.starty,e.width=i.data.stopx-i.data.startx,e.height=i.data.stopy-i.data.starty,e.label.y=N.c4ShapeMargin-35;let n=e.wrap&&N.wrap,a=B(N);a.fontSize=a.fontSize+2,a.fontWeight="bold",Y("label",e,n,a,(0,l.j)(e.label.text,a)),function(t,e,i){const n=t.append("g");let a=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:a,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};C(n,o);let c=i.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,O(i)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=i.boundaryFont(),c.fontColor=r,O(i)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=i.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,O(i)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}(t,e,N)},I=function(t,e,i,n){let a=0;for(const s of n){a=0;const n=i[s];let r=M(N,n.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,n.typeC4Shape.width=(0,l.j)("<<"+n.typeC4Shape.text+">>",r),n.typeC4Shape.height=r.fontSize+2,n.typeC4Shape.Y=N.c4ShapePadding,a=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=a,a=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=a,a=n.image.Y+n.image.height);let o=n.wrap&&N.wrap,c=N.width-2*N.c4ShapePadding,h=M(N,n.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",Y("label",n,o,h,c),n.label.Y=a+8,a=n.label.Y+n.label.height,n.type&&""!==n.type.text?(n.type.text="["+n.type.text+"]",Y("type",n,o,M(N,n.typeC4Shape.text),c),n.type.Y=a+5,a=n.type.Y+n.type.height):n.techn&&""!==n.techn.text&&(n.techn.text="["+n.techn.text+"]",Y("techn",n,o,M(N,n.techn.text),c),n.techn.Y=a+5,a=n.techn.Y+n.techn.height);let d=a,u=n.label.width;n.descr&&""!==n.descr.text&&(Y("descr",n,o,M(N,n.typeC4Shape.text),c),n.descr.Y=a+20,a=n.descr.Y+n.descr.height,u=Math.max(n.label.width,n.descr.width),d=a-5*n.descr.textLines),u+=N.c4ShapePadding,n.width=Math.max(n.width||N.width,u,N.width),n.height=Math.max(n.height||N.height,d,N.height),n.margin=n.margin||N.c4ShapeMargin,t.insert(n),k(e,n,N)}t.bumpLastMargin(N.c4ShapeMargin)};class U{constructor(t,e){this.x=t,this.y=e}}let F=function(t,e){let i=t.x,n=t.y,a=e.x,s=e.y,r=i+t.width/2,l=n+t.height/2,o=Math.abs(i-a),c=Math.abs(n-s),h=c/o,d=t.height/t.width,u=null;return n==s&&ia?u=new U(i,l):i==a&&ns&&(u=new U(r,n)),i>a&&n=h?new U(i,l+h*t.width/2):new U(r-o/c*t.height/2,n+t.height):i=h?new U(i+t.width,l+h*t.width/2):new U(r+o/c*t.height/2,n+t.height):is?u=d>=h?new U(i+t.width,l-h*t.width/2):new U(r+t.height/2*o/c,n):i>a&&n>s&&(u=d>=h?new U(i,l-t.width/2*h):new U(r-t.height/2*o/c,n)),u},X=function(t,e){let i={x:0,y:0};i.x=e.x+e.width/2,i.y=e.y+e.height/2;let n=F(t,i);return i.x=t.x+t.width/2,i.y=t.y+t.height/2,{startPoint:n,endPoint:F(e,i)}};function z(t,e,i,n,a){let s=new P(a);s.data.widthLimit=i.data.widthLimit/Math.min(R,n.length);for(let[r,l]of n.entries()){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&N.wrap,c=B(N);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",Y("label",l,o,c,s.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",Y("type",l,o,B(N),s.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=B(N);t.fontSize=t.fontSize-2,Y("descr",l,o,t,s.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==r||r%R==0){let t=i.data.startx+N.diagramMarginX,e=i.data.stopy+N.diagramMarginY+n;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+N.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let h=a.db.getC4ShapeArray(l.alias),d=a.db.getC4ShapeKeys(l.alias);d.length>0&&I(s,t,h,d),e=l.alias;let u=a.db.getBoundarys(e);u.length>0&&z(t,e,s,u,a),"global"!==l.alias&&L(t,l,s),i.data.stopy=Math.max(s.data.stopy+N.c4ShapeMargin,i.data.stopy),i.data.stopx=Math.max(s.data.stopx+N.c4ShapeMargin,i.data.stopx),T=Math.max(T,i.data.stopx),w=Math.max(w,i.data.stopy)}}const Q={drawPersonOrSystemArray:I,drawBoundary:L,setConf:j,draw:function(t,e,i,n){N=(0,a.g)().c4;const r=(0,a.g)().securityLevel;let o;"sandbox"===r&&(o=(0,s.Ys)("#i"+e));const c="sandbox"===r?(0,s.Ys)(o.nodes()[0].contentDocument.body):(0,s.Ys)("body");let h=n.db;n.db.setWrap(N.wrap),D=h.getC4ShapeInRow(),R=h.getC4BoundaryInRow(),a.l.debug(`C:${JSON.stringify(N,null,2)}`);const d="sandbox"===r?c.select(`[id="${e}"]`):(0,s.Ys)(`[id="${e}"]`);d.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"),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")}(d),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")}(d);let u=new P(n);u.setData(N.diagramMarginX,N.diagramMarginX,N.diagramMarginY,N.diagramMarginY),u.data.widthLimit=screen.availWidth,T=N.diagramMarginX,w=N.diagramMarginY;const p=n.db.getTitle();z(d,"",u,n.db.getBoundarys(""),n),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","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")}(d),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")}(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")}(d),function(t,e,i,n){let a=0;for(let t of e){a+=1;let e=t.wrap&&N.wrap,r={fontFamily:(s=N).messageFontFamily,fontSize:s.messageFontSize,fontWeight:s.messageFontWeight};"C4Dynamic"===n.db.getC4Type()&&(t.label.text=a+": "+t.label.text);let o=(0,l.j)(t.label.text,r);Y("label",t,e,r,o),t.techn&&""!==t.techn.text&&(o=(0,l.j)(t.techn.text,r),Y("techn",t,e,r,o)),t.descr&&""!==t.descr.text&&(o=(0,l.j)(t.descr.text,r),Y("descr",t,e,r,o));let c=i(t.from),h=i(t.to),d=X(c,h);t.startPoint=d.startPoint,t.endPoint=d.endPoint}var s;((t,e,i)=>{const n=t.append("g");let a=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,o="";if(0===a){let e=n.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",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)"),a=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).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("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)")}let c=i.messageFont();O(i)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},c),t.techn&&""!==t.techn.text&&(c=i.messageFont(),O(i)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+i.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},c))}})(t,e,N)}(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=T,u.data.stopy=w;const y=u.data;let f=y.stopy-y.starty+2*N.diagramMarginY;const b=y.stopx-y.startx+2*N.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*N.diagramMarginX).attr("y",y.starty+N.diagramMarginY),(0,l.k)(d,f,b,N.useMaxWidth);const g=p?60:0;d.attr("viewBox",y.startx-N.diagramMarginX+" -"+(N.diagramMarginY+g)+" "+b+" "+(f+g)),a.l.debug("models:",y)}},W={parser:h,db:v,renderer:Q,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:t=>{Q.setConf(t.c4)}}}}; \ No newline at end of file diff --git a/themes/daux/js/216.mjs b/themes/daux/js/809.mjs similarity index 99% rename from themes/daux/js/216.mjs rename to themes/daux/js/809.mjs index f7cfc020..2f60389f 100644 --- a/themes/daux/js/216.mjs +++ b/themes/daux/js/809.mjs @@ -1 +1 @@ -export const id=216;export const ids=[216];export const modules={7295:(n,t,e)=>{n.exports=function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var o=new Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var s=e[a]={exports:{}};t[a][0].call(s.exports,(function(n){return r(t[a][1][n]||n)}),s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,u=e.algorithms,o=void 0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:o}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,u=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):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()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){var e;function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function L(){}function N(){}function x(){}function D(){}function R(){}function K(){}function _(){}function F(){}function B(){}function H(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function Y(){}function J(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function un(){}function on(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function vn(){}function mn(){}function yn(){}function kn(){}function jn(){}function En(){}function Tn(){}function Mn(){}function Sn(){}function Pn(){}function In(){}function Cn(){}function On(){}function An(){}function $n(){}function Ln(){}function Nn(){}function xn(){}function Dn(){}function Rn(){}function Kn(){}function _n(){}function Fn(){}function Bn(){}function Hn(){}function qn(){}function Gn(){}function zn(){}function Un(){}function Xn(){}function Wn(){}function Vn(){}function Qn(){}function Yn(){}function Jn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ut(){}function ot(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function vt(){}function mt(){}function yt(){}function kt(){}function jt(){}function Et(){}function Tt(){}function Mt(){}function St(){}function Pt(){}function It(){}function Ct(){}function Ot(){}function At(){}function $t(){}function Lt(){}function Nt(){}function xt(){}function Dt(){}function Rt(){}function Kt(){}function _t(){}function Ft(){}function Bt(){}function Ht(){}function qt(){}function Gt(){}function zt(){}function Ut(){}function Xt(){}function Wt(){}function Vt(){}function Qt(){}function Yt(){}function Jt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function ue(){}function oe(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function ve(){}function me(){}function ye(){}function ke(){}function je(){}function Ee(){}function Te(){}function Me(){}function Se(){}function Pe(){}function Ie(){}function Ce(){}function Oe(){}function Ae(){}function $e(){}function Le(){}function Ne(){}function xe(){}function De(){}function Re(){}function Ke(){}function _e(){}function Fe(){}function Be(){}function He(){}function qe(){}function Ge(){}function ze(){}function Ue(){}function Xe(){}function We(){}function Ve(){}function Qe(){}function Ye(){}function Je(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function ui(){}function oi(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function vi(){}function mi(){}function yi(){}function ki(){}function ji(){}function Ei(){}function Ti(){}function Mi(){}function Si(){}function Pi(){}function Ii(){}function Ci(){}function Oi(){}function Ai(){}function $i(){}function Li(){}function Ni(){}function xi(){}function Di(){}function Ri(){}function Ki(){}function _i(){}function Fi(){}function Bi(){}function Hi(){}function qi(){}function Gi(){}function zi(){}function Ui(){}function Xi(){}function Wi(){}function Vi(){}function Qi(){}function Yi(){}function Ji(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function ur(){}function or(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function vr(){}function mr(){}function yr(){}function kr(){}function jr(){}function Er(){}function Tr(){}function Mr(){}function Sr(){}function Pr(){}function Ir(){}function Cr(){}function Or(){}function Ar(){}function $r(){}function Lr(){}function Nr(){}function xr(){}function Dr(){}function Rr(){}function Kr(){}function _r(){}function Fr(){}function Br(){}function Hr(){}function qr(){}function Gr(){}function zr(){}function Ur(){}function Xr(){}function Wr(){}function Vr(){}function Qr(){}function Yr(){}function Jr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function uc(){}function oc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function vc(){}function mc(){}function yc(){}function kc(){}function jc(){}function Ec(){}function Tc(){}function Mc(){}function Sc(){}function Pc(){}function Ic(){}function Cc(){}function Oc(){}function Ac(){}function $c(){}function Lc(){}function Nc(){}function xc(){}function Dc(){}function Rc(){}function Kc(){}function _c(){}function Fc(){}function Bc(){}function Hc(){}function qc(){}function Gc(){}function zc(){}function Uc(){}function Xc(){}function Wc(){}function Vc(){}function Qc(){}function Yc(){}function Jc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function ua(){}function oa(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function va(){}function ma(){}function ya(){}function ka(){}function ja(){}function Ea(){}function Ta(){}function Ma(){}function Sa(){}function Pa(){}function Ia(){}function Ca(){}function Oa(){}function Aa(){}function $a(){}function La(){}function Na(){}function xa(){}function Da(){}function Ra(){}function Ka(){}function _a(){}function Fa(){}function Ba(){}function Ha(){}function qa(){}function Ga(){}function za(){}function Ua(){}function Xa(){}function Wa(){}function Va(){}function Qa(){}function Ya(){}function Ja(){}function Za(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function uu(){}function ou(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function vu(){}function mu(){}function yu(){}function ku(){}function ju(){}function Eu(){}function Tu(){}function Mu(){}function Su(){}function Pu(){}function Iu(){}function Cu(){}function Ou(){}function Au(){}function $u(){}function Lu(){}function Nu(){}function xu(){}function Du(){}function Ru(){}function Ku(){}function _u(){}function Fu(){}function Bu(){}function Hu(){}function qu(){}function Gu(){}function zu(){}function Uu(){}function Xu(){}function Wu(){}function Vu(){}function Qu(){}function Yu(){}function Ju(){}function Zu(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function uo(){}function oo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function vo(){}function mo(){}function yo(){}function ko(){}function jo(){}function Eo(){}function To(){}function Mo(){}function So(){}function Po(){}function Io(){}function Co(){}function Oo(){}function Ao(){}function $o(){}function Lo(){}function No(){}function xo(){}function Do(){}function Ro(){}function Ko(){}function _o(){}function Fo(){}function Bo(){}function Ho(){}function qo(){}function Go(){}function zo(){}function Uo(){}function Xo(){}function Wo(){}function Vo(){}function Qo(){}function Yo(){}function Jo(){}function Zo(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function us(){}function os(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function vs(){}function ms(){}function ys(){}function ks(){}function js(){}function Es(){}function Ts(){}function Ms(){}function Ss(){}function Ps(){}function Is(){}function Cs(){}function Os(){}function As(){}function $s(){}function Ls(){}function Ns(){}function xs(){}function Ds(){}function Rs(){}function Ks(){}function _s(){}function Fs(){}function Bs(){}function Hs(){}function qs(){}function Gs(){}function zs(){}function Us(){}function Xs(){}function Ws(){}function Vs(){}function Qs(){}function Ys(){}function Js(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function uh(){}function oh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function vh(){}function mh(){}function yh(){}function kh(){}function jh(){}function Eh(){}function Th(){}function Mh(){}function Sh(){}function Ph(){}function Ih(){}function Ch(){}function Oh(){}function Ah(){}function $h(){}function Lh(){}function Nh(){}function xh(){}function Dh(){}function Rh(){}function Kh(){}function _h(){pm()}function Fh(){A6()}function Bh(){ben()}function Hh(){vcn()}function qh(){Ton()}function Gh(){Hdn()}function zh(){Nrn()}function Uh(){Vrn()}function Xh(){YE()}function Wh(){XE()}function Vh(){$x()}function Qh(){JE()}function Yh(){y2()}function Jh(){nT()}function Zh(){iQ()}function nf(){I0()}function tf(){oY()}function ef(){sz()}function rf(){$6()}function cf(){Yun()}function af(){C0()}function uf(){pX()}function of(){$jn()}function sf(){Krn()}function hf(){hz()}function ff(){pjn()}function lf(){uz()}function bf(){O0()}function wf(){i5()}function df(){wz()}function gf(){SY()}function pf(){tT()}function vf(){bln()}function mf(){Frn()}function yf(){w3()}function kf(){Run()}function jf(){qdn()}function Ef(){bin()}function Tf(){aln()}function Mf(){r4()}function Sf(){lz()}function Pf(){ipn()}function If(){oln()}function Cf(){Zln()}function Of(){CY()}function Af(){Kun()}function $f(){Ojn()}function Lf(){N6()}function Nf(){Ann()}function xf(){Zvn()}function Df(){gx()}function Rf(){V2()}function Kf(){Bpn()}function _f(n){mB(n)}function Ff(n){this.a=n}function Bf(n){this.a=n}function Hf(n){this.a=n}function qf(n){this.a=n}function Gf(n){this.a=n}function zf(n){this.a=n}function Uf(n){this.a=n}function Xf(n){this.a=n}function Wf(n){this.a=n}function Vf(n){this.a=n}function Qf(n){this.a=n}function Yf(n){this.a=n}function Jf(n){this.a=n}function Zf(n){this.a=n}function nl(n){this.a=n}function tl(n){this.a=n}function el(n){this.a=n}function il(n){this.a=n}function rl(n){this.a=n}function cl(n){this.a=n}function al(n){this.a=n}function ul(n){this.b=n}function ol(n){this.c=n}function sl(n){this.a=n}function hl(n){this.a=n}function fl(n){this.a=n}function ll(n){this.a=n}function bl(n){this.a=n}function wl(n){this.a=n}function dl(n){this.a=n}function gl(n){this.a=n}function pl(n){this.a=n}function vl(n){this.a=n}function ml(n){this.a=n}function yl(n){this.a=n}function kl(n){this.a=n}function jl(n){this.a=n}function El(n){this.a=n}function Tl(n){this.a=n}function Ml(n){this.a=n}function Sl(){this.a=[]}function Pl(n,t){n.a=t}function Il(n,t){n.j=t}function Cl(n,t){n.c=t}function Ol(n,t){n.d=t}function Al(n,t){n.k=t}function $l(n,t){n.c=t}function Ll(n,t){n.a=t}function Nl(n,t){n.a=t}function xl(n,t){n.f=t}function Dl(n,t){n.a=t}function Rl(n,t){n.b=t}function Kl(n,t){n.d=t}function _l(n,t){n.i=t}function Fl(n,t){n.o=t}function Bl(n,t){n.e=t}function Hl(n,t){n.g=t}function ql(n,t){n.e=t}function Gl(n,t){n.f=t}function zl(n,t){n.f=t}function Ul(n,t){n.n=t}function Xl(n){n.b=n.a}function Wl(n){n.c=n.d.d}function Vl(n){this.d=n}function Ql(n){this.a=n}function Yl(n){this.a=n}function Jl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ub(n){this.a=n}function ob(n){this.a=n}function sb(n){this.a=n}function hb(n){this.b=n}function fb(n){this.b=n}function lb(n){this.b=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.c=n}function pb(n){this.c=n}function vb(n){this.c=n}function mb(n){this.a=n}function yb(n){this.a=n}function kb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Tb(n){this.a=n}function Mb(n){this.a=n}function Sb(n){this.a=n}function Pb(n){this.a=n}function Ib(n){this.a=n}function Cb(n){this.a=n}function Ob(n){this.a=n}function Ab(n){this.a=n}function $b(n){this.a=n}function Lb(n){this.a=n}function Nb(n){this.a=n}function xb(n){this.a=n}function Db(n){this.a=n}function Rb(n){this.a=n}function Kb(n){this.a=n}function _b(n){this.a=n}function Fb(n){this.a=n}function Bb(n){this.a=n}function Hb(n){this.a=n}function qb(n){this.a=n}function Gb(n){this.a=n}function zb(n){this.a=n}function Ub(n){this.a=n}function Xb(n){this.a=n}function Wb(n){this.a=n}function Vb(n){this.a=n}function Qb(n){this.a=n}function Yb(n){this.a=n}function Jb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function uw(n){this.a=n}function ow(n){this.a=n}function sw(n){this.a=n}function hw(n){this.e=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function ww(n){this.a=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function vw(n){this.a=n}function mw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Tw(n){this.a=n}function Mw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Iw(n){this.a=n}function Cw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function $w(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function xw(n){this.a=n}function Dw(n){this.a=n}function Rw(n){this.a=n}function Kw(n){this.a=n}function _w(n){this.a=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function qw(n){this.a=n}function Gw(n){this.a=n}function zw(n){this.a=n}function Uw(n){this.a=n}function Xw(n){this.a=n}function Ww(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Yw(n){this.a=n}function Jw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function ud(n){this.a=n}function od(n){this.a=n}function sd(n){this.a=n}function hd(n){this.a=n}function fd(n){this.c=n}function ld(n){this.b=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.a=n}function gd(n){this.a=n}function pd(n){this.a=n}function vd(n){this.a=n}function md(n){this.a=n}function yd(n){this.a=n}function kd(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Td(n){this.a=n}function Md(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Id(n){this.a=n}function Cd(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function $d(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function xd(n){this.a=n}function Dd(n){this.a=n}function Rd(n){this.a=n}function Kd(n){this.a=n}function _d(n){this.a=n}function Fd(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function qd(n){this.a=n}function Gd(n){this.a=n}function zd(n){this.a=n}function Ud(n){this.a=n}function Xd(n){this.a=n}function Wd(n){this.a=n}function Vd(n){this.a=n}function Qd(n){this.a=n}function Yd(n){this.a=n}function Jd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function ug(n){this.a=n}function og(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.a=n}function vg(n){this.a=n}function mg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Tg(n){this.a=n}function Mg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Ig(n){this.a=n}function Cg(n){this.a=n}function Og(n){this.a=n}function Ag(n){this.b=n}function $g(n){this.f=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function xg(n){this.a=n}function Dg(n){this.a=n}function Rg(n){this.a=n}function Kg(n){this.a=n}function _g(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function qg(n){this.a=n}function Gg(n){this.b=n}function zg(n){this.c=n}function Ug(n){this.e=n}function Xg(n){this.a=n}function Wg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Yg(n){this.a=n}function Jg(n){this.d=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.e=n}function ep(){this.a=0}function ip(){LC(this)}function rp(){$C(this)}function cp(){X_(this)}function ap(){YB(this)}function up(){}function op(){this.c=Vat}function sp(n,t){n.b+=t}function hp(n){n.b=new py}function fp(n){return n.e}function lp(n){return n.a}function bp(n){return n.a}function wp(n){return n.a}function dp(n){return n.a}function gp(n){return n.a}function pp(){return null}function vp(){return null}function mp(n,t){n.b=t-n.b}function yp(n,t){n.a=t-n.a}function kp(n,t){t.ad(n.a)}function jp(n,t){n.e=t,t.b=n}function Ep(n){vx(),this.a=n}function Tp(n){vx(),this.a=n}function Mp(n){vx(),this.a=n}function Sp(n){QF(),this.a=n}function Pp(n){Lq(),v_n.be(n)}function Ip(){AA.call(this)}function Cp(){AA.call(this)}function Op(){Ip.call(this)}function Ap(){Ip.call(this)}function $p(){Ip.call(this)}function Lp(){Ip.call(this)}function Np(){Ip.call(this)}function xp(){Ip.call(this)}function Dp(){Ip.call(this)}function Rp(){Ip.call(this)}function Kp(){Ip.call(this)}function _p(){Ip.call(this)}function Fp(){Ip.call(this)}function Bp(){this.a=this}function Hp(){this.Bb|=256}function qp(){this.b=new DI}function Gp(){Gp=O,new cp}function zp(){Op.call(this)}function Up(n,t){n.length=t}function Xp(n,t){iD(n.a,t)}function Wp(n,t){_3(n.e,t)}function Vp(n){jfn(n.c,n.b)}function Qp(n){this.a=function(n){var t;return(t=pon(n))>34028234663852886e22?ZTn:t<-34028234663852886e22?nMn:t}(n)}function Yp(){this.a=new cp}function Jp(){this.a=new cp}function Zp(){this.a=new rp}function nv(){this.a=new rp}function tv(){this.a=new rp}function ev(){this.a=new kn}function iv(){this.a=new VV}function rv(){this.a=new bt}function cv(){this.a=new EE}function av(){this.a=new pU}function uv(){this.a=new xG}function ov(){this.a=new uN}function sv(){this.a=new rp}function hv(){this.a=new rp}function fv(){this.a=new rp}function lv(){this.a=new rp}function bv(){this.d=new rp}function wv(){this.a=new Yp}function dv(){this.a=new cp}function gv(){this.b=new cp}function pv(){this.b=new rp}function vv(){this.e=new rp}function mv(){this.d=new rp}function yv(){this.a=new cf}function kv(){rp.call(this)}function jv(){Zp.call(this)}function Ev(){hN.call(this)}function Tv(){hv.call(this)}function Mv(){Sv.call(this)}function Sv(){up.call(this)}function Pv(){up.call(this)}function Iv(){Pv.call(this)}function Cv(){Tq.call(this)}function Ov(){Tq.call(this)}function Av(){om.call(this)}function $v(){om.call(this)}function Lv(){om.call(this)}function Nv(){sm.call(this)}function xv(){SE.call(this)}function Dv(){eo.call(this)}function Rv(){eo.call(this)}function Kv(){wm.call(this)}function _v(){wm.call(this)}function Fv(){cp.call(this)}function Bv(){cp.call(this)}function Hv(){cp.call(this)}function qv(){Yp.call(this)}function Gv(){M0.call(this)}function zv(){Hp.call(this)}function Uv(){UO.call(this)}function Xv(){UO.call(this)}function Wv(){cp.call(this)}function Vv(){cp.call(this)}function Qv(){cp.call(this)}function Yv(){yo.call(this)}function Jv(){yo.call(this)}function Zv(){Yv.call(this)}function nm(){Dh.call(this)}function tm(n){FZ.call(this,n)}function em(n){FZ.call(this,n)}function im(n){Wf.call(this,n)}function rm(n){eE.call(this,n)}function cm(n){rm.call(this,n)}function am(n){eE.call(this,n)}function um(){this.a=new SE}function om(){this.a=new Yp}function sm(){this.a=new cp}function hm(){this.a=new rp}function fm(){this.j=new rp}function lm(){this.a=new Xa}function bm(){this.a=new wj}function wm(){this.a=new mo}function dm(){dm=O,t_n=new _y}function gm(){gm=O,n_n=new Ky}function pm(){pm=O,UKn=new c}function vm(){vm=O,u_n=new yA}function mm(n){rm.call(this,n)}function ym(n){rm.call(this,n)}function km(n){fW.call(this,n)}function jm(n){fW.call(this,n)}function Em(n){rx.call(this,n)}function Tm(n){jon.call(this,n)}function Mm(n){cE.call(this,n)}function Sm(n){uE.call(this,n)}function Pm(n){uE.call(this,n)}function Im(n){uE.call(this,n)}function Cm(n){DK.call(this,n)}function Om(n){Cm.call(this,n)}function Am(){Ml.call(this,{})}function $m(n){GO(),this.a=n}function Lm(n){n.b=null,n.c=0}function Nm(n,t){n.a=t,function(n){var t,i,r;for(function(n){var t,i,r;for(i=new pb(n.a.a.b);i.a0&&((!bC(n.a.c)||!t.n.d)&&(!wC(n.a.c)||!t.n.b)&&(t.g.d-=e.Math.max(0,r/2-.5)),(!bC(n.a.c)||!t.n.a)&&(!wC(n.a.c)||!t.n.c)&&(t.g.a+=e.Math.max(0,r-1)))}(n),r=new rp,i=new pb(n.a.a.b);i.a0&&((!bC(n.a.c)||!t.n.d)&&(!wC(n.a.c)||!t.n.b)&&(t.g.d+=e.Math.max(0,r/2-.5)),(!bC(n.a.c)||!t.n.a)&&(!wC(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function xm(n,t,e){n.a[t.g]=e}function Dm(n,t,e){!function(n,t,e){var i,r;for(MC(n,n.j+t,n.k+e),r=new XO((!n.a&&(n.a=new WO(Yrt,n,5)),n.a));r.e!=r.i.gc();)kC(i=Jx(fen(r),469),i.a+t,i.b+e);TC(n,n.b+t,n.c+e)}(e,n,t)}function Rm(n,t){!function(n,t){bC(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new pb(n.d);i.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[mMn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}()}function Hy(n){return n.a?n.b:0}function qy(n){return n.a?n.b:0}function Gy(n,t){return uJ(n,t)}function zy(n,t){return GG(n,t)}function Uy(n,t){return n.f=t,n}function Xy(n,t){return n.c=t,n}function Wy(n,t){return n.a=t,n}function Vy(n,t){return n.f=t,n}function Qy(n,t){return n.k=t,n}function Yy(n,t){return n.a=t,n}function Jy(n,t){return n.e=t,n}function Zy(n,t){n.b=!0,n.d=t}function nk(n,t){return n?0:t-1}function tk(n,t){return n.b=t,n}function ek(n,t){return n.a=t,n}function ik(n,t){return n.c=t,n}function rk(n,t){return n.d=t,n}function ck(n,t){return n.e=t,n}function ak(n,t){return n.f=t,n}function uk(n,t){return n.a=t,n}function ok(n,t){return n.b=t,n}function sk(n,t){return n.c=t,n}function hk(n,t){return n.c=t,n}function fk(n,t){return n.b=t,n}function lk(n,t){return n.d=t,n}function bk(n,t){return n.e=t,n}function wk(n,t){return n.g=t,n}function dk(n,t){return n.a=t,n}function gk(n,t){return n.i=t,n}function pk(n,t){return n.j=t,n}function vk(n,t){return n.k=t,n}function mk(n,t,e){!function(n,t,e){F_(n,new nM(t.a,e.a))}(n.a,t,e)}function yk(n){dH.call(this,n)}function kk(n){dH.call(this,n)}function jk(n){sx.call(this,n)}function Ek(n){A7.call(this,n)}function Tk(n){BZ.call(this,n)}function Mk(n){_H.call(this,n)}function Sk(n){_H.call(this,n)}function Pk(){hO.call(this,"")}function Ik(){this.a=0,this.b=0}function Ck(){this.b=0,this.a=0}function Ok(n,t){n.b=0,B1(n,t)}function Ak(n,t){return n.c._b(t)}function $k(n){return n.e&&n.e()}function Lk(n){return n?n.d:null}function Nk(n,t){return K8(n.b,t)}function xk(n){return hL(n),n.o}function Dk(){Dk=O,Art=function(){var n,t;Zvn();try{if(t=Jx(Zcn((yT(),uat),DNn),2014))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new ao}()}function Rk(){var n;Rk=O,$rt=hct?Jx(qln((yT(),uat),DNn),2016):(n=Jx(OO(uG((yT(),uat),DNn),555)?uG(uat,DNn):new zfn,555),hct=!0,function(n){n.q||(n.q=!0,n.p=G3(n,0),n.a=G3(n,1),I2(n.a,0),n.f=G3(n,2),I2(n.f,1),P2(n.f,2),n.n=G3(n,3),P2(n.n,3),P2(n.n,4),P2(n.n,5),P2(n.n,6),n.g=G3(n,4),I2(n.g,7),P2(n.g,8),n.c=G3(n,5),I2(n.c,7),I2(n.c,8),n.i=G3(n,6),I2(n.i,9),I2(n.i,10),I2(n.i,11),I2(n.i,12),P2(n.i,13),n.j=G3(n,7),I2(n.j,9),n.d=G3(n,8),I2(n.d,3),I2(n.d,4),I2(n.d,5),I2(n.d,6),P2(n.d,7),P2(n.d,8),P2(n.d,9),P2(n.d,10),n.b=G3(n,9),P2(n.b,0),P2(n.b,1),n.e=G3(n,10),P2(n.e,1),P2(n.e,2),P2(n.e,3),P2(n.e,4),I2(n.e,5),I2(n.e,6),I2(n.e,7),I2(n.e,8),I2(n.e,9),I2(n.e,10),P2(n.e,11),n.k=G3(n,11),P2(n.k,0),P2(n.k,1),n.o=z3(n,12),n.s=z3(n,13))}(n),function(n){var t,e,i,r,c,a,u;n.r||(n.r=!0,T2(n,"graph"),M2(n,"graph"),S2(n,DNn),p4(n.o,"T"),lY(Cq(n.a),n.p),lY(Cq(n.f),n.a),lY(Cq(n.n),n.f),lY(Cq(n.g),n.n),lY(Cq(n.c),n.n),lY(Cq(n.i),n.c),lY(Cq(n.j),n.c),lY(Cq(n.d),n.f),lY(Cq(n.e),n.a),MU(n.p,oqn,USn,!0,!0,!1),u=L4(a=s6(n.p,n.p,"setProperty")),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),man(e,i=IH(u)),Jcn(a,t,KNn),Jcn(a,t=IH(u),_Nn),u=L4(a=s6(n.p,null,"getProperty")),t=PH(n.o),e=IH(u),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Jcn(a,t,KNn),(c=lun(a,t=IH(u),null))&&c.Fi(),a=s6(n.p,n.wb.e,"hasProperty"),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Jcn(a,t,KNn),Orn(a=s6(n.p,n.p,"copyProperties"),n.p,FNn),a=s6(n.p,null,"getAllProperties"),t=PH(n.wb.P),e=PH(n.o),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),i=new op,lY((!e.d&&(e.d=new WO(fat,e,1)),e.d),i),e=PH(n.wb.M),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),(r=lun(a,t,null))&&r.Fi(),MU(n.a,Qrt,uNn,!0,!1,!0),Irn(Jx(a1(uq(n.a),0),18),n.k,null,BNn,0,-1,Qrt,!1,!1,!0,!0,!1,!1,!1),MU(n.f,Jrt,sNn,!0,!1,!0),Irn(Jx(a1(uq(n.f),0),18),n.g,Jx(a1(uq(n.g),0),18),"labels",0,-1,Jrt,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.f),1),34),n.wb._,HNn,null,0,1,Jrt,!1,!1,!0,!1,!0,!1),MU(n.n,Zrt,"ElkShape",!0,!1,!0),U2(Jx(a1(uq(n.n),0),34),n.wb.t,qNn,hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),1),34),n.wb.t,GNn,hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),2),34),n.wb.t,"x",hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),3),34),n.wb.t,"y",hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.n,null,"setDimensions"),n.wb.t,GNn),Orn(a,n.wb.t,qNn),Orn(a=s6(n.n,null,"setLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.g,uct,dNn,!1,!1,!0),Irn(Jx(a1(uq(n.g),0),18),n.f,Jx(a1(uq(n.f),0),18),zNn,0,1,uct,!1,!1,!0,!1,!1,!1,!1),U2(Jx(a1(uq(n.g),1),34),n.wb._,UNn,"",0,1,uct,!1,!1,!0,!1,!0,!1),MU(n.c,nct,hNn,!0,!1,!0),Irn(Jx(a1(uq(n.c),0),18),n.d,Jx(a1(uq(n.d),1),18),"outgoingEdges",0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.c),1),18),n.d,Jx(a1(uq(n.d),2),18),"incomingEdges",0,-1,nct,!1,!1,!0,!1,!0,!1,!1),MU(n.i,oct,gNn,!1,!1,!0),Irn(Jx(a1(uq(n.i),0),18),n.j,Jx(a1(uq(n.j),0),18),"ports",0,-1,oct,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.i),1),18),n.i,Jx(a1(uq(n.i),2),18),XNn,0,-1,oct,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.i),2),18),n.i,Jx(a1(uq(n.i),1),18),zNn,0,1,oct,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.i),3),18),n.d,Jx(a1(uq(n.d),0),18),"containedEdges",0,-1,oct,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.i),4),34),n.wb.e,WNn,null,0,1,oct,!0,!0,!1,!1,!0,!0),MU(n.j,sct,pNn,!1,!1,!0),Irn(Jx(a1(uq(n.j),0),18),n.i,Jx(a1(uq(n.i),0),18),zNn,0,1,sct,!1,!1,!0,!1,!1,!1,!1),MU(n.d,tct,fNn,!1,!1,!0),Irn(Jx(a1(uq(n.d),0),18),n.i,Jx(a1(uq(n.i),3),18),"containingNode",0,1,tct,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.d),1),18),n.c,Jx(a1(uq(n.c),0),18),VNn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.d),2),18),n.c,Jx(a1(uq(n.c),1),18),QNn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.d),3),18),n.e,Jx(a1(uq(n.e),5),18),YNn,0,-1,tct,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.d),4),34),n.wb.e,"hyperedge",null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),5),34),n.wb.e,WNn,null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),6),34),n.wb.e,"selfloop",null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),7),34),n.wb.e,"connected",null,0,1,tct,!0,!0,!1,!1,!0,!0),MU(n.b,Yrt,oNn,!1,!1,!0),U2(Jx(a1(uq(n.b),0),34),n.wb.t,"x",hMn,1,1,Yrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.b),1),34),n.wb.t,"y",hMn,1,1,Yrt,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.b,null,"set"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.e,ect,lNn,!1,!1,!0),U2(Jx(a1(uq(n.e),0),34),n.wb.t,"startX",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),1),34),n.wb.t,"startY",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),2),34),n.wb.t,"endX",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),3),34),n.wb.t,"endY",null,0,1,ect,!1,!1,!0,!1,!0,!1),Irn(Jx(a1(uq(n.e),4),18),n.b,null,JNn,0,-1,ect,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.e),5),18),n.d,Jx(a1(uq(n.d),3),18),zNn,0,1,ect,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.e),6),18),n.c,null,ZNn,0,1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),7),18),n.c,null,nxn,0,1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),8),18),n.e,Jx(a1(uq(n.e),9),18),txn,0,-1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),9),18),n.e,Jx(a1(uq(n.e),8),18),exn,0,-1,ect,!1,!1,!0,!1,!0,!1,!1),U2(Jx(a1(uq(n.e),10),34),n.wb._,HNn,null,0,1,ect,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.e,null,"setStartLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),Orn(a=s6(n.e,null,"setEndLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.k,r_n,"ElkPropertyToValueMapEntry",!1,!1,!1),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Ifn(Jx(a1(uq(n.k),0),34),t,"key",r_n,!1,!1,!0,!1),U2(Jx(a1(uq(n.k),1),34),n.s,_Nn,null,0,1,r_n,!1,!1,!0,!1,!0,!1),JB(n.o,P7n,"IProperty",!0),JB(n.s,XKn,"PropertyValue",!0),h8(n,DNn))}(n),Prn(n),zG(uat,DNn,n),n)}function Kk(){Kk=O,gat=function(){var n,t;Zvn();try{if(t=Jx(Zcn((yT(),uat),fRn),1941))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new qo}()}function _k(){_k=O,Aut=function(){var n,t;cJ();try{if(t=Jx(Zcn((yT(),uat),HRn),2024))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new Ds}()}function Fk(){var n;Fk=O,$ut=dot?Jx(qln((yT(),uat),HRn),1945):(UI(Out,new Vs),UI(uot,new ah),UI(oot,new ph),UI(sot,new Ih),UI(lFn,new $h),UI(zy(Jot,1),new Lh),UI(R_n,new Nh),UI(F_n,new xh),UI(lFn,new _s),UI(lFn,new Fs),UI(lFn,new Bs),UI(q_n,new Hs),UI(lFn,new qs),UI(ZKn,new Gs),UI(ZKn,new zs),UI(lFn,new Us),UI(G_n,new Xs),UI(lFn,new Ws),UI(lFn,new Qs),UI(lFn,new Ys),UI(lFn,new Js),UI(lFn,new Zs),UI(zy(Jot,1),new nh),UI(lFn,new th),UI(lFn,new eh),UI(ZKn,new ih),UI(ZKn,new rh),UI(lFn,new ch),UI(X_n,new uh),UI(lFn,new oh),UI(Z_n,new sh),UI(lFn,new hh),UI(lFn,new fh),UI(lFn,new lh),UI(lFn,new bh),UI(ZKn,new wh),UI(ZKn,new dh),UI(lFn,new gh),UI(lFn,new vh),UI(lFn,new mh),UI(lFn,new yh),UI(lFn,new kh),UI(lFn,new jh),UI(tFn,new Eh),UI(lFn,new Th),UI(lFn,new Mh),UI(lFn,new Sh),UI(tFn,new Ph),UI(Z_n,new Ch),UI(lFn,new Oh),UI(X_n,new Ah),n=Jx(OO(uG((yT(),uat),HRn),586)?uG(uat,HRn):new $B,586),dot=!0,function(n){n.N||(n.N=!0,n.b=G3(n,0),P2(n.b,0),P2(n.b,1),P2(n.b,2),n.bb=G3(n,1),P2(n.bb,0),P2(n.bb,1),n.fb=G3(n,2),P2(n.fb,3),P2(n.fb,4),I2(n.fb,5),n.qb=G3(n,3),P2(n.qb,0),I2(n.qb,1),I2(n.qb,2),P2(n.qb,3),P2(n.qb,4),I2(n.qb,5),P2(n.qb,6),n.a=z3(n,4),n.c=z3(n,5),n.d=z3(n,6),n.e=z3(n,7),n.f=z3(n,8),n.g=z3(n,9),n.i=z3(n,10),n.j=z3(n,11),n.k=z3(n,12),n.n=z3(n,13),n.o=z3(n,14),n.p=z3(n,15),n.q=z3(n,16),n.s=z3(n,17),n.r=z3(n,18),n.t=z3(n,19),n.u=z3(n,20),n.v=z3(n,21),n.w=z3(n,22),n.B=z3(n,23),n.A=z3(n,24),n.C=z3(n,25),n.D=z3(n,26),n.F=z3(n,27),n.G=z3(n,28),n.H=z3(n,29),n.J=z3(n,30),n.I=z3(n,31),n.K=z3(n,32),n.M=z3(n,33),n.L=z3(n,34),n.P=z3(n,35),n.Q=z3(n,36),n.R=z3(n,37),n.S=z3(n,38),n.T=z3(n,39),n.U=z3(n,40),n.V=z3(n,41),n.X=z3(n,42),n.W=z3(n,43),n.Y=z3(n,44),n.Z=z3(n,45),n.$=z3(n,46),n._=z3(n,47),n.ab=z3(n,48),n.cb=z3(n,49),n.db=z3(n,50),n.eb=z3(n,51),n.gb=z3(n,52),n.hb=z3(n,53),n.ib=z3(n,54),n.jb=z3(n,55),n.kb=z3(n,56),n.lb=z3(n,57),n.mb=z3(n,58),n.nb=z3(n,59),n.ob=z3(n,60),n.pb=z3(n,61))}(n),function(n){var t;n.O||(n.O=!0,T2(n,"type"),M2(n,"ecore.xml.type"),S2(n,HRn),t=Jx(qln((yT(),uat),HRn),1945),lY(Cq(n.fb),n.b),MU(n.b,Out,"AnyType",!1,!1,!0),U2(Jx(a1(uq(n.b),0),34),n.wb.D,nRn,null,0,-1,Out,!1,!1,!0,!1,!1,!1),U2(Jx(a1(uq(n.b),1),34),n.wb.D,"any",null,0,-1,Out,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,Out,!1,!1,!0,!1,!1,!1),MU(n.bb,uot,XRn,!1,!1,!0),U2(Jx(a1(uq(n.bb),0),34),n.gb,"data",null,0,1,uot,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.bb),1),34),n.gb,bxn,null,1,1,uot,!1,!1,!0,!1,!0,!1),MU(n.fb,oot,WRn,!1,!1,!0),U2(Jx(a1(uq(n.fb),0),34),t.gb,"rawValue",null,0,1,oot,!0,!0,!0,!1,!0,!0),U2(Jx(a1(uq(n.fb),1),34),t.a,_Nn,null,0,1,oot,!0,!0,!0,!1,!0,!0),Irn(Jx(a1(uq(n.fb),2),18),n.wb.q,null,"instanceType",1,1,oot,!1,!1,!0,!1,!1,!1,!1),MU(n.qb,sot,VRn,!1,!1,!0),U2(Jx(a1(uq(n.qb),0),34),n.wb.D,nRn,null,0,-1,null,!1,!1,!0,!1,!1,!1),Irn(Jx(a1(uq(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Irn(Jx(a1(uq(n.qb),5),18),n.bb,null,kKn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.qb),6),34),n.gb,UNn,null,0,-2,null,!0,!0,!0,!1,!1,!0),JB(n.a,XKn,"AnySimpleType",!0),JB(n.c,lFn,"AnyURI",!0),JB(n.d,zy(Jot,1),"Base64Binary",!0),JB(n.e,Qot,"Boolean",!0),JB(n.f,R_n,"BooleanObject",!0),JB(n.g,Jot,"Byte",!0),JB(n.i,F_n,"ByteObject",!0),JB(n.j,lFn,"Date",!0),JB(n.k,lFn,"DateTime",!0),JB(n.n,mFn,"Decimal",!0),JB(n.o,Zot,"Double",!0),JB(n.p,q_n,"DoubleObject",!0),JB(n.q,lFn,"Duration",!0),JB(n.s,ZKn,"ENTITIES",!0),JB(n.r,ZKn,"ENTITIESBase",!0),JB(n.t,lFn,tKn,!0),JB(n.u,nst,"Float",!0),JB(n.v,G_n,"FloatObject",!0),JB(n.w,lFn,"GDay",!0),JB(n.B,lFn,"GMonth",!0),JB(n.A,lFn,"GMonthDay",!0),JB(n.C,lFn,"GYear",!0),JB(n.D,lFn,"GYearMonth",!0),JB(n.F,zy(Jot,1),"HexBinary",!0),JB(n.G,lFn,"ID",!0),JB(n.H,lFn,"IDREF",!0),JB(n.J,ZKn,"IDREFS",!0),JB(n.I,ZKn,"IDREFSBase",!0),JB(n.K,Vot,"Int",!0),JB(n.M,TFn,"Integer",!0),JB(n.L,X_n,"IntObject",!0),JB(n.P,lFn,"Language",!0),JB(n.Q,Yot,"Long",!0),JB(n.R,Z_n,"LongObject",!0),JB(n.S,lFn,"Name",!0),JB(n.T,lFn,eKn,!0),JB(n.U,TFn,"NegativeInteger",!0),JB(n.V,lFn,lKn,!0),JB(n.X,ZKn,"NMTOKENS",!0),JB(n.W,ZKn,"NMTOKENSBase",!0),JB(n.Y,TFn,"NonNegativeInteger",!0),JB(n.Z,TFn,"NonPositiveInteger",!0),JB(n.$,lFn,"NormalizedString",!0),JB(n._,lFn,"NOTATION",!0),JB(n.ab,lFn,"PositiveInteger",!0),JB(n.cb,lFn,"QName",!0),JB(n.db,tst,"Short",!0),JB(n.eb,tFn,"ShortObject",!0),JB(n.gb,lFn,cTn,!0),JB(n.hb,lFn,"Time",!0),JB(n.ib,lFn,"Token",!0),JB(n.jb,tst,"UnsignedByte",!0),JB(n.kb,tFn,"UnsignedByteObject",!0),JB(n.lb,Yot,"UnsignedInt",!0),JB(n.mb,Z_n,"UnsignedIntObject",!0),JB(n.nb,TFn,"UnsignedLong",!0),JB(n.ob,Vot,"UnsignedShort",!0),JB(n.pb,X_n,"UnsignedShortObject",!0),h8(n,HRn),function(n){nbn(n.a,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anySimpleType"])),nbn(n.b,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anyType",eRn,nRn])),nbn(Jx(a1(uq(n.b),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,pxn,":mixed"])),nbn(Jx(a1(uq(n.b),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,BRn,qRn,pxn,":1",JRn,"lax"])),nbn(Jx(a1(uq(n.b),2),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,LRn,BRn,qRn,pxn,":2",JRn,"lax"])),nbn(n.c,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anyURI",FRn,DRn])),nbn(n.d,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"base64Binary",FRn,DRn])),nbn(n.e,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,Wjn,FRn,DRn])),nbn(n.f,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"boolean:Object",wRn,Wjn])),nbn(n.g,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,HDn])),nbn(n.i,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"byte:Object",wRn,HDn])),nbn(n.j,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"date",FRn,DRn])),nbn(n.k,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"dateTime",FRn,DRn])),nbn(n.n,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"decimal",FRn,DRn])),nbn(n.o,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,GDn,FRn,DRn])),nbn(n.p,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"double:Object",wRn,GDn])),nbn(n.q,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"duration",FRn,DRn])),nbn(n.s,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"ENTITIES",wRn,ZRn,nKn,"1"])),nbn(n.r,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,ZRn,RRn,tKn])),nbn(n.t,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,tKn,wRn,eKn])),nbn(n.u,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,zDn,FRn,DRn])),nbn(n.v,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"float:Object",wRn,zDn])),nbn(n.w,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gDay",FRn,DRn])),nbn(n.B,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gMonth",FRn,DRn])),nbn(n.A,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gMonthDay",FRn,DRn])),nbn(n.C,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gYear",FRn,DRn])),nbn(n.D,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gYearMonth",FRn,DRn])),nbn(n.F,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"hexBinary",FRn,DRn])),nbn(n.G,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"ID",wRn,eKn])),nbn(n.H,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"IDREF",wRn,eKn])),nbn(n.J,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"IDREFS",wRn,iKn,nKn,"1"])),nbn(n.I,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,iKn,RRn,"IDREF"])),nbn(n.K,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,UDn])),nbn(n.M,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,rKn])),nbn(n.L,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"int:Object",wRn,UDn])),nbn(n.P,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"language",wRn,cKn,aKn,uKn])),nbn(n.Q,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,XDn])),nbn(n.R,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"long:Object",wRn,XDn])),nbn(n.S,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"Name",wRn,cKn,aKn,oKn])),nbn(n.T,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,eKn,wRn,"Name",aKn,sKn])),nbn(n.U,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"negativeInteger",wRn,hKn,fKn,"-1"])),nbn(n.V,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,lKn,wRn,cKn,aKn,"\\c+"])),nbn(n.X,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"NMTOKENS",wRn,bKn,nKn,"1"])),nbn(n.W,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,bKn,RRn,lKn])),nbn(n.Y,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,wKn,wRn,rKn,dKn,"0"])),nbn(n.Z,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,hKn,wRn,rKn,fKn,"0"])),nbn(n.$,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,gKn,wRn,Qjn,FRn,"replace"])),nbn(n._,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"NOTATION",FRn,DRn])),nbn(n.ab,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"positiveInteger",wRn,wKn,dKn,"1"])),nbn(n.bb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"processingInstruction_._type",eRn,"empty"])),nbn(Jx(a1(uq(n.bb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"data"])),nbn(Jx(a1(uq(n.bb),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,bxn])),nbn(n.cb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"QName",FRn,DRn])),nbn(n.db,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,WDn])),nbn(n.eb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"short:Object",wRn,WDn])),nbn(n.fb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"simpleAnyType",eRn,ARn])),nbn(Jx(a1(uq(n.fb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":3",eRn,ARn])),nbn(Jx(a1(uq(n.fb),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":4",eRn,ARn])),nbn(Jx(a1(uq(n.fb),2),18),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":5",eRn,ARn])),nbn(n.gb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,Qjn,FRn,"preserve"])),nbn(n.hb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"time",FRn,DRn])),nbn(n.ib,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,cKn,wRn,gKn,FRn,DRn])),nbn(n.jb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,pKn,fKn,"255",dKn,"0"])),nbn(n.kb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedByte:Object",wRn,pKn])),nbn(n.lb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,vKn,fKn,"4294967295",dKn,"0"])),nbn(n.mb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedInt:Object",wRn,vKn])),nbn(n.nb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedLong",wRn,wKn,fKn,mKn,dKn,"0"])),nbn(n.ob,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,yKn,fKn,"65535",dKn,"0"])),nbn(n.pb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedShort:Object",wRn,yKn])),nbn(n.qb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"",eRn,nRn])),nbn(Jx(a1(uq(n.qb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,pxn,":mixed"])),nbn(Jx(a1(uq(n.qb),1),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"xmlns:prefix"])),nbn(Jx(a1(uq(n.qb),2),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"xsi:schemaLocation"])),nbn(Jx(a1(uq(n.qb),3),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,"cDATA",KRn,_Rn])),nbn(Jx(a1(uq(n.qb),4),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,"comment",KRn,_Rn])),nbn(Jx(a1(uq(n.qb),5),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,kKn,KRn,_Rn])),nbn(Jx(a1(uq(n.qb),6),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,UNn,KRn,_Rn]))}(n))}(n),DB((kT(),dat),n,new Ks),Prn(n),zG(uat,HRn,n),n)}function Bk(){Bk=O,Ict=h0()}function Hk(){throw fp(new Dp)}function qk(){throw fp(new Dp)}function Gk(){throw fp(new Dp)}function zk(){throw fp(new Dp)}function Uk(){throw fp(new Dp)}function Xk(){throw fp(new Dp)}function Wk(n){this.a=new jE(n)}function Vk(n){Tkn(),function(n,t){var e,i,r,c,a,u,o,s;if(e=0,a=0,c=t.length,u=null,s=new Ly,a1?Uz(zK(t.a[1],32),zz(t.a[0],oMn)):zz(t.a[0],oMn),QU(i7(t.e,e))))}(n,new CC(o));for(n.d=s.a.length,r=0;r0}(Jx(n,33))?_A(i,(Ytn(),T7n))||_A(i,M7n):_A(i,(Ytn(),T7n));if(OO(n,352))return _A(i,(Ytn(),j7n));if(OO(n,186))return _A(i,(Ytn(),S7n));if(OO(n,354))return _A(i,(Ytn(),E7n))}return!0}(n,t)}function oj(n,t,e){n.splice(t,e)}function sj(n){n.c?vdn(n):mdn(n)}function hj(n){this.a=0,this.b=n}function fj(){this.a=new Xbn(v6n)}function lj(){this.b=new Xbn(r5n)}function bj(){this.b=new Xbn(s9n)}function wj(){this.b=new Xbn(s9n)}function dj(){throw fp(new Dp)}function gj(){throw fp(new Dp)}function pj(){throw fp(new Dp)}function vj(){throw fp(new Dp)}function mj(){throw fp(new Dp)}function yj(){throw fp(new Dp)}function kj(){throw fp(new Dp)}function jj(){throw fp(new Dp)}function Ej(){throw fp(new Dp)}function Tj(){throw fp(new Dp)}function Mj(n){this.a=new Sj(n)}function Sj(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512==(512&n.a)?new nm:new Dh,n.c=function(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,16==(16&n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Ay,c=0;ct&&t0)){if(c=-1,32==WB(f.c,0)){if(l=h[0],ZJ(t,h),h[0]>l)continue}else if(Kq(t,f.c,h[0])){h[0]+=f.c.length;continue}return 0}if(c<0&&f.a&&(c=s,a=h[0],r=0),c>=0){if(o=f.b,s==c&&0==(o-=r++))return 0;if(!Nkn(t,h,f,o,u)){s=c-1,h[0]=a;continue}}else if(c=-1,!Nkn(t,h,f,0,u))return 0}return function(n,t){var i,r,c,a,u,o;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>tTn&&ZX(t,n.p-MTn),u=t.q.getDate(),yG(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Cvn(n,e)}(t,n.k),n.c>=0?yG(t,n.c):n.k>=0?(r=35-new k5(t.q.getFullYear()-MTn,t.q.getMonth(),35).q.getDate(),yG(t,e.Math.min(r,u))):yG(t,u),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),Cvn(n,t)}(t,24==n.f&&n.g?0:n.f),n.j>=0&&function(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),Cvn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),Cvn(n,e)}(t,n.n),n.i>=0&&MI(t,e7(i7(Hcn(R3(t.q.getTime()),fTn),fTn),n.i)),n.a&&(ZX(c=new oE,c.q.getFullYear()-MTn-80),NT(R3(t.q.getTime()),R3(c.q.getTime()))&&ZX(t,c.q.getFullYear()-MTn+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-t.q.getDay())%7)>3&&(i-=7),o=t.q.getMonth(),yG(t,t.q.getDate()+i),t.q.getMonth()!=o&&yG(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>tTn&&(a=t.q.getTimezoneOffset(),MI(t,e7(R3(t.q.getTime()),60*(n.o-a)*fTn))),!0}(u,i)?h[0]:0}(n,t,c=new k5((r=new oE).q.getFullYear()-MTn,r.q.getMonth(),r.q.getDate())))||i0}function NT(n,t){return j8(n,t)<0}function xT(n,t){return n.a.get(t)}function DT(n,t){return I_(n.e,t)}function RT(n){return mB(n),!1}function KT(n){xz.call(this,n,21)}function _T(n,t){mG.call(this,n,t)}function FT(n,t){Xj.call(this,n,t)}function BT(n,t){Xj.call(this,n,t)}function HT(n){YF(),rx.call(this,n)}function qT(n,t){tK(n,n.length,t)}function GT(n,t){aF(n,n.length,t)}function zT(n,t,e){n.splice(t,0,e)}function UT(n,t){this.d=n,this.e=t}function XT(n,t){this.b=n,this.a=t}function WT(n,t){this.b=n,this.a=t}function VT(n,t){this.b=n,this.a=t}function QT(n,t){this.a=n,this.b=t}function YT(n,t){this.a=n,this.b=t}function JT(n,t){this.a=n,this.b=t}function ZT(n,t){this.a=n,this.b=t}function nM(n,t){this.a=n,this.b=t}function tM(n,t){this.b=n,this.a=t}function eM(n,t){this.b=n,this.a=t}function iM(n,t){Xj.call(this,n,t)}function rM(n,t){Xj.call(this,n,t)}function cM(n,t){Xj.call(this,n,t)}function aM(n,t){Xj.call(this,n,t)}function uM(n,t){Xj.call(this,n,t)}function oM(n,t){Xj.call(this,n,t)}function sM(n,t){Xj.call(this,n,t)}function hM(n,t){Xj.call(this,n,t)}function fM(n,t){Xj.call(this,n,t)}function lM(n,t){Xj.call(this,n,t)}function bM(n,t){Xj.call(this,n,t)}function wM(n,t){Xj.call(this,n,t)}function dM(n,t){Xj.call(this,n,t)}function gM(n,t){Xj.call(this,n,t)}function pM(n,t){Xj.call(this,n,t)}function vM(n,t){Xj.call(this,n,t)}function mM(n,t){Xj.call(this,n,t)}function yM(n,t){Xj.call(this,n,t)}function kM(n,t){this.a=n,this.b=t}function jM(n,t){this.a=n,this.b=t}function EM(n,t){this.a=n,this.b=t}function TM(n,t){this.a=n,this.b=t}function MM(n,t){this.a=n,this.b=t}function SM(n,t){this.a=n,this.b=t}function PM(n,t){this.a=n,this.b=t}function IM(n,t){this.a=n,this.b=t}function CM(n,t){this.a=n,this.b=t}function OM(n,t){this.b=n,this.a=t}function AM(n,t){this.b=n,this.a=t}function $M(n,t){this.b=n,this.a=t}function LM(n,t){this.b=n,this.a=t}function NM(n,t){this.c=n,this.d=t}function xM(n,t){this.e=n,this.d=t}function DM(n,t){this.a=n,this.b=t}function RM(n,t){this.b=t,this.c=n}function KM(n,t){Xj.call(this,n,t)}function _M(n,t){Xj.call(this,n,t)}function FM(n,t){Xj.call(this,n,t)}function BM(n,t){Xj.call(this,n,t)}function HM(n,t){Xj.call(this,n,t)}function qM(n,t){Xj.call(this,n,t)}function GM(n,t){Xj.call(this,n,t)}function zM(n,t){Xj.call(this,n,t)}function UM(n,t){Xj.call(this,n,t)}function XM(n,t){Xj.call(this,n,t)}function WM(n,t){Xj.call(this,n,t)}function VM(n,t){Xj.call(this,n,t)}function QM(n,t){Xj.call(this,n,t)}function YM(n,t){Xj.call(this,n,t)}function JM(n,t){Xj.call(this,n,t)}function ZM(n,t){Xj.call(this,n,t)}function nS(n,t){Xj.call(this,n,t)}function tS(n,t){Xj.call(this,n,t)}function eS(n,t){Xj.call(this,n,t)}function iS(n,t){Xj.call(this,n,t)}function rS(n,t){Xj.call(this,n,t)}function cS(n,t){Xj.call(this,n,t)}function aS(n,t){Xj.call(this,n,t)}function uS(n,t){Xj.call(this,n,t)}function oS(n,t){Xj.call(this,n,t)}function sS(n,t){Xj.call(this,n,t)}function hS(n,t){Xj.call(this,n,t)}function fS(n,t){Xj.call(this,n,t)}function lS(n,t){Xj.call(this,n,t)}function bS(n,t){Xj.call(this,n,t)}function wS(n,t){Xj.call(this,n,t)}function dS(n,t){Xj.call(this,n,t)}function gS(n,t){Xj.call(this,n,t)}function pS(n,t){Xj.call(this,n,t)}function vS(n,t){this.b=n,this.a=t}function mS(n,t){this.a=n,this.b=t}function yS(n,t){this.a=n,this.b=t}function kS(n,t){this.a=n,this.b=t}function jS(n,t){this.a=n,this.b=t}function ES(n,t){Xj.call(this,n,t)}function TS(n,t){Xj.call(this,n,t)}function MS(n,t){this.b=n,this.d=t}function SS(n,t){Xj.call(this,n,t)}function PS(n,t){Xj.call(this,n,t)}function IS(n,t){this.a=n,this.b=t}function CS(n,t){this.a=n,this.b=t}function OS(n,t){Xj.call(this,n,t)}function AS(n,t){Xj.call(this,n,t)}function $S(n,t){Xj.call(this,n,t)}function LS(n,t){Xj.call(this,n,t)}function NS(n,t){Xj.call(this,n,t)}function xS(n,t){Xj.call(this,n,t)}function DS(n,t){Xj.call(this,n,t)}function RS(n,t){Xj.call(this,n,t)}function KS(n,t){Xj.call(this,n,t)}function _S(n,t){Xj.call(this,n,t)}function FS(n,t){Xj.call(this,n,t)}function BS(n,t){Xj.call(this,n,t)}function HS(n,t){Xj.call(this,n,t)}function qS(n,t){Xj.call(this,n,t)}function GS(n,t){Xj.call(this,n,t)}function zS(n,t){Xj.call(this,n,t)}function US(n,t){return _A(n.g,t)}function XS(n,t){Xj.call(this,n,t)}function WS(n,t){Xj.call(this,n,t)}function VS(n,t){this.a=n,this.b=t}function QS(n,t){this.a=n,this.b=t}function YS(n,t){this.a=n,this.b=t}function JS(n,t){Xj.call(this,n,t)}function ZS(n,t){Xj.call(this,n,t)}function nP(n,t){Xj.call(this,n,t)}function tP(n,t){Xj.call(this,n,t)}function eP(n,t){Xj.call(this,n,t)}function iP(n,t){Xj.call(this,n,t)}function rP(n,t){Xj.call(this,n,t)}function cP(n,t){Xj.call(this,n,t)}function aP(n,t){Xj.call(this,n,t)}function uP(n,t){Xj.call(this,n,t)}function oP(n,t){Xj.call(this,n,t)}function sP(n,t){Xj.call(this,n,t)}function hP(n,t){Xj.call(this,n,t)}function fP(n,t){Xj.call(this,n,t)}function lP(n,t){Xj.call(this,n,t)}function bP(n,t){Xj.call(this,n,t)}function wP(n,t){this.a=n,this.b=t}function dP(n,t){this.a=n,this.b=t}function gP(n,t){this.a=n,this.b=t}function pP(n,t){this.a=n,this.b=t}function vP(n,t){this.a=n,this.b=t}function mP(n,t){this.a=n,this.b=t}function yP(n,t){this.a=n,this.b=t}function kP(n,t){Xj.call(this,n,t)}function jP(n,t){this.a=n,this.b=t}function EP(n,t){this.a=n,this.b=t}function TP(n,t){this.a=n,this.b=t}function MP(n,t){this.a=n,this.b=t}function SP(n,t){this.a=n,this.b=t}function PP(n,t){this.a=n,this.b=t}function IP(n,t){this.b=n,this.a=t}function CP(n,t){this.b=n,this.a=t}function OP(n,t){this.b=n,this.a=t}function AP(n,t){this.b=n,this.a=t}function $P(n,t){this.a=n,this.b=t}function LP(n,t){this.a=n,this.b=t}function NP(n,t){!function(n,t){if(OO(t,239))return function(n,t){var e;if(null==(e=p1(n.i,t)))throw fp(new fy("Node did not exist in input."));return l3(t,e),null}(n,Jx(t,33));if(OO(t,186))return function(n,t){var e;if(null==(e=HF(n.k,t)))throw fp(new fy("Port did not exist in input."));return l3(t,e),null}(n,Jx(t,118));if(OO(t,354))return function(n,t){return l3(t,HF(n.f,t)),null}(n,Jx(t,137));if(OO(t,352))return function(n,t){var e,i,r,c,a,u;if(!(a=Jx(HF(n.c,t),183)))throw fp(new fy("Edge did not exist in input."));return i=rtn(a),!Pj((!t.a&&(t.a=new y_(ect,t,6,6)),t.a))&&(e=new Kx(n,i,u=new Sl),function(n,t){!function(n,t){var e;for(e=0;n.e!=n.i.gc();)hR(t,fen(n),g9(e)),e!=Jjn&&++e}(new XO(n),t)}((!t.a&&(t.a=new y_(ect,t,6,6)),t.a),e),AZ(a,YNn,u)),UQ(t,(Ojn(),znt))&&!(!(r=Jx(Eln(t,znt),74))||dB(r))&&(WW(r,new yg(c=new Sl)),AZ(a,"junctionPoints",c)),xD(a,"container",TG(t).k),null}(n,Jx(t,79));if(t)return null;throw fp(new Ym(uxn+zun(new uy(D4(zy(XKn,1),rEn,1,5,[t])))))}(n.a,Jx(t,56))}function xP(n,t){!function(n,t){gD(),iD(n,new yP(t,g9(t.e.c.length+t.g.c.length)))}(n.a,Jx(t,11))}function DP(){return By(),new DFn}function RP(){bz(),this.b=new Yp}function KP(){kwn(),this.a=new Yp}function _P(){oz(),dK.call(this)}function FP(n,t){Xj.call(this,n,t)}function BP(n,t){this.a=n,this.b=t}function HP(n,t){this.a=n,this.b=t}function qP(n,t){this.a=n,this.b=t}function GP(n,t){this.a=n,this.b=t}function zP(n,t){this.a=n,this.b=t}function UP(n,t){this.a=n,this.b=t}function XP(n,t){this.d=n,this.b=t}function WP(n,t){this.d=n,this.e=t}function VP(n,t){this.f=n,this.c=t}function QP(n,t){this.b=n,this.c=t}function YP(n,t){this.i=n,this.g=t}function JP(n,t){this.e=n,this.a=t}function ZP(n,t){this.a=n,this.b=t}function nI(n,t){n.i=null,Z0(n,t)}function tI(n,t){return ynn(n.a,t)}function eI(n){return jnn(n.c,n.b)}function iI(n){return n?n.dd():null}function rI(n){return null==n?null:n}function cI(n){return typeof n===Wjn}function aI(n){return typeof n===Vjn}function uI(n){return typeof n===Qjn}function oI(n,t){return n.Hd().Xb(t)}function sI(n,t){return function(n,t){for(SF(t);n.Ob();)if(!l4(Jx(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function hI(n,t){return 0==j8(n,t)}function fI(n,t){return 0!=j8(n,t)}function lI(n){return""+(mB(n),n)}function bI(n,t){return n.substr(t)}function wI(n){return $7(n),n.d.gc()}function dI(n){return function(n,t){var e,i,r;for(e=new pb(n.a.a);e.at?1:0}function rO(n,t){return j8(n,t)>0?n:t}function cO(n,t,e){return{l:n,m:t,h:e}}function aO(n,t){null!=n.a&&xP(t,n.a)}function uO(n){n.a=new $,n.c=new $}function oO(n){this.b=n,this.a=new rp}function sO(n){this.b=new et,this.a=n}function hO(n){sN.call(this),this.a=n}function fO(){FT.call(this,"Range",2)}function lO(){Scn(),this.a=new Xbn(uzn)}function bO(n,t,e){return Bnn(t,e,n.c)}function wO(n){return new YS(n.c,n.d)}function dO(n){return new YS(n.c,n.d)}function gO(n){return new YS(n.a,n.b)}function pO(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f;for(!e&&(e=function(n){var t;return(t=new p).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+WJ(n))}(n),t.c=QQ(lFn,MEn,2,2,6,1),t.c[0]=$2(n),t.c[1]=$2(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),o=u=new wL(e7(R3(t.q.getTime()),r)),u.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,o=new wL(e7(R3(t.q.getTime()),r))),h=new Ly,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw fp(new Ym("Missing trailing '"));a+11)throw fp(new Ym(zRn));for(h=gwn(n.e.Tg(),t),i=Jx(n.g,119),a=0;a0),c=Jx(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,P$(s.b>0),c=Jx(s.a.Xb(s.c=--s.b),17);s.b>0&&fB(s)}}(n,t,e),e}function LO(n,t,e){n.a=1502^t,n.b=e^jMn}function NO(n,t,e){return n.a[t.g][e.g]}function xO(n,t){return n.a[t.c.p][t.p]}function DO(n,t){return n.e[t.c.p][t.p]}function RO(n,t){return n.c[t.c.p][t.p]}function KO(n,t){return n.j[t.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new pb(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(t)}function _O(n,t){return n.a*=t,n.b*=t,n}function FO(n,t,e){return RF(n.g,t,e),e}function BO(n){n.a=Jx(q3(n.b.a,4),126)}function HO(n){n.a=Jx(q3(n.b.a,4),126)}function qO(n){Dq(n,mxn),Pbn(n,function(n){var t,e,i,r,c;switch(Dq(n,mxn),(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i+(!n.c&&(n.c=new $N(nct,n,5,8)),n.c).i){case 0:throw fp(new Ym("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i?CG(run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))):CG(run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new $N(nct,n,5,8)),n.c).i){if(r=run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)),c=run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82)),CG(r)==CG(c))return CG(r);if(r==CG(c))return r;if(c==CG(r))return c}for(t=run(Jx(jV(i=V_(t0(D4(zy(YKn,1),rEn,20,0,[(!n.b&&(n.b=new $N(nct,n,4,7)),n.b),(!n.c&&(n.c=new $N(nct,n,5,8)),n.c)])))),82));Qfn(i);)if((e=run(Jx(jV(i),82)))!=t&&!WZ(e,t))if(CG(e)==CG(t))t=CG(e);else if(!(t=Xln(t,e)))return null;return t}(n))}function GO(){GO=O,BFn=new $m(null)}function zO(){(zO=O)(),XFn=new z}function UO(){this.Bb|=256,this.Bb|=512}function XO(n){this.i=n,this.f=this.i.j}function WO(n,t,e){MD.call(this,n,t,e)}function VO(n,t,e){WO.call(this,n,t,e)}function QO(n,t,e){WO.call(this,n,t,e)}function YO(n,t,e){VO.call(this,n,t,e)}function JO(n,t,e){MD.call(this,n,t,e)}function ZO(n,t,e){MD.call(this,n,t,e)}function nA(n,t,e){OD.call(this,n,t,e)}function tA(n,t,e){OD.call(this,n,t,e)}function eA(n,t,e){nA.call(this,n,t,e)}function iA(n,t,e){JO.call(this,n,t,e)}function rA(n,t){this.a=n,iE.call(this,t)}function cA(n,t){this.a=n,gy.call(this,t)}function aA(n,t){this.a=n,gy.call(this,t)}function uA(n,t){this.a=n,gy.call(this,t)}function oA(n){this.a=n,ol.call(this,n.d)}function sA(n){this.c=n,this.a=this.c.a}function hA(n,t){this.a=t,gy.call(this,n)}function fA(n,t){this.a=t,fW.call(this,n)}function lA(n,t){this.a=n,fW.call(this,t)}function bA(n,t){return function(n,t,e){try{!function(n,t,e){if(SF(t),e.Ob())for(jI(t,LF(e.Pb()));e.Ob();)jI(t,n.a),jI(t,LF(e.Pb()))}(n,t,e)}catch(n){throw OO(n=E4(n),597)?fp(new iV(n)):fp(n)}return t}(n,new $y,t).a}function wA(n,t){return SF(t),new dA(n,t)}function dA(n,t){this.a=t,uE.call(this,n)}function gA(n){this.b=n,this.a=this.b.a.e}function pA(n){n.b.Qb(),--n.d.f.d,sK(n.d)}function vA(n){Zf.call(this,Jx(SF(n),35))}function mA(n){Zf.call(this,Jx(SF(n),35))}function yA(){Xj.call(this,"INSTANCE",0)}function kA(n){if(!n)throw fp(new Lp)}function jA(n){if(!n)throw fp(new Np)}function EA(n){if(!n)throw fp(new _p)}function TA(){TA=O,TT(),kut=new Kf}function MA(){MA=O,L_n=!1,N_n=!0}function SA(n){nb.call(this,(mB(n),n))}function PA(n){nb.call(this,(mB(n),n))}function IA(n){fb.call(this,n),this.a=n}function CA(n){lb.call(this,n),this.a=n}function OA(n){xy.call(this,n),this.a=n}function AA(){EO(this),GH(this),this._d()}function $A(n,t){this.a=t,uE.call(this,n)}function LA(n,t){return new Esn(n.a,n.b,t)}function NA(n,t){return n.lastIndexOf(t)}function xA(n,t,e){return n.indexOf(t,e)}function DA(n){return null==n?uEn:C7(n)}function RA(n){return null!=n.a?n.a:null}function KA(n,t){return null!=lG(n.a,t)}function _A(n,t){return!!t&&n.b[t.g]==t}function FA(n){return n.$H||(n.$H=++yBn)}function BA(n,t){return iD(t.a,n.a),n.a}function HA(n,t){return iD(t.b,n.a),n.a}function qA(n,t){return iD(t.a,n.a),n.a}function GA(n){return P$(null!=n.a),n.a}function zA(n){Mb.call(this,new eY(n))}function UA(n,t){Ttn.call(this,n,t,null)}function XA(n){this.a=n,hb.call(this,n)}function WA(){WA=O,WHn=new FL(ASn,0)}function VA(n,t){return++n.b,iD(n.a,t)}function QA(n,t){return++n.b,oJ(n.a,t)}function YA(n,t){return Jx(FV(n.b,t),15)}function JA(n){return nO(n.a)||nO(n.b)}function ZA(n,t,e){return LX(n,t,e,n.c)}function n$(n,t,e){Jx(EJ(n,t),21).Fc(e)}function t$(n,t){jT(),this.a=n,this.b=t}function e$(n,t){ET(),this.b=n,this.c=t}function i$(n,t){pK(),this.f=t,this.d=n}function r$(n,t){GV(t,n),this.d=n,this.c=t}function c$(n){var t;t=n.a,n.a=n.b,n.b=t}function a$(n,t){return new xN(n,n.gc(),t)}function u$(n){this.d=n,XO.call(this,n)}function o$(n){this.c=n,XO.call(this,n)}function s$(n){this.c=n,u$.call(this,n)}function h$(){ZE(),this.b=new qw(this)}function f$(n){return p0(n,XEn),new vQ(n)}function l$(n){return Lq(),parseInt(n)||-1}function b$(n,t,e){return n.substr(t,e-t)}function w$(n,t,e){return xA(n,pun(t),e)}function d$(n){return cF(n.c,n.c.length)}function g$(n){return null!=n.f?n.f:""+n.g}function p$(n){return P$(0!=n.b),n.a.a.c}function v$(n){return P$(0!=n.b),n.c.b.c}function m$(n){OO(n,150)&&Jx(n,150).Gh()}function y$(n){return n.b=Jx(BH(n.a),42)}function k$(n){KE(),this.b=n,this.a=!0}function j$(n){_E(),this.b=n,this.a=!0}function E$(n){n.d=new I$(n),n.e=new cp}function T$(n){if(!n)throw fp(new Rp)}function M$(n){if(!n)throw fp(new Lp)}function S$(n){if(!n)throw fp(new Np)}function P$(n){if(!n)throw fp(new _p)}function I$(n){sD.call(this,n,null,null)}function C$(){Xj.call(this,"POLYOMINO",0)}function O$(n,t,e,i){NK.call(this,n,t,e,i)}function A$(n,t){return!!n.q&&I_(n.q,t)}function $$(n,t,e){n.Zc(t).Rb(e)}function L$(n,t,e){return n.a+=t,n.b+=e,n}function N$(n,t,e){return n.a*=t,n.b*=e,n}function x$(n,t,e){return n.a-=t,n.b-=e,n}function D$(n,t){return n.a=t.a,n.b=t.b,n}function R$(n){return n.a=-n.a,n.b=-n.b,n}function K$(n){this.c=n,this.a=1,this.b=1}function _$(n){this.c=n,N1(n,0),x1(n,0)}function F$(n){SE.call(this),c0(this,n)}function B$(n){bjn(),hp(this),this.mf(n)}function H$(n,t){jT(),t$.call(this,n,t)}function q$(n,t){ET(),e$.call(this,n,t)}function G$(n,t){ET(),e$.call(this,n,t)}function z$(n,t){ET(),q$.call(this,n,t)}function U$(n,t,e){kY.call(this,n,t,e,2)}function X$(n,t){VC(),_R.call(this,n,t)}function W$(n,t){VC(),X$.call(this,n,t)}function V$(n,t){VC(),X$.call(this,n,t)}function Q$(n,t){VC(),V$.call(this,n,t)}function Y$(n,t){VC(),_R.call(this,n,t)}function J$(n,t){VC(),Y$.call(this,n,t)}function Z$(n,t){VC(),_R.call(this,n,t)}function nL(n,t,e){return Cmn(PJ(n,t),e)}function tL(n,t){return I8(n.e,Jx(t,49))}function eL(n,t){t.$modCount=n.$modCount}function iL(){iL=O,h6n=new Ag("root")}function rL(){rL=O,Lct=new Kv,new _v}function cL(){this.a=new nG,this.b=new nG}function aL(){M0.call(this),this.Bb|=iMn}function uL(){Xj.call(this,"GROW_TREE",0)}function oL(n){return null==n?null:function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(Zpn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=QQ(Wot,hTn,25,4*(0!=(u=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,o=0;o>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,d=0==(-128&(i=n[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=fot[b],c[a++]=fot[w|s<<4],c[a++]=fot[h<<2|d],c[a++]=fot[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=fot[b],c[a++]=fot[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=fot[b],c[a++]=fot[w|s<<4],c[a++]=fot[h<<2],c[a++]=61),Qnn(c,0,c.length)}(n)}function sL(n){return null==n?null:function(n){var t,e,i,r;if(jdn(),null==n)return null;for(i=n.length,t=QQ(Wot,hTn,25,2*i,15,1),e=0;e>4],t[2*e+1]=bot[15&r];return Qnn(t,0,t.length)}(n)}function hL(n){null==n.o&&function(n){if(n.pe()){var t=n.c;return t.qe()?n.o="["+t.n:t.pe()?n.o="["+t.ne():n.o="[L"+t.ne()+";",n.b=t.me()+"[]",void(n.k=t.oe()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=Vnn(".",[e,Vnn("$",i)]),n.b=Vnn(".",[e,Vnn(".",i)]),n.k=i[i.length-1]}(n)}function fL(n){return YD(null==n||cI(n)),n}function lL(n){return YD(null==n||aI(n)),n}function bL(n){return YD(null==n||uI(n)),n}function wL(n){this.q=new e.Date(QU(n))}function dL(n,t){this.c=n,Wj.call(this,n,t)}function gL(n,t){this.a=n,dL.call(this,n,t)}function pL(n,t){this.d=n,Wl(this),this.b=t}function vL(n,t){nY.call(this,n),this.a=t}function mL(n,t){nY.call(this,n),this.a=t}function yL(n){fnn.call(this,0,0),this.f=n}function kL(n,t,e){gQ.call(this,n,t,e,null)}function jL(n,t,e){gQ.call(this,n,t,e,null)}function EL(n,t){return Jx(XJ(n.b,t),149)}function TL(n,t){return Jx(XJ(n.c,t),229)}function ML(n){return Jx(MR(n.a,n.b),287)}function SL(n){return new YS(n.c,n.d+n.a)}function PL(n){return fz(),dC(Jx(n,197))}function IL(){IL=O,XHn=Z9(($nn(),trt))}function CL(n,t){t.a?function(n,t){var e,i,r;if(!oF(n.a,t.b))throw fp(new Jm("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new sb(new pN(new XA(new ob(n.a.a).a).b));AT(i.a.a);)if(e=Jx(y$(i.a).cd(),65),o5(t.b,e))mk(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):KA(n.a,t.b)}function OL(n,t){fBn||iD(n.a,t)}function AL(n,t){return Dq(t,ESn),n.f=t,n}function $L(n,t,e){return spn(n,t,3,e)}function LL(n,t,e){return spn(n,t,6,e)}function NL(n,t,e){return spn(n,t,9,e)}function xL(n,t,e){++n.j,n.Ki(),WQ(n,t,e)}function DL(n,t,e){++n.j,n.Hi(t,n.oi(t,e))}function RL(n,t,e){n.Zc(t).Rb(e)}function KL(n,t,e){return cmn(n.c,n.b,t,e)}function _L(n,t){return(t&Jjn)%n.d.length}function FL(n,t){Ag.call(this,n),this.a=t}function BL(n,t){zg.call(this,n),this.a=t}function HL(n,t){zg.call(this,n),this.a=t}function qL(n,t){this.c=n,BZ.call(this,t)}function GL(n,t){this.a=n,Gg.call(this,t)}function zL(n,t){this.a=n,Gg.call(this,t)}function UL(n){this.a=(p0(n,XEn),new vQ(n))}function XL(n){this.a=(p0(n,XEn),new vQ(n))}function WL(n){return!n.a&&(n.a=new w),n.a}function VL(n){return n>8?0:n+1}function QL(n,t,e){return JR(n,Jx(t,22),e)}function YL(n,t,e){return n.a+=Qnn(t,0,e),n}function JL(n,t){var e;return e=n.e,n.e=t,e}function ZL(n,t){n[mMn].call(n,t)}function nN(n,t){n.a.Vc(n.b,t),++n.b,n.c=-1}function tN(n){X_(n.e),n.d.b=n.d,n.d.a=n.d}function eN(n){n.b?eN(n.b):n.f.c.zc(n.e,n.d)}function iN(n,t){return Gy(new Array(t),n)}function rN(n){return String.fromCharCode(n)}function cN(){this.a=new rp,this.b=new rp}function aN(){this.a=new bt,this.b=new qp}function uN(){this.b=new Ik,this.c=new rp}function oN(){this.d=new Ik,this.e=new Ik}function sN(){this.n=new Ik,this.o=new Ik}function hN(){this.n=new Pv,this.i=new fC}function fN(){this.a=new Jh,this.b=new uc}function lN(){this.a=new rp,this.d=new rp}function bN(){this.b=new Yp,this.a=new Yp}function wN(){this.b=new cp,this.a=new cp}function dN(){this.b=new lj,this.a=new da}function gN(){hN.call(this),this.a=new Ik}function pN(n){Y3.call(this,n,(qY(),VFn))}function vN(n,t,e,i){BR.call(this,n,t,e,i)}function mN(n,t,e){return spn(n,t,11,e)}function yN(n,t){return n.a+=t.a,n.b+=t.b,n}function kN(n,t){return n.a-=t.a,n.b-=t.b,n}function jN(n,t){return null==DB(n.a,t,"")}function EN(n,t){qm.call(this,vDn+n+Txn+t)}function TN(n,t,e,i){y_.call(this,n,t,e,i)}function MN(n,t,e,i){y_.call(this,n,t,e,i)}function SN(n,t,e,i){MN.call(this,n,t,e,i)}function PN(n,t,e,i){k_.call(this,n,t,e,i)}function IN(n,t,e,i){k_.call(this,n,t,e,i)}function CN(n,t,e,i){k_.call(this,n,t,e,i)}function ON(n,t,e,i){IN.call(this,n,t,e,i)}function AN(n,t,e,i){IN.call(this,n,t,e,i)}function $N(n,t,e,i){CN.call(this,n,t,e,i)}function LN(n,t,e,i){AN.call(this,n,t,e,i)}function NN(n,t,e,i){p_.call(this,n,t,e,i)}function xN(n,t,e){this.a=n,r$.call(this,t,e)}function DN(n,t,e){this.c=t,this.b=e,this.a=n}function RN(n,t){return n.Aj().Nh().Kh(n,t)}function KN(n,t){return n.Aj().Nh().Ih(n,t)}function _N(n,t){return mB(n),rI(n)===rI(t)}function FN(n,t){return mB(n),rI(n)===rI(t)}function BN(n,t){return Lk(Rnn(n.a,t,!1))}function HN(n,t){return Lk(Knn(n.a,t,!1))}function qN(n,t){return n.b.sd(new ZT(n,t))}function GN(n,t,e){return n.lastIndexOf(t,e)}function zN(n){return n.c?fJ(n.c.a,n,0):-1}function UN(n){return n==oit||n==hit||n==sit}function XN(n,t){return OO(t,15)&&Idn(n.c,t)}function WN(n,t){return!!a6(n,t)}function VN(n,t){this.c=n,nF.call(this,n,t)}function QN(n){this.c=n,II.call(this,CEn,0)}function YN(n,t){uD.call(this,n,n.length,t)}function JN(n,t,e){return Jx(n.c,69).mk(t,e)}function ZN(n,t,e){return function(n,t,e){return t.Rk(n.e,n.c,e)}(n,Jx(t,332),e)}function nx(n,t,e){return function(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?_q(n,4,i,c,null,Lvn(n,i,c,OO(i,99)&&0!=(Jx(i,18).Bb&iMn)),!0):_q(n,i.Kj()?2:1,i,c,i.zj(),-1,!0),e?e.Ei(r):e=r,e}(n,Jx(t,332),e)}function tx(n,t){return null==t?null:D8(n.b,t)}function ex(n){return aI(n)?(mB(n),n):n.ke()}function ix(n){return!isNaN(n)&&!isFinite(n)}function rx(n){vx(),this.a=(WH(),new xy(n))}function cx(n){gD(),this.d=n,this.a=new ip}function ax(n,t,e){this.a=n,this.b=t,this.c=e}function ux(n,t,e){this.a=n,this.b=t,this.c=e}function ox(n,t,e){this.d=n,this.b=e,this.a=t}function sx(n){uO(this),HH(this),O2(this,n)}function hx(n){$C(this),hD(this.c,0,n.Pc())}function fx(n){fB(n.a),rY(n.c,n.b),n.b=null}function lx(n){this.a=n,sE(),R3(Date.now())}function bx(){bx=O,vBn=new r,mBn=new r}function wx(){wx=O,_Fn=new L,FFn=new N}function dx(){dx=O,Oct=QQ(XKn,rEn,1,0,5,1)}function gx(){gx=O,Bat=QQ(XKn,rEn,1,0,5,1)}function px(){px=O,Hat=QQ(XKn,rEn,1,0,5,1)}function vx(){vx=O,new Ep((WH(),WH(),MFn))}function mx(n,t){if(!n)throw fp(new Ym(t))}function yx(n){BR.call(this,n.d,n.c,n.a,n.b)}function kx(n){BR.call(this,n.d,n.c,n.a,n.b)}function jx(n,t,e){this.b=n,this.c=t,this.a=e}function Ex(n,t,e){this.b=n,this.a=t,this.c=e}function Tx(n,t,e){this.a=n,this.b=t,this.c=e}function Mx(n,t,e){this.a=n,this.b=t,this.c=e}function Sx(n,t,e){this.a=n,this.b=t,this.c=e}function Px(n,t,e){this.a=n,this.b=t,this.c=e}function Ix(n,t,e){this.b=n,this.a=t,this.c=e}function Cx(n,t,e){this.e=t,this.b=n,this.d=e}function Ox(n){var t;return(t=new jn).e=n,t}function Ax(n){var t;return(t=new bv).b=n,t}function $x(){$x=O,uUn=new Ne,oUn=new xe}function Lx(){Lx=O,OXn=new vr,AXn=new mr}function Nx(n,t){this.c=n,this.a=t,this.b=t-n}function xx(n,t,e){this.a=n,this.b=t,this.c=e}function Dx(n,t,e){this.a=n,this.b=t,this.c=e}function Rx(n,t,e){this.a=n,this.b=t,this.c=e}function Kx(n,t,e){this.a=n,this.b=t,this.c=e}function _x(n,t,e){this.a=n,this.b=t,this.c=e}function Fx(n,t,e){this.e=n,this.a=t,this.c=e}function Bx(n,t,e){VC(),eG.call(this,n,t,e)}function Hx(n,t,e){VC(),rB.call(this,n,t,e)}function qx(n,t,e){VC(),rB.call(this,n,t,e)}function Gx(n,t,e){VC(),rB.call(this,n,t,e)}function zx(n,t,e){VC(),Hx.call(this,n,t,e)}function Ux(n,t,e){VC(),Hx.call(this,n,t,e)}function Xx(n,t,e){VC(),Ux.call(this,n,t,e)}function Wx(n,t,e){VC(),qx.call(this,n,t,e)}function Vx(n,t,e){VC(),Gx.call(this,n,t,e)}function Qx(n,t){return SF(n),SF(t),new Bj(n,t)}function Yx(n,t){return SF(n),SF(t),new HD(n,t)}function Jx(n,t){return YD(null==n||Aen(n,t)),n}function Zx(n){var t;return UJ(t=new rp,n),t}function nD(n){var t;return L2(t=new cv,n),t}function tD(n){var t;return L2(t=new SE,n),t}function eD(n){return!n.e&&(n.e=new rp),n.e}function iD(n,t){return n.c[n.c.length]=t,!0}function rD(n,t){this.c=n,this.b=t,this.a=!1}function cD(n){this.d=n,Wl(this),this.b=function(n){return OO(n,15)?Jx(n,15).Yc():n.Kc()}(n.d)}function aD(){this.a=";,;",this.b="",this.c=""}function uD(n,t,e){h_.call(this,t,e),this.a=n}function oD(n,t,e){this.b=n,SI.call(this,t,e)}function sD(n,t,e){this.c=n,UT.call(this,t,e)}function hD(n,t,e){fhn(e,0,n,t,e.length,!1)}function fD(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function lD(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function bD(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function wD(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function dD(n){return L3(function(n){return cO(~n.l&HTn,~n.m&HTn,~n.h&qTn)}(eC(n)?V3(n):n))}function gD(){gD=O,Ckn(),J3n=Git,Z3n=Tit}function pD(){this.b=ey(lL(sen((Hdn(),kGn))))}function vD(n){return qE(),QQ(XKn,rEn,1,n,5,1)}function mD(n){return new YS(n.c+n.b,n.d+n.a)}function yD(n){return P$(0!=n.b),QZ(n,n.a.a)}function kD(n){return P$(0!=n.b),QZ(n,n.c.b)}function jD(n,t){if(!n)throw fp(new Gm(t))}function ED(n,t){if(!n)throw fp(new Ym(t))}function TD(n,t,e){NM.call(this,n,t),this.b=e}function MD(n,t,e){WP.call(this,n,t),this.c=e}function SD(n,t,e){KZ.call(this,t,e),this.d=n}function PD(n){px(),yo.call(this),this.th(n)}function ID(n,t,e){this.a=n,qI.call(this,t,e)}function CD(n,t,e){this.a=n,qI.call(this,t,e)}function OD(n,t,e){WP.call(this,n,t),this.c=e}function AD(){dV(),oB.call(this,(yT(),uat))}function $D(n){return null!=n&&!L7(n,Vct,Qct)}function LD(n,t){return(o9(n)<<4|o9(t))&lTn}function ND(n,t){var e;n.n&&(e=t,iD(n.f,e))}function xD(n,t,e){AZ(n,t,new UF(e))}function DD(n,t){return n.g=t<0?-1:t,n}function RD(n,t){return function(n){var t;(t=e.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t)}(n),n.a*=t,n.b*=t,n}function KD(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function _D(n,t){return QW(n,t,n.c.b,n.c),!0}function FD(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function BD(n){this.b=n,this.a=RK(this.b.a).Ed()}function HD(n,t){this.b=n,this.a=t,_h.call(this)}function qD(n,t){this.a=n,this.b=t,_h.call(this)}function GD(n,t){h_.call(this,t,1040),this.a=n}function zD(n){return 0==n||isNaN(n)?n:n<0?-1:1}function UD(n,t){return ian(n,new NM(t.a,t.b))}function XD(n){var t;return t=n.n,n.a.b+t.d+t.a}function WD(n){var t;return t=n.n,n.e.b+t.d+t.a}function VD(n){var t;return t=n.n,n.e.a+t.b+t.c}function QD(n){return Njn(),new HR(0,n)}function YD(n){if(!n)throw fp(new Qm(null))}function JD(){JD=O,WH(),Eut=new bb(qRn)}function ZD(){ZD=O,new Fen((dm(),t_n),(gm(),n_n))}function nR(){nR=O,z_n=QQ(X_n,MEn,19,256,0,1)}function tR(n,t,e,i){B7.call(this,n,t,e,i,0,0)}function eR(n){return n.e.c.length+n.g.c.length}function iR(n){return n.e.c.length-n.g.c.length}function rR(n){return n.b.c.length-n.e.c.length}function cR(n){px(),PD.call(this,n),this.a=-1}function aR(n,t){QP.call(this,n,t),this.a=this}function uR(n,t){var e;return(e=MF(n,t)).i=2,e}function oR(n,t){return++n.j,n.Ti(t)}function sR(n,t,e){return n.a=-1,n$(n,t.g,e),n}function hR(n,t,e){!function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;null==(w=HF(n.e,i))&&(s=Jx(w=new Am,183),o=new UF(t+"_s"+r),AZ(s,cxn,o)),tB(e,b=Jx(w,183)),tq(g=new Am,"x",i.j),tq(g,"y",i.k),AZ(b,oxn,g),tq(f=new Am,"x",i.b),tq(f,"y",i.c),AZ(b,"endPoint",f),!Pj((!i.a&&(i.a=new WO(Yrt,i,5)),i.a))&&(c=new vg(h=new Sl),WW((!i.a&&(i.a=new WO(Yrt,i,5)),i.a),c),AZ(b,JNn,h)),!!Zen(i)&&Eun(n.a,b,nxn,jsn(n,Zen(i))),!!nin(i)&&Eun(n.a,b,ZNn,jsn(n,nin(i))),!(0==(!i.e&&(i.e=new $N(ect,i,10,9)),i.e).i)&&(a=new BP(n,l=new Sl),WW((!i.e&&(i.e=new $N(ect,i,10,9)),i.e),a),AZ(b,exn,l)),0!=(!i.g&&(i.g=new $N(ect,i,9,10)),i.g).i&&(u=new HP(n,d=new Sl),WW((!i.g&&(i.g=new $N(ect,i,9,10)),i.g),u),AZ(b,txn,d))}(n.a,n.b,n.c,Jx(t,202),e)}function fR(n,t,e){return new DN(function(n){return 0>=n?new TE:function(n){return 0>n?new TE:new mL(null,new aV(n+1,n))}(n-1)}(n).Ie(),e,t)}function lR(n,t,e,i,r,c){return tan(n,t,e,i,r,0,c)}function bR(){bR=O,K_n=QQ(F_n,MEn,217,256,0,1)}function wR(){wR=O,W_n=QQ(Z_n,MEn,162,256,0,1)}function dR(){dR=O,nFn=QQ(tFn,MEn,184,256,0,1)}function gR(){gR=O,B_n=QQ(H_n,MEn,172,128,0,1)}function pR(){fD(this,!1,!1,!1,!1)}function vR(n){QF(),this.a=(WH(),new bb(SF(n)))}function mR(n){for(SF(n);n.Ob();)n.Pb(),n.Qb()}function yR(n){this.c=n,this.b=this.c.d.vc().Kc()}function kR(n){this.c=n,this.a=new ME(this.c.a)}function jR(n){this.a=new jE(n.gc()),O2(this,n)}function ER(n){Mb.call(this,new wW),O2(this,n)}function TR(n,t){return n.a+=Qnn(t,0,t.length),n}function MR(n,t){return Lz(t,n.c.length),n.c[t]}function SR(n,t){return Lz(t,n.a.length),n.a[t]}function PR(n,t){qE(),nY.call(this,n),this.a=t}function IR(n,t){return function(n,t){return ktn(e7(ktn(n.a).a,t.a))}(Jx(n,162),Jx(t,162))}function CR(n){return n.c-Jx(MR(n.a,n.b),287).b}function OR(n){return n.q?n.q:(WH(),WH(),SFn)}function AR(n){return n.e.Hd().gc()*n.c.Hd().gc()}function $R(n,t,i){return e.Math.min(i/n,1/t)}function LR(n,t){return n?0:e.Math.max(0,t-1)}function NR(n){var t;return(t=fan(n))?NR(t):n}function xR(n,t){return null==n.a&&Gdn(n),n.a[t]}function DR(n){return n.c?n.c.f:n.e.b}function RR(n){return n.c?n.c.g:n.e.a}function KR(n){BZ.call(this,n.gc()),EF(this,n)}function _R(n,t){VC(),Ug.call(this,t),this.a=n}function FR(n,t,e){this.a=n,WO.call(this,t,e,2)}function BR(n,t,e,i){lD(this,n,t,e,i)}function HR(n,t){Njn(),tp.call(this,n),this.a=t}function qR(n){this.b=new SE,this.a=n,this.c=-1}function GR(){this.d=new YS(0,0),this.e=new Yp}function zR(n){r$.call(this,0,0),this.a=n,this.b=0}function UR(n){this.a=n,this.c=new cp,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),cO(i&HTn,r&HTn,c&qTn)}(eC(n)?V3(n):n,t))}function WK(n,t){return function(n,t){return MA(),n==t?0:n?1:-1}((mB(n),n),(mB(t),t))}function VK(n,t){return L9((mB(n),n),(mB(t),t))}function QK(n,t){return SF(t),n.a.Ad(t)&&!n.b.Ad(t)}function YK(n,t){return V8(n,(mB(t),new Pb(t)))}function JK(n,t){return V8(n,(mB(t),new Ib(t)))}function ZK(n){return Y2(),0!=Jx(n,11).e.c.length}function n_(n){return Y2(),0!=Jx(n,11).g.c.length}function t_(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Jx(MR(t.e,0),17).c.i)==(a=Jx(MR(e.e,0),17).c.i))return iO(Jx($un(Jx(MR(t.e,0),17),(Ajn(),CQn)),19).a,Jx($un(Jx(MR(e.e,0),17),CQn),19).a);for(f=0,l=(h=n.a).length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Jx(n.b.xc(c),19).a),n.b._b(o)&&(u=Jx(n.b.xc(o),19).a)),ru?1:0)):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Jx(t,11),Jx(e,11))}function e_(n){return n.e?sQ(n.e):null}function i_(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function r_(n,t){if(n<0||n>=t)throw fp(new zp)}function c_(n,t,e){return odn(),h3(n,t)&&h3(n,e)}function a_(n){return Ohn(),!n.Hc(vit)&&!n.Hc(yit)}function u_(n){return new YS(n.c+n.b/2,n.d+n.a/2)}function o_(n,t){return t.kh()?I8(n.b,Jx(t,49)):t}function s_(n,t){this.e=n,this.d=0!=(64&t)?t|SEn:t}function h_(n,t){this.c=0,this.d=n,this.b=64|t|SEn}function f_(n){this.b=new vQ(11),this.a=(VH(),n)}function l_(n){this.b=null,this.a=(VH(),n||CFn)}function b_(n){this.a=Den(n.a),this.b=new hx(n.b)}function w_(n){this.b=n,u$.call(this,n),BO(this)}function d_(n){this.b=n,s$.call(this,n),HO(this)}function g_(n,t,e){this.a=n,TN.call(this,t,e,5,6)}function p_(n,t,e,i){this.b=n,WO.call(this,t,e,i)}function v_(n,t,e,i,r){jY.call(this,n,t,e,i,r,-1)}function m_(n,t,e,i,r){EY.call(this,n,t,e,i,r,-1)}function y_(n,t,e,i){WO.call(this,n,t,e),this.b=i}function k_(n,t,e,i){MD.call(this,n,t,e),this.b=i}function j_(n){VP.call(this,n,!1),this.a=!1}function E_(n,t){this.b=n,ol.call(this,n.b),this.a=t}function T_(n,t){QF(),Zj.call(this,n,L8(new uy(t)))}function M_(n,t){return Njn(),new cB(n,t,0)}function S_(n,t){return Njn(),new cB(6,n,t)}function P_(n,t){return FN(n.substr(0,t.length),t)}function I_(n,t){return uI(t)?fq(n,t):!!Rq(n.f,t)}function C_(n,t){for(mB(t);n.Ob();)t.td(n.Pb())}function O_(n,t,e){wdn(),this.e=n,this.d=t,this.a=e}function A_(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function $_(n){var t;for(t=n;t.f;)t=t.f;return t}function L_(n){var t;return P$(null!=(t=M5(n))),t}function N_(n){var t;return P$(null!=(t=function(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,RF(n.a,n.c,null),t)}(n))),t}function x_(n,t){var e;return GV(t,e=n.a.gc()),e-t}function D_(n,t){var e;for(e=0;en||n>t)throw fp(new Iy("fromIndex: 0, toIndex: "+n+SMn+t))}(t,n.length),new GD(n,t)}(n,n.length))}function V_(n){return new LK(new hA(n.a.length,n.a))}function Q_(n){return typeof n===Xjn||typeof n===Yjn}function Y_(n,t){return j8(n,t)<0?-1:j8(n,t)>0?1:0}function J_(n,t,e){return Emn(n,Jx(t,46),Jx(e,167))}function Z_(n,t){return Jx(_K(RK(n.a)).Xb(t),42).cd()}function nF(n,t){this.d=n,XO.call(this,n),this.e=t}function tF(n){this.d=(mB(n),n),this.a=0,this.c=CEn}function eF(n,t){tp.call(this,1),this.a=n,this.b=t}function iF(n,t){return n.c?iF(n.c,t):iD(n.b,t),n}function rF(n,t,e){var i;return i=QJ(n,t),nW(n,t,e),i}function cF(n,t){return uJ(n.slice(0,t),n)}function aF(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===Yjn;case 12:return null!=t&&(typeof t===Xjn||typeof t==Yjn);case 0:return Aen(t,n.__elementTypeId$);case 2:return Q_(t)&&!(t.im===C);case 1:return Q_(t)&&!(t.im===C)||Aen(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function KF(n,t){var e;return qU(t,e=n.a.gc()),e-1-t}function _F(n,t){return n.a+=String.fromCharCode(t),n}function FF(n,t){return n.a+=String.fromCharCode(t),n}function BF(n,t){for(mB(t);n.c0?(gen(n,e,0),e.a+=String.fromCharCode(i),gen(n,e,r=ftn(t,c)),c+=r-1):39==i?c+1=n.g}function nB(n,t,e){return egn(n,f2(n,t,e))}function tB(n,t){var e;QJ(n,e=n.a.length),nW(n,e,t)}function eB(n,t){console[n].call(console,t)}function iB(n,t){var e;++n.j,e=n.Vi(),n.Ii(n.oi(e,t))}function rB(n,t,e){Ug.call(this,t),this.a=n,this.b=e}function cB(n,t,e){tp.call(this,n),this.a=t,this.b=e}function aB(n,t,e){this.a=n,zg.call(this,t),this.b=e}function uB(n,t,e){this.a=n,bX.call(this,8,t,null,e)}function oB(n){this.a=(mB(tRn),tRn),this.b=n,new Wv}function sB(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function hB(n){this.c=n,this.b=n.a.d.a,eL(n.a.e,this)}function fB(n){S$(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function lB(n){return e.Math.sqrt(n.a*n.a+n.b*n.b)}function bB(n,t){return r_(t,n.a.c.length),MR(n.a,t)}function wB(n,t){return rI(n)===rI(t)||null!=n&&Y8(n,t)}function dB(n){return n?n.dc():!n.Kc().Ob()}function gB(n){return!n.a&&n.c?n.c.b:n.a}function pB(n){return!n.a&&(n.a=new WO(Vrt,n,4)),n.a}function vB(n){return!n.d&&(n.d=new WO(fat,n,1)),n.d}function mB(n){if(null==n)throw fp(new xp);return n}function yB(n){n.c?n.c.He():(n.d=!0,function(n){var t,e,i,r,c;if(c=new rp,VZ(n.b,new Gb(c)),n.b.c=QQ(XKn,rEn,1,0,5,1),0!=c.c.length){for(Lz(0,c.c.length),t=Jx(c.c[0],78),e=1,i=c.c.length;e0;)n=n<<1|(n<0?1:0);return n}function GB(n,t){return rI(n)===rI(t)||null!=n&&Y8(n,t)}function zB(n,t){return cK(n.a,t)?n.b[Jx(t,22).g]:null}function UB(n,t,e,i){n.a=b$(n.a,0,t)+""+i+bI(n.a,e)}function XB(n,t){n.u.Hc((Ohn(),vit))&&function(n,t){var i,r,c,a;for(i=(a=Jx(zB(n.b,t),124)).a,c=Jx(Jx(FV(n.r,t),21),84).Kc();c.Ob();)(r=Jx(c.Pb(),111)).c&&(i.a=e.Math.max(i.a,VD(r.c)));if(i.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}(n,t),function(n,t){var e;n.C&&((e=Jx(zB(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}(n,t)}function WB(n,t){return Nz(t,n.length),n.charCodeAt(t)}function VB(){Cm.call(this,"There is no more element.")}function QB(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function YB(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function JB(n,t,e,i){return f3(n,t,e,!1),l9(n,i),n}function ZB(n){return!n.n&&(n.n=new y_(uct,n,1,7)),n.n}function nH(n){return!n.c&&(n.c=new y_(sct,n,9,9)),n.c}function tH(n){return n.e==GRn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),pxn)))?i:t.ne()}(n.g,n.b)),n.e}function eH(n){return n.f==GRn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))?(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),KRn)),FN(_Rn,i)?AK(n,r1(t.Hj())):i):null}(n.g,n.b)),n.f}function iH(n){var t;return!(t=n.b)&&(n.b=t=new Qf(n)),t}function rH(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function cH(n){if($7(n.d),n.d.d!=n.c)throw fp(new Rp)}function aH(n,t){this.b=n,this.c=t,this.a=new ME(this.b)}function uH(n,t,e){this.a=sTn,this.d=n,this.b=t,this.c=e}function oH(n,t){this.d=(mB(n),n),this.a=16449,this.c=t}function sH(n,t){Y9(n,ey(G1(t,"x")),ey(G1(t,"y")))}function hH(n,t){Y9(n,ey(G1(t,"x")),ey(G1(t,"y")))}function fH(n,t){return V9(n),new PR(n,new FY(t,n.a))}function lH(n,t){return V9(n),new PR(n,new ZV(t,n.a))}function bH(n,t){return V9(n),new vL(n,new YV(t,n.a))}function wH(n,t){return V9(n),new mL(n,new JV(t,n.a))}function dH(n){this.a=new rp,this.e=QQ(Vot,MEn,48,n,0,2)}function gH(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function pH(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function vH(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function mH(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function yH(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function kH(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function jH(n,t,e,i){Xj.call(this,n,t),this.a=e,this.b=i}function EH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function TH(n,t,i){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t(i=sG(e))&&++i,i}function PH(n){var t;return w1(t=new op,n),t}function IH(n){var t;return Wun(t=new op,n),t}function CH(n){return function(n){var t;return OO(t=$un(n,(Ajn(),OQn)),160)?V7(Jx(t,160)):null}(n)||null}function OH(n){return!n.b&&(n.b=new y_(tct,n,12,3)),n.b}function AH(n,t,e){e.a?x1(n,t.b-n.f/2):N1(n,t.a-n.g/2)}function $H(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function LH(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function NH(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function xH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function DH(n,t,e,i){VC(),$V.call(this,t,e,i),this.a=n}function RH(n,t,e,i){VC(),$V.call(this,t,e,i),this.a=n}function KH(n,t){this.a=n,pL.call(this,n,Jx(n.d,15).Zc(t))}function _H(n){this.f=n,this.c=this.f.e,n.f>0&&Ccn(this)}function FH(n,t,e,i){this.b=n,this.c=i,II.call(this,t,e)}function BH(n){return P$(n.b0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new d,v_n=t?new E:n}function Nq(n,t){var e;return e=xk(n.gm),null==t?e:e+": "+t}function xq(n,t){var e;return vW(e=n.b.Qc(t),n.b.gc()),e}function Dq(n,t){if(null==n)throw fp(new ny(t));return n}function Rq(n,t){return G6(n,t,function(n,t){var e;return null==(e=n.a.get(t))?new Array:e}(n,null==t?0:n.b.se(t)))}function Kq(n,t,e){return e>=0&&FN(n.substr(e,t.length),t)}function _q(n,t,e,i,r,c,a){return new sW(n.e,t,e,i,r,c,a)}function Fq(n,t,e,i,r,c){this.a=n,T0.call(this,t,e,i,r,c)}function Bq(n,t,e,i,r,c){this.a=n,T0.call(this,t,e,i,r,c)}function Hq(n,t){this.g=n,this.d=D4(zy(zzn,1),jIn,10,0,[t])}function qq(n,t){this.e=n,this.a=XKn,this.b=ngn(t),this.c=t}function Gq(n,t){hN.call(this),JZ(this),this.a=n,this.c=t}function zq(n,t,e,i){RF(n.c[t.g],e.g,i),RF(n.c[e.g],t.g,i)}function Uq(n,t,e,i){RF(n.c[t.g],t.g,e),RF(n.b[t.g],t.g,i)}function Xq(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function Wq(n){return 0==n.b.b?n.a.$e():yD(n.b)}function Vq(n){return rI(n.a)===rI((V2(),zat))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(t=new To,e=new To,s=FN(nRn,(r=gpn(n.b,tRn))?bL(knn((!r.b&&(r.b=new U$((Djn(),Rat),sut,r)),r.b),eRn)):null),o=0;o=0?n.sh(i,e):vbn(n,t,e)}function dG(n,t,e){FG(),n&&DB(Pct,n,t),n&&DB(Sct,n,e)}function gG(n,t,e){this.i=new rp,this.b=n,this.g=t,this.a=e}function pG(n,t,e){this.c=new rp,this.e=n,this.f=t,this.b=e}function vG(n,t,e){this.a=new rp,this.e=n,this.f=t,this.c=e}function mG(n,t){EO(this),this.f=t,this.g=n,GH(this),this._d()}function yG(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Cvn(n,e)}function kG(n,t){var e;for(SF(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function jG(n){var t;return N5(t=new Wk(CZ(n.length)),n),t}function EG(n,t){if(null==t)throw fp(new xp);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(c5(),P_n)[typeof e];return r?r(e):n8(typeof e)}(n,t)}function TG(n){return n.Db>>16!=3?null:Jx(n.Cb,33)}function MG(n){return n.Db>>16!=9?null:Jx(n.Cb,33)}function SG(n){return n.Db>>16!=6?null:Jx(n.Cb,79)}function PG(n){return n.Db>>16!=7?null:Jx(n.Cb,235)}function IG(n){return n.Db>>16!=7?null:Jx(n.Cb,160)}function CG(n){return n.Db>>16!=11?null:Jx(n.Cb,33)}function OG(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):Uhn(n,t)}function AG(n,t){var e;return Tun(e=new ER(t),n),new hx(e)}function $G(n){var t;return t=n.d,t=n.si(n.f),lY(n,t),t.Ob()}function LG(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function NG(n,t){return e.Math.abs(n)>16!=3?null:Jx(n.Cb,147)}function HG(n){return n.Db>>16!=6?null:Jx(n.Cb,235)}function qG(n){return n.Db>>16!=17?null:Jx(n.Cb,26)}function GG(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function zG(n,t,e){return null==t?Jsn(n.f,null,e):c7(n.g,t,e)}function UG(n,t,e,i,r,c){return new kJ(n.e,t,n.aj(),e,i,r,c)}function XG(n,t,e){return n.a=b$(n.a,0,t)+""+e+bI(n.a,t),n}function WG(n,t,e){return iD(n.a,(_B(),pin(t,e),new Vj(t,e))),n}function VG(n){return EA(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function QG(n){return EA(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function YG(n,t){n.d&&oJ(n.d.e,n),n.d=t,n.d&&iD(n.d.e,n)}function JG(n,t){n.c&&oJ(n.c.g,n),n.c=t,n.c&&iD(n.c.g,n)}function ZG(n,t){n.c&&oJ(n.c.a,n),n.c=t,n.c&&iD(n.c.a,n)}function nz(n,t){n.i&&oJ(n.i.j,n),n.i=t,n.i&&iD(n.i.j,n)}function tz(n,t,e){this.a=t,this.c=n,this.b=(SF(e),new hx(e))}function ez(n,t,e){this.a=t,this.c=n,this.b=(SF(e),new hx(e))}function iz(n,t){this.a=n,this.c=gO(this.a),this.b=new Mq(t)}function rz(n,t){if(n<0||n>t)throw fp(new qm(KMn+n+_Mn+t))}function cz(n,t){return aK(n.a,t)?__(n,Jx(t,22).g,null):null}function az(){az=O,s_n=U6((vm(),D4(zy(h_n,1),WEn,538,0,[u_n])))}function uz(){uz=O,$3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function oz(){oz=O,L3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function sz(){sz=O,x3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function hz(){hz=O,a4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function fz(){fz=O,f4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function lz(){lz=O,w4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function bz(){bz=O,E4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function wz(){wz=O,a6n=kK(new lX,(_rn(),t5n),(ksn(),a5n))}function dz(n,t,e,i){this.c=n,this.d=i,vz(this,t),mz(this,e)}function gz(n){this.c=new SE,this.b=n.b,this.d=n.c,this.a=n.a}function pz(n){this.a=e.Math.cos(n),this.b=e.Math.sin(n)}function vz(n,t){n.a&&oJ(n.a.k,n),n.a=t,n.a&&iD(n.a.k,n)}function mz(n,t){n.b&&oJ(n.b.f,n),n.b=t,n.b&&iD(n.b.f,n)}function yz(n,t){(function(n,t,e){Jx(t.b,65),VZ(t.a,new Dx(n,e,t))})(n,n.b,n.c),Jx(n.b.b,65),t&&Jx(t.b,65).b}function kz(n,t){OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),4),T2(n,t)}function jz(n,t){OO(n.Cb,179)&&(Jx(n.Cb,179).tb=null),T2(n,t)}function Ez(n,t){return MT(),zJ(t)?new aR(t,n):new QP(t,n)}function Tz(n){var t;return Kk(),w1(t=new op,n),t}function Mz(n){var t;return Kk(),w1(t=new op,n),t}function Sz(n,t){var e;return e=new GF(n),t.c[t.c.length]=e,e}function Pz(n,t){var e;return(e=Jx(D8(YH(n.a),t),14))?e.gc():0}function Iz(n){return V9(n),VH(),VH(),qZ(n,OFn)}function Cz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function Oz(n,t){am.call(this,new jE(CZ(n))),p0(t,TEn),this.a=t}function Az(n,t,e){r9(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function $z(n,t,e){var i;r9(t,e,n.c.length),i=e-t,oj(n.c,t,i)}function Lz(n,t){if(n<0||n>=t)throw fp(new qm(KMn+n+_Mn+t))}function Nz(n,t){if(n<0||n>=t)throw fp(new Ny(KMn+n+_Mn+t))}function xz(n,t){this.b=(mB(n),n),this.a=0==(t&tMn)?64|t|SEn:t}function Dz(n){LC(this),Up(this.a,E5(e.Math.max(8,n))<<1)}function Rz(n){return L5(D4(zy(H7n,1),MEn,8,0,[n.i.n,n.n,n.a]))}function Kz(n,t){return function(n,t,e){var i,r,c,a,u,o;if(a=new go,u=gwn(n.e.Tg(),t),i=Jx(n.g,119),MT(),Jx(t,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function IU(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function CU(n){return fR(n.e.Hd().gc()*n.c.Hd().gc(),16,new qf(n))}function OU(n){return Jx(qtn(n,QQ(xzn,kIn,17,n.c.length,0,1)),474)}function AU(n){return Jx(qtn(n,QQ(zzn,jIn,10,n.c.length,0,1)),193)}function $U(n,t,e){SF(n),function(n){var t,e,i;for(WH(),ZC(n.c,n.a),i=new pb(n.c);i.a=0&&d=t)throw fp(new qm(function(n,t){if(n<0)return tgn(iEn,D4(zy(XKn,1),rEn,1,5,["index",g9(n)]));if(t<0)throw fp(new Ym(cEn+t));return tgn("%s (%s) must be less than size (%s)",D4(zy(XKn,1),rEn,1,5,["index",g9(n),g9(t)]))}(n,t)));return n}function GU(n,t,e){if(n<0||te)throw fp(new qm(function(n,t,e){return n<0||n>e?Xsn(n,e,"start index"):t<0||t>e?Xsn(t,e,"end index"):tgn("end index (%s) must not be less than start index (%s)",D4(zy(XKn,1),rEn,1,5,[g9(t),g9(n)]))}(n,t,e)))}function zU(n,t){if(F_(n.a,t),t.d)throw fp(new Cm(zMn));t.d=n}function UU(n,t){if(t.$modCount!=n.$modCount)throw fp(new Rp)}function XU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function WU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function VU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function QU(n){var t;return eC(n)?-0==(t=n)?0:t:function(n){return pcn(n,(NJ(),$_n))<0?-function(n){return n.l+n.m*zTn+n.h*UTn}(f5(n)):n.l+n.m*zTn+n.h*UTn}(n)}function YU(n){var t;return kB(n),t=new F,Yk(n.a,new _b(t)),t}function JU(n){var t;return kB(n),t=new _,Yk(n.a,new Kb(t)),t}function ZU(n,t){this.a=n,Vl.call(this,n),rz(t,n.gc()),this.b=t}function nX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function tX(n){return new vQ((p0(n,QEn),IZ(e7(e7(5,n),n/10|0))))}function eX(n){return Jx(qtn(n,QQ(cUn,EIn,11,n.c.length,0,1)),1943)}function iX(n,t,e){n.d&&oJ(n.d.e,n),n.d=t,n.d&&nK(n.d.e,e,n)}function rX(n,t){(function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.b)for(p=new pb(n);p.a2e3&&(j_n=n,E_n=e.setTimeout(Cj,10)),0==k_n++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=nsn(t,e)}while(n.a);n.a=e}}((vy(),p_n)),!0)}();try{return function(n,t,e){return n.apply(t,e)}(n,t,i)}finally{!function(n){n&&function(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=nsn(t,e)}while(n.b);n.b=e}}((vy(),p_n)),--k_n,n&&-1!=E_n&&(function(n){e.clearTimeout(n)}(E_n),E_n=-1)}(r)}}function fX(n){var t;t=n.Wg(),this.a=OO(t,69)?Jx(t,69).Zh():t.Kc()}function lX(){fm.call(this),this.j.c=QQ(XKn,rEn,1,0,5,1),this.a=-1}function bX(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function wX(n,t,e,i){this.e=i,this.d=null,this.c=n,this.a=t,this.b=e}function dX(n,t,e){this.d=new hd(this),this.e=n,this.i=t,this.f=e}function gX(){gX=O,UVn=new tS(vSn,0),XVn=new tS("TOP_LEFT",1)}function pX(){pX=O,_3n=KB(g9(1),g9(4)),K3n=KB(g9(1),g9(2))}function vX(){vX=O,b9n=U6((iT(),D4(zy(g9n,1),WEn,551,0,[f9n])))}function mX(){mX=O,h9n=U6((eT(),D4(zy(l9n,1),WEn,482,0,[o9n])))}function yX(){yX=O,u7n=U6((rT(),D4(zy(h7n,1),WEn,530,0,[c7n])))}function kX(){kX=O,kqn=U6((HE(),D4(zy(Hqn,1),WEn,481,0,[mqn])))}function jX(n,t,e,i){return OO(e,54)?new O$(n,t,e,i):new NK(n,t,e,i)}function EX(n,t){return Jx(GA(YK(Jx(FV(n.k,t),15).Oc(),fWn)),113)}function TX(n,t){return Jx(GA(JK(Jx(FV(n.k,t),15).Oc(),fWn)),113)}function MX(n){return new xz(function(n,t){var e,i;for(WH(),i=new rp,e=0;e0}function CX(n){return P$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function OX(n,t){mB(t),RF(n.a,n.c,t),n.c=n.c+1&n.a.length-1,mrn(n)}function AX(n,t){mB(t),n.b=n.b-1&n.a.length-1,RF(n.a,n.b,t),mrn(n)}function $X(n,t){var e;for(e=n.j.c.length;e0&&hmn(n.g,0,t,0,n.i),t}function FX(n,t){var e;return ST(),!(e=Jx(HF(xct,n),55))||e.wj(t)}function BX(n){var t;for(t=0;n.Ob();)n.Pb(),t=e7(t,1);return IZ(t)}function HX(n,t){var e;return e=new Ly,n.xd(e),e.a+="..",t.yd(e),e.a}function qX(n,t,e){return lvn(n,t,e,OO(t,99)&&0!=(Jx(t,18).Bb&iMn))}function GX(n,t,e){return function(n,t,e,i){var r,c,a,u,o,s;if(u=new go,o=gwn(n.e.Tg(),t),r=Jx(n.g,119),MT(),Jx(t,66).Oj())for(a=0;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=function(n){return(n.c+n.a)/2}((Lz(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(o=(u.c+u.a)/2)-e,u.c<=o-e&&nK(n,i++,new Nx(u.c,c)),(a=o+e)<=u.a&&(r=new Nx(a,u.a),rz(i,n.c.length),zT(n.c,i,r)))}(t,i,e)),o}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new dz((rQ(),_4n),t,c,1),new dz(_4n,c,a,1),r=new pb(e);r.a0;)i+=n.a[e],e-=e&-e;return i}function XW(n,t){var e;for(e=t;e;)L$(n,-e.i,-e.j),e=CG(e);return n}function WW(n,t){var e,i;for(mB(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function VW(n,t){var e;return new Vj(e=t.cd(),n.e.pc(e,Jx(t.dd(),14)))}function QW(n,t,e,i){var r;(r=new $).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function YW(n,t,e){var i;return Lz(t,n.c.length),i=n.c[t],n.c[t]=e,i}function JW(n){return n.c&&n.d?Jz(n.c)+"->"+Jz(n.d):"e_"+FA(n)}function ZW(n,t){return(V9(n),ij(new PR(n,new FY(t,n.a)))).sd(gBn)}function nV(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function tV(n){if(!n.c.Sb())throw fp(new _p);return n.a=!0,n.c.Ub()}function eV(n){n.i=0,GT(n.b,null),GT(n.c,null),n.a=null,n.e=null,++n.g}function iV(n){_T.call(this,null==n?uEn:C7(n),OO(n,78)?Jx(n,78):null)}function rV(n){Mjn(),hp(this),this.a=new SE,u6(this,n),_D(this.a,n)}function cV(){$C(this),this.b=new YS(ZTn,ZTn),this.a=new YS(nMn,nMn)}function aV(n,t){this.c=0,this.b=t,PI.call(this,n,17493),this.a=this.c}function uV(n){oV(),fBn||(this.c=n,this.e=!0,this.a=new rp)}function oV(){oV=O,fBn=!0,sBn=!1,hBn=!1,bBn=!1,lBn=!1}function sV(n,t){return!!OO(t,149)&&FN(n.c,Jx(t,149).c)}function hV(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function fV(n,t){return Jx(XJ(n.d,t),23)||Jx(XJ(n.e,t),23)}function lV(n){this.b=n,XO.call(this,n),this.a=Jx(q3(this.b.a,4),126)}function bV(n){this.b=n,o$.call(this,n),this.a=Jx(q3(this.b.a,4),126)}function wV(n){return n.t||(n.t=new _g(n),k9(new Xm(n),0,n.t)),n.t}function dV(){var n,t;dV=O,Kk(),t=new Hp,put=t,n=new Gv,vut=n}function gV(n){var t;return n.c||OO(t=n.r,88)&&(n.c=Jx(t,26)),n.c}function pV(n){return cO(n&HTn,n>>22&HTn,n<0?qTn:0)}function vV(n,t){var e,i;(e=Jx(function(n,t){SF(n);try{return n.Bc(t)}catch(n){if(OO(n=E4(n),205)||OO(n,173))return null;throw fp(n)}}(n.c,t),14))&&(i=e.gc(),e.$b(),n.d-=i)}function mV(n,t){var e;return!!(e=a6(n,t.cd()))&&GB(e.e,t.dd())}function yV(n,t){return 0==t||0==n.e?n:t>0?xnn(n,t):Awn(n,-t)}function kV(n,t){return 0==t||0==n.e?n:t>0?Awn(n,t):xnn(n,-t)}function jV(n){if(Qfn(n))return n.c=n.a,n.a.Pb();throw fp(new _p)}function EV(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(won(),Fzn)&&e.k==Fzn}function TV(n){var t;return s4(t=new Eq,n),w5(t,(pjn(),L1n),null),t}function MV(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):efn(n,t,e)}function SV(n,t,e,i){var r;for(r=0;rt)throw fp(new qm(Xsn(n,t,"index")));return n}function zV(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(c=0,a=0;an.d[r.p]&&(e+=UW(n.b,i)*Jx(a.b,19).a,AX(n.a,g9(i)));for(;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}(n,e)}function oQ(n){var t;return n.a||OO(t=n.r,148)&&(n.a=Jx(t,148)),n.a}function sQ(n){return n.a?n.e?sQ(n.e):null:n}function hQ(n,t){return mB(t),n.c=0,"Initial capacity must not be negative")}function mQ(){mQ=O,sHn=U6((ZZ(),D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])))}function yQ(){yQ=O,gHn=U6((HY(),D4(zy(pHn,1),WEn,461,0,[lHn,fHn,bHn])))}function kQ(){kQ=O,jHn=U6((AJ(),D4(zy(zHn,1),WEn,462,0,[yHn,mHn,vHn])))}function jQ(){jQ=O,wBn=U6((O6(),D4(zy(dBn,1),WEn,132,0,[aBn,uBn,oBn])))}function EQ(){EQ=O,WGn=U6((OJ(),D4(zy(izn,1),WEn,379,0,[zGn,GGn,UGn])))}function TQ(){TQ=O,Azn=U6((i9(),D4(zy(Nzn,1),WEn,423,0,[Czn,Izn,Pzn])))}function MQ(){MQ=O,IWn=U6((A0(),D4(zy($Wn,1),WEn,314,0,[MWn,TWn,SWn])))}function SQ(){SQ=O,LWn=U6((l0(),D4(zy(_Wn,1),WEn,337,0,[CWn,AWn,OWn])))}function PQ(){PQ=O,VWn=U6((r5(),D4(zy(eVn,1),WEn,450,0,[UWn,zWn,XWn])))}function IQ(){IQ=O,nWn=U6((m2(),D4(zy(sWn,1),WEn,361,0,[JXn,YXn,QXn])))}function CQ(){CQ=O,zVn=U6(($J(),D4(zy(WVn,1),WEn,303,0,[HVn,qVn,BVn])))}function OQ(){OQ=O,FVn=U6((c4(),D4(zy(GVn,1),WEn,292,0,[RVn,KVn,DVn])))}function AQ(){AQ=O,T2n=U6((r8(),D4(zy(C2n,1),WEn,378,0,[y2n,k2n,j2n])))}function $Q(){$Q=O,l3n=U6((g3(),D4(zy(d3n,1),WEn,375,0,[o3n,s3n,h3n])))}function LQ(){LQ=O,J2n=U6((j5(),D4(zy(t3n,1),WEn,339,0,[V2n,W2n,Q2n])))}function NQ(){NQ=O,u3n=U6((f0(),D4(zy(f3n,1),WEn,452,0,[c3n,i3n,r3n])))}function xQ(){xQ=O,A3n=U6((B4(),D4(zy(B3n,1),WEn,377,0,[I3n,C3n,P3n])))}function DQ(){DQ=O,k3n=U6((L6(),D4(zy(M3n,1),WEn,336,0,[p3n,v3n,m3n])))}function RQ(){RQ=O,S3n=U6((Q2(),D4(zy(O3n,1),WEn,338,0,[T3n,j3n,E3n])))}function KQ(){KQ=O,V3n=U6((b0(),D4(zy(Q3n,1),WEn,454,0,[z3n,U3n,X3n])))}function _Q(){_Q=O,m6n=U6((y7(),D4(zy(j6n,1),WEn,442,0,[p6n,d6n,g6n])))}function FQ(){FQ=O,I6n=U6((C6(),D4(zy(c8n,1),WEn,380,0,[T6n,M6n,S6n])))}function BQ(){BQ=O,p8n=U6((v7(),D4(zy(V8n,1),WEn,381,0,[w8n,d8n,b8n])))}function HQ(){HQ=O,f8n=U6((d3(),D4(zy(l8n,1),WEn,293,0,[o8n,s8n,u8n])))}function qQ(){qQ=O,u9n=U6((m7(),D4(zy(s9n,1),WEn,437,0,[i9n,r9n,c9n])))}function GQ(){GQ=O,Ret=U6((A8(),D4(zy(Het,1),WEn,334,0,[Net,Let,xet])))}function zQ(){zQ=O,het=U6((n1(),D4(zy(get,1),WEn,272,0,[aet,uet,oet])))}function UQ(n,t){return!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),ynn(n.o,t)}function XQ(n){return!n.g&&(n.g=new oo),!n.g.c&&(n.g.c=new Kg(n)),n.g.c}function WQ(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):efn(n,t,!0)}function SY(){SY=O,u6n=btn(btn(wT(new lX,(_rn(),Z4n)),(ksn(),f5n)),u5n)}function PY(n){for(;!n.a;)if(!qN(n.c,new Fb(n)))return!1;return!0}function IY(n){return SF(n),OO(n,198)?Jx(n,198):new al(n)}function CY(){var n,t,e,i;CY=O,g7n=new bu,v7n=new wu,Ojn(),n=Mtt,t=g7n,e=rtt,i=v7n,_B(),p7n=new Tm(D4(zy(r_n,1),REn,42,0,[(pin(n,t),new Vj(n,t)),(pin(e,i),new Vj(e,i))]))}function OY(){OY=O,y6n=new DS("LEAF_NUMBER",0),k6n=new DS("NODE_SIZE",1)}function AY(n){n.a=QQ(Vot,STn,25,n.b+1,15,1),n.c=QQ(Vot,STn,25,n.b,15,1),n.d=0}function $Y(n,t){if(null==n.g||t>=n.i)throw fp(new HI(t,n.i));return n.g[t]}function LY(n,t,e){if(j6(n,e),null!=e&&!n.wj(e))throw fp(new Ap);return e}function NY(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)a1(n,t);return _X(n)}function xY(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function DY(n,t){var e;return tW(t),(e=uJ(n.slice(0,t),n)).length=t,e}function RY(n,t,e,i){VH(),i=i||CFn,Wsn(n.slice(t,e),n,t,e,-t,i)}function KY(n,t,e,i,r){return t<0?efn(n,e,i):Jx(e,66).Nj().Pj(n,n.yh(),t,i,r)}function _Y(n,t){if(t.a)throw fp(new Cm(zMn));F_(n.a,t),t.a=n,!n.j&&(n.j=t)}function FY(n,t){II.call(this,t.rd(),-16449&t.qd()),mB(n),this.a=n,this.c=t}function BY(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),wQ(n,i,e)}function HY(){HY=O,lHn=new sM(kSn,0),fHn=new sM(vSn,1),bHn=new sM(jSn,2)}function qY(){qY=O,VFn=new FT("All",0),QFn=new OC,YFn=new fO,JFn=new AC}function GY(){GY=O,nBn=U6((qY(),D4(zy(tBn,1),WEn,297,0,[VFn,QFn,YFn,JFn])))}function zY(){zY=O,mzn=U6((F4(),D4(zy(Ozn,1),WEn,405,0,[wzn,pzn,dzn,gzn])))}function UY(){UY=O,nqn=U6((i4(),D4(zy(cqn,1),WEn,406,0,[JHn,VHn,QHn,YHn])))}function XY(){XY=O,aqn=U6((Pen(),D4(zy(uqn,1),WEn,323,0,[eqn,tqn,iqn,rqn])))}function WY(){WY=O,vqn=U6((Ien(),D4(zy(yqn,1),WEn,394,0,[wqn,bqn,dqn,gqn])))}function VY(){VY=O,i5n=U6((_rn(),D4(zy(r5n,1),WEn,393,0,[J4n,Z4n,n5n,t5n])))}function QY(){QY=O,EXn=U6((K4(),D4(zy($Xn,1),WEn,360,0,[kXn,mXn,yXn,vXn])))}function YY(){YY=O,a8n=U6((qin(),D4(zy(h8n,1),WEn,340,0,[r8n,e8n,i8n,t8n])))}function JY(){JY=O,KXn=U6((_4(),D4(zy(GXn,1),WEn,411,0,[LXn,NXn,xXn,DXn])))}function ZY(){ZY=O,O2n=U6((qen(),D4(zy(D2n,1),WEn,197,0,[P2n,I2n,S2n,M2n])))}function nJ(){nJ=O,Prt=U6((I6(),D4(zy(Ort,1),WEn,396,0,[Ert,Trt,jrt,Mrt])))}function tJ(){tJ=O,qet=U6((Brn(),D4(zy(Zet,1),WEn,285,0,[Bet,Ket,_et,Fet])))}function eJ(){eJ=O,pet=U6((p7(),D4(zy(Tet,1),WEn,218,0,[det,bet,fet,wet])))}function iJ(){iJ=O,yrt=U6((onn(),D4(zy(krt,1),WEn,311,0,[vrt,drt,prt,grt])))}function rJ(){rJ=O,irt=U6(($nn(),D4(zy(brt,1),WEn,374,0,[nrt,trt,Zit,Jit])))}function cJ(){cJ=O,Zvn(),rot=ZTn,iot=nMn,aot=new ib(ZTn),cot=new ib(nMn)}function aJ(){aJ=O,cVn=new VM(lIn,0),rVn=new VM("IMPROVE_STRAIGHTNESS",1)}function uJ(n,t){return 10!=YJ(t)&&D4(Q5(t),t.hm,t.__elementTypeId$,YJ(t),n),n}function oJ(n,t){var e;return-1!=(e=fJ(n,t,0))&&(_V(n,e),!0)}function sJ(n,t){var e;return(e=Jx(UV(n.e,t),387))?(FD(e),e.e):null}function hJ(n){var t;return eC(n)&&(t=0-n,!isNaN(t))?t:L3(f5(n))}function fJ(n,t,e){for(;e0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=e.Math.min(n.c,n.f[s.p]),n.b=e.Math.max(n.b,n.f[s.p])):u&&(n.f[s.p]=l)}}(n,t,i),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new pb(n.a);u.a=0?Len(n,e,!0,!0):efn(n,t,!0)}function FJ(n,t){var e,i;return ZE(),e=PX(n),i=PX(t),!!e&&!!i&&!Ten(e.k,i.k)}function BJ(n){(this.q?this.q:(WH(),WH(),SFn)).Ac(n.q?n.q:(WH(),WH(),SFn))}function HJ(n,t){hqn=new it,pqn=t,Jx((sqn=n).b,65),YQ(sqn,hqn,null),Hmn(sqn)}function qJ(n,t,e){var i;return i=n.g[t],FO(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function GJ(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function zJ(n){var t;return n.d!=n.r&&(t=lcn(n),n.e=!!t&&t.Cj()==_Dn,n.d=t),n.e}function UJ(n,t){var e;for(SF(n),SF(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function XJ(n,t){var e;return(e=Jx(HF(n.e,t),387))?(AO(n,e),e.e):null}function WJ(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function VJ(n,t){return V9(n),new PR(n,new QN(new ZV(t,n.a)))}function QJ(n,t){var e=n.a[t],i=(c5(),P_n)[typeof e];return i?i(e):n8(typeof e)}function YJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function JJ(n){var t;return null!=(t=0==n.b.c.length?null:MR(n.b,0))&&i2(n,0),t}function ZJ(n,t){for(;t[0]=0;)++t[0]}function nZ(n,t){this.e=t,this.a=f4(n),this.a<54?this.f=QU(n):this.c=Xtn(n)}function tZ(n,t,e,i){Njn(),tp.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function eZ(n,t,e){var i,r;for(i=10,r=0;rn.a[i]&&(i=e);return i}function oZ(n,t){return 0==t.e||0==n.e?vFn:(Efn(),Qbn(n,t))}function sZ(){sZ=O,jzn=new St,Ezn=new Tt,yzn=new At,kzn=new $t,Tzn=new Lt}function hZ(){hZ=O,LBn=new aM("BY_SIZE",0),NBn=new aM("BY_SIZE_AND_SHAPE",1)}function fZ(){fZ=O,Yqn=new lM("EADES",0),Jqn=new lM("FRUCHTERMAN_REINGOLD",1)}function lZ(){lZ=O,BWn=new UM("READING_DIRECTION",0),HWn=new UM("ROTATION",1)}function bZ(){bZ=O,FWn=U6((yin(),D4(zy(qWn,1),WEn,335,0,[xWn,NWn,RWn,KWn,DWn])))}function wZ(){wZ=O,R2n=U6((uin(),D4(zy(U2n,1),WEn,315,0,[x2n,$2n,L2n,A2n,N2n])))}function dZ(){dZ=O,zXn=U6((Man(),D4(zy(ZXn,1),WEn,363,0,[FXn,HXn,qXn,BXn,_Xn])))}function gZ(){gZ=O,aYn=U6((g7(),D4(zy(v2n,1),WEn,163,0,[rYn,nYn,tYn,eYn,iYn])))}function pZ(){pZ=O,T9n=U6(($on(),D4(zy(a7n,1),WEn,316,0,[v9n,m9n,j9n,y9n,k9n])))}function vZ(){vZ=O,I7n=U6((Ytn(),D4(zy(R7n,1),WEn,175,0,[M7n,T7n,j7n,S7n,E7n])))}function mZ(){mZ=O,e9n=U6((Dbn(),D4(zy(a9n,1),WEn,355,0,[Y8n,Q8n,Z8n,J8n,n9n])))}function yZ(){yZ=O,rzn=U6((Lun(),D4(zy(uzn,1),WEn,356,0,[JGn,ZGn,nzn,tzn,ezn])))}function kZ(){kZ=O,cet=U6((e9(),D4(zy(set,1),WEn,103,0,[eet,tet,net,Ztt,iet])))}function jZ(){jZ=O,uit=U6((Jtn(),D4(zy(wit,1),WEn,249,0,[iit,cit,tit,eit,rit])))}function EZ(){EZ=O,Uit=U6((Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])))}function TZ(n,t){var e;return(e=Jx(HF(n.a,t),134))||(e=new Zn,DB(n.a,t,e)),e}function MZ(n){var t;return!!(t=Jx($un(n,(Ajn(),JVn)),305))&&t.a==n}function SZ(n){var t;return!!(t=Jx($un(n,(Ajn(),JVn)),305))&&t.i==n}function PZ(n,t){return mB(t),i_(n),!!n.d.Ob()&&(t.td(n.d.Pb()),!0)}function IZ(n){return j8(n,Jjn)>0?Jjn:j8(n,tTn)<0?tTn:VR(n)}function CZ(n){return n<3?(p0(n,zEn),n+1):n=0&&t=-.01&&n.a<=PSn&&(n.a=0),n.b>=-.01&&n.b<=PSn&&(n.b=0),n}function LZ(n,t){return t==(wx(),wx(),FFn)?n.toLocaleLowerCase():n.toLowerCase()}function NZ(n){return(0!=(2&n.i)?"interface ":0!=(1&n.i)?"":"class ")+(hL(n),n.o)}function xZ(n){var t;t=new Uv,lY((!n.q&&(n.q=new y_(lat,n,11,10)),n.q),t)}function DZ(n){this.g=n,this.f=new rp,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function RZ(n){this.b=new rp,this.a=new rp,this.c=new rp,this.d=new rp,this.e=n}function KZ(n,t){this.a=new cp,this.e=new cp,this.b=(r8(),j2n),this.c=n,this.b=t}function _Z(n,t,e){hN.call(this),JZ(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function FZ(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(vm(),u_n)}function BZ(n){if(n<0)throw fp(new Ym("Illegal Capacity: "+n));this.g=this.ri(n)}function HZ(n){var t;S$(!!n.c),t=n.c.a,QZ(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function qZ(n,t){var e;return V9(n),e=new FH(n,n.a.rd(),4|n.a.qd(),t),new PR(n,e)}function GZ(n,t){var e;for(e=n.Kc();e.Ob();)w5(Jx(e.Pb(),70),(Ajn(),jQn),t)}function zZ(n){var t;return(t=ey(lL($un(n,(pjn(),k1n)))))<0&&w5(n,k1n,t=0),t}function UZ(n,t,e,i,r,c){var a;JG(a=TV(i),r),YG(a,c),Yhn(n.a,i,new Ex(a,t,e.f))}function XZ(n,t){var e;if(!(e=Jbn(n.Tg(),t)))throw fp(new Ym(yNn+t+ENn));return e}function WZ(n,t){var e;for(e=n;CG(e);)if((e=CG(e))==t)return!0;return!1}function VZ(n,t){var e,i,r,c;for(mB(t),r=0,c=(i=n.c).length;r>16!=6?null:Jx(Hfn(n),235)}(n))&&!t.kh()&&(n.w=t),t)}function c1(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=QQ(Wot,hTn,25,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=Urt[e],a[r++]=Urt[c];return Qnn(a,0,a.length)}(t=Jx(n,190),t.length)}function a1(n,t){if(null==n.g||t>=n.i)throw fp(new HI(t,n.i));return n.li(t,n.g[t])}function u1(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)t2(n.b,t),t=$9(t);t2(n.b,t)}function o1(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r=14&&t<=16)),n}function l1(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function b1(n,t,e){var i,r;i=t;do{r=ey(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function w1(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,5,r,n.a),e?Ian(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=Uyn(n,t,e)),e&&e.Fi()}function d1(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)}function g1(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)}function p1(n,t){return function(n){return n?n.i:null}(_2(n,t,VR(i7(HEn,qB(VR(i7(null==t?0:V5(t),qEn)),15)))))}function v1(){v1=O,Uzn=U6((won(),D4(zy(Xzn,1),WEn,267,0,[qzn,Hzn,Fzn,Gzn,Bzn,_zn])))}function m1(){m1=O,gnt=U6((gan(),D4(zy(ret,1),WEn,291,0,[wnt,bnt,lnt,hnt,snt,fnt])))}function y1(){y1=O,Q7n=U6((Gen(),D4(zy(dnt,1),WEn,248,0,[q7n,U7n,X7n,W7n,G7n,z7n])))}function k1(){k1=O,mWn=U6((vsn(),D4(zy(jWn,1),WEn,227,0,[wWn,gWn,bWn,dWn,pWn,lWn])))}function j1(){j1=O,EVn=U6((oon(),D4(zy(NVn,1),WEn,275,0,[yVn,pVn,kVn,mVn,vVn,gVn])))}function E1(){E1=O,dVn=U6((Vcn(),D4(zy(jVn,1),WEn,274,0,[fVn,hVn,bVn,sVn,lVn,oVn])))}function T1(){T1=O,m2n=U6((tun(),D4(zy(E2n,1),WEn,313,0,[g2n,w2n,l2n,b2n,p2n,d2n])))}function M1(){M1=O,iVn=U6((von(),D4(zy(aVn,1),WEn,276,0,[YWn,QWn,ZWn,JWn,tVn,nVn])))}function S1(){S1=O,b5n=U6((ksn(),D4(zy(n6n,1),WEn,327,0,[f5n,u5n,s5n,o5n,h5n,a5n])))}function P1(){P1=O,Eit=U6((Ohn(),D4(zy(zit,1),WEn,273,0,[yit,vit,mit,pit,git,kit])))}function I1(){I1=O,Met=U6((mun(),D4(zy(Det,1),WEn,312,0,[jet,yet,Eet,vet,ket,met])))}function C1(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,0,e,n.a))}function O1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,1,e,n.b))}function A1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,3,e,n.b))}function $1(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,3,e,n.f))}function L1(n,t){var e;e=n.g,n.g=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,4,e,n.g))}function N1(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,5,e,n.i))}function x1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,6,e,n.j))}function D1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,1,e,n.j))}function R1(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,4,e,n.c))}function K1(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,2,e,n.k))}function _1(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,2,e,n.d))}function F1(n,t){var e;e=n.s,n.s=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,4,e,n.s))}function B1(n,t){var e;e=n.t,n.t=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,5,e,n.t))}function H1(n,t){var e;e=n.F,n.F=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,5,e,t))}function q1(n,t){var e;return(e=Jx(HF((ST(),xct),n),55))?e.xj(t):QQ(XKn,rEn,1,t,5,1)}function G1(n,t){var e;return t in n.a&&(e=EG(n,t).he())?e.a:null}function z1(n,t){var e,i;return Dk(),i=new uo,!!t&&Wbn(i,t),D0(e=i,n),e}function U1(n,t,e){if(j6(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw fp(new Ap);return e}function X1(n,t){return n.n=t,n.n?(n.f=new rp,n.e=new rp):(n.f=null,n.e=null),n}function W1(n,t,e,i,r,c){var a;return i0(e,a=MF(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function V1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function Q1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function Y1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function J1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function Z1(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function n0(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,T$(e<(n.c-n.b&i)),e>=r?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,RF(n.a,t,n.a[i]),t=i;RF(n.a,n.c,null)}(n,t),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,RF(n.a,t,n.a[i]),t=i;RF(n.a,n.b,null),n.b=n.b+1&e}(n,t),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function o0(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=Z6(n.f)),n.c).e}function s0(n){if(!(n>=0))throw fp(new Ym("tolerance ("+n+") must be >= 0"));return n}function h0(){return y7n||f6(y7n=new Zdn,D4(zy(nHn,1),rEn,130,0,[new $f])),y7n}function f0(){f0=O,c3n=new hS(SSn,0),i3n=new hS("INPUT",1),r3n=new hS("OUTPUT",2)}function l0(){l0=O,CWn=new GM("ARD",0),AWn=new GM("MSD",1),OWn=new GM("MANUAL",2)}function b0(){b0=O,z3n=new gS("BARYCENTER",0),U3n=new gS(_In,1),X3n=new gS(FIn,2)}function w0(n,t){var e;if(e=n.gc(),t<0||t>e)throw fp(new EN(t,e));return new VN(n,t)}function d0(n,t){var e;return OO(t,42)?n.c.Mc(t):(e=ynn(n,t),etn(n,t),e)}function g0(n,t,e){return u8(n,t),T2(n,e),F1(n,0),B1(n,1),b9(n,!0),h9(n,!0),n}function p0(n,t){if(n<0)throw fp(new Ym(t+" cannot be negative but was: "+n));return n}function v0(n,t){var e,i;for(e=0,i=n.gc();e0?Jx(MR(e.a,i-1),10):null}function L0(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,2,e,n.k))}function N0(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,8,e,n.f))}function x0(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,7,e,n.i))}function D0(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,8,e,n.a))}function R0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,0,e,n.b))}function K0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,0,e,n.b))}function _0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.c))}function F0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.c))}function B0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,4,e,n.c))}function H0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.d))}function q0(n,t){var e;e=n.D,n.D=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,2,e,n.D))}function G0(n,t){n.r>0&&n.c0&&0!=n.g&&G0(n.i,t/n.r*n.i.d))}function z0(n,t){return Nwn(n.e,t)?(MT(),zJ(t)?new aR(t,n):new QP(t,n)):new ZP(t,n)}function U0(n,t){return function(n){return n?n.g:null}(F2(n.a,t,VR(i7(HEn,qB(VR(i7(null==t?0:V5(t),qEn)),15)))))}function X0(n){var t;return(n=e.Math.max(n,2))>(t=E5(n))?(t<<=1)>0?t:UEn:t}function W0(n){switch(jA(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function V0(n,t){var e;return!!OO(t,8)&&(e=Jx(t,8),n.a==e.a&&n.b==e.b)}function Q0(n,t,e){var i,r;return r=t>>5,i=31&t,zz(XK(n.n[e][r],VR(zK(i,1))),3)}function Y0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,21,e,n.b))}function J0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,11,e,n.d))}function Z0(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,13,e,n.j))}function n2(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?t-1:t,vk(function(n,t){return n.j=t,n}(X1(DD(new um,e),n.n),n.j),n.k)}(n,n.g),_D(n.a,e),e.i=n,n.d=t,e)}function n3(n,t,e){cun(e,"DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new SE,n.b=QQ(Vot,STn,25,r,15,1),e=0,i=nen(t.b,0);i.b!=i.d.c;)Jx(CX(i),86).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=Jx($un(t,(aln(),W5n)),425),c=nen(t.b,0);c.b!=c.d.c;)if(r=Jx(CX(c),86),0==n.b[r.g]){switch(a.g){case 0:kin(n,r);break;case 1:pln(n,r)}n.b[r.g]=2}for(i=nen(n.a,0);i.b!=i.d.c;)Q7((e=Jx(CX(i),188)).b.d,e,!0),Q7(e.c.b,e,!0);w5(t,(cyn(),P5n),n.a)}(n,t),n.a=null,n.b=null,Kon(e)}function t3(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new rp,function(n){var t,e,i,r;for(r=Q8(n.d,n.e).Kc();r.Ob();)for(i=Jx(r.Pb(),11),e=new pb(n.e==(Ckn(),Git)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function i3(n,t){OD.call(this,hut,n,t),this.b=this,this.a=gwn(n.Tg(),OZ(this.e.Tg(),this.c))}function r3(n,t){var e,i;for(mB(t),i=t.vc().Kc();i.Ob();)e=Jx(i.Pb(),42),n.zc(e.cd(),e.dd())}function c3(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function a3(n){switch(n.g){case 2:return Ckn(),Git;case 4:return Ckn(),Tit;default:return n}}function u3(n){switch(n.g){case 1:return Ckn(),Hit;case 3:return Ckn(),Mit;default:return n}}function o3(n,t){return MA(),uI(n)?BV(n,bL(t)):aI(n)?VK(n,lL(t)):cI(n)?WK(n,fL(t)):n.wd(t)}function s3(n,t){t.q=n,n.d=e.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),iD(n.a,t)}function h3(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b0||h.j==Git&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new pb(h.g);r.a=0x8000000000000000?(NJ(),C_n):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=UTn&&(n-=(e=sG(n/UTn))*UTn),t=0,n>=zTn&&(n-=(t=sG(n/zTn))*zTn),r=cO(sG(n),t,e),i&&$5(r),r)}(n))}function K3(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}function _3(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw fp(new _p)}function V3(n){var t,e,i;return e=0,(i=n)<0&&(i+=UTn,e=qTn),t=sG(i/zTn),cO(sG(i-t*zTn),t,e)}function Q3(n){var t,e,i;for(i=0,e=new ME(n.a);e.a>22),r=n.h-t.h+(i>>22),cO(e&HTn,i&HTn,r&qTn)}function j4(n){var t;return n<128?(!(t=(gR(),B_n)[n])&&(t=B_n[n]=new eb(n)),t):new eb(n)}function E4(n){var t;return OO(n,78)?n:((t=n&&n.__java$exception)||Pp(t=new t8(n)),t)}function T4(n){if(OO(n,186))return Jx(n,118);if(n)return null;throw fp(new ny(vxn))}function M4(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Y8(t,d8(n)))return!0;return!1}function S4(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new nX(n.e.f),n.a.Ob())}function P4(n,t){var e;return 0!=(e=t.Pc()).length&&(hD(n.c,n.c.length,e),!0)}function I4(n,t){var e;for(e=new pb(n.b);e.a=0,"Negative initial capacity"),ED(t>=0,"Non-positive load factor"),X_(this)}function u5(n,t,e){return!(n>=128)&&fI(n<64?zz(zK(1,n),e):zz(zK(1,n-64),t),0)}function o5(n,t){return!(!n||!t||n==t)&&k7(n.b.c,t.b.c+t.b.b)<0&&k7(t.b.c,n.b.c+n.b.b)<0}function s5(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new yH(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function h5(n){var t,i;for(null==n.j&&(n.j=(Lq(),function(n){var t,i,r;for(t="Sz",i="ez",r=e.Math.min(n.length,5)-1;r>=0;r--)if(FN(n[r].d,t)||FN(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}(v_n.ce(n)))),t=0,i=n.j.length;t(i=n.gc()))throw fp(new EN(t,i));return n.hi()&&(e=AG(n,e)),n.Vh(t,e)}function b5(n,t,e){return null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e)),n}function w5(n,t,e){return null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e)),n}function d5(n){var t,i;return s4(i=new WV,n),w5(i,(g2(),TGn),n),function(n,t,i){var r,c,a,u,o;for(r=0,a=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));a.e!=a.i.gc();)u="",0==(!(c=Jx(fen(a),33)).n&&(c.n=new y_(uct,c,1,7)),c.n).i||(u=Jx(a1((!c.n&&(c.n=new y_(uct,c,1,7)),c.n),0),137).a),s4(o=new zF(u),c),w5(o,(g2(),TGn),c),o.b=r++,o.d.a=c.i+c.g/2,o.d.b=c.j+c.f/2,o.e.a=e.Math.max(c.g,1),o.e.b=e.Math.max(c.f,1),iD(t.e,o),Jsn(i.f,c,o),Jx(Eln(c,(Hdn(),lGn)),98),Kan()}(n,i,t=new cp),function(n,t,i){var r,c,a,u,o,s,f,l;for(s=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new LK(wA(bbn(o=Jx(fen(s),33)).a.Kc(),new h));Qfn(c);){if(!(r=Jx(jV(c),79)).b&&(r.b=new $N(nct,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new $N(nct,r,5,8)),r.c.i<=1)))throw fp(new wy("Graph must not contain hyperedges."));if(!Kfn(r)&&o!=run(Jx(a1((!r.c&&(r.c=new $N(nct,r,5,8)),r.c),0),82)))for(s4(f=new cN,r),w5(f,(g2(),TGn),r),Cl(f,Jx(iI(Rq(i.f,o)),144)),Ol(f,Jx(HF(i,run(Jx(a1((!r.c&&(r.c=new $N(nct,r,5,8)),r.c),0),82))),144)),iD(t.c,f),u=new XO((!r.n&&(r.n=new y_(uct,r,1,7)),r.n));u.e!=u.i.gc();)s4(l=new dW(f,(a=Jx(fen(u),137)).a),a),w5(l,TGn,a),l.e.a=e.Math.max(a.g,1),l.e.b=e.Math.max(a.f,1),Vvn(l),iD(t.d,l)}}(n,i,t),i}function g5(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r>=1);return t}function T5(n){var t,e;return 32==(e=Jhn(n.h))?32==(t=Jhn(n.m))?Jhn(n.l)+32:t+20-10:e-12}function M5(n){var t;return null==(t=n.a[n.b])?null:(RF(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function S5(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function P5(n,t,e){var i,r;return i=new tY(t,e),r=new q,n.b=qwn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function I5(n,t,e){var i,r,c;for(c=0,r=Q8(t,e).Kc();r.Ob();)i=Jx(r.Pb(),11),DB(n.c,i,g9(c++))}function C5(n){var t,e;for(e=new pb(n.a.b);e.ae&&(e=n[t]);return e}function D5(n,t,e){var i;return Pwn(n,t,i=new rp,(Ckn(),Tit),!0,!1),Pwn(n,e,i,Git,!1,!1),i}function R5(n,t,e){var i,r;return r=aX(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new xK(e.a.length)).b-i.a)*i.c<0?(IT(),Bot):new sA(i);r.Ob();)(c=uX(e,Jx(r.Pb(),19).a))&&(a=z1(sX(c,UNn),t),DB(n.f,a,c),cxn in c.a&&L0(a,sX(c,cxn)),iun(c,a),rhn(c,a))}((i=new $P(n,e)).a,i.b,r),r}function K5(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function X5(n){var t,e;for(t=new xv,e=nen(n,0);e.b!=e.d.c;)$$(t,0,new lC(Jx(CX(e),8)));return t}function W5(n){var t;for(t=new pb(n.a.b);t.a=n.b.c.length||(b6(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:NT(zz(n[i],oMn),zz(t[i],oMn))?-1:1}function g6(n,t){var e,i;return i=Jx(q3(n.a,4),126),e=QQ(Act,mDn,415,t,0,1),null!=i&&hmn(i,0,e,0,i.length),e}function p6(n,t){var e;return e=new Ddn(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function v6(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(xin(n,c,a))return!0;return!1}function m6(n,t,e){var i,r,c,a;for(mB(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function y6(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Jx(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function k6(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){if(n.e)switch(n.b){case 1:!function(n,t,e){n.i=0,n.e=0,t!=e&&q5(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&G5(n,t,e)}(n.c,t,e)}else JX(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function j6(n,t){if(!n.ai()&&null==t)throw fp(new Ym("The 'no null' constraint is violated"));return t}function E6(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),q0(n,null==t?null:(mB(t),t)),n.C&&n.yk(null)}function T6(n,t){return!(!n||n==t||!A$(t,(Ajn(),mQn)))&&Jx($un(t,(Ajn(),mQn)),10)!=n}function M6(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function S6(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function P6(n){mG.call(this,"The given string does not match the expected format for individual spacings.",n)}function I6(){I6=O,Ert=new kP("ELK",0),Trt=new kP("JSON",1),jrt=new kP("DOT",2),Mrt=new kP("SVG",3)}function C6(){C6=O,T6n=new RS(lIn,0),M6n=new RS("RADIAL_COMPACTION",1),S6n=new RS("WEDGE_COMPACTION",2)}function O6(){O6=O,aBn=new BT("CONCURRENT",0),uBn=new BT("IDENTITY_FINISH",1),oBn=new BT("UNORDERED",2)}function A6(){A6=O,HE(),Eqn=new BI(iPn,Tqn=mqn),jqn=new Ag(rPn),Mqn=new Ag(cPn),Sqn=new Ag(aPn)}function $6(){$6=O,PXn=new ji,IXn=new Ei,SXn=new Ti,MXn=new Mi,mB(new Si),TXn=new D}function L6(){L6=O,p3n=new bS("CONSERVATIVE",0),v3n=new bS("CONSERVATIVE_SOFT",1),m3n=new bS("SLOPPY",2)}function N6(){N6=O,Aet=new KC(15),Oet=new RC((Ojn(),ott),Aet),$et=Att,Set=knt,Pet=Znt,Cet=ett,Iet=ttt}function x6(n,t,e){var i,r;for(i=new SE,r=nen(e,0);r.b!=r.d.c;)_D(i,new lC(Jx(CX(r),8)));m6(n,t,i)}function D6(n){var t;return!n.a&&(n.a=new y_(hat,n,9,5)),0!=(t=n.a).i?function(n){return n.b?n.b:n.a}(Jx(a1(t,0),678)):null}function R6(n,t){var e;return e=e7(n,t),NT(Xz(n,t),0)|function(n,t){return j8(n,t)>=0}(Xz(n,e),0)?e:e7(CEn,Xz(XK(e,63),1))}function K6(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return r_(t-1,n.a.c.length),_V(n.a,t-1);throw fp(new Kp)}function F6(n,t,e){if(n>t)throw fp(new Ym(xMn+n+DMn+t));if(n<0||t>e)throw fp(new Iy(xMn+n+RMn+t+SMn+e))}function B6(n){if(!n.a||0==(8&n.a.i))throw fp(new Jm("Enumeration class expected for layout option "+n.f))}function H6(n){var t;++n.j,0==n.i?n.g=null:n.it$n?n-i>t$n:i-n>t$n)}function Y6(n,t){return n?t&&!n.j||OO(n,124)&&0==Jx(n,124).a.b?0:n.Re():0}function J6(n,t){return n?t&&!n.k||OO(n,124)&&0==Jx(n,124).a.a?0:n.Se():0}function Z6(n){return wdn(),n<0?-1!=n?new Een(-1,-n):bFn:n<=10?dFn[sG(n)]:new Een(1,n)}function n8(n){throw c5(),fp(new Om("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function t8(n){my(),EO(this),GH(this),this.e=n,Own(this,n),this.g=null==n?uEn:C7(n),this.a="",this.b=n,this.a=""}function e8(){this.a=new nu,this.f=new _d(this),this.b=new Fd(this),this.i=new Bd(this),this.e=new Hd(this)}function i8(){mm.call(this,new eY(CZ(16))),p0(2,TEn),this.b=2,this.a=new CB(null,null,0,null),jp(this.a,this.a)}function r8(){r8=O,y2n=new iS("DUMMY_NODE_OVER",0),k2n=new iS("DUMMY_NODE_UNDER",1),j2n=new iS("EQUAL",2)}function c8(){c8=O,ozn=jG(D4(zy(set,1),WEn,103,0,[(e9(),net),tet])),szn=jG(D4(zy(set,1),WEn,103,0,[iet,Ztt]))}function a8(n){return(Ckn(),Dit).Hc(n.j)?ey(lL($un(n,(Ajn(),WQn)))):L5(D4(zy(H7n,1),MEn,8,0,[n.i.n,n.n,n.a])).b}function u8(n,t){var e,i;e=n.nk(t,null),i=null,t&&(Kk(),w1(i=new op,n.r)),(e=lun(n,i,e))&&e.Fi()}function o8(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(han(t.q,r),i=e!=t.q.d)),i}function s8(n,t){var i,r,c,a,u;return a=t.i,u=t.j,r=a-(i=n.f).i,c=u-i.j,e.Math.sqrt(r*r+c*c)}function h8(n,t){var e;return(e=ctn(n))||(!Wrt&&(Wrt=new Oo),Omn(),lY((e=new Jg(Dsn(t))).Vk(),n)),e}function f8(n,t){var e,i;return(e=Jx(n.c.Bc(t),14))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function l8(n,t){var e;for(e=0;e=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function O8(n){var t,e,i,r;if(null!=n)for(e=0;e0&&u6(Jx(MR(n.a,n.a.c.length-1),570),t)||iD(n.a,new rV(t))}function F8(n){var t;return(t=new $y).a+="VerticalSegment ",yI(t,n.e),t.a+=" ",kI(t,bA(new My,new pb(n.k))),t.a}function B8(n){var t;return(t=Jx(XJ(n.c.c,""),229))||(t=new gz(sk(ok(new pu,""),"Other")),ztn(n.c.c,"",t)),t}function H8(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (name: ",vI(t,n.zb),t.a+=")",t.a)}function q8(n,t,e){var i,r;return r=n.sb,n.sb=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,4,r,t),e?e.Ei(i):e=i),e}function G8(n,t){var e,i;for(e=0,i=r7(n,t).Kc();i.Ob();)e+=null!=$un(Jx(i.Pb(),11),(Ajn(),KQn))?1:0;return e}function z8(n,t,e){var i,r,c;for(i=0,c=nen(n,0);c.b!=c.d.c&&!((r=ey(lL(CX(c))))>e);)r>=t&&++i;return i}function U8(n,t,e){var i,r;return r=n.r,n.r=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function X8(n,t){var e,i;return!(i=(e=Jx(t,676)).vk())&&e.wk(i=OO(t,88)?new XP(n,Jx(t,26)):new yU(n,Jx(t,148))),i}function W8(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&hmn(n.g,t,n.g,t+1,n.i-t),RF(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function V8(n,t){var e;return e=new sn,n.a.sd(e)?(GO(),new $m(mB(lJ(n,e.a,t)))):(kB(n),GO(),GO(),BFn)}function Q8(n,t){switch(t.g){case 2:case 1:return r7(n,t);case 3:case 4:return C3(r7(n,t))}return WH(),WH(),MFn}function Y8(n,t){return uI(n)?FN(n,t):aI(n)?_N(n,t):cI(n)?(mB(n),rI(n)===rI(t)):CK(n)?n.Fb(t):oK(n)?VI(n,t):Zz(n,t)}function J8(n,t,e,i,r){0!=t&&0!=i&&(1==t?r[i]=zen(r,e,i,n[0]):1==i?r[t]=zen(r,n,t,e[0]):function(n,t,e,i,r){var c,a,u,o;if(rI(n)!==rI(t)||i!=r)for(u=0;ue)throw fp(new qm(xMn+n+RMn+t+", size: "+e));if(n>t)throw fp(new Ym(xMn+n+DMn+t))}function c9(n,t,e){if(t<0)Thn(n,e);else{if(!e.Ij())throw fp(new Ym(yNn+e.ne()+kNn));Jx(e,66).Nj().Vj(n,n.yh(),t)}}function a9(n,t,e,i,r,c){this.e=new rp,this.f=(f0(),c3n),iD(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function u9(n,t){var e,i;for(i=new XO(n);i.e!=i.i.gc();)if(e=Jx(fen(i),26),rI(t)===rI(e))return!0;return!1}function o9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function s9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (source: ",vI(t,n.d),t.a+=")",t.a)}function h9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,2,e,t))}function f9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,8,e,t))}function l9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,8,e,t))}function b9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,3,e,t))}function w9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,9,e,t))}function d9(n,t){var e;return-1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):enn(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function g9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(nR(),z_n)[t])&&(e=z_n[t]=new rb(n)),e):new rb(n)}function p9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(dR(),nFn)[t])&&(e=nFn[t]=new ab(n)),e):new ab(n)}function v9(n){var t;return n.k==(won(),Fzn)&&((t=Jx($un(n,(Ajn(),fQn)),61))==(Ckn(),Mit)||t==Hit)}function m9(n,t,e){var i,r;return(r=qln(n.b,t))&&(i=Jx(Cmn(PJ(n,r),""),26))?Nln(n,i,t,e):null}function y9(n,t){var e,i;for(i=new XO(n);i.e!=i.i.gc();)if(e=Jx(fen(i),138),rI(t)===rI(e))return!0;return!1}function k9(n,t,e){var i;if(t>(i=n.gc()))throw fp(new EN(t,i));if(n.hi()&&n.Hc(e))throw fp(new Ym(jxn));n.Xh(t,e)}function j9(n,t){var e;if(OO(e=Jbn(n,t),322))return Jx(e,34);throw fp(new Ym(yNn+t+"' is not a valid attribute"))}function E9(n){var t,e,i;for(t=new rp,i=new pb(n.b);i.at?1:n==t?0==n?L9(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function N9(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=Qhn(n,t,e),n.$i(n.Zi(7,g9(e),i,t,r)),i):Qhn(n,t,e)}function x9(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.cd(),function(n,t,e){++n.e,--n.f,Jx(n.d[t].$c(e),133).dd()}(n,i=((e=t.Sh())&Jjn)%n.d.length,Hln(n,i,e,r)))}function D9(n,t){var e;e=0!=(n.Bb&RNn),t?n.Bb|=RNn:n.Bb&=-1025,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,10,e,t))}function R9(n,t){var e;e=0!=(n.Bb&tMn),t?n.Bb|=tMn:n.Bb&=-4097,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,12,e,t))}function K9(n,t){var e;e=0!=(n.Bb&FDn),t?n.Bb|=FDn:n.Bb&=-8193,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,15,e,t))}function _9(n,t){var e;e=0!=(n.Bb&BDn),t?n.Bb|=BDn:n.Bb&=-2049,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,11,e,t))}function F9(n){var t,e;for(e=Qln(r1(n)).Kc();e.Ob();)if(gpn(n,t=bL(e.Pb())))return gW((vT(),Zct),t);return null}function B9(n,t,e){var i;if(n.c)Iun(n.c,t,e);else for(i=new pb(n.b);i.a>10)+rMn&lTn,t[1]=56320+(1023&n)&lTn,Qnn(t,0,t.length)}function W9(n){var t;return(t=Jx($un(n,(pjn(),u1n)),103))==(e9(),eet)?ey(lL($un(n,KZn)))>=1?tet:Ztt:t}function V9(n){if(n.c)V9(n.c);else if(n.d)throw fp(new Jm("Stream already terminated, can't be modified or used"))}function Q9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (identifier: ",vI(t,n.k),t.a+=")",t.a)}function Y9(n,t,e){var i;return Dk(),C1(i=new ro,t),O1(i,e),n&&lY((!n.a&&(n.a=new WO(Yrt,n,5)),n.a),i),i}function J9(n,t,e,i){var r,c;return mB(i),mB(e),null==(c=null==(r=n.xc(t))?e:IE(Jx(r,15),Jx(e,14)))?n.Bc(t):n.zc(t,c),c}function Z9(n){var t,e,i,r;return t2(e=new ax(t=Jx($k((r=(i=n.gm).f)==o_n?i:r),9),Jx(iN(t,t.length),9),0),n),e}function n7(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=Jx(r.Pb(),10),y4(e,Jx(MR(t,i.p),14)))return i;return null}function t7(n,t){var e;return eC(n)&&eC(t)&&WTn<(e=n-t)&&e>22),r=n.h+t.h+(i>>22),cO(e&HTn,i&HTn,r&qTn)}(eC(n)?V3(n):n,eC(t)?V3(t):t))}function i7(n,t){var e;return eC(n)&&eC(t)&&WTn<(e=n*t)&&e>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(u=8191&t.l),p=r*u,v=c*u,m=a*u,0!=(o=t.l>>13|(15&t.m)<<9)&&(g+=e*o,p+=i*o,v+=r*o,m+=c*o),0!=(s=t.m>>4&8191)&&(p+=e*s,v+=i*s,m+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(v+=e*h,m+=i*h),0!=(f=(1048320&t.h)>>8)&&(m+=e*f),b=((d=e*u)>>22)+(g>>9)+((262143&p)<<4)+((31&v)<<17),w=(p>>18)+(v>>5)+((4095&m)<<8),w+=(b+=(l=(d&HTn)+((511&g)<<13))>>22)>>22,cO(l&=HTn,b&=HTn,w&=qTn)}(eC(n)?V3(n):n,eC(t)?V3(t):t))}function r7(n,t){var e;return n.i||khn(n),(e=Jx(zB(n.g,t),46))?new Az(n.j,Jx(e.a,19).a,Jx(e.b,19).a):(WH(),WH(),MFn)}function c7(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,pq(n.b)):++n.d,i}function a7(){var n,t,i;Yan(),i=WFn+++Date.now(),n=sG(e.Math.floor(i*EMn))&MMn,t=sG(i-n*TMn),this.a=1502^n,this.b=t^jMn}function u7(n){var t,e;for(t=new rp,e=new pb(n.j);e.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function l7(n){var t,e,i;for(t=new XL(n.Hd().gc()),i=0,e=IY(n.Hd().Kc());e.Ob();)WG(t,e.Pb(),g9(i++));return function(n){var t;switch(_B(),n.c.length){case 0:return i_n;case 1:return function(n,t){return _B(),pin(n,t),new AB(n,t)}((t=Jx(mhn(new pb(n)),42)).cd(),t.dd());default:return new Tm(Jx(qtn(n,QQ(r_n,REn,42,n.c.length,0,1)),165))}}(t.a)}function b7(n,t){0==n.n.c.length&&iD(n.n,new pG(n.s,n.t,n.i)),iD(n.b,t),Oin(Jx(MR(n.n,n.n.c.length-1),211),t),ovn(n,t)}function w7(n){return n.c==n.b.b&&n.i==n.g.b||(n.a.c=QQ(XKn,rEn,1,0,5,1),P4(n.a,n.b),P4(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function d7(n,t){var e,i;for(i=0,e=Jx(t.Kb(n),20).Kc();e.Ob();)ty(fL($un(Jx(e.Pb(),17),(Ajn(),qQn))))||++i;return i}function g7(){g7=O,rYn=new aS(lIn,0),nYn=new aS("FIRST",1),tYn=new aS(GIn,2),eYn=new aS("LAST",3),iYn=new aS(zIn,4)}function p7(){p7=O,det=new eP(SSn,0),bet=new eP("POLYLINE",1),fet=new eP("ORTHOGONAL",2),wet=new eP("SPLINES",3)}function v7(){v7=O,w8n=new FS("ASPECT_RATIO_DRIVEN",0),d8n=new FS("MAX_SCALE_DRIVEN",1),b8n=new FS("AREA_DRIVEN",2)}function m7(){m7=O,i9n=new HS("P1_STRUCTURE",0),r9n=new HS("P2_PROCESSING_ORDER",1),c9n=new HS("P3_EXECUTION",2)}function y7(){y7=O,p6n=new xS("OVERLAP_REMOVAL",0),d6n=new xS("COMPACTION",1),g6n=new xS("GRAPH_SIZE_CALCULATION",2)}function k7(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t))}function j7(n,t){var e,i;for(e=nen(n,0);e.b!=e.d.c;){if((i=iy(lL(CX(e))))==t)return;if(i>t){SU(e);break}}sF(e,t)}function E7(n,t){var e,i,r,c,a;if(e=t.f,ztn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;c>>0).toString(16):n.toString()}function O7(n){var t;this.a=new ax(t=Jx(n.e&&n.e(),9),Jx(iN(t,t.length),9),0),this.b=QQ(XKn,rEn,1,this.a.a.length,5,1)}function A7(n){var t,e,i;for(this.a=new sC,i=new pb(n);i.a=c)return t.c+i;return t.c+t.b.gc()}function D7(n,t){var e,i,r,c,a,u;for(i=0,e=0,a=0,u=(c=t).length;a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function R7(n){var t,e,i;for((i=new Oy).a+="[",t=0,e=n.gc();tIPn,S=e.Math.abs(b.b-d.b)>IPn,(!i&&M&&S||i&&(M||S))&&_D(p.a,k)),O2(p.a,r),0==r.b?b=k:(P$(0!=r.b),b=Jx(r.c.b.c,8)),b4(w,l,g),z2(c)==T&&(gB(T.i)!=c.a&&gsn(g=new Ik,gB(T.i),m),w5(p,JQn,g)),Son(w,p,m),f.a.zc(w,f);JG(p,j),YG(p,T)}for(h=f.a.ec().Kc();h.Ob();)JG(s=Jx(h.Pb(),17),null),YG(s,null);Kon(t)}(t,Z2(r,1)),Kon(r)}function B7(n,t,e,i,r,c){this.a=n,this.c=t,this.b=e,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&$R(this.c,this.b,this.a)}function H7(n){ann(),this.c=RV(D4(zy(m7n,1),rEn,831,0,[s2n])),this.b=new cp,this.a=n,DB(this.b,h2n,1),VZ(f2n,new Yd(this))}function q7(n,t){var e;return n.d?I_(n.b,t)?Jx(HF(n.b,t),51):(e=t.Kf(),DB(n.b,t,e),e):t.Kf()}function G7(n,t){var e;return rI(n)===rI(t)||!!OO(t,91)&&(e=Jx(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function z7(n){switch(Ckn(),n.g){case 4:return Mit;case 1:return Tit;case 3:return Hit;case 2:return Git;default:return qit}}function U7(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return U3(n,t)}function X7(n){switch(n.g){case 0:return new qa;case 1:return new Ua;default:throw fp(new Ym(BIn+(null!=n.f?n.f:""+n.g)))}}function W7(n){switch(n.g){case 0:return new sm;case 1:return new Nv;default:throw fp(new Ym(Q$n+(null!=n.f?n.f:""+n.g)))}}function V7(n){var t,e,i;return(e=n.zg())?OO(t=n.Ug(),160)&&null!=(i=V7(Jx(t,160)))?i+"."+e:e:null}function Q7(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),rI(t)===rI(i)||null!=t&&Y8(t,i))return e&&r.Qb(),!0;return!1}function Y7(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function J7(n,t){var e;if(t){for(e=0;eo.d&&(f=o.d+o.a+h));i.c.d=f,t.a.zc(i,t),s=e.Math.max(s,i.c.d+i.c.a)}return s}(n),PE(new PR(null,new xz(n.d,16)),new Jb(n)),t}function tnn(n){var t;return 0!=(64&n.Db)?H8(n):((t=new SA(H8(n))).a+=" (instanceClassName: ",vI(t,n.D),t.a+=")",t.a)}function enn(n,t){var e,i,r;if(null==n.i&&hvn(n),e=n.i,-1!=(i=t.aj()))for(r=e.length;i>1,this.k=t-1>>1}function lnn(n,t,e){var i,r;for(i=zz(e,oMn),r=0;0!=j8(i,0)&&r0&&(t.lengthn.i&&RF(t,n.i,null),t}function dnn(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),W8(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):W8(n,n.i,t),e}function gnn(n){var t;return IL(),t=new lC(Jx(n.e.We((Ojn(),ett)),8)),n.B.Hc((Qgn(),art))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function pnn(n){return qen(),(n.q?n.q:(WH(),WH(),SFn))._b((pjn(),J1n))?Jx($un(n,J1n),197):Jx($un(gB(n),Z1n),197)}function vnn(n,t){var e,i;return i=null,A$(n,(pjn(),F0n))&&(e=Jx($un(n,F0n),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=$un(gB(n),t)),i}function mnn(n,t){var e,i,r;return!!OO(t,42)&&(i=(e=Jx(t,42)).cd(),wB(r=D8(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function ynn(n,t){var e;return n.f>0&&(n.qj(),-1!=Hln(n,((e=null==t?0:V5(t))&Jjn)%n.d.length,e,t))}function knn(n,t){var e,i;return n.f>0&&(n.qj(),e=ifn(n,((i=null==t?0:V5(t))&Jjn)%n.d.length,i,t))?e.dd():null}function jnn(n,t){var e,i,r,c;for(c=gwn(n.e.Tg(),t),e=Jx(n.g,119),r=0;r>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)hmn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Knn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function _nn(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;return l=n.c[t],b=n.c[e],!((w=Jx($un(l,(Ajn(),yQn)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(won(),Hzn)&&b.k!=Hzn,v=(g=Jx($un(l,mQn),10))!=(p=Jx($un(b,mQn),10)),m=!!g&&g!=l||!!p&&p!=b,y=Cin(l,(Ckn(),Mit)),k=Cin(b,Hit),m|=Cin(l,Hit)||Cin(b,Mit),d&&(m&&v||y||k))||l.k==(won(),Gzn)&&b.k==qzn||b.k==(won(),Gzn)&&l.k==qzn)&&(h=n.c[t],c=n.c[e],r=$cn(n.e,h,c,(Ckn(),Git)),o=$cn(n.i,h,c,Tit),function(n,t,e){n.d=0,n.b=0,t.k==(won(),Gzn)&&e.k==Gzn&&Jx($un(t,(Ajn(),OQn)),10)==Jx($un(e,OQn),10)&&(bJ(t).j==(Ckn(),Mit)?Vln(n,t,e):Vln(n,e,t)),t.k==Gzn&&e.k==Hzn?bJ(t).j==(Ckn(),Mit)?n.d=1:n.b=1:e.k==Gzn&&t.k==Hzn&&(bJ(e).j==(Ckn(),Mit)?n.b=1:n.d=1),function(n,t,e){t.k==(won(),qzn)&&e.k==Hzn&&(n.d=G8(t,(Ckn(),Hit)),n.b=G8(t,Mit)),e.k==qzn&&t.k==Hzn&&(n.d=G8(e,(Ckn(),Mit)),n.b=G8(e,Hit))}(n,t,e)}(n.f,h,c),s=k6(n.b,h,c)+Jx(r.a,19).a+Jx(o.a,19).a+n.f.d,u=k6(n.b,c,h)+Jx(r.b,19).a+Jx(o.b,19).a+n.f.b,n.a&&(f=Jx($un(h,OQn),11),a=Jx($un(c,OQn),11),s+=Jx((i=Rrn(n.g,f,a)).a,19).a,u+=Jx(i.b,19).a),s>u)}(n.f,e,i)&&(function(n,t,e){var i,r;Pun(n.e,t,e,(Ckn(),Git)),Pun(n.i,t,e,Tit),n.a&&(r=Jx($un(t,(Ajn(),OQn)),11),i=Jx($un(e,OQn),11),eU(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function Fnn(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Jx(L_(t),10),u=Jx(r7(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Bnn(n,t,i){var r,c,a,u,o;return u=n.k,o=t.k,c=lL(vnn(n,r=i[u.g][o.g])),a=lL(vnn(t,r)),e.Math.max((mB(c),c),(mB(a),a))}function Hnn(n,t,e){var i,r,c;for(r=Jx(HF(n.b,e),177),i=0,c=new pb(t.j);c.at?1:YI(isNaN(n),isNaN(t)))>0}function Xnn(n,t){return WC(),WC(),s0(nTn),(e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t)))<0}function Wnn(n,t){return WC(),WC(),s0(nTn),(e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t)))<=0}function Vnn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];eaMn)return e.fh();if((i=e.Zg())||e==n)break}return i}function atn(n){return FG(),OO(n,156)?Jx(HF(Sct,xFn),288).vg(n):I_(Sct,Q5(n))?Jx(HF(Sct,Q5(n)),288).vg(n):null}function utn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw fp(new Ym("Input edge is not connected to the input port."))}function otn(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+e.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function htn(n,t){var e;return rI(t)===rI(n)||!!OO(t,21)&&(e=Jx(t,21)).gc()==n.gc()&&n.Ic(e)}function ftn(n,t){var e,i;for(Nz(t,n.length),e=n.charCodeAt(t),i=t+1;i=2*t&&iD(e,new Nx(a[i-1]+t,a[i]-t));return e}(e,i),PE(qZ(new PR(null,new xz(function(n){var t,e,i,r,c,a,u;for(c=new sC,e=new pb(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ja),new kH(n,e,r,i)))}function dtn(n,t,e){var i;0!=(n.Db&t)?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=f7(254&n.Db)))n.Eb=null;else if(c=f1(n.Eb),2==i)r=Qin(n,t),n.Eb=c[0==r?1:0];else{for(a=QQ(XKn,rEn,1,i-1,5,1),e=2,u=0,o=0;e<=128;e<<=1)e==t?++u:0!=(n.Db&e)&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Qin(n,t))?n.Eb=e:RF(f1(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=f7(254&n.Db)))n.Eb=e;else{if(1==r)a=QQ(XKn,rEn,1,2,5,1),0==Qin(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=QQ(XKn,rEn,1,r+1,5,1),c=f1(n.Eb),i=2,u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:0!=(n.Db&i)&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function gtn(n){var t;return 0==(32&n.Db)&&0!=(t=mF(Jx(q3(n,16),26)||n.zh())-mF(n.zh()))&&dtn(n,32,QQ(XKn,rEn,1,t,5,1)),n}function ptn(n){var t,e;for(t=new pb(n.g);t.a0&&j8(n,128)<0?(t=VR(n)+128,!(e=(wR(),W_n)[t])&&(e=W_n[t]=new cb(n)),e):new cb(n)}function jtn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),pxn)))?i:t.ne()}function Etn(n,t){var e,i;for(bz(),i=new LK(wA(u7(n).a.Kc(),new h));Qfn(i);)if((e=Jx(jV(i),17)).d.i==t||e.c.i==t)return e;return null}function Ttn(n,t,e){this.c=n,this.f=new rp,this.e=new Ik,this.j=new pR,this.n=new pR,this.b=t,this.g=new yH(t.c,t.d,t.b,t.a),this.a=e}function Mtn(n){var t,e,i,r;for(this.a=new sC,this.d=new Yp,this.e=0,i=0,r=(e=n).length;iE&&(d.c=E-d.b),iD(u.d,new lK(d,I9(u,d))),m=t==Mit?e.Math.max(m,g.b+h.b.rf().b):e.Math.min(m,g.b));for(m+=t==Mit?n.t:-n.t,(y=nnn((u.e=m,u)))>0&&(Jx(zB(n.b,t),124).a.b=y),f=b.Kc();f.Ob();)!(h=Jx(f.Pb(),111)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else jkn(n,t)}(n,t):jkn(n,t):n.u.Hc(yit)&&(i?function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=Jx(Jx(FV(n.r,t),21),84)).gc()<=2||t==(Ckn(),Tit)||t==(Ckn(),Git))Gkn(n,t);else{for(g=n.u.Hc((Ohn(),kit)),i=t==(Ckn(),Mit)?(i4(),JHn):(i4(),VHn),v=t==Mit?(AJ(),vHn):(AJ(),yHn),r=Yy(Ax(i),n.s),p=t==Mit?ZTn:nMn,h=f.Kc();h.Ob();)!(o=Jx(h.Pb(),111)).c||o.c.d.c.length<=0||(d=o.b.rf(),w=o.e,(b=(l=o.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(u=l.n,l.e.b+u.d+u.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,Dq(v,ESn),l.f=v,bY(l,(HY(),bHn)),iD(r.d,new lK(b,I9(r,b))),p=t==Mit?e.Math.min(p,w.b):e.Math.max(p,w.b+o.b.rf().b));for(p+=t==Mit?-n.t:n.t,nnn((r.e=p,r)),s=f.Kc();s.Ob();)!(o=Jx(s.Pb(),111)).c||o.c.d.c.length<=0||((b=o.c.i).c-=o.e.a,b.d-=o.e.b)}}(n,t):Gkn(n,t))}function Dtn(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(rI(n)===rI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&RF(t,i,null),t}function Gtn(n,t){var e,i;for(i=n.a.length,t.lengthi&&RF(t,i,null),t}function ztn(n,t,e){var i,r,c;return(r=Jx(HF(n.e,t),387))?(c=JL(r,e),AO(n,r),c):(i=new sD(n,t,e),DB(n.e,t,i),rG(i),null)}function Utn(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(jdn(),null==n)return null;if((r=n.length)%2!=0)return null;for(t=DJ(n),e=QQ(Jot,NNn,25,c=r/2|0,15,1),i=0;i>24}return e}(Qvn(n,!0))))throw fp(new ly("Invalid hexBinary value: '"+n+"'"));return t}function Xtn(n){return wdn(),j8(n,0)<0?0!=j8(n,-1)?new van(-1,hJ(n)):bFn:j8(n,10)<=0?dFn[VR(n)]:new van(1,n)}function Wtn(){return xjn(),D4(zy(ZHn,1),WEn,159,0,[HHn,BHn,qHn,LHn,$Hn,NHn,RHn,DHn,xHn,FHn,_Hn,KHn,OHn,CHn,AHn,PHn,SHn,IHn,THn,EHn,MHn,GHn])}function Vtn(n){var t;this.d=new rp,this.j=new Ik,this.g=new Ik,t=n.g.b,this.f=Jx($un(gB(t),(pjn(),u1n)),103),this.e=ey(lL(aen(t,B0n)))}function Qtn(n){this.b=new rp,this.e=new rp,this.d=n,this.a=!ij(fH(new PR(null,new tF(new XV(n.b))),new Cb(new Gr))).sd((qE(),gBn))}function Ytn(){Ytn=O,M7n=new XS("PARENTS",0),T7n=new XS("NODES",1),j7n=new XS("EDGES",2),S7n=new XS("PORTS",3),E7n=new XS("LABELS",4)}function Jtn(){Jtn=O,iit=new uP("DISTRIBUTED",0),cit=new uP("JUSTIFIED",1),tit=new uP("BEGIN",2),eit=new uP(vSn,3),rit=new uP("END",4)}function Ztn(n){switch(n.g){case 1:return e9(),iet;case 4:return e9(),net;case 2:return e9(),tet;case 3:return e9(),Ztt}return e9(),eet}function nen(n,t){var e,i;if(rz(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=64&&t<128&&(r=Uz(r,zK(1,t-64)));return r}function aen(n,t){var e,i;return i=null,A$(n,(Ojn(),qtt))&&(e=Jx($un(n,qtt),94)).Xe(t)&&(i=e.We(t)),null==i&&gB(n)&&(i=$un(gB(n),t)),i}function uen(n,t){var e,i,r;(i=(r=t.d.i).k)!=(won(),qzn)&&i!=_zn&&Qfn(e=new LK(wA(s7(r).a.Kc(),new h)))&&DB(n.k,t,Jx(jV(e),17))}function oen(n,t){var e,i,r;return i=OZ(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):Uhn(n,i):e<0?Uhn(n,i):Jx(i,66).Nj().Sj(n,n.yh(),e)}function sen(n){var t;if(OO(n.a,4)){if(null==(t=atn(n.a)))throw fp(new Jm(TLn+n.b+"'. "+yLn+(hL(Cct),Cct.k)+kLn));return t}return n.a}function hen(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Zpn(),null==n)return null;if((w=function(n){var t,e,i;for(i=0,e=n.length,t=0;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return Ij(a=c[h++])&&Ij(u=c[h++])?(t=hot[a],e=hot[u],o=c[h++],s=c[h++],-1==hot[o]||-1==hot[s]?61==o&&61==s?0!=(15&e)?null:(hmn(f,0,g=QQ(Jot,NNn,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=o&&61==s?0!=(3&(i=hot[o]))?null:(hmn(f,0,g=QQ(Jot,NNn,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=hot[o],r=hot[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}(Qvn(n,!0))))throw fp(new ly("Invalid base64Binary value: '"+n+"'"));return t}function fen(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){throw OO(t=E4(t),73)?(n.mj(),fp(new _p)):fp(t)}}function len(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){throw OO(t=E4(t),73)?(n.mj(),fp(new _p)):fp(t)}}function ben(){ben=O,Ojn(),Kqn=_tt,$qn=xnt,Pqn=ynt,Lqn=ott,vcn(),Dqn=FBn,xqn=KBn,Rqn=HBn,Nqn=RBn,A6(),Cqn=Eqn,Iqn=jqn,Oqn=Mqn,Aqn=Sqn}function wen(n){switch(QE(),this.c=new rp,this.d=n,n.g){case 0:case 2:this.a=RB(Mzn),this.b=ZTn;break;case 3:case 1:this.a=Mzn,this.b=nMn}}function den(n,t,e){var i;if(n.c)N1(n.c,n.c.i+t),x1(n.c,n.c.j+e);else for(i=new pb(n.b);i.a0&&(iD(n.b,new rD(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=CO(QQ(Wot,hTn,25,-i,15,1))))}function pen(n,t){var e,i,r;for(e=n.o,r=Jx(Jx(FV(n.r,t),21),84).Kc();r.Ob();)(i=Jx(r.Pb(),111)).e.a=yrn(i,e.a),i.e.b=e.b*ey(lL(i.b.We(WHn)))}function ven(n,t){var e;return e=Jx($un(n,(pjn(),L1n)),74),SO(t,Lzn)?e?HH(e):(e=new xv,w5(n,L1n,e)):e&&w5(n,L1n,null),e}function men(n){var t;return(t=new $y).a+="n",n.k!=(won(),qzn)&&kI(kI((t.a+="(",t),g$(n.k).toLowerCase()),")"),kI((t.a+="_",t),krn(n)),t.a}function yen(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function ken(n,t){switch(t){case 7:return!n.e&&(n.e=new $N(tct,n,7,4)),void qmn(n.e);case 8:return!n.d&&(n.d=new $N(tct,n,8,5)),void qmn(n.d)}cnn(n,t)}function jen(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){throw OO(n=E4(n),109)?fp(new qm("Can't get element "+t)):fp(n)}}function Een(n,t){this.e=n,t=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Pen(){Pen=O,eqn=new rM(xSn,0),tqn=new rM(DSn,1),iqn=new rM(RSn,2),rqn=new rM(KSn,3),eqn.a=!1,tqn.a=!0,iqn.a=!1,rqn.a=!0}function Ien(){Ien=O,wqn=new iM(xSn,0),bqn=new iM(DSn,1),dqn=new iM(RSn,2),gqn=new iM(KSn,3),wqn.a=!1,bqn.a=!0,dqn.a=!1,gqn.a=!0}function Cen(n){var t,e,i;if(e=0,0==(i=rdn(n)).c.length)return 1;for(t=new pb(i);t.ae.b)return!0}return!1}function Aen(n,t){return uI(n)?!!Ujn[t]:n.hm?!!n.hm[t]:aI(n)?!!zjn[t]:!!cI(n)&&!!Gjn[t]}function $en(n,t,e){return null==e?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),etn(n.o,t)):(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),Dcn(n.o,t,e)),n}function Len(n,t,e,i){var r,c,a;return c=OZ(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):efn(n,c,e):Jx(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Nen(n,t,e,i){var r,c;e.mh(t)&&(MT(),zJ(t)?function(n,t){var e,i,r,c;for(i=0,r=t.gc();i=0)return i;if(n.Fk())for(e=0;e=(r=n.gc()))throw fp(new EN(t,r));if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw fp(new Ym(jxn));return n.mi(t,e)}function Fen(n,t){if(this.a=Jx(SF(n),245),this.b=Jx(SF(t),245),n.vd(t)>0||n==(gm(),n_n)||t==(dm(),t_n))throw fp(new Ym("Invalid range: "+HX(n,t)))}function Ben(n){var t,e;for(this.b=new rp,this.c=n,this.a=!1,e=new pb(n.a);e.a0),(t&-t)==t)return sG(t*Wln(n,31)*4.656612873077393e-10);do{i=(e=Wln(n,31))%t}while(e-i+(t-1)<0);return sG(i)}function Wen(n){var t,e,i;return bx(),null!=(i=mBn[e=":"+n])?sG((mB(i),i)):(t=null==(i=vBn[e])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new hx(Jx(FV(n.a,c),21)),WH(),ZC(i,new ow(t)),r=new ZU(c.b,0);r.b1&&(r=function(n,t){var e,i,r;for(e=qA(new iv,n),r=new pb(t);r.a(o=null==n.d?0:n.d.length)){for(h=n.d,n.d=QQ(Tct,kDn,63,2*o+4,0,1),c=0;cJAn;){for(a=t,u=0;e.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),cvn(n,n.b-u,a,r,c),P$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function pin(n,t){if(null==n)throw fp(new ny("null key in entry: null="+t));if(null==t)throw fp(new ny("null value in entry: "+n+"=null"))}function vin(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[Y6(n.a[0],t),Y6(n.a[1],t),Y6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function min(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[J6(n.a[0],t),J6(n.a[1],t),J6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function yin(){yin=O,xWn=new zM("GREEDY",0),NWn=new zM(rCn,1),RWn=new zM(iCn,2),KWn=new zM("MODEL_ORDER",3),DWn=new zM("GREEDY_MODEL_ORDER",4)}function kin(n,t){var e,i,r;for(n.b[t.g]=1,i=nen(t.d,0);i.b!=i.d.c;)r=(e=Jx(CX(i),188)).c,1==n.b[r.g]?_D(n.a,e):2==n.b[r.g]?n.b[r.g]=1:kin(n,r)}function jin(n,t,e){var i,r,c,a;for(a=n.r+t,n.r+=t,n.d+=e,i=e/n.n.c.length,r=0,c=new pb(n.n);c.a0||!a&&0==u))}(n,e,i.d,r,c,a,u)&&t.Fc(i),(s=i.a[1])&&Nin(n,t,e,s,r,c,a,u))}function xin(n,t,e){try{return hI(Q0(n,t,e),1)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Din(n,t,e){try{return hI(Q0(n,t,e),0)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Rin(n,t,e){try{return hI(Q0(n,t,e),2)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Kin(n,t){if(-1==n.g)throw fp(new Np);n.mj();try{n.d._c(n.g,t),n.f=n.d.j}catch(n){throw OO(n=E4(n),73)?fp(new Rp):fp(n)}}function _in(n,t,i){cun(i,"Linear segments node placement",1),n.b=Jx($un(t,(Ajn(),UQn)),304),function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(O=new rp,w=new pb(t.b);w.a=0){for(o=null,u=new ZU(h.a,s+1);u.b0&&s[r]&&(d=bO(n.b,s[r],c)),g=e.Math.max(g,c.c.c.b+d);for(a=new pb(f.e);a.ak)?(s=2,u=Jjn):0==s?(s=1,u=E):(s=0,u=E):(b=E>=u||u-E0?(f=Jx(MR(l.c.a,a-1),10),T=bO(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+T)):g=l.n.b-l.d.d,s=e.Math.min(g,s),ac&&RF(t,c,null),t}function Bin(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!(!(rI(r)===rI(i)||null!=r&&Y8(r,i))||null==i&&!n._b(e))}function Hin(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new YS(-(r=n.a).c,-r.d)),yN(this.b,e),c=i/2,t.a?x$(this.b,0,c):x$(this.b,c,0),iD(n.c,this)}function qin(){qin=O,r8n=new KS(lIn,0),e8n=new KS(cCn,1),i8n=new KS("EDGE_LENGTH_BY_POSITION",2),t8n=new KS("CROSSING_MINIMIZATION_BY_POSITION",3)}function Gin(n,t){var e,i;if(e=Jx(p1(n.g,t),33))return e;if(i=Jx(p1(n.j,t),118))return i;throw fp(new fy("Referenced shape does not exist: "+t))}function zin(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw fp(new Ym("Node 'one' must be either source or target of edge 'edge'."))}function Uin(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw fp(new Ym("Node "+t+" is neither source nor target of edge "+n))}function Xin(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(o+=r),s[h]=a,a+=u*(o+i)}function Vin(n){var t,e,i;for(i=n.f,n.n=QQ(Zot,cMn,25,i,15,1),n.d=QQ(Zot,cMn,25,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function rrn(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[Uen(n,(ZZ(),cHn),t),Uen(n,aHn,t),Uen(n,uHn,t)]),n.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function crn(n,t,e){try{agn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw OO(n=E4(n),73)?fp(new qm(n.g+GSn+t+eEn+e+").")):fp(n)}}function arn(n,t,e){try{agn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw OO(n=E4(n),73)?fp(new qm(n.g+GSn+t+eEn+e+").")):fp(n)}}function urn(n){var t;A$(n,(pjn(),X1n))&&((t=Jx($un(n,X1n),21)).Hc((Tln(),zet))?(t.Mc(zet),t.Fc(Xet)):t.Hc(Xet)&&(t.Mc(Xet),t.Fc(zet)))}function orn(n){var t;A$(n,(pjn(),X1n))&&((t=Jx($un(n,X1n),21)).Hc((Tln(),Jet))?(t.Mc(Jet),t.Fc(Qet)):t.Hc(Qet)&&(t.Mc(Qet),t.Fc(Jet)))}function srn(n,t,e,i){var r,c;for(r=t;r0&&(c.b+=t),c}function wrn(n,t){var i,r,c;for(c=new Ik,r=n.Kc();r.Ob();)wgn(i=Jx(r.Pb(),37),0,c.b),c.b+=i.f.b+t,c.a=e.Math.max(c.a,i.f.a);return c.a>0&&(c.a+=t),c}function drn(n){var t,i,r;for(r=Jjn,i=new pb(n.a);i.a>16==6?n.Cb.ih(n,5,act,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function mrn(n){var t,i,r;n.b==n.c&&(r=n.a.length,i=E5(e.Math.max(8,r))<<1,0!=n.b?(n2(n,t=iN(n.a,i),r),n.a=t,n.b=0):Up(n.a,i),n.c=r)}function yrn(n,t){var e;return(e=n.b).Xe((Ojn(),ktt))?e.Hf()==(Ckn(),Git)?-e.rf().a-ey(lL(e.We(ktt))):t+ey(lL(e.We(ktt))):e.Hf()==(Ckn(),Git)?-e.rf().a:t}function krn(n){var t;return 0!=n.b.c.length&&Jx(MR(n.b,0),70).a?Jx(MR(n.b,0),70).a:null!=(t=CH(n))?t:""+(n.c?fJ(n.c.a,n,0):-1)}function jrn(n){var t;return 0!=n.f.c.length&&Jx(MR(n.f,0),70).a?Jx(MR(n.f,0),70).a:null!=(t=CH(n))?t:""+(n.i?fJ(n.i.j,n,0):-1)}function Ern(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=e.Math.max(c,t.d),++r;n.e=a,n.b=c}function Srn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),n.o):(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),XQ(n.o)):Len(n,t,e,i)}function Prn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&HTn,n.m=i&HTn,n.h=r&qTn,0)))}function Orn(n,t,e){var i,r;return u8(r=new Xv,t),T2(r,e),lY((!n.c&&(n.c=new y_(bat,n,12,10)),n.c),r),F1(i=r,0),B1(i,1),b9(i,!0),h9(i,!0),i}function Arn(n,t){var e,i;if(t>=n.i)throw fp(new HI(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&hmn(n.g,t+1,n.g,t,i),RF(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function $rn(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,cat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Lrn(n){var t,e,i,r,c;for(r=Jjn,c=null,i=new pb(n.d);i.ae.a.c.length))throw fp(new Ym("index must be >= 0 and <= layer node count"));n.c&&oJ(n.c.a,n),n.c=e,e&&nK(e.a,t,n)}function Grn(n,t){var e,i,r;for(i=new LK(wA(u7(n).a.Kc(),new h));Qfn(i);)return e=Jx(jV(i),17),new Bf(SF((r=Jx(t.Kb(e),10)).n.b+r.o.b/2));return pm(),pm(),UKn}function zrn(n,t){this.c=new cp,this.a=n,this.b=t,this.d=Jx($un(n,(Ajn(),UQn)),304),rI($un(n,(pjn(),W1n)))===rI((aJ(),rVn))?this.e=new Ov:this.e=new Cv}function Urn(n,t){var e,i;return i=null,n.Xe((Ojn(),qtt))&&(e=Jx(n.We(qtt),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=sen(t)),i}function Xrn(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw OO(n=E4(n),109)?fp(new qm("Can't remove element "+t)):fp(n)}}function Wrn(n,t){var e,i,r;for(mB(t),M$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),iD(n.b,mB(e));return r!=n.b.c.length&&(b6(n,0),!0)}function Vrn(){Vrn=O,Ojn(),DGn=qnt,new RC(Ont,(MA(),!0)),_Gn=Znt,FGn=ett,BGn=rtt,KGn=Ynt,HGn=utt,qGn=Stt,Nrn(),xGn=OGn,LGn=PGn,NGn=CGn,RGn=AGn,$Gn=SGn}function Qrn(n,t,e,i){var r,c,a;for(ZG(t,Jx(i.Xb(0),29)),a=i.bd(1,i.gc()),c=Jx(e.Kb(t),20).Kc();c.Ob();)Qrn(n,(r=Jx(c.Pb(),17)).c.i==t?r.d.i:r.c.i,e,a)}function Yrn(n){var t;return t=new cp,A$(n,(Ajn(),YQn))?Jx($un(n,YQn),83):(PE(fH(new PR(null,new xz(n.j,16)),new tr),new _w(t)),w5(n,YQn,t),t)}function Jrn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,6,tct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Drt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zrn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,Jrt,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Krt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ncn(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Frt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function tcn(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,sat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),Mat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ecn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,ict,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),vat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function icn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,act,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),Nat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function rcn(){this.a=new lo,this.g=new rin,this.j=new rin,this.b=new cp,this.d=new rin,this.i=new rin,this.k=new cp,this.c=new cp,this.e=new cp,this.f=new cp}function ccn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;raMn)return acn(n,i);if(i==n)return!0}}return!1}function ucn(n,t){var i,r,c;for(oJ(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=g$n,r=new pb(n.a);r.a>16==3?n.Cb.ih(n,12,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),xrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function scn(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),_rt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,cat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),$at),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function fcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,lat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),xat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function lcn(n){var t;return 0==(1&n.Bb)&&n.r&&n.r.kh()&&(t=Jx(n.r,49),n.r=Jx(I8(n,t),138),n.r!=t&&0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,9,8,t,n.r))),n.r}function bcn(n,t,i){var r;return r=D4(zy(Zot,1),cMn,25,15,[kun(n,(ZZ(),cHn),t,i),kun(n,aHn,t,i),kun(n,uHn,t,i)]),n.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function wcn(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new vQ(t.gc()),i=t.Kc();i.Ob();)(e=Jx(i.Pb(),286)).c==e.f?tsn(n,e,e.c):Qon(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(ZC(r,new ti),e=r.c.length,i=0;i>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function vcn(){vcn=O,Ldn(),HBn=new BI(oSn,qBn=QBn),hZ(),FBn=new BI(sSn,BBn=NBn),ten(),KBn=new BI(hSn,_Bn=OBn),RBn=new BI(fSn,(MA(),!0))}function mcn(n,t,e){var i,r;i=t*e,OO(n.g,145)?(r=PX(n)).f.d?r.f.a||(n.d.a+=i+PSn):(n.d.d-=i+PSn,n.d.a+=i+PSn):OO(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function ycn(n,t,i){var r,c,a,u,o;for(c=n[i.g],o=new pb(t.d);o.a0?n.g:0),++i;t.b=r,t.e=c}function jcn(n){var t,e,i;if(i=n.b,yE(n.i,i.length)){for(e=2*i.length,n.b=QQ(a_n,GEn,317,e,0,1),n.c=QQ(a_n,GEn,317,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)vhn(n,t,t);++n.g}}function Ecn(n,t,e){var i;(i=t.c.i).k==(won(),Hzn)?(w5(n,(Ajn(),MQn),Jx($un(i,MQn),11)),w5(n,SQn,Jx($un(i,SQn),11))):(w5(n,(Ajn(),MQn),t.c),w5(n,SQn,e.d))}function Tcn(n,t,i){var r,c,a,u,o,s;return odn(),u=t/2,a=i/2,o=1,s=1,(r=e.Math.abs(n.a))>u&&(o=u/r),(c=e.Math.abs(n.b))>a&&(s=a/c),_O(n,e.Math.min(o,s)),n}function Mcn(){oE.call(this),this.e=-1,this.a=!1,this.p=tTn,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=tTn}function Scn(){Scn=O,VGn=kK(sR(sR(sR(new lX,(Lun(),tzn),(Ljn(),xUn)),tzn,_Un),ezn,UUn),ezn,EUn),YGn=sR(sR(new lX,tzn,bUn),tzn,TUn),QGn=kK(new lX,ezn,SUn)}function Pcn(n,t){var e,i,r,c;for(c=new cp,t.e=null,t.f=null,i=new pb(t.i);i.a0)try{i=rpn(t,tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}return!n.a&&(n.a=new Qg(n)),i<(e=n.a).i&&i>=0?Jx(a1(e,i),56):null}(n,0==(r=t.c.length)?"":(Lz(0,t.c.length),bL(t.c[0]))),i=1;i0&&(r=ifn(n,(c&Jjn)%n.d.length,c,t))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function Rcn(n,t){var e,i,r,c;switch(X8(n,t)._k()){case 3:case 2:for(r=0,c=(e=imn(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/C8(2.718281828459045,n))}function Bcn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=e.Math.min(r,c))}function Xcn(n,t){var e;if(e=!1,uI(t)&&(e=!0,tB(n,new UF(bL(t)))),e||OO(t,236)&&(e=!0,tB(n,new Tl(ex(Jx(t,236))))),!e)throw fp(new zm(rxn))}function Wcn(n){var t,e;switch(Jx($un(gB(n),(pjn(),$1n)),420).g){case 0:return t=n.n,e=n.o,new YS(t.a+e.a/2,t.b+e.b/2);case 1:return new lC(n.n);default:return null}}function Vcn(){Vcn=O,fVn=new QM(lIn,0),hVn=new QM("LEFTUP",1),bVn=new QM("RIGHTUP",2),sVn=new QM("LEFTDOWN",3),lVn=new QM("RIGHTDOWN",4),oVn=new QM("BALANCED",5)}function Qcn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new y_(uct,n,1,7)),qmn(n.n),!n.n&&(n.n=new y_(uct,n,1,7)),void EF(n.n,Jx(e,14));case 2:return void L0(n,bL(e))}Z5(n,t,e)}function Ycn(n,t,e){switch(t){case 3:return void $1(n,ey(lL(e)));case 4:return void L1(n,ey(lL(e)));case 5:return void N1(n,ey(lL(e)));case 6:return void x1(n,ey(lL(e)))}Qcn(n,t,e)}function Jcn(n,t,e){var i,r;(i=lun(r=new Xv,t,null))&&i.Fi(),T2(r,e),lY((!n.c&&(n.c=new y_(bat,n,12,10)),n.c),r),F1(r,0),B1(r,1),b9(r,!0),h9(r,!0)}function Zcn(n,t){var e,i;return OO(e=xT(n.g,t),235)?((i=Jx(e,235)).Qh(),i.Nh()):OO(e,498)?i=Jx(e,1938).b:null}function nan(n,t,e,i){var r,c;return SF(t),SF(e),TJ(!!(c=Jx(tx(n.d,t),19)),"Row %s not in %s",t,n.e),TJ(!!(r=Jx(tx(n.b,e),19)),"Column %s not in %s",e,n.c),x4(n,c.a,r.a,i)}function tan(n,t,e,i,r,c,a){var u,o,s,h,f;if(f=nrn(u=(s=c==a-1)?i:0,h=r[c]),10!=i&&D4(zy(n,a-c),t[c],e[c],u,f),!s)for(++c,o=0;o0?n.i:0)),++t;for(function(n,t){var e,i;for(mB(t),e=!1,i=new pb(n);i.a1||-1==u?(c=Jx(o,15),r.Wb(function(n,t){var e,i,r;for(i=new vQ(t.gc()),e=t.Kc();e.Ob();)(r=Ygn(n,Jx(e.Pb(),56)))&&(i.c[i.c.length]=r);return i}(n,c))):r.Wb(Ygn(n,Jx(o,56))))}function wan(n){switch(Jx($un(n.b,(pjn(),p1n)),375).g){case 1:PE(lH(VJ(new PR(null,new xz(n.d,16)),new _r),new Fr),new Br);break;case 2:!function(n){var t,e,i,r,c,a,u;for(i=0,u=0,a=new pb(n.d);a.a0&&xrn(this,this.c-1,(Ckn(),Tit)),this.c0&&n[0].length>0&&(this.c=ty(fL($un(gB(n[0][0]),(Ajn(),kQn))))),this.a=QQ(H3n,MEn,2018,n.length,0,2),this.b=QQ(W3n,MEn,2019,n.length,0,2),this.d=new i8}function xan(n){return 0!=n.c.length&&((Lz(0,n.c.length),Jx(n.c[0],17)).c.i.k==(won(),Hzn)||ZW(lH(new PR(null,new xz(n,16)),new Kc),new _c))}function Dan(n,t,e){return cun(e,"Tree layout",1),FU(n.b),G_(n.b,(_rn(),J4n),J4n),G_(n.b,Z4n,Z4n),G_(n.b,n5n,n5n),G_(n.b,t5n,t5n),n.a=nyn(n.b,t),function(n,t,e){var i,r,c;if(!(r=e)&&(r=new um),cun(r,"Layout",n.a.c.length),ty(fL($un(t,(aln(),K5n)))))for(sE(),i=0;i=0?(e=Hcn(n,XTn),i=Pnn(n,XTn)):(e=Hcn(t=XK(n,1),5e8),i=e7(zK(i=Pnn(t,5e8),1),zz(n,1))),Uz(zK(i,32),zz(e,oMn))}function Wan(n,t,e){var i;switch(P$(0!=t.b),i=Jx(QZ(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return sF(nen(t,0),i),t}function Van(n,t,e,i){var r,c,a,u,o;switch(o=n.b,u=_tn(a=(c=t.d).j,o.d[a.g],e),r=yN(gO(c.n),c.a),c.j.g){case 1:case 3:u.a+=r.a;break;case 2:case 4:u.b+=r.b}QW(i,u,i.c.b,i.c)}function Qan(n,t,e){var i,r,c,a;for(a=fJ(n.e,t,0),(c=new vv).b=e,i=new ZU(n.e,a);i.b=0;t--)UFn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)zFn[n]=e,e*=.5}function Jan(n){var t,e;if(ty(fL(Eln(n,(pjn(),C1n)))))for(e=new LK(wA(bbn(n).a.Kc(),new h));Qfn(e);)if(Vhn(t=Jx(jV(e),79))&&ty(fL(Eln(t,O1n))))return!0;return!1}function Zan(n,t){var e,i,r;F_(n.f,t)&&(t.b=n,i=t.c,-1!=fJ(n.j,i,0)||iD(n.j,i),r=t.d,-1!=fJ(n.j,r,0)||iD(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new Vtn(n)),function(n,t){var e,i;for(i=new pb(t);i.a=n.f)break;c.c[c.c.length]=e}return c}function sun(n){var t,e,i,r;for(t=null,r=new pb(n.wf());r.a0&&hmn(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&P_(s,LZ(e[u],_Fn))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function gun(n,t,e){cun(e,"Grow Tree",1),n.b=t.f,ty(fL($un(t,(k3(),fqn))))?(n.c=new it,yz(n,null)):n.c=new it,n.a=!1,rwn(n,t.f),w5(t,lqn,(MA(),!!n.a)),Kon(e)}function pun(n){var t,e;return n>=iMn?(t=rMn+(n-iMn>>10&1023)&lTn,e=56320+(n-iMn&1023)&lTn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&lTn)}function vun(n,t,e,i,r){var c,a,u;for(c=Qwn(n,t,e,i,r),u=!1;!c;)xln(n,r,!0),u=!0,c=Qwn(n,t,e,i,r);u&&xln(n,r,!1),0!=(a=z4(r)).c.length&&(n.d&&n.d.lg(a),vun(n,r,e,i,a))}function mun(){mun=O,jet=new iP(lIn,0),yet=new iP("DIRECTED",1),Eet=new iP("UNDIRECTED",2),vet=new iP("ASSOCIATION",3),ket=new iP("GENERALIZATION",4),met=new iP("DEPENDENCY",5)}function yun(n,t){var e,i;for(mB(t),i=n.b.c.length,iD(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.ue(MR(n.b,i),t)<=0)return YW(n.b,e,t),!0;YW(n.b,e,MR(n.b,i))}return YW(n.b,i,t),!0}function kun(n,t,i,r){var c,a;if(c=0,i)c=J6(n.a[i.g][t.g],r);else for(a=0;a=a)}function Eun(n,t,e,i){var r;if(r=!1,uI(i)&&(r=!0,xD(t,e,bL(i))),r||cI(i)&&(r=!0,Eun(n,t,e,i)),r||OO(i,236)&&(r=!0,tq(t,e,Jx(i,236))),!r)throw fp(new zm(rxn))}function Tun(n,t){var e,i,r,c;if(mB(t),(c=n.a.gc())=fTn?"error":"warn",n.a),n.b&&Zbn(t,e,n.b,"Exception: ",!0))}function $un(n,t){var e,i;return!n.q&&(n.q=new cp),null!=(i=HF(n.q,t))?i:(OO(e=t.wg(),4)&&(null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e))),e)}function Lun(){Lun=O,JGn=new wM("P1_CYCLE_BREAKING",0),ZGn=new wM("P2_LAYERING",1),nzn=new wM("P3_NODE_ORDERING",2),tzn=new wM("P4_NODE_PLACEMENT",3),ezn=new wM("P5_EDGE_ROUTING",4)}function Nun(n,t){var e,i,r,c;for(i=(1==t?szn:ozn).a.ec().Kc();i.Ob();)for(e=Jx(i.Pb(),103),c=Jx(FV(n.f.c,e),21).Kc();c.Ob();)r=Jx(c.Pb(),46),oJ(n.b.b,r.b),oJ(n.b.a,Jx(r.b,81).d)}function xun(n,t){var e;if(sZ(),n.c==t.c){if(n.b==t.b||function(n,t){return F4(),n==wzn&&t==pzn||n==pzn&&t==wzn||n==gzn&&t==dzn||n==dzn&&t==gzn}(n.b,t.b)){if(e=function(n){return n==wzn||n==pzn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return iO(n.b.g,t.b.g)}return L9(n.c,t.c)}function Dun(n,t){var e,i;if(Uun(n,t))return!0;for(i=new pb(t);i.a=(r=n.Vi())||t<0)throw fp(new qm(Exn+t+Txn+r));if(e>=r||e<0)throw fp(new qm(Mxn+e+Txn+r));return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function Gun(n){var t,e,i;if(i=n,n)for(t=0,e=n.Ug();e;e=e.Ug()){if(++t>aMn)return Gun(e);if(i=e,e==n)throw fp(new Jm("There is a cycle in the containment hierarchy of "+n))}return i}function zun(n){var t,e,i;for(i=new Z3(eEn,"[","]"),e=n.Kc();e.Ob();)qV(i,rI(t=e.Pb())===rI(n)?"(this Collection)":null==t?uEn:C7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Uun(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;ei&&(Nz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||t1&&(n.j.b+=n.e)):(n.j.a+=i.a,n.j.b=e.Math.max(n.j.b,i.b),n.d.c.length>1&&(n.j.a+=n.e))}function Yun(){Yun=O,XXn=D4(zy(ert,1),bIn,61,0,[(Ckn(),Mit),Tit,Hit]),UXn=D4(zy(ert,1),bIn,61,0,[Tit,Hit,Git]),WXn=D4(zy(ert,1),bIn,61,0,[Hit,Git,Mit]),VXn=D4(zy(ert,1),bIn,61,0,[Git,Mit,Tit])}function Jun(n,t,e,i){var r,c,a,u,o;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(o=n.b,r=c.j,u=null;r!=a.j;)u=0==t?$9(r):O9(r),_D(i,yN(_tn(r,o.d[r.g],e),_tn(u,o.d[u.g],e))),r=u}function Zun(n,t,e,i){var r,c,a,u,o;return u=Jx((a=Rrn(n.a,t,e)).a,19).a,c=Jx(a.b,19).a,i&&(o=Jx($un(t,(Ajn(),KQn)),10),r=Jx($un(e,KQn),10),o&&r&&(JX(n.b,o,r),u+=n.b.i,c+=n.b.e)),u>c}function non(n){var t,e,i,r,c,a,u,o;for(this.a=Den(n),this.b=new rp,i=0,r=(e=n).length;i0&&(n.a[q.p]=J++)}for(rn=0,N=0,R=(A=i).length;N0;){for(P$(X.b>0),U=0,o=new pb((q=Jx(X.a.Xb(X.c=--X.b),11)).e);o.a0&&(q.j==(Ckn(),Mit)?(n.a[q.p]=rn,++rn):(n.a[q.p]=rn+K+F,++F))}rn+=F}for(z=new cp,d=new sC,$=0,x=(C=t).length;$h.b&&(h.b=W)):q.i.c==Y&&(Wh.c&&(h.c=W));for(RY(g,0,g.length,null),en=QQ(Vot,STn,25,g.length,15,1),r=QQ(Vot,STn,25,rn+1,15,1),v=0;v0;)T%2>0&&(c+=un[T+1]),++un[T=(T-1)/2|0];for(S=QQ(r4n,rEn,362,2*g.length,0,1),k=0;kML(n.d).c?(n.i+=n.g.c,Onn(n.d)):ML(n.d).c>ML(n.g).c?(n.e+=n.d.c,Onn(n.g)):(n.i+=CR(n.g),n.e+=CR(n.d),Onn(n.g),Onn(n.d))}function ron(n,t,i,r){n.a.d=e.Math.min(t,i),n.a.a=e.Math.max(t,r)-n.a.d,to&&(s=o/r),(c=e.Math.abs(t.b-n.b))>a&&(h=a/c),u=e.Math.min(s,h),n.a+=u*(t.a-n.a),n.b+=u*(t.b-n.b)}function hon(n,t,e,i,r){var c,a;for(a=!1,c=Jx(MR(e.b,0),33);Pvn(n,t,c,i,r)&&(a=!0,san(e,c),0!=e.b.c.length);)c=Jx(MR(e.b,0),33);return 0==e.b.c.length&&ucn(e.j,e),a&&irn(t.q),a}function fon(n,t){var e,i,r,c;if(odn(),t.b<2)return!1;for(i=e=Jx(CX(c=nen(t,0)),8);c.b!=c.d.c;){if(Kbn(n,i,r=Jx(CX(c),8)))return!0;i=r}return!!Kbn(n,i,e)}function lon(n,t,e,i){return 0==e?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),JN(n.o,t,i)):Jx(OZ(Jx(q3(n,16),26)||n.zh(),e),66).Nj().Rj(n,gtn(n),e-mF(n.zh()),t,i)}function bon(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Jx(n.sb,49).ih(n,1,rct,e)),t&&(e=Jx(t,49).gh(n,1,rct,e)),(e=q8(n,t,e))&&e.Fi()):0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,4,t,t))}function won(){won=O,qzn=new pM("NORMAL",0),Hzn=new pM("LONG_EDGE",1),Fzn=new pM("EXTERNAL_PORT",2),Gzn=new pM("NORTH_SOUTH_PORT",3),Bzn=new pM("LABEL",4),_zn=new pM("BREAKING_POINT",5)}function don(n,t,e){var i;cun(e,"Self-Loop routing",1),i=function(n){switch(Jx($un(n,(pjn(),w1n)),218).g){case 1:return new ic;case 3:return new oc;default:return new ec}}(t),gI($un(t,(eQ(),_7n))),PE(lH(fH(fH(VJ(new PR(null,new xz(t.b,16)),new zi),new Ui),new Xi),new Wi),new kM(n,i)),Kon(e)}function gon(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw fp(new Ym("k must be smaller than n"));return 0==t||t==n?1:0==n?0:Fcn(n)/(Fcn(t)*Fcn(n-t))}function yon(n,t){var e,i,r,c;for(e=new PC(n);null!=e.g||e.c?null==e.g||0!=e.i&&Jx(e.g[e.i-1],47).Ob():$G(e);)if(OO(c=Jx(ubn(e),56),160))for(i=Jx(c,160),r=0;r0&&kgn(n,e,t),r):function(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=VK(i.a,r.a))<0?kgn(n,t,e):c>0&&kgn(n,e,t),c):null!=i.a?(kgn(n,t,e),-1):null!=r.a?(kgn(n,e,t),1):0}(n,t,e)}function Don(n,t,e){var i,r,c,a;if(0!=t.b){for(i=new SE,a=nen(t,0);a.b!=a.d.c;)O2(i,G4(c=Jx(CX(a),86))),(r=c.e).a=Jx($un(c,(cyn(),A5n)),19).a,r.b=Jx($un(c,$5n),19).a;Don(n,i,Z2(e,i.b/n.a|0))}}function Ron(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=smn(n,t,!1)).b<=t&&i.a<=e}(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=i.a,n.e.b=e.Math.max(n.e.b,i.b),n.d.c.length>1&&(n.e.a+=n.a))}function Hon(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function qon(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function Gon(n){if(OO(n,149))return function(n){var t,e,i,r,c;return c=aun(n),null!=n.a&&xD(c,"category",n.a),!Pj(new Yl(n.d))&&(AZ(c,"knownOptions",i=new Sl),t=new Sg(i),WW(new Yl(n.d),t)),!Pj(n.g)&&(AZ(c,"supportedFeatures",r=new Sl),e=new Pg(r),WW(n.g,e)),c}(Jx(n,149));if(OO(n,229))return function(n){var t,e,i;return i=aun(n),!Pj(n.c)&&(AZ(i,"knownLayouters",e=new Sl),t=new Ig(e),WW(n.c,t)),i}(Jx(n,229));if(OO(n,23))return function(n){var t,e,i;return i=aun(n),null!=n.e&&xD(i,gxn,n.e),!!n.k&&xD(i,"type",g$(n.k)),!Pj(n.j)&&(e=new Sl,AZ(i,QNn,e),t=new Cg(e),WW(n.j,t)),i}(Jx(n,23));throw fp(new Ym(uxn+zun(new uy(D4(zy(XKn,1),rEn,1,5,[n])))))}function zon(n,t,e,i){var r,c;if(t.k==(won(),Hzn))for(c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)if((r=Jx(jV(c),17)).c.i.k==Hzn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function Uon(n,t,e,i){var r;this.b=i,this.e=n==(b0(),U3n),r=t[e],this.d=lR(Qot,[MEn,dSn],[177,25],16,[r.length,r.length],2),this.a=lR(Vot,[MEn,STn],[48,25],15,[r.length,r.length],2),this.c=new Lan(t,e)}function Xon(n){var t,e,i;for(n.k=new Oz((Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])).length,n.j.c.length),i=new pb(n.j);i.a=e)return tsn(n,t,i.p),!0;return!1}function Yon(n){var t;return 0!=(64&n.Db)?kon(n):(t=new PA(dNn),!n.a||kI(kI((t.a+=' "',t),n.a),'"'),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Jon(n,t,e){var i,r,c,a,u;for(u=gwn(n.e.Tg(),t),r=Jx(n.g,119),i=0,a=0;a0&&isn(n,c,e));t.p=0}function rsn(n){var t;this.c=new SE,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new ax(t=Jx($k(R7n),9),Jx(iN(t,t.length),9),0),this.g=n.f}function csn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.Bh(r):Thn(n,i)}else c9(n,e,i)}function ssn(n){var t,e;if(e=null,t=!1,OO(n,204)&&(t=!0,e=Jx(n,204).a),t||OO(n,258)&&(t=!0,e=""+Jx(n,258).a),t||OO(n,483)&&(t=!0,e=""+Jx(n,483).a),!t)throw fp(new zm(rxn));return e}function hsn(n,t){var e,i;if(n.f){for(;t.Ob();)if(OO(i=(e=Jx(t.Pb(),72)).ak(),99)&&0!=(Jx(i,18).Bb&SNn)&&(!n.e||i.Gj()!=Qrt||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}return t.Ob()}function fsn(n,t){var e,i;if(n.f){for(;t.Sb();)if(OO(i=(e=Jx(t.Ub(),72)).ak(),99)&&0!=(Jx(i,18).Bb&SNn)&&(!n.e||i.Gj()!=Qrt||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}return t.Sb()}function lsn(n,t,e){var i,r,c,a,u,o;for(o=gwn(n.e.Tg(),t),i=0,u=n.i,r=Jx(n.g,119),a=0;a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)VG(this);this.b=t,this.a=null}function Tsn(n,t){var e,i;t.a?function(n,t){var e;if(!oF(n.b,t.b))throw fp(new Jm("Invalid hitboxes for scanline constraint calculation."));(O4(t.b,Jx(function(n,t){return Lk(Knn(n.a,t,!0))}(n.b,t.b),57))||O4(t.b,Jx(function(n,t){return Lk(Rnn(n.a,t,!0))}(n.b,t.b),57)))&&(sE(),t.b),n.a[t.b.f]=Jx(HN(n.b,t.b),57),(e=Jx(BN(n.b,t.b),57))&&(n.a[e.f]=t.b)}(n,t):(!!(e=Jx(HN(n.b,t.b),57))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=Jx(BN(n.b,t.b),57))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),KA(n.b,t.b))}function Msn(n,t){var e,i;if(e=Jx(zB(n.b,t),124),Jx(Jx(FV(n.r,t),21),84).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc(($nn(),trt))&&Wdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Jx(Jx(FV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Jx(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),fdn(n,t)==(Jtn(),iit)&&(i+=2*n.w),e.a.a=i}function Ssn(n,t){var e,i;if(e=Jx(zB(n.b,t),124),Jx(Jx(FV(n.r,t),21),84).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc(($nn(),trt))&&Vdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Jx(Jx(FV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Jx(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),fdn(n,t)==(Jtn(),iit)&&(i+=2*n.w),e.a.b=i}function Psn(n,t){var e,i,r,c;for(c=new rp,i=new pb(t);i.a=0&&FN(n.substr(u,2),"//")?(o=Htn(n,u+=2,Vct,Qct),i=n.substr(u,o-u),u=o):null==f||u!=n.length&&(Nz(u,n.length),47==n.charCodeAt(u))||(a=!1,-1==(o=xA(n,pun(35),u))&&(o=n.length),i=n.substr(u,o-u),u=o);if(!e&&u0&&58==WB(h,h.length-1)&&(r=h,u=o)),u0&&(Nz(0,e.length),47!=e.charCodeAt(0))))throw fp(new Ym("invalid opaquePart: "+e));if(n&&(null==t||!lE(Kct,t.toLowerCase()))&&null!=e&&L7(e,Vct,Qct))throw fp(new Ym(TDn+e));if(n&&null!=t&&lE(Kct,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==WB(n,n.length-1))try{return null==Dsn(b$(n,0,n.length-1)).e}catch(n){if(!OO(n=E4(n),32))throw fp(n)}return!1}(e))throw fp(new Ym(TDn+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Nz(t-1,n.length),58==n.charCodeAt(t-1))&&!L7(n,Vct,Qct)}(i))throw fp(new Ym("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;te.a&&(i.Hc((gan(),snt))?r=(t.a-e.a)/2:i.Hc(fnt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((gan(),bnt))?c=(t.b-e.b)/2:i.Hc(lnt)&&(c=t.b-e.b)),Iun(n,r,c)}function zsn(n,t,e,i,r,c,a,u,o,s,h,f,l){OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),4),T2(n,e),n.f=a,R9(n,u),_9(n,o),D9(n,s),K9(n,h),b9(n,f),q9(n,l),h9(n,!0),F1(n,r),n.ok(c),u8(n,t),null!=i&&(n.i=null,Z0(n,i))}function Usn(n){var t,e;if(n.f){for(;n.n>0;){if(OO(e=(t=Jx(n.k.Xb(n.n-1),72)).ak(),99)&&0!=(Jx(e,18).Bb&SNn)&&(!n.e||e.Gj()!=Qrt||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}return n.n>0}function Xsn(n,t,e){if(n<0)return tgn(iEn,D4(zy(XKn,1),rEn,1,5,[e,g9(n)]));if(t<0)throw fp(new Ym(cEn+t));return tgn("%s (%s) must not be greater than size (%s)",D4(zy(XKn,1),rEn,1,5,[e,g9(n),g9(t)]))}function Wsn(n,t,e,i,r,c){var a,u,o;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],RF(n,c,n[c-1]),RF(n,c-1,a)}(t,e,i,c);else if(Wsn(t,n,u=e+r,o=u+((a=i+r)-u>>1),-r,c),Wsn(t,n,o,a,-r,c),c.ue(n[o-1],n[o])<=0)for(;e=i||t=0?n.sh(c,e):vbn(n,r,e)}else T7(n,i,r,e)}function Ysn(n){var t,e,i,r,c;if(e=Jx(n,49).qh())try{if(i=null,(t=qln((yT(),uat),hpn(null==(c=e).e?c:(!c.c&&(c.c=new Ddn(0!=(256&c.f),c.i,c.a,c.d,0!=(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.rh())&&(i=r.Wk(function(n){return mB(n),n}(e.e))),i&&i!=n)return Ysn(i)}catch(c){if(!OO(c=E4(c),60))throw fp(c)}return n}function Jsn(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?new Array:i).length)n.a.set(a,r);else if(c=G6(n,t,r))return c.ed(e);return RF(r,r.length,new UT(t,e)),++n.c,pq(n.b),null}function Zsn(n,t){var e;return FU(n.a),G_(n.a,(v2(),f6n),f6n),G_(n.a,l6n,l6n),sR(e=new lX,l6n,(y7(),p6n)),rI(Eln(t,(Frn(),B6n)))!==rI((C6(),T6n))&&sR(e,l6n,d6n),sR(e,l6n,g6n),uC(n.a,e),nyn(n.a,t)}function nhn(n){if(!n)return ky(),S_n;var t=n.valueOf?n.valueOf():n;if(t!==n){var i=P_n[typeof t];return i?i(t):n8(typeof t)}return n instanceof Array||n instanceof e.Array?new jl(n):new Ml(n)}function thn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Jx(zB(n.p,i),244)).i).b=Khn(r),c.a=Rhn(r),c.b=e.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,i.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}avn(r),fvn(r)}function ehn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Jx(zB(n.p,i),244)).i).b=Khn(r),c.a=Rhn(r),c.a=e.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,i.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}avn(r),fvn(r)}function ihn(n,t){var e,i,r,c;if(odn(),t.b<2)return!1;for(i=e=Jx(CX(c=nen(t,0)),8);c.b!=c.d.c;){if(r=Jx(CX(c),8),!h3(n,i)||!h3(n,r))return!1;i=r}return!(!h3(n,i)||!h3(n,e))}function rhn(n,t){var e,i,r,c,a;return e=G1(a=n,"x"),function(n,t){N1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new bg(t).a,e),i=G1(a,"y"),function(n,t){x1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new wg(t).a,i),r=G1(a,GNn),function(n,t){L1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new dg(t).a,r),c=G1(a,qNn),function(n,t){$1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new gg(t).a,c),c}function chn(n,t){zdn(n,t),0!=(1&n.b)&&(n.a.a=null),0!=(2&n.b)&&(n.a.f=null),0!=(4&n.b)&&(n.a.g=null,n.a.i=null),0!=(16&n.b)&&(n.a.d=null,n.a.e=null),0!=(8&n.b)&&(n.a.b=null),0!=(32&n.b)&&(n.a.j=null,n.a.c=null)}function ahn(n){var t,e,i,r,c;if(null==n)return uEn;for(c=new Z3(eEn,"[","]"),i=0,r=(e=n).length;i0)for(a=n.c.d,r=_O(kN(new YS((u=n.d.d).a,u.b),a),1/(i+1)),c=new YS(a.a,a.b),e=new pb(n.a);e.a(Lz(c+1,t.c.length),Jx(t.c[c+1],19)).a-i&&++u,iD(r,(Lz(c+u,t.c.length),Jx(t.c[c+u],19))),a+=(Lz(c+u,t.c.length),Jx(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):efn(n,r,!0),153),Jx(i,215).ol(t)}function Mhn(n){var t,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),i=sG(e.Math.floor(e.Math.log(n)/.6931471805599453)),(!t||n!=e.Math.pow(2,i))&&++i,i):f4(R3(n))}function Shn(n,t){var e,i,r;return s4(i=new cin(n),t),w5(i,(Ajn(),hQn),t),w5(i,(pjn(),p0n),(Kan(),sit)),w5(i,DZn,(Gen(),z7n)),Al(i,(won(),Fzn)),nz(e=new Con,i),dhn(e,(Ckn(),Git)),nz(r=new Con,i),dhn(r,Tit),i}function Phn(n){switch(n.g){case 0:return new Um((b0(),z3n));case 1:return new bf;case 2:return new yf;default:throw fp(new Ym("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function Ihn(n,t){var e,i,r,c;for(n.c[t.p]=!0,iD(n.a,t),c=new pb(t.j);c.a=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=Hy(B2(bH(fH(W_(n.a),new Mn),new Sn)));return a>0?a+n.n.d+n.n.a:0}function Khn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=Hy(B2(bH(fH(W_(n.a),new En),new Tn)));else{for(t=0,r=0,c=(i=min(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function _hn(n){var t,e;return(e=new $y).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&Jx(MR(n.b,0),70).a?Jx(MR(n.b,0),70).a:CH(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(kI((e.a+=" ",e),jrn(n.c)),kI(yI((e.a+="[",e),n.c.i),"]"),kI((e.a+=vIn,e),jrn(n.d)),kI(yI((e.a+="[",e),n.d.i),"]")),e.a}function Fhn(n){switch(n.g){case 0:return new df;case 1:return new gf;case 2:return new wf;case 3:return new pf;default:throw fp(new Ym("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Bhn(n,t,i,r,c){var a;switch(a=0,c.g){case 1:a=e.Math.max(0,t.b+n.b-(i.b+r));break;case 3:a=e.Math.max(0,-n.b-r);break;case 2:a=e.Math.max(0,-n.a-r);break;case 4:a=e.Math.max(0,t.a+n.a-(i.a+r))}return a}function Hhn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=lcn(n))&&(MT(),t.Cj()==_Dn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function qhn(n,t){var e,i,r,c;if(jjn(n),0!=n.c||123!=n.a)throw fp(new dy(_jn((zC(),qxn))));if(c=112==t,i=n.d,(e=w$(n.i,125,i))<0)throw fp(new dy(_jn((zC(),Gxn))));return r=b$(n.i,i,e),n.d=e+1,wY(r,c,512==(512&n.e))}function Ghn(n,t,e,i,r){var c,a,u,o;return rI(o=tL(n,Jx(r,56)))!==rI(r)?(u=Jx(n.g[e],72),FO(n,e,Uan(n,0,c=QX(t,o))),pC(n.e)&&(Ian(a=_q(n,9,c.ak(),r,o,i,!1),new kJ(n.e,9,n.c,u,c,i,!1)),mJ(a)),o):r}function zhn(n,t){var e,i;try{return function(n,t){var e;return M$(!!(e=(mB(n),n).g)),mB(t),e(t)}(n.a,t)}catch(r){if(OO(r=E4(r),32)){try{if(i=rpn(t,tTn,Jjn),e=$k(n.a),i>=0&&i=0?n._g(e,!0,!0):efn(n,r,!0),153),Jx(i,215).ll(t);throw fp(new Ym(yNn+t.ne()+ENn))}function Xhn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Nz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Nz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function Whn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=(L5(D4(zy(H7n,1),MEn,8,0,[c.i.n,c.n,c.a])).b+L5(D4(zy(H7n,1),MEn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==(Ckn(),Tit)?new YS(t+c.i.c.c.a+e,r):new YS(t-e,r),$$(n.a,0,i)}function Vhn(n){var t,e,i;for(t=null,e=V_(t0(D4(zy(YKn,1),rEn,20,0,[(!n.b&&(n.b=new $N(nct,n,4,7)),n.b),(!n.c&&(n.c=new $N(nct,n,5,8)),n.c)])));Qfn(e);)if(i=run(Jx(jV(e),82)),t){if(t!=i)return!1}else t=i;return!0}function Qhn(n,t,e){var i;if(++n.j,t>=n.i)throw fp(new qm(Exn+t+Txn+n.i));if(e>=n.i)throw fp(new qm(Mxn+e+Txn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-tMn>>16&4,(e+=t=(n<<=t)-SEn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function Zhn(n){var t,e,i,r;for(XH(),Bqn=new rp,Fqn=new cp,_qn=new rp,!n.a&&(n.a=new y_(oct,n,10,11)),function(n){var t,e,i,r,c,a,u,o,s,f;for(t=new cp,a=new XO(n);a.e!=a.i.gc();){for(c=Jx(fen(a),33),e=new Yp,DB(Fqn,c,e),f=new ut,i=Jx(jW(new PR(null,new tF(new LK(wA(lbn(c).a.Kc(),new h)))),rK(f,yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)])))),83),r0(e,Jx(i.xc((MA(),!0)),14),new ot),r=Jx(jW(fH(Jx(i.xc(!1),15).Lc(),new st),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn]))),15).Kc();r.Ob();)(s=Fun(Jx(r.Pb(),79)))&&((u=Jx(iI(Rq(t.f,s)),21))||(u=$wn(s),Jsn(t.f,s,u)),O2(e,u));for(i=Jx(jW(new PR(null,new tF(new LK(wA(bbn(c).a.Kc(),new h)))),rK(f,yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn])))),83),r0(e,Jx(i.xc(!0),14),new ht),o=Jx(jW(fH(Jx(i.xc(!1),15).Lc(),new ft),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn]))),15).Kc();o.Ob();)(s=Bun(Jx(o.Pb(),79)))&&((u=Jx(iI(Rq(t.f,s)),21))||(u=$wn(s),Jsn(t.f,s,u)),O2(e,u))}}(t=n.a),r=new XO(t);r.e!=r.i.gc();)i=Jx(fen(r),33),-1==fJ(Bqn,i,0)&&(e=new rp,iD(_qn,e),Ltn(i,e));return _qn}function nfn(n,t){var i,r,c,a,u,o,s,h;for(h=ey(lL($un(t,(pjn(),V0n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,o=1;o0?1:YI(isNaN(r),isNaN(0)))>=0^(s0(XAn),(e.Math.abs(o)<=XAn||0==o||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:YI(isNaN(o),isNaN(0)))>=0)?e.Math.max(o,r):(s0(XAn),(e.Math.abs(r)<=XAn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:YI(isNaN(r),isNaN(0)))>0?e.Math.sqrt(o*o+r*r):-e.Math.sqrt(o*o+r*r))}(a=r.b,u=c.b))>=0?i:(o=lB(kN(new YS(u.c+u.b/2,u.d+u.a/2),new YS(a.c+a.b/2,a.d+a.a/2))),-(Ipn(a,u)-1)*o)}function efn(n,t,e){var i,r,c;if(c=ryn((dsn(),dut),n.Tg(),t))return MT(),Jx(c,66).Oj()||(c=Hz(IJ(dut,c))),r=Jx((i=n.Yg(c))>=0?n._g(i,!0,!0):efn(n,c,!0),153),Jx(r,215).hl(t,e);throw fp(new Ym(yNn+t.ne()+ENn))}function ifn(n,t,e,i){var r,c,a,u,o;if(r=n.d[t])if(c=r.g,o=r.i,null!=i){for(u=0;u>5),15,1))[e]=1<1;t>>=1)0!=(1&t)&&(i=oZ(i,e)),e=1==e.d?oZ(e,e):new Stn(lpn(e.a,e.d,QQ(Vot,STn,25,e.d<<1,15,1)));return oZ(i,e)}(n,t)}function cfn(n){var t,e,i;for(VE(),this.b=hzn,this.c=(e9(),eet),this.f=(WE(),azn),this.a=n,Jy(this,new It),Gbn(this),i=new pb(n.b);i.a=null.jm()?(ubn(n),ofn(n)):t.Ob()}function sfn(n,t,i){var r,c,a,u;if(!(u=i)&&(u=DD(new um,0)),cun(u,cIn,1),Lyn(n.c,t),1==(a=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(n.c=n.d,l=null==(b=fL($un(t,(pjn(),O0n))))||(mB(b),b),c=Jx($un(t,(Ajn(),wQn)),21).Hc((idn(),PVn)),e=!((r=Jx($un(t,p0n),98))==(Kan(),oit)||r==hit||r==sit),!l||!e&&c)f=new uy(D4(zy(Rzn,1),wIn,37,0,[t]));else{for(h=new pb(t.a);h.at.a&&(i.Hc((gan(),snt))?n.c.a+=(e.a-t.a)/2:i.Hc(fnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((gan(),bnt))?n.c.b+=(e.b-t.b)/2:i.Hc(lnt)&&(n.c.b+=e.b-t.b)),Jx($un(n,(Ajn(),wQn)),21).Hc((idn(),PVn))&&(e.a>t.a||e.b>t.b))for(u=new pb(n.a);u.a0?z7(e):A9(z7(e)),$en(t,j0n,r)}function yfn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&ZC(a,new Ur),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.rl(i.ak())&&lY(r,i);!Wkn(n,r)&&pC(n.e)&&Wp(n,t.$j()?_q(n,6,t,(WH(),MFn),null,-1,!1):_q(n,t.Kj()?2:1,t,null,null,-1,!1))}function Efn(){var n,t;for(Efn=O,jFn=QQ(TFn,MEn,91,32,0,1),EFn=QQ(TFn,MEn,91,32,0,1),n=1,t=0;t<=18;t++)jFn[t]=Xtn(n),EFn[t]=Xtn(zK(n,t)),n=i7(n,5);for(;tc)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function Mfn(n){var t,e,i,r,c,a;for(bz(),e=new wW,i=new pb(n.e.b);i.a1?n.e*=ey(n.a):n.f/=ey(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new tbn(Jx(t.Pb(),561),n.e,n.f),iD(n.g,e)}(n),ptn(n),function(n){var t,i,r,c,a,u,o,s,h,f;for(i=function(n){var t,i,r,c,a,u,o,s,h,f;for(i=n.o,t=n.p,u=Jjn,c=tTn,o=Jjn,a=tTn,h=0;h=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Jx(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&_3(n,new v_(n,9,e,c,r)),r):c}function qfn(n){var t,e,i,r,c,a,u;for(c=0,r=n.f.e,e=0;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=c3(n)))return!1;e=i==r?-e:~e}return 0!=(e&t)}function Wfn(n,t){var e,i,r,c,a,u,o;if(c=t.e)for(e=Hfn(c),i=Jx(n.g,674),a=0;a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?qTn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?qTn:0,c=i?HTn:0,r=e>>t-44),cO(r&HTn,c&HTn,a&qTn)}function iln(n){var t,i,r,c,a,u;for(this.c=new rp,this.d=n,r=ZTn,c=ZTn,t=nMn,i=nMn,u=nen(n,0);u.b!=u.d.c;)a=Jx(CX(u),8),r=e.Math.min(r,a.a),c=e.Math.min(c,a.b),t=e.Math.max(t,a.a),i=e.Math.max(i,a.b);this.a=new yH(r,c,t-r,i-c)}function rln(n,t){var e,i,r,c;for(i=new pb(n.b);i.a0&&OO(t,42)&&(n.a.qj(),c=null==(o=(s=Jx(t,42)).cd())?0:V5(o),a=_L(n.a,c),e=n.a.d[a]))for(i=Jx(e.g,367),h=e.i,u=0;u=2)for(t=lL((i=c.Kc()).Pb());i.Ob();)a=t,t=lL(i.Pb()),r=e.Math.min(r,(mB(t),t-(mB(a),a)));return r}function pln(n,t){var e,i,r,c,a;QW(i=new SE,t,i.c.b,i.c);do{for(P$(0!=i.b),e=Jx(QZ(i,i.a.a),86),n.b[e.g]=1,c=nen(e.d,0);c.b!=c.d.c;)a=(r=Jx(CX(c),188)).c,1==n.b[a.g]?_D(n.a,r):2==n.b[a.g]?n.b[a.g]=1:QW(i,a,i.c.b,i.c)}while(0!=i.b)}function vln(n,t){var e,i,r;if(rI(t)===rI(SF(n)))return!0;if(!OO(t,15))return!1;if(i=Jx(t,15),(r=n.gc())!=i.gc())return!1;if(OO(i,54)){for(e=0;e0&&(r=e),a=new pb(n.f.e);a.a0&&c0):c<0&&-c0)}function Aln(n,t,e,i){var r,c,a,u,o,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new pb(n.c);s.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function Rln(n,t){var e,i,r,c,a,u;for(c=(1==t?szn:ozn).a.ec().Kc();c.Ob();)for(r=Jx(c.Pb(),103),u=Jx(FV(n.f.c,r),21).Kc();u.Ob();)switch(a=Jx(u.Pb(),46),i=Jx(a.b,81),e=Jx(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function Kln(n,t){var e,i,r,c,a,u,o,s,h;for(s=-1,h=0,u=0,o=(a=n).length;u0&&++h;++s}return h}function _ln(n){var t;return(t=new PA(xk(n.gm))).a+="@",kI(t,(V5(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",yI(t,n.qh()),n.$g()&&(t.a+=" eClass: ",yI(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",yI(t,n.$g()),t.a+=")"),t.a}function Fln(n){var t,e,i;if(n.e)throw fp(new Jm((hL(ABn),XMn+ABn.k+WMn)));for(n.d==(e9(),eet)&&ikn(n,net),e=new pb(n.a.a);e.a=0)return r;for(c=1,a=new pb(t.j);a.a0&&t.ue((Lz(r-1,n.c.length),Jx(n.c[r-1],10)),c)>0;)YW(n,r,(Lz(r-1,n.c.length),Jx(n.c[r-1],10))),--r;Lz(r,n.c.length),n.c[r]=c}e.a=new cp,e.b=new cp}function Uln(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(Ckn(),Mit)||t==Tit?(GZ(Jx(M5(n),15),(Brn(),Ket)),GZ(Jx(M5(n),15),_et)):(GZ(Jx(M5(n),15),(Brn(),_et)),GZ(Jx(M5(n),15),Ket));else for(i=new QB(n);i.a!=i.b;)GZ(Jx(d8(i),15),e)}function Xln(n,t){var e,i,r,c,a,u;for(a=new ZU(i=Zx(new Lg(n)),i.c.length),u=new ZU(r=Zx(new Lg(t)),r.c.length),c=null;a.b>0&&u.b>0&&(P$(a.b>0),e=Jx(a.a.Xb(a.c=--a.b),33),P$(u.b>0),e==Jx(u.a.Xb(u.c=--u.b),33));)c=e;return c}function Wln(n,t){var i,r,c,a;return c=n.a*jMn+1502*n.b,a=n.b*jMn+11,c+=i=e.Math.floor(a*EMn),a-=i*TMn,c%=TMn,n.a=c,n.b=a,t<=24?e.Math.floor(n.a*zFn[t]):((r=n.a*(1<=2147483648&&(r-=sMn),r)}function Vln(n,t,e){var i,r,c,a;Vz(n,t)>Vz(n,e)?(i=r7(e,(Ckn(),Tit)),n.d=i.dc()?0:eR(Jx(i.Xb(0),11)),a=r7(t,Git),n.b=a.dc()?0:eR(Jx(a.Xb(0),11))):(r=r7(e,(Ckn(),Git)),n.d=r.dc()?0:eR(Jx(r.Xb(0),11)),c=r7(t,Tit),n.b=c.dc()?0:eR(Jx(c.Xb(0),11)))}function Qln(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(fRn))&&null!=(a=bL(knn((!t.b&&(t.b=new U$((Djn(),Rat),sut,t)),t.b),"conversionDelegates")))){for(u=new rp,r=0,c=(i=Agn(a,"\\w+")).length;r>1,n.k=i-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,u;for(e=FC(n.e),c=_O(x$(gO(_C(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,u=0;u0&&eyn(this,c)}function ebn(n,t,e,i,r,c){var a,u,o;if(!r[t.b]){for(r[t.b]=!0,!(a=i)&&(a=new WV),iD(a.e,t),o=c[t.b].Kc();o.Ob();)(u=Jx(o.Pb(),282)).d!=e&&u.c!=e&&(u.c!=t&&ebn(n,u.c,t,a,r,c),u.d!=t&&ebn(n,u.d,t,a,r,c),iD(a.c,u),P4(a.d,u.b));return a}return null}function ibn(n){var t,e,i;for(t=0,e=new pb(n.e);e.a=2}function rbn(n){var t,e;try{return null==n?uEn:C7(n)}catch(i){if(OO(i=E4(i),102))return t=i,e=xk(Q5(n))+"@"+(sE(),(xen(n)>>>0).toString(16)),Ntn(A4(),(FE(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+xk(t.gm)+">";throw fp(i)}}function cbn(n){switch(n.g){case 0:return new af;case 1:return new nf;case 2:return new aT;case 3:return new Cc;case 4:return new bN;case 5:return new uf;default:throw fp(new Ym("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function abn(n,t,e){var i,r,c;for(c=new pb(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&_D(t,i.b));for(r=new pb(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&_D(e,i.a))}function ubn(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),lY(n,n.d),n.c))return n.f;if(i=(t=Jx(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,lY(n,e);else for(n.d=null;!t.Ob()&&(RF(n.g,--n.i,null),0!=n.i);)t=Jx(n.g[n.i-1],47);return i}function obn(n,t,i,r){var c,a,u;for(Al(c=new cin(n),(won(),Bzn)),w5(c,(Ajn(),OQn),t),w5(c,HQn,r),w5(c,(pjn(),p0n),(Kan(),sit)),w5(c,MQn,t.c),w5(c,SQn,t.d),Hwn(t,c),u=e.Math.floor(i/2),a=new pb(c.j);a.a=0?n._g(i,!0,!0):efn(n,c,!0),153),Jx(r,215).ml(t,e)}function mbn(n,t,e){cun(e,"Eades radial",1),e.n&&t&&tU(e,KU(t),(I6(),Ert)),n.d=Jx(Eln(t,(iL(),h6n)),33),n.c=ey(lL(Eln(t,(Frn(),Y6n)))),n.e=Qen(Jx(Eln(t,J6n),293)),n.a=function(n){switch(n.g){case 0:return new Ga;case 1:return new za;default:throw fp(new Ym(k$n+(null!=n.f?n.f:""+n.g)))}}(Jx(Eln(t,n8n),426)),n.b=function(n){switch(n.g){case 1:return new _a;case 2:return new Fa;case 3:return new Ka;case 0:return null;default:throw fp(new Ym(k$n+(null!=n.f?n.f:""+n.g)))}}(Jx(Eln(t,X6n),340)),function(n){var t,e,i,r,c;if(i=0,r=dPn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,Ggn(n,n.d,0,0,d$n,e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),nN(c,r),P$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(acn(n,t))throw fp(new Ym(ONn+Sfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Jrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,6,i)),(i=LL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,6,t,t))}function Sbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(acn(n,t))throw fp(new Ym(ONn+sgn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ncn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,9,i)),(i=NL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,9,t,t))}function Pbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(acn(n,t))throw fp(new Ym(ONn+wmn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ocn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,12,i)),(i=$L(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,3,t,t))}function Ibn(n){var t,e,i,r,c;if(i=lcn(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(OO(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Jx(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(!OO(t=E4(t),78))throw fp(t);n.g=null}n.i=r}return n.g}return null}function Cbn(n){var t;return iD(t=new rp,new nM(new YS(n.c,n.d),new YS(n.c+n.b,n.d))),iD(t,new nM(new YS(n.c,n.d),new YS(n.c,n.d+n.a))),iD(t,new nM(new YS(n.c+n.b,n.d+n.a),new YS(n.c+n.b,n.d))),iD(t,new nM(new YS(n.c+n.b,n.d+n.a),new YS(n.c,n.d+n.a))),t}function Obn(n,t,e,i){var r,c,a;if(a=qcn(t,e),i.c[i.c.length]=t,-1==n.j[a.p]||2==n.j[a.p]||n.a[t.p])return i;for(n.j[a.p]=-1,c=new LK(wA(u7(a).a.Kc(),new h));Qfn(c);)if(!nV(r=Jx(jV(c),17))&&(nV(r)||r.c.i.c!=r.d.i.c)&&r!=t)return Obn(n,r,a,i);return i}function Abn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=Jx(r.Pb(),79),!Jx(HF(n.b,i),266)&&(CG(_un(i))==CG(Hun(i))?Vwn(n,i,e):_un(i)==CG(Hun(i))?null==HF(n.c,i)&&null!=HF(n.b,Hun(i))&&zyn(n,i,e,!1):null==HF(n.d,i)&&null!=HF(n.b,_un(i))&&zyn(n,i,e,!0))}function $bn(n,t){var e,i,r,c,a,u,o;for(r=n.Kc();r.Ob();)for(i=Jx(r.Pb(),10),nz(u=new Con,i),dhn(u,(Ckn(),Tit)),w5(u,(Ajn(),RQn),(MA(),!0)),a=t.Kc();a.Ob();)c=Jx(a.Pb(),10),nz(o=new Con,c),dhn(o,Git),w5(o,RQn,!0),w5(e=new Eq,RQn,!0),JG(e,u),YG(e,o)}function Lbn(n,t,e,i){var r,c,a,u;r=Hnn(n,t,e),c=Hnn(n,e,t),a=Jx(HF(n.c,t),112),u=Jx(HF(n.c,e),112),r0&&w.a<=0){o.c=QQ(XKn,rEn,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=QQ(XKn,rEn,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Jx(MR(o,Xen(r,o.c.length)),112),lG(m.a,a),a.g=h++,ivn(a,t,e,i),o.c=QQ(XKn,rEn,1,0,5,1))}for(g=n.c.length+1,l=new pb(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function Dbn(){Dbn=O,Y8n=new BS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Q8n=new BS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),Z8n=new BS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),J8n=new BS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),n9n=new BS("WHOLE_DRAWING",4)}function Rbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(acn(n,t))throw fp(new Ym(ONn+ogn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?scn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,10,i)),(i=mN(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,11,t,t))}function Kbn(n,t,e){return odn(),(!h3(n,t)||!h3(n,e))&&(tkn(new YS(n.c,n.d),new YS(n.c+n.b,n.d),t,e)||tkn(new YS(n.c+n.b,n.d),new YS(n.c+n.b,n.d+n.a),t,e)||tkn(new YS(n.c+n.b,n.d+n.a),new YS(n.c,n.d+n.a),t,e)||tkn(new YS(n.c,n.d+n.a),new YS(n.c,n.d),t,e))}function _bn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(acn(n,t))throw fp(new Ym(ONn+Yon(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Zrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Jx(t,49).gh(n,1,Jrt,i)),(i=jK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,7,t,t))}function Vbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(acn(n,t))throw fp(new Ym(ONn+s9(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ecn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Jx(t,49).gh(n,0,ict,i)),(i=EK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,3,t,t))}function Qbn(n,t){var e,i,r,c,a,u,o,s,h;return Efn(),t.d>n.d&&(u=n,n=t,t=u),t.d<63?function(n,t){var e,i,r,c,a,u,o,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=VR(o=i7(zz(n.a[0],oMn),zz(t.a[0],oMn))),0==(s=VR(XK(o,32)))?new dQ(a,h):new O_(a,2,D4(zy(Vot,1),STn,25,15,[h,s]))):(J8(n.a,e,t.a,i,r=QQ(Vot,STn,25,c,15,1)),PU(u=new O_(a,c,r)),u)}(n,t):(s=kV(n,a=(-2&n.d)<<4),h=kV(t,a),i=Tvn(n,yV(s,a)),r=Tvn(t,yV(h,a)),o=Qbn(s,h),e=Qbn(i,r),c=yV(c=Pmn(Pmn(c=Qbn(Tvn(s,i),Tvn(r,h)),o),e),a),Pmn(Pmn(o=yV(o,a<<1),c),e))}function Ybn(n,t,e){var i,r,c,a,u;for(a=Q8(n,e),u=QQ(zzn,jIn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)ty(fL($un(r=Jx(c.Pb(),11),(Ajn(),pQn))))&&(u[i++]=Jx($un(r,KQn),10));if(i=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!ty(fL($un(t.j,(Ajn(),bQn))))&&!ty(fL($un(t.j,(Ajn(),GQn))))),c|=t.q._f(u,r,e),c|=Udn(n,u[r],e,i);return F_(n.c,t),c}function twn(n,t,e){var i,r,c,a,u,o,s,h;for(s=0,h=(o=eX(n.j)).length;s1&&(n.a=!0),fK(Jx(e.b,65),yN(gO(Jx(t.b,65).c),_O(kN(gO(Jx(e.b,65).a),Jx(t.b,65).a),r))),yz(n,t),rwn(n,e)}function cwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}WH(),ZC(n.j,new bi)}function uwn(n,t){var e,i,r,c,a,u,o,s,h;for(u=t.j,a=t.g,o=Jx(MR(u,u.c.length-1),113),Lz(0,u.c.length),s=hrn(n,a,o,h=Jx(u.c[0],113)),c=1;cs&&(o=e,h=r,s=i);t.a=h,t.c=o}function own(n){if(!n.a.d||!n.a.e)throw fp(new Jm((hL(iHn),iHn.k+" must have a source and target "+(hL(rHn),rHn.k+" specified."))));if(n.a.d==n.a.e)throw fp(new Jm("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return VA(n.a.d.g,n.a),VA(n.a.e.b,n.a),n.a}function swn(n,t,e){var i,r,c,a,u,o;if(i=0,0!=t.b&&0!=e.b){c=nen(t,0),a=nen(e,0),u=ey(lL(CX(c))),o=ey(lL(CX(a))),r=!0;do{if(u>o-n.b&&uo-n.a&&ut.a&&(i.Hc((gan(),snt))?n.c.a+=(e.a-t.a)/2:i.Hc(fnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((gan(),bnt))?n.c.b+=(e.b-t.b)/2:i.Hc(lnt)&&(n.c.b+=e.b-t.b)),Jx($un(n,(Ajn(),wQn)),21).Hc((idn(),PVn))&&(e.a>t.a||e.b>t.b))for(a=new pb(n.a);a.a0&&++l;++f}return l}function gwn(n,t){var e,i,r,c;return MT(),t?t==(uyn(),not)||(t==Dut||t==Nut||t==xut)&&n!=Lut?new kkn(n,t):((e=(i=Jx(t,677)).pk())||(tH(IJ((dsn(),dut),t)),e=i.pk()),!e.i&&(e.i=new cp),!(r=Jx(iI(Rq((c=e.i).f,n)),1942))&&DB(c,n,r=new kkn(n,t)),r):jut}function pwn(n,t){var e,i,r,c,a,u,o,s;for(u=Jx($un(n,(Ajn(),OQn)),11),o=L5(D4(zy(H7n,1),MEn,8,0,[u.i.n,u.n,u.a])).a,s=n.i.n.b,r=0,c=(i=OU(n.e)).length;r0&&(c+=(a=Jx(MR(this.b,0),167)).o,r+=a.p),c*=2,r*=2,t>1?c=sG(e.Math.ceil(c*t)):r=sG(e.Math.ceil(r/t)),this.a=new fnn(c,r)}function Swn(n,t,i,r,c,a){var u,o,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=Jx(HF(n.f,t.A),57)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,i.q&&i.o?(s=(b=Jx(HF(n.f,i.C),57)).d.c,++f):s=i.a.c,w=d+(o=(s-d)/e.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(u=t[a],o=i==(Ckn(),Tit)?r?r7(u,i):C3(r7(u,i)):r?C3(r7(u,i)):r7(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Jx(f.Pb(),11),n.d[h.p]=s++;P4(e,o)}}function Iwn(n,t,e){var i,r,c,a,u,o,s,h;for(c=ey(lL(n.b.Kc().Pb())),s=ey(lL(function(n){var t;if(n){if((t=n).dc())throw fp(new _p);return t.Xb(t.gc()-1)}return Cz(n.Kc())}(t.b))),i=_O(gO(n.a),s-e),r=_O(gO(t.a),e-c),_O(h=yN(i,r),1/(s-c)),this.a=h,this.b=new rp,u=!0,(a=n.b.Kc()).Pb();a.Ob();)o=ey(lL(a.Pb())),u&&o-e>JAn&&(this.b.Fc(e),u=!1),this.b.Fc(o);u&&this.b.Fc(e)}function Cwn(n){var t,i,r,c;if(function(n,t){var i,r,c,a,u,o,s;for(c=QQ(Vot,STn,25,n.e.a.c.length,15,1),u=new pb(n.e.a);u.a0){for(sy(n.c);Jfn(n,Jx(qz(new pb(n.e.a)),121))>5,t&=31,i>=n.d)return n.e<0?(wdn(),bFn):(wdn(),vFn);if(c=n.d-i,function(n,t,e,i,r){var c,a,u;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=QQ(Vot,STn,25,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=ryn((dsn(),dut),r,t))||((i=e.Zj())>1||-1==i)&&3!=MB(IJ(dut,e))))}function xwn(n,t,e,i){var r,c,a,u,o;return u=run(Jx(a1((!t.b&&(t.b=new $N(nct,t,4,7)),t.b),0),82)),o=run(Jx(a1((!t.c&&(t.c=new $N(nct,t,5,8)),t.c),0),82)),CG(u)==CG(o)||WZ(o,u)?null:(a=TG(t))==e?i:(c=Jx(HF(n.a,a),10))&&(r=c.e)?r:null}function Dwn(n,t,e){var i,r,c,a,u;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[0].k==(won(),Fzn))for(r=nk(e,c.length),u=t.j,i=0;i>24}(n));break;case 2:n.g=j4(function(n){if(2!=n.p)throw fp(new Np);return VR(n.f)&lTn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw fp(new Np);return n.e}(n);break;case 4:n.g=new ib(function(n){if(4!=n.p)throw fp(new Np);return n.e}(n));break;case 6:n.g=ktn(function(n){if(6!=n.p)throw fp(new Np);return n.f}(n));break;case 5:n.g=g9(function(n){if(5!=n.p)throw fp(new Np);return VR(n.f)}(n));break;case 7:n.g=p9(function(n){if(7!=n.p)throw fp(new Np);return VR(n.f)<<16>>16}(n))}return n.g}function _wn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw fp(new Np);return fI(n.k,0)}(n)?(MA(),N_n):(MA(),L_n);break;case 1:n.n=rZ(function(n){if(1!=n.p)throw fp(new Np);return VR(n.k)<<24>>24}(n));break;case 2:n.n=j4(function(n){if(2!=n.p)throw fp(new Np);return VR(n.k)&lTn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw fp(new Np);return n.j}(n);break;case 4:n.n=new ib(function(n){if(4!=n.p)throw fp(new Np);return n.j}(n));break;case 6:n.n=ktn(function(n){if(6!=n.p)throw fp(new Np);return n.k}(n));break;case 5:n.n=g9(function(n){if(5!=n.p)throw fp(new Np);return VR(n.k)}(n));break;case 7:n.n=p9(function(n){if(7!=n.p)throw fp(new Np);return VR(n.k)<<16>>16}(n))}return n.n}function Fwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&(i[0]+=n.d,u-=i[0]),i[2]>0&&(i[2]+=n.d,u-=i[2]),a=e.Math.max(0,u),i[1]=e.Math.max(i[1],u),PV(n,aHn,c.c+r.b+i[0]-(i[1]-u)/2,i),t==aHn&&(n.c.b=a,n.c.c=c.c+r.b+(a-u)/2)}function zwn(){this.c=QQ(Zot,cMn,25,(Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])).length,15,1),this.b=QQ(Zot,cMn,25,D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git]).length,15,1),this.a=QQ(Zot,cMn,25,D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git]).length,15,1),qT(this.c,ZTn),qT(this.b,nMn),qT(this.a,nMn)}function Uwn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=QQ(Vot,STn,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=QQ(Vot,STn,25,i+2,15,1),hmn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Dln(n)}}function Xwn(n,t,e){var i,r,c,a,u,o;if(!SX(t)){for(cun(o=Z2(e,(OO(t,14)?Jx(t,14).gc():BX(t.Kc()))/n.a|0),u$n,1),u=new Ca,a=0,c=t.Kc();c.Ob();)i=Jx(c.Pb(),86),u=t0(D4(zy(YKn,1),rEn,20,0,[u,new Rd(i)])),a1;)edn(r,r.i-1);return i}function Zwn(n,t){var e,i,r,c,a,u;for(e=new ip,r=new pb(n.b);r.an.d[a.p]&&(e+=UW(n.b,c),AX(n.a,g9(c)));for(;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}function tdn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,r=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=Jx(fen(r),33)).a&&(i.a=new y_(oct,i,10,11)),i.a).i||(c+=tdn(n,i,!1));if(e)for(a=CG(t);a;)c+=(!a.a&&(a.a=new y_(oct,a,10,11)),a.a).i,a=CG(a);return c}function edn(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=Arn(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e),c):(c=Arn(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi(),c)}function idn(){idn=O,MVn=new JM("COMMENTS",0),PVn=new JM("EXTERNAL_PORTS",1),IVn=new JM("HYPEREDGES",2),CVn=new JM("HYPERNODES",3),OVn=new JM("NON_FREE_PORTS",4),AVn=new JM("NORTH_SOUTH_PORTS",5),LVn=new JM(aCn,6),TVn=new JM("CENTER_LABELS",7),SVn=new JM("END_LABELS",8),$Vn=new JM("PARTITIONS",9)}function rdn(n){var t,e,i,r,c;for(r=new rp,t=new jR((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),i=new LK(wA(bbn(n).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(c=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function cdn(n){var t,e,i,r,c;for(r=new Yp,t=new jR((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),i=new LK(wA(bbn(n).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(c=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),t.a._b(c)||r.a.zc(c,r));return r}function adn(n,t){var i,r,c;CG(n)&&(c=Jx($un(t,(pjn(),t0n)),174),rI(Eln(n,p0n))===rI((Kan(),bit))&&$en(n,p0n,lit),gT(),r=fkn(new Wm(CG(n)),new i$(CG(n)?new Wm(CG(n)):null,n),!1,!0),t2(c,($nn(),Jit)),(i=Jx($un(t,i0n),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b))}function udn(){udn=O,eWn=new jH(xSn,0,(Ckn(),Mit),Mit),cWn=new jH(RSn,1,Hit,Hit),tWn=new jH(DSn,2,Tit,Tit),oWn=new jH(KSn,3,Git,Git),rWn=new jH("NORTH_WEST_CORNER",4,Git,Mit),iWn=new jH("NORTH_EAST_CORNER",5,Mit,Tit),uWn=new jH("SOUTH_WEST_CORNER",6,Hit,Git),aWn=new jH("SOUTH_EAST_CORNER",7,Tit,Hit)}function odn(){odn=O,F7n=D4(zy(Yot,1),eMn,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 sdn(n,t){var e,i,r,c,a;if(0==n.c.length)return new yP(g9(0),g9(0));for(e=(Lz(0,n.c.length),Jx(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a=h&&(s=r);s&&(f=e.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function fdn(n,t){var e;switch(e=null,t.g){case 1:n.e.Xe((Ojn(),ptt))&&(e=Jx(n.e.We(ptt),249));break;case 3:n.e.Xe((Ojn(),vtt))&&(e=Jx(n.e.We(vtt),249));break;case 2:n.e.Xe((Ojn(),gtt))&&(e=Jx(n.e.We(gtt),249));break;case 4:n.e.Xe((Ojn(),mtt))&&(e=Jx(n.e.We(mtt),249))}return!e&&(e=Jx(n.e.We((Ojn(),wtt)),249)),e}function ldn(n,t,e){var i,r,c,a,u,o;for(t.p=1,r=t.c,o=rnn(t,(f0(),r3n)).Kc();o.Ob();)for(i=new pb(Jx(o.Pb(),11).g);i.aL$n?ZC(s,n.b):r<=L$n&&r>N$n?ZC(s,n.d):r<=N$n&&r>x$n?ZC(s,n.c):r<=x$n&&ZC(s,n.a),a=bdn(n,s,a);return c}function wdn(){var n;for(wdn=O,wFn=new dQ(1,1),gFn=new dQ(1,10),vFn=new dQ(0,0),bFn=new dQ(-1,1),dFn=D4(zy(TFn,1),MEn,91,0,[vFn,wFn,new dQ(1,2),new dQ(1,3),new dQ(1,4),new dQ(1,5),new dQ(1,6),new dQ(1,7),new dQ(1,8),new dQ(1,9),gFn]),pFn=QQ(TFn,MEn,91,32,0,1),n=0;n1&&(i=new YS(r,e.b),_D(t.a,i)),c0(t.a,D4(zy(H7n,1),MEn,8,0,[f,h]))}function kdn(n){oT(n,new eun(ck(tk(rk(ik(new du,tNn),"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 Qu))),RU(n,tNn,lPn,Vit),RU(n,tNn,NPn,15),RU(n,tNn,DPn,g9(0)),RU(n,tNn,fPn,APn)}function jdn(){var n,t,e,i,r,c;for(jdn=O,lot=QQ(Jot,NNn,25,255,15,1),bot=QQ(Wot,hTn,25,16,15,1),t=0;t<255;t++)lot[t]=-1;for(e=57;e>=48;e--)lot[e]=e-48<<24>>24;for(i=70;i>=65;i--)lot[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)lot[r]=r-97+10<<24>>24;for(c=0;c<10;c++)bot[c]=48+c&lTn;for(n=10;n<=15;n++)bot[n]=65+n-10&lTn}function Edn(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(t=e[i],r=0;r>19!=0)return"-"+Sdn(f5(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=Zmn(e,pV(XTn),!0),t=""+cj(I_n),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function Pdn(n,t,i,r){var c,a,u,o;if(BX(($x(),new LK(wA(u7(t).a.Kc(),new h))))>=n.a)return-1;if(!Han(t,i))return-1;if(SX(Jx(r.Kb(t),20)))return 1;for(c=0,u=Jx(r.Kb(t),20).Kc();u.Ob();){if(-1==(o=Pdn(n,(a=Jx(u.Pb(),17)).c.i==t?a.d.i:a.c.i,i,r)))return-1;if((c=e.Math.max(c,o))>n.c-1)return-1}return c+1}function Idn(n,t){var e,i,r,c,a,u;if(rI(t)===rI(n))return!0;if(!OO(t,15))return!1;if(i=Jx(t,15),u=n.gc(),i.gc()!=u)return!1;if(a=i.Kc(),n.ni()){for(e=0;e0)if(n.qj(),null!=t){for(c=0;c0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=$yn(new pF(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new rp,f=new pb(n.b);f.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw fp(new Cy("Invalid hexadecimal"))}}function $dn(n,t,e){var i,r,c,a;for(cun(e,"Processor order nodes",2),n.a=ey(lL($un(t,(aln(),Q5n)))),r=new SE,a=nen(t.b,0);a.b!=a.d.c;)ty(fL($un(c=Jx(CX(a),86),(cyn(),O5n))))&&QW(r,c,r.c.b,r.c);P$(0!=r.b),Amn(n,i=Jx(r.a.a.c,86)),!e.b&&G0(e,1),ugn(n,i,0-ey(lL($un(i,(cyn(),j5n))))/2,0),!e.b&&G0(e,1),Kon(e)}function Ldn(){Ldn=O,JBn=new uM("SPIRAL",0),XBn=new uM("LINE_BY_LINE",1),WBn=new uM("MANHATTAN",2),UBn=new uM("JITTER",3),QBn=new uM("QUADRANTS_LINE_BY_LINE",4),YBn=new uM("QUADRANTS_MANHATTAN",5),VBn=new uM("QUADRANTS_JITTER",6),zBn=new uM("COMBINE_LINE_BY_LINE_MANHATTAN",7),GBn=new uM("COMBINE_JITTER_MANHATTAN",8)}function Ndn(n,t,e,i){var r,c,a,u,o,s;for(o=Gcn(n,e),s=Gcn(t,e),r=!1;o&&s&&(i||Trn(o,s,e));)a=Gcn(o,e),u=Gcn(s,e),vJ(t),vJ(n),c=o.c,byn(o,!1),byn(s,!1),e?(qrn(t,s.p,c),t.p=s.p,qrn(n,o.p+1,c),n.p=o.p):(qrn(n,o.p,c),n.p=o.p,qrn(t,s.p+1,c),t.p=s.p),ZG(o,null),ZG(s,null),o=a,s=u,r=!0;return r}function xdn(n,t,e,i){var r,c,a,u,o;for(r=!1,c=!1,u=new pb(i.j);u.a=t.length)throw fp(new qm("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new cx(i),f2(this.e,this.c,(Ckn(),Git)),this.i=new cx(i),f2(this.i,this.c,Tit),this.f=new UR(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(won(),Fzn),this.a&&function(n,t,e){var i,r,c,a,u,o,s;u=(c=n.d.p).e,o=c.r,n.g=new cx(o),i=(a=n.d.o.c.p)>0?u[a-1]:QQ(zzn,jIn,10,0,0,1),r=u[a],s=ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=Jx(HF(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new LK(wA(o7(b).a.Kc(),new h));Qfn(u);)0!=(a=Jx(jV(u),17)).a.b&&(t=Jx(v$(a.a),8),a.d.j==(Ckn(),Mit)&&((g=new Fvn(t,new YS(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==Hit&&((g=new Fvn(t,new YS(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:r=new rp,PE(fH(lH(VJ(VJ(new PR(null,new xz(n.d.b,16)),new Or),new Ar),new $r),new pr),new Yw(r)),i=r;break;default:throw fp(new Jm("Compaction not supported for "+t+" edges."))}(function(n,t){var i,r,c,a,u,o,s;if(0!=t.c.length){for(WH(),ZR(t.c,t.c.length,null),r=Jx(qz(c=new pb(t)),145);c.a0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:a_(n.u)&&((i=sun(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),c=null,s=null,o){for(s=c=Jx((a=u.Kc()).Pb(),111);a.Ob();)s=Jx(a.Pb(),111);c.d.b=0,s.d.c=0,f&&!c.a&&(c.d.c=0)}l&&(function(n){var t,i,r,c,a;for(t=0,i=0,a=n.Kc();a.Ob();)r=Jx(a.Pb(),111),t=e.Math.max(t,r.d.b),i=e.Math.max(i,r.d.c);for(c=n.Kc();c.Ob();)(r=Jx(c.Pb(),111)).d.b=t,r.d.c=i}(u),o&&(c.d.b=0,s.d.c=0))}function Vdn(n,t){var i,r,c,a,u,o,s,h,f,l;if(u=Jx(Jx(FV(n.r,t),21),84),o=n.u.Hc((Ohn(),yit)),i=n.u.Hc(pit),r=n.u.Hc(git),s=n.u.Hc(kit),l=n.B.Hc((Qgn(),lrt)),h=!i&&!r&&(s||2==u.gc()),function(n,t){var i,r,c,a,u,o,s;for(o=Jx(Jx(FV(n.r,t),21),84).Kc();o.Ob();)(r=(u=Jx(o.Pb(),111)).c?WD(u.c):0)>0?u.a?r>(s=u.b.rf().b)&&(n.v||1==u.c.d.c.length?(a=(r-s)/2,u.d.d=a,u.d.a=a):(i=(Jx(MR(u.c.d,0),181).rf().b-s)/2,u.d.d=e.Math.max(0,i),u.d.a=r-i-s)):u.d.a=n.t+r:a_(n.u)&&((c=sun(u.b)).d<0&&(u.d.d=-c.d),c.d+c.a>u.b.rf().b&&(u.d.a=c.d+c.a-u.b.rf().b))}(n,t),f=null,c=null,o){for(c=f=Jx((a=u.Kc()).Pb(),111);a.Ob();)c=Jx(a.Pb(),111);f.d.d=0,c.d.a=0,h&&!f.a&&(f.d.a=0)}l&&(function(n){var t,i,r,c,a;for(i=0,t=0,a=n.Kc();a.Ob();)r=Jx(a.Pb(),111),i=e.Math.max(i,r.d.d),t=e.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=Jx(c.Pb(),111)).d.d=i,r.d.a=t}(u),o&&(f.d.d=0,c.d.a=0))}function Qdn(n,t,e){var i,r,c,a,u;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,iD(e.e,t),i==(won(),Hzn)||i==Gzn)for(r=new pb(t.j);r.a1||-1==a)&&(c|=16),0!=(r.Bb&SNn)&&(c|=64)),0!=(e.Bb&iMn)&&(c|=BDn),c|=RNn):OO(t,457)?c|=512:(i=t.Bj())&&0!=(1&i.i)&&(c|=256),0!=(512&n.Bb)&&(c|=128),c}function tgn(n,t){var e,i,r,c,a;for(n=null==n?uEn:(mB(n),n),r=0;rn.d[u.p]&&(e+=UW(n.b,c),AX(n.a,g9(c))):++a;for(e+=n.b.d*a;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}function ign(n){var t,e,i,r,c,a,u;for(u=new cp,i=new pb(n.a.b);i.a=n.o)throw fp(new zp);a=t>>5,c=zK(1,VR(zK(31&t,1))),n.n[e][a]=r?Uz(n.n[e][a],c):zz(n.n[e][a],dD(c)),c=zK(c,1),n.n[e][a]=i?Uz(n.n[e][a],c):zz(n.n[e][a],dD(c))}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function ugn(n,t,i,r){var c,a;t&&(c=ey(lL($un(t,(cyn(),S5n))))+r,a=i+ey(lL($un(t,j5n)))/2,w5(t,A5n,g9(VR(R3(e.Math.round(c))))),w5(t,$5n,g9(VR(R3(e.Math.round(a))))),0==t.d.b||ugn(n,Jx(IO(new Kd(nen(new Rd(t).a.d,0))),86),i+ey(lL($un(t,j5n)))+n.a,r+ey(lL($un(t,E5n)))),null!=$un(t,C5n)&&ugn(n,Jx($un(t,C5n),86),i,r))}function ogn(n){var t,e,i;return 0!=(64&n.Db)?kon(n):(t=new PA(gNn),(e=n.k)?kI(kI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new y_(uct,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),i),'"'))),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function sgn(n){var t,e,i;return 0!=(64&n.Db)?kon(n):(t=new PA(pNn),(e=n.k)?kI(kI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new y_(uct,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),i),'"'))),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function hgn(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Jx(uG(n.a,t),149))){for(i=new ub(new Zl(n.b).a.vc().Kc());i.a.Ob();)if(c=Jx(i.a.Pb(),42),a=(e=Jx(c.dd(),149)).c,u=t.length,FN(a.substr(a.length-u,u),t)&&(t.length==a.length||46==WB(a,a.length-t.length-1))){if(r)return null;r=e}r&&zG(n.a,t,r)}return r}function fgn(n){var t,e,i;A$(n,(pjn(),X1n))&&((i=Jx($un(n,X1n),21)).dc()||(e=new ax(t=Jx($k(ait),9),Jx(iN(t,t.length),9),0),i.Hc((Tln(),Wet))?t2(e,Wet):t2(e,Vet),i.Hc(Uet)||t2(e,Uet),i.Hc(zet)?t2(e,Jet):i.Hc(Get)?t2(e,Yet):i.Hc(Xet)&&t2(e,Qet),i.Hc(Jet)?t2(e,zet):i.Hc(Yet)?t2(e,Get):i.Hc(Qet)&&t2(e,Xet),w5(n,X1n,e)))}function lgn(n){var t,e,i,r,c,a,u;for(r=Jx($un(n,(Ajn(),mQn)),10),Lz(0,(i=n.j).c.length),e=Jx(i.c[0],11),a=new pb(r.j);a.ar.p?(dhn(c,Hit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==Hit&&r.p>n.p&&(dhn(c,Mit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}function bgn(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(OO(t,239)||OO(t,354)||OO(t,186)))throw fp(new Ym("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,_D(c=new xv,new YS(o,h)),_D(c,new YS(o,f)),_D(c,new YS(s,f)),_D(c,new YS(s,h)),s4(u=new iln(c),t),e&&DB(n.b,t,u),u}function wgn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new YS(t,e),s=new pb(n.a);s.a1&&(i=new YS(r,e.b),_D(t.a,i)),c0(t.a,D4(zy(H7n,1),MEn,8,0,[f,h]))}function Cgn(n,t,e){var i,r,c,a,u,o;if(t){if(e<=-1){if(OO(i=OZ(t.Tg(),-1-e),99))return Jx(i,18);for(u=0,o=(a=Jx(t.ah(i),153)).gc();u0){for(r=o.length;r>0&&""==o[r-1];)--r;r=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new ip,i=new SE,a=new pb(n.e.a);a.a0,u=M7(t,c),QA(e?u.b:u.g,t),1==w7(u).c.length&&QW(i,u,i.c.b,i.c),r=new yP(c,t),AX(n.o,r),oJ(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new pb(n.e.a);c.a0&&_D(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&_D(n.e,c))))}function Wgn(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new vQ(t.c.length),s=new pb(t);s.a=0&&o0&&(Nz(0,n.length),45==n.charCodeAt(0)||(Nz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw fp(new Cy(JTn+n+'"'));return a}function cpn(n){switch(n){case 100:return Kjn(MKn,!0);case 68:return Kjn(MKn,!1);case 119:return Kjn(SKn,!0);case 87:return Kjn(SKn,!1);case 115:return Kjn(PKn,!0);case 83:return Kjn(PKn,!1);case 99:return Kjn(IKn,!0);case 67:return Kjn(IKn,!1);case 105:return Kjn(CKn,!0);case 73:return Kjn(CKn,!1);default:throw fp(new Cm(TKn+n.toString(16)))}}function apn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Jx(n.a[n.b],10).k==(won(),Bzn)?Fpn(Jx(n.a[n.b],10),(Brn(),Ket)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Jx(n.a[n.c-1&n.a.length-1],10).k==(won(),Bzn)?Fpn(Jx(n.a[n.c-1&n.a.length-1],10),(Brn(),_et)):2==(n.c-n.b&n.a.length-1)?(Fpn(Jx(M5(n),10),(Brn(),Ket)),Fpn(Jx(M5(n),10),_et)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=f$(n.c-n.b&n.a.length-1),s=null,h=null,c=new QB(n);c.a!=c.b;)r=Jx(d8(c),10),e=(u=Jx($un(r,(Ajn(),MQn)),11))?u.i:null,i=(a=Jx($un(r,SQn),11))?a.i:null,s==e&&h==i||(mln(o,t),s=e,h=i),o.c[o.c.length]=r;mln(o,t)}(n,r),rW(n)}function upn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(WB(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=Xhn(n,t))&&t[0]==c)return!1;if(t[0]=0&&u!=e&&(c=new v_(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new v_(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function hpn(n){var t,e,i;if(null==n.b){if(i=new Oy,null!=n.i&&(vI(i,n.i),i.a+=":"),0!=(256&n.f)){for(0!=(256&n.f)&&null!=n.a&&(function(n){return null!=n&&lE(Kct,n.toLowerCase())}(n.i)||(i.a+="//"),vI(i,n.a)),null!=n.d&&(i.a+="/",vI(i,n.d)),0!=(16&n.f)&&(i.a+="/"),t=0,e=n.j.length;t0&&(t.td(e),e.i&&M9(e))}(r=mwn(n,t),(a=Jx(jen(r,0),214)).c.Rf()?a.c.Lf()?new gd(n):new pd(n):new dd(n)),function(n){var t,e,i;for(i=new pb(n.b);i.a>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(o+u+smn(i,s,!1).a<=t.b&&(vY(e,c-e.s),e.c=!0,vY(i,c-e.s),Yen(i,e.s,e.t+e.d+u),i.k=!0,s3(e.q,i),h=!0,r&&(a0(t,i),i.j=t,n.c.length>a&&(ucn((Lz(a,n.c.length),Jx(n.c[a],200)),i),0==(Lz(a,n.c.length),Jx(n.c[a],200)).a.c.length&&_V(n,a)))),h)}function dpn(n,t,e){var i,r,c,a,u;if(0==t.p){for(t.p=1,(r=e)||(r=new yP(new rp,new ax(i=Jx($k(ert),9),Jx(iN(i,i.length),9),0))),Jx(r.a,15).Fc(t),t.k==(won(),Fzn)&&Jx(r.b,21).Fc(Jx($un(t,(Ajn(),fQn)),61)),a=new pb(t.j);a.a0)if(r=Jx(n.Ab.g,1934),null==t){for(c=0;c1)for(i=new pb(r);i.ai.s&&o=0&&s>=0&&oa)return Ckn(),Tit;break;case 4:case 3:if(h<0)return Ckn(),Mit;if(h+e>c)return Ckn(),Hit}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(Ckn(),Git):o+i>=1&&o-i>=0?(Ckn(),Tit):i<.5?(Ckn(),Mit):(Ckn(),Hit)}function Spn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(e=!1,o=ey(lL($un(t,(pjn(),z0n)))),l=nTn*o,r=new pb(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function Ppn(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new fC,o=t.Kc();o.Ob();)for(h=new pb(Jx(o.Pb(),839).wf());h.an.b/2+t.b/2||(c=e.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==i&&0==c?0:0==i?a/c+1:0==c?r/i+1:e.Math.min(r/i,a/c)+1}function Cpn(n,t){var i,r,c,a,u,o;return(c=o0(n))==(o=o0(t))?n.e==t.e&&n.a<54&&t.a<54?n.ft.f?1:0:(r=n.e-t.e,(i=(n.d>0?n.d:e.Math.floor((n.a-1)*uMn)+1)-(t.d>0?t.d:e.Math.floor((t.a-1)*uMn)+1))>r+1?c:i0&&(u=oZ(u,Dvn(r))),otn(a,u))):c0&&n.d!=(OJ(),UGn)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(OJ(),GGn)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new YS(u/c,t.d.b);case 2:return new YS(t.d.a,o/c);default:return new YS(u/c,o/c)}}function Apn(n,t){var e,i,r,c;if($6(),c=Jx($un(n.i,(pjn(),p0n)),98),0!=n.j.g-t.j.g||c!=(Kan(),oit)&&c!=hit&&c!=sit)return 0;if(c==(Kan(),oit)&&(e=Jx($un(n,v0n),19),i=Jx($un(t,v0n),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return L9(n.n.a,t.n.a);case 2:return L9(n.n.b,t.n.b);case 3:return L9(t.n.a,n.n.a);case 4:return L9(t.n.b,n.n.b);default:throw fp(new Jm(yIn))}}function $pn(n){var t,e,i,r,c;for(iD(c=new vQ((!n.a&&(n.a=new WO(Yrt,n,5)),n.a).i+2),new YS(n.j,n.k)),PE(new PR(null,(!n.a&&(n.a=new WO(Yrt,n,5)),new xz(n.a,16))),new Zd(c)),iD(c,new YS(n.b,n.c)),t=1;t0&&(J4(o,!1,(e9(),net)),J4(o,!0,tet)),VZ(t.g,new IM(n,e)),DB(n.g,t,e)}function Npn(){var n;for(Npn=O,V_n=D4(zy(Vot,1),STn,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]),Q_n=QQ(Vot,STn,25,37,15,1),Y_n=D4(zy(Vot,1),STn,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]),J_n=QQ(Yot,eMn,25,37,14,1),n=2;n<=36;n++)Q_n[n]=sG(e.Math.pow(n,V_n[n])),J_n[n]=Hcn(CEn,Q_n[n])}function xpn(n){var t;if(1!=(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i)throw fp(new Ym(iNn+(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i));return t=new xv,T4(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82))&&O2(t,yjn(n,T4(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)),!1)),T4(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))&&O2(t,yjn(n,T4(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82)),!0)),t}function Dpn(n,t){var e,i,r;for(r=!1,i=new LK(wA((t.d?n.a.c==(Zq(),g4n)?o7(t.b):s7(t.b):n.a.c==(Zq(),d4n)?o7(t.b):s7(t.b)).a.Kc(),new h));Qfn(i);)if(e=Jx(jV(i),17),(ty(n.a.f[n.a.g[t.b.p].p])||nV(e)||e.c.i.c!=e.d.i.c)&&!ty(n.a.n[n.a.g[t.b.p].p])&&!ty(n.a.n[n.a.g[t.b.p].p])&&(r=!0,pE(n.b,n.a.g[Uin(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function Rpn(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej())if(o=n.fj(),Y7(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new Tk(i),c=t+i,r=t;r0){for(u=0;u>16==-15&&n.Cb.nh()&&mJ(new jY(n.Cb,9,13,e,n.c,Ken(CJ(Jx(n.Cb,59)),n))):OO(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(OO(t=n.c,88)||(Djn(),t=Aat),OO(e,88)||(Djn(),e=Aat),mJ(new jY(n.Cb,9,10,e,t,Ken(eW(Jx(n.Cb,26)),n)))))),n.c}function qpn(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=Jx(jW(VJ(VJ(new PR(null,new xz(t.b,16)),new Re),new Ke),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)]))),15)).Jc(new _e),e=0,r=c.Kc();r.Ob();)-1==(i=Jx(r.Pb(),11)).p&&dln(n,i,e++)}(n,t),u=new ZU(t.b,0);u.be);return r}function zpn(n,t){var e,i,r;i=0!=Wln(n.d,1),!ty(fL($un(t.j,(Ajn(),bQn))))&&!ty(fL($un(t.j,GQn)))||rI($un(t.j,(pjn(),WZn)))===rI((j5(),V2n))?t.c.Tf(t.e,i):i=ty(fL($un(t.j,bQn))),nwn(n,t,i,!0),ty(fL($un(t.j,GQn)))&&w5(t.j,GQn,(MA(),!1)),ty(fL($un(t.j,bQn)))&&(w5(t.j,bQn,(MA(),!1)),w5(t.j,GQn,!0)),e=Ksn(n,t);do{if(j2(n),0==e)return 0;r=e,nwn(n,t,i=!i,!1),e=Ksn(n,t)}while(r>e);return r}function Upn(n,t,e){var i,r,c,a,u,o,s;if(t==e)return!0;if(t=Wfn(n,t),e=Wfn(n,e),i=din(t)){if((o=din(e))!=i)return!!o&&(a=i.Dj())==o.Dj()&&null!=a;if(!t.d&&(t.d=new WO(fat,t,1)),r=(c=t.d).i,!e.d&&(e.d=new WO(fat,e,1)),r==(s=e.d).i)for(u=0;u0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}((CG(n)&&(gT(),new Wm(CG(n))),gT(),new i$(CG(n)?new Wm(CG(n)):null,n)),tet),a=Jx($un(r,a0n),116),LG(i=r.d,a),LG(i,c),r}function Qpn(n,t){var i,r,c,a;return r=e.Math.abs(u_(n.b).a-u_(t.b).a),a=e.Math.abs(u_(n.b).b-u_(t.b).b),i=1,c=1,r>n.b.b/2+t.b.b/2&&(i=1-e.Math.min(e.Math.abs(n.b.c-(t.b.c+t.b.b)),e.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-e.Math.min(e.Math.abs(n.b.d-(t.b.d+t.b.a)),e.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-e.Math.min(i,c))*e.Math.sqrt(r*r+a*a)}function Ypn(n){var t,i,r;for(pkn(n,n.e,n.f,(Jq(),W4n),!0,n.c,n.i),pkn(n,n.e,n.f,W4n,!1,n.c,n.i),pkn(n,n.e,n.f,V4n,!0,n.c,n.i),pkn(n,n.e,n.f,V4n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,u,o,s,h,f;for(a=new pb(t);a.a=w&&(v>w&&(b.c=QQ(XKn,rEn,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Jx(MR(b,Xen(t,b.c.length)),128),P.a.Bc(l),l.s=d++,abn(l,M,j),b.c=QQ(XKn,rEn,1,0,5,1))}for(y=n.c.length+1,u=new pb(n);u.aS.s&&(fB(e),oJ(S.i,i),i.c>0&&(i.a=S,iD(S.t,i),i.b=E,iD(E.i,i)))})(n.i,Jx($un(n.d,(Ajn(),BQn)),230)),function(n){var t,i,r,c,a,u,o,s,h;for(s=new SE,u=new SE,c=new pb(n);c.a-1){for(r=nen(u,0);r.b!=r.d.c;)(i=Jx(CX(r),128)).v=a;for(;0!=u.b;)for(t=new pb((i=Jx(Xrn(u,0),128)).i);t.a=65;e--)hot[e]=e-65<<24>>24;for(i=122;i>=97;i--)hot[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)hot[r]=r-48+52<<24>>24;for(hot[43]=62,hot[47]=63,c=0;c<=25;c++)fot[c]=65+c&lTn;for(a=26,o=0;a<=51;++a,o++)fot[a]=97+o&lTn;for(n=52,u=0;n<=61;++n,u++)fot[n]=48+u&lTn;fot[62]=43,fot[63]=47}function nvn(n,t){var e,i,r,c,a,u,o;if(!MG(n))throw fp(new Jm(eNn));if(c=(i=MG(n)).g,r=i.f,c<=0&&r<=0)return Ckn(),qit;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return Ckn(),Git;if(u+n.g>c)return Ckn(),Tit;break;case 4:case 3:if(o<0)return Ckn(),Mit;if(o+n.f>r)return Ckn(),Hit}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(Ckn(),Git):a+e>=1&&a-e>=0?(Ckn(),Tit):e<.5?(Ckn(),Mit):(Ckn(),Hit)}function tvn(n){var t,e,i,r,c,a;if(Njn(),4!=n.e&&5!=n.e)throw fp(new Ym("Token#complementRanges(): must be RANGE: "+n.e));for(Dln(c=n),Nmn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==EKn&&(i-=2),(r=new aU(4)).b=QQ(Vot,STn,25,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Kl(o,o.d-r.d),r.c==(rQ(),_4n)&&Dl(o,o.a-r.d),o.d<=0&&o.i>0&&QW(t,o,t.c.b,t.c));for(c=new pb(n.f);c.a0&&(_l(u,u.i-r.d),r.c==(rQ(),_4n)&&Rl(u,u.b-r.d),u.i<=0&&u.d>0&&QW(e,u,e.c.b,e.c))}function rvn(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Processor compute fanout",1),X_(n.b),X_(n.a),u=null,c=nen(t.b,0);!u&&c.b!=c.d.c;)ty(fL($un(s=Jx(CX(c),86),(cyn(),O5n))))&&(u=s);for(QW(o=new SE,u,o.c.b,o.c),Okn(n,o),h=nen(t.b,0);h.b!=h.d.c;)a=bL($un(s=Jx(CX(h),86),(cyn(),m5n))),r=null!=uG(n.b,a)?Jx(uG(n.b,a),19).a:0,w5(s,v5n,g9(r)),i=1+(null!=uG(n.a,a)?Jx(uG(n.a,a),19).a:0),w5(s,g5n,g9(i));Kon(e)}function cvn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new ZU(n.e,0),e=0;r.bJAn)return e;i>-1e-6&&++e}return e}(n,e),u=0;u0),i.a.Xb(i.c=--i.b),h>f+u&&fB(i);for(c=new pb(l);c.a0),i.a.Xb(i.c=--i.b)}}function avn(n){var t,i,r,c,a,u,o,s,h,f,l,b,w;if(i=n.i,t=n.n,0==n.b)for(w=i.c+t.b,b=i.b-t.b-t.c,s=0,f=(u=n.a).length;s0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=e.Math.max(r[1],l),mK(n.a[1],i.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(o=0,h=(a=n.a).length;oa&&(a=r,s.c=QQ(XKn,rEn,1,0,5,1)),r==a&&iD(s,new yP(e.c.i,e)));WH(),ZC(s,n.c),nK(n.b,u.p,s)}}(l,n),l.f=f$(l.d),function(n,t){var e,i,r,c,a,u,o,s;for(c=new pb(t.b);c.aa&&(a=r,s.c=QQ(XKn,rEn,1,0,5,1)),r==a&&iD(s,new yP(e.d.i,e)));WH(),ZC(s,n.c),nK(n.f,u.p,s)}}(l,n),l}function ovn(n,t){var i,r,c;for(c=Jx(MR(n.n,n.n.c.length-1),211).d,n.p=e.Math.min(n.p,t.g),n.r=e.Math.max(n.r,c),n.g=e.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=e.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=e.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new pb(n.n);i.a1)for(i=nen(r,0);i.b!=i.d.c;)for(c=0,u=new pb((e=Jx(CX(i),231)).e);u.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=e.Math.max(t[1],l),yK(n.a[1],r.d+i.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+i.d,b=r.a-i.d-i.a,s=0,f=(u=n.a).length;s=0&&c!=e)throw fp(new Ym(jxn));for(r=0,o=0;o0||0==k7(c.b.d,n.b.d+n.b.a)&&r.b<0||0==k7(c.b.d+c.b.a,n.b.d)&&r.b>0){o=0;break}}else o=e.Math.min(o,whn(n,c,r));o=e.Math.min(o,wvn(n,a,o,r))}return o}function dvn(n,t){var e,i,r,c,a,u;if(n.b<2)throw fp(new Ym("The vector chain must contain at least a source and a target point."));for(P$(0!=n.b),MC(t,(i=Jx(n.a.a.c,8)).a,i.b),u=new u$((!t.a&&(t.a=new WO(Yrt,t,5)),t.a)),c=nen(n,1);c.aey(xO(a.g,a.d[0]).a)?(P$(o.b>0),o.a.Xb(o.c=--o.b),nN(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(!u.e&&(u.e=new rp),u.e).Mc(t),s=(!u.e&&(u.e=new rp),u.e).Mc(e),(c||s)&&((!u.e&&(u.e=new rp),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}function jvn(n){var t,e,i;if(gC(Jx($un(n,(pjn(),p0n)),98)))for(e=new pb(n.j);e.a>>0).toString(16),t.length-2,t.length):n>=iMn?"\\v"+b$(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&lTn)}return e}function Tvn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new O_(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=zz(n.a[0],oMn),i=zz(t.a[0],oMn),a<0&&(e=hJ(e)),o<0&&(i=hJ(i)),Xtn(t7(e,i));if(-1==(r=c!=u?c>u?1:-1:d6(n.a,t.a,c)))f=-o,h=a==o?zV(t.a,u,n.a,c):VQ(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return wdn(),vFn;h=zV(n.a,c,t.a,u)}else h=VQ(n.a,c,t.a,u);return PU(s=new O_(f,h.length,h)),s}function Mvn(n){var t,e,i,r,c,a;for(this.e=new rp,this.a=new rp,e=n.b-1;e<3;e++)$$(n,0,Jx(jen(n,0),8));if(n.b<4)throw fp(new Ym("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c,a;if(t<2*n.b)throw fp(new Ym("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Jx(MR(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Jx(MR(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return b7(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return iD(t.b,e),a=Jx(MR(t.n,t.n.c.length-1),211),iD(t.n,new pG(t.s,a.f+a.a+t.i,t.i)),Oin(Jx(MR(t.n,t.n.c.length-1),211),e),ovn(t,e),!0}return!1}function Ivn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=qJ(n,t,e),e,t,c),n.bj()&&!(n.ni()&&null!=a?Y8(a,e):rI(a)===rI(e))?(null!=a&&(r=n.dj(a,r)),r=n.cj(e,r),n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):(n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)),a):(a=qJ(n,t,e),n.bj()&&!(n.ni()&&null!=a?Y8(a,e):rI(a)===rI(e))&&(r=null,null!=a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function Cvn(n,t){var i,r,c,a,u,o,s;t%=24,n.q.getHours()!=t&&((i=new e.Date(n.q.getTime())).setDate(i.getDate()+1),(u=n.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(o=u/60|0,s=u%60,r=n.q.getDate(),n.q.getHours()+o>=24&&++r,c=new e.Date(n.q.getFullYear(),n.q.getMonth(),r,t+o,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function Ovn(n,t){var e,i,r,c;if(cun(t,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new cln(n)).i&&(r.i=R2(r,new kc)),e=ey(r.i)*r.f/(null==r.i&&(r.i=R2(r,new kc)),ey(r.i)),r.b>e)Kon(t);else{switch(Jx($un(n,(pjn(),e2n)),337).g){case 2:c=new Tc;break;case 0:c=new wc;break;default:c=new Mc}if(i=c.Vf(n,r),!c.Wf())switch(Jx($un(n,o2n),338).g){case 2:i=ghn(r,i);break;case 1:i=oun(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Jx((i=e.Kc()).Pb(),19).a;a1||-1==w)if(f=Jx(d,69),l=Jx(h,69),f.dc())l.$b();else for(a=!!tin(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Jx(u.Pb(),56),(r=Jx(XJ(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c);else null==d?h.Wb(null):null==(r=XJ(n,d))?n.b&&!tin(t)&&h.Wb(d):h.Wb(r)}function xvn(n,t){var i,r,c,a,u,o,s,f;for(i=new Le,c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)if(!nV(r=Jx(jV(c),17))&&Han(o=r.c.i,oUn)){if(-1==(f=Pdn(n,o,oUn,uUn)))continue;i.b=e.Math.max(i.b,f),!i.a&&(i.a=new rp),iD(i.a,o)}for(u=new LK(wA(s7(t).a.Kc(),new h));Qfn(u);)if(!nV(a=Jx(jV(u),17))&&Han(s=a.d.i,uUn)){if(-1==(f=Pdn(n,s,uUn,oUn)))continue;i.d=e.Math.max(i.d,f),!i.c&&(i.c=new rp),iD(i.c,s)}return i}function Dvn(n){var t,e,i,r;if(Efn(),t=sG(n),n1e6)throw fp(new Hm("power of ten too big"));if(n<=Jjn)return yV(rfn(jFn[1],t),t);for(r=i=rfn(jFn[1],Jjn),e=R3(n-Jjn),t=sG(n%Jjn);j8(e,Jjn)>0;)r=oZ(r,i),e=t7(e,Jjn);for(r=yV(r=oZ(r,rfn(jFn[1],t)),Jjn),e=R3(n-Jjn);j8(e,Jjn)>0;)r=yV(r,Jjn),e=t7(e,Jjn);return yV(r,t)}function Rvn(n,t){var e,i,r,c,a;cun(t,"Layer constraint postprocessing",1),0!=(a=n.b).c.length&&(Lz(0,a.c.length),function(n,t,e,i,r){var c,a,u,o,s,h;for(c=new pb(n.b);c.a1)););(u>0||l.Hc((Ohn(),vit))&&(!c.n&&(c.n=new y_(uct,c,1,7)),c.n).i>0)&&(o=!0),u>1&&(s=!0)}o&&t.Fc((idn(),PVn)),s&&t.Fc((idn(),IVn))}(t,i=Jx($un(r,(Ajn(),wQn)),21)),i.Hc((idn(),PVn)))for(e=new XO((!t.c&&(t.c=new y_(sct,t,9,9)),t.c));e.e!=e.i.gc();)wkn(n,t,r,Jx(fen(e),118));return 0!=Jx(Eln(t,(pjn(),t0n)),174).gc()&&adn(t,r),ty(fL($un(r,o0n)))&&i.Fc($Vn),A$(r,A0n)&&Km(new H7(ey(lL($un(r,A0n)))),r),rI(Eln(t,T1n))===rI((A8(),Let))?function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(a=new SE,v=Jx($un(e,(pjn(),u1n)),103),w=0,O2(a,(!t.a&&(t.a=new y_(oct,t,10,11)),t.a));0!=a.b;)s=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),33),(rI(Eln(t,WZn))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&!ty(fL(Eln(s,XZn)))&&$en(s,(Ajn(),CQn),g9(w++)),!ty(fL(Eln(s,c0n)))&&(f=0!=(!s.a&&(s.a=new y_(oct,s,10,11)),s.a).i,b=Jan(s),l=rI(Eln(s,T1n))===rI((A8(),Let)),g=null,(T=!UQ(s,(Ojn(),pnt))||FN(bL(Eln(s,pnt)),OIn))&&l&&(f||b)&&(w5(g=Vpn(s),u1n,v),A$(g,A0n)&&Km(new H7(ey(lL($un(g,A0n)))),g),0!=Jx(Eln(s,t0n),174).gc()&&(h=g,PE(new PR(null,(!s.c&&(s.c=new y_(sct,s,9,9)),new xz(s.c,16))),new gw(h)),adn(s,g))),m=e,(y=Jx(HF(n.a,CG(s)),10))&&(m=y.e),d=Yyn(n,s,m),g&&(d.e=g,g.e=d,O2(a,(!s.a&&(s.a=new y_(oct,s,10,11)),s.a))));for(w=0,QW(a,t,a.c.b,a.c);0!=a.b;){for(o=new XO((!(c=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),33)).b&&(c.b=new y_(tct,c,12,3)),c.b));o.e!=o.i.gc();)ggn(u=Jx(fen(o),79)),(rI(Eln(t,WZn))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&$en(u,(Ajn(),CQn),g9(w++)),j=run(Jx(a1((!u.b&&(u.b=new $N(nct,u,4,7)),u.b),0),82)),E=run(Jx(a1((!u.c&&(u.c=new $N(nct,u,5,8)),u.c),0),82)),ty(fL(Eln(u,c0n)))||ty(fL(Eln(j,c0n)))||ty(fL(Eln(E,c0n)))||(p=c,Vhn(u)&&ty(fL(Eln(j,C1n)))&&ty(fL(Eln(u,O1n)))||WZ(E,j)?p=j:WZ(j,E)&&(p=E),m=e,(y=Jx(HF(n.a,p),10))&&(m=y.e),w5(Cjn(n,u,p,m),(Ajn(),tQn),xwn(n,u,t,e)));if(l=rI(Eln(c,T1n))===rI((A8(),Let)))for(r=new XO((!c.a&&(c.a=new y_(oct,c,10,11)),c.a));r.e!=r.i.gc();)T=!UQ(i=Jx(fen(r),33),(Ojn(),pnt))||FN(bL(Eln(i,pnt)),OIn),k=rI(Eln(i,T1n))===rI(Let),T&&k&&QW(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));r.e!=r.i.gc();)ty(fL(Eln(i=Jx(fen(r),33),(pjn(),c0n))))||(rI(Eln(t,WZn))===rI((j5(),V2n))&&rI(Eln(t,c1n))!==rI((yin(),KWn))&&rI(Eln(t,c1n))!==rI((yin(),DWn))&&!ty(fL(Eln(t,QZn)))&&rI(Eln(t,qZn))===rI((i9(),Czn))||ty(fL(Eln(i,XZn)))||($en(i,(Ajn(),CQn),g9(f)),++f),Yyn(n,i,e));for(f=0,s=new XO((!t.b&&(t.b=new y_(tct,t,12,3)),t.b));s.e!=s.i.gc();)u=Jx(fen(s),79),(rI(Eln(t,(pjn(),WZn)))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&($en(u,(Ajn(),CQn),g9(f)),++f),w=_un(u),d=Hun(u),h=ty(fL(Eln(w,C1n))),b=!ty(fL(Eln(u,c0n))),l=h&&Vhn(u)&&ty(fL(Eln(u,O1n))),c=CG(w)==t&&CG(w)==CG(d),a=(CG(w)==t&&d==t)^(CG(d)==t&&w==t),b&&!l&&(a||c)&&Cjn(n,u,t,e);if(CG(t))for(o=new XO(OH(CG(t)));o.e!=o.i.gc();)(w=_un(u=Jx(fen(o),79)))==t&&Vhn(u)&&(l=ty(fL(Eln(w,(pjn(),C1n))))&&ty(fL(Eln(u,O1n))))&&Cjn(n,u,t,e)}(n,t,r),r}function Fvn(n,t,i,r){var c,a,u;if(this.j=new rp,this.k=new rp,this.b=new rp,this.c=new rp,this.e=new fC,this.i=new xv,this.f=new ap,this.d=new rp,this.g=new rp,iD(this.b,n),iD(this.b,t),this.e.c=e.Math.min(n.a,t.a),this.e.d=e.Math.min(n.b,t.b),this.e.b=e.Math.abs(n.a-t.a),this.e.a=e.Math.abs(n.b-t.b),c=Jx($un(r,(pjn(),L1n)),74))for(u=nen(c,0);u.b!=u.d.c;)d1((a=Jx(CX(u),8)).a,n.a)&&_D(this.i,a);i&&iD(this.j,i),iD(this.k,r)}function Bvn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(h=new f_(new rw(e)),D_(u=QQ(Qot,dSn,25,n.f.e.c.length,16,1),u.length),e[t.b]=0,s=new pb(n.f.e);s.as&&i>s)){r=!1,e.n&&ND(e,"bk node placement breaks on "+u+" which should have been after "+h);break}h=u,s=ey(t.p[u.p])+ey(t.d[u.p])+u.o.b+u.d.a}if(!r)break}return e.n&&ND(e,t+" is feasible: "+r),r}function qvn(n,t,e,i){var r,c,a,u,o,s,h;if(e.d.i!=t.i){for(Al(r=new cin(n),(won(),Hzn)),w5(r,(Ajn(),OQn),e),w5(r,(pjn(),p0n),(Kan(),sit)),i.c[i.c.length]=r,nz(a=new Con,r),dhn(a,(Ckn(),Git)),nz(u=new Con,r),dhn(u,Tit),h=e.d,YG(e,a),s4(c=new Eq,e),w5(c,L1n,null),JG(c,u),YG(c,h),s=new ZU(e.b,0);s.b=g&&n.e[s.p]>w*n.b||m>=i*g)&&(l.c[l.c.length]=o,o=new rp,O2(u,a),a.a.$b(),h-=f,b=e.Math.max(b,h*n.b+d),h+=m,v=m,m=0,f=0,d=0);return new yP(b,l)}function Uvn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(e=new ub(new Zl(n.c.b).a.vc().Kc());e.a.Ob();)u=Jx(e.a.Pb(),42),null==(r=(t=Jx(u.dd(),149)).a)&&(r=""),!(i=TL(n.c,r))&&0==r.length&&(i=B8(n)),i&&!Q7(i.c,t,!1)&&_D(i.c,t);for(a=nen(n.a,0);a.b!=a.d.c;)c=Jx(CX(a),478),s=fV(n.c,c.a),l=fV(n.c,c.b),s&&l&&_D(s.c,new yP(l,c.c));for(HH(n.a),f=nen(n.b,0);f.b!=f.d.c;)h=Jx(CX(f),478),t=EL(n.c,h.a),o=fV(n.c,h.b),t&&o&&hT(t,o,h.c);HH(n.b)}function Xvn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Mo,c=new Mo,null==(t=qat).a.zc(n,t)){for(r=new XO(Cq(n));r.e!=r.i.gc();)EF(a,Xvn(Jx(fen(r),26)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new y_(eat,n,21,17)),i=new XO(n.s);i.e!=i.i.gc();)OO(e=Jx(fen(i),170),99)&&lY(c,Jx(e,18));H6(c),n.r=new CD(n,(Jx(a1(uq((JF(),pat).o),6),18),c.i),c.g),EF(a,n.r),H6(a),n.f=new qI((Jx(a1(uq(pat.o),5),18),a.i),a.g),wV(n).b&=-3}return n.f}function Wvn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(a=n.o,i=QQ(Vot,STn,25,a,15,1),r=QQ(Vot,STn,25,a,15,1),e=n.p,t=QQ(Vot,STn,25,e,15,1),c=QQ(Vot,STn,25,e,15,1),s=0;s=0&&!xin(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!xin(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&agn(n,o,l,!1,!0)}function Vvn(n){var t,e,i,r,c,a,u,o;e=ty(fL($un(n,(Hdn(),eGn)))),c=n.a.c.d,u=n.a.d.d,e?(a=_O(kN(new YS(u.a,u.b),c),.5),o=_O(gO(n.e),.5),t=kN(yN(new YS(c.a,c.b),a),o),D$(n.d,t)):(r=ey(lL($un(n.a,mGn))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function Qvn(n,t){var e,i,r,c,a,u,o;if(null==n)return null;if(0==(c=n.length))return"";for(o=QQ(Wot,hTn,25,c,15,1),JQ(0,c,n.length),JQ(0,c,o.length),uF(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?b$(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function Yvn(n){oT(n,new eun(ck(tk(rk(ik(new du,oPn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new at))),RU(n,oPn,sPn,sen(Kqn)),RU(n,oPn,hPn,sen($qn)),RU(n,oPn,fPn,sen(Pqn)),RU(n,oPn,lPn,sen(Lqn)),RU(n,oPn,sSn,sen(Dqn)),RU(n,oPn,hSn,sen(xqn)),RU(n,oPn,oSn,sen(Rqn)),RU(n,oPn,fSn,sen(Nqn)),RU(n,oPn,iPn,sen(Cqn)),RU(n,oPn,rPn,sen(Iqn)),RU(n,oPn,cPn,sen(Oqn)),RU(n,oPn,aPn,sen(Aqn))}function Jvn(n,t,e,i){var r,c,a,u,o,s,h;if(Al(c=new cin(n),(won(),Gzn)),w5(c,(pjn(),p0n),(Kan(),sit)),r=0,t){for(w5(a=new Con,(Ajn(),OQn),t),w5(c,OQn,t.i),dhn(a,(Ckn(),Git)),nz(a,c),s=0,h=(o=OU(t.e)).length;s=0&&l<=1&&b>=0&&b<=1?yN(new YS(n.a,n.b),_O(new YS(t.a,t.b),l)):null}function tmn(n){var t,i,r,c,a,u,o,s,h,f;for(s=new Jl(new Yl(Mfn(n)).a.vc().Kc());s.a.Ob();){for(r=Jx(s.a.Pb(),42),h=0,f=0,h=(o=Jx(r.cd(),10)).d.d,f=o.o.b+o.d.a,n.d[o.p]=0,t=o;(c=n.a[t.p])!=o;)i=Etn(t,c),0,u=n.c==(Zq(),d4n)?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,a=ey(n.d[t.p])+u,n.d[c.p]=a,h=e.Math.max(h,c.d.d-a),f=e.Math.max(f,a+c.o.b+c.d.a),t=c;t=o;do{n.d[t.p]=ey(n.d[t.p])+h,t=n.a[t.p]}while(t!=o);n.b[o.p]=h+f}}function emn(n){var t,i,r,c,a,u,o,s,h,f,l;for(n.b=!1,f=ZTn,o=nMn,l=ZTn,s=nMn,i=n.e.a.ec().Kc();i.Ob();)for(r=(t=Jx(i.Pb(),266)).a,f=e.Math.min(f,r.c),o=e.Math.max(o,r.c+r.b),l=e.Math.min(l,r.d),s=e.Math.max(s,r.d+r.a),a=new pb(t.c);a.a=(Lz(c,n.c.length),Jx(n.c[c],200)).e,!((s=smn(i,f,!1).a)>t.b&&!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,vY(e,Ron(e,s))):(han(e.q,u),e.c=!0),vY(i,r-(e.s+e.r)),Yen(i,e.q.e+e.q.d,t.f),a0(t,i),n.c.length>c&&(ucn((Lz(c,n.c.length),Jx(n.c[c],200)),i),0==(Lz(c,n.c.length),Jx(n.c[c],200)).a.c.length&&_V(n,c)),h=!0),h))}function cmn(n,t,e,i){var r,c,a,u,o,s,h;if(h=gwn(n.e.Tg(),t),r=0,c=Jx(n.g,119),o=null,MT(),Jx(t,66).Oj()){for(u=0;u0?n.i:0)>t&&s>0&&(a=0,u+=s+n.i,c=e.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,iD(n.n,new pG(n.s,u,n.i))),o=0),b+=h.g+(o>0?n.i:0),s=e.Math.max(s,h.f),i&&Oin(Jx(MR(n.n,l),211),h),a+=h.g+(o>0?n.i:0),++o;return c=e.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,Mrn(n.j)),new yH(n.s,n.t,c,r)}function hmn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(sE(),H_(n,"src"),H_(e,"dest"),l=Q5(n),o=Q5(e),jD(0!=(4&l.i),"srcType is not an array"),jD(0!=(4&o.i),"destType is not an array"),f=l.c,a=o.c,jD(0!=(1&f.i)?f==a:0==(1&a.i),"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw fp(new Op);if(0==(1&f.i)&&l!=o)if(h=f1(n),c=f1(e),rI(n)===rI(e)&&ti;)RF(c,u,h[--t]);else for(u=i+r;i0&&fhn(n,t,e,i,r,!0)}function fmn(){fmn=O,yFn=D4(zy(Vot,1),STn,25,15,[tTn,1162261467,UEn,1220703125,362797056,1977326743,UEn,387420489,XTn,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,UEn,1291467969,1544804416,1838265625,60466176]),kFn=D4(zy(Vot,1),STn,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 lmn(n,t){var e,i,r,c,a;if(a=Jx(t,136),Dln(n),Dln(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=QQ(Vot,STn,25,a.b.length,15,1),void hmn(a.b,0,n.b,0,a.b.length);for(c=QQ(Vot,STn,25,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0&&(!(r=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new $N(nct,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new $N(nct,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",kI(t,bA(new My,new XO(n.b))),e&&(t.a+="]"),t.a+=vIn,e&&(t.a+="["),kI(t,bA(new My,new XO(n.c))),e&&(t.a+="]"),t.a)}function dmn(n,t){var e,i,r,c,a,u,o;if(n.a){if(o=null,null!=(u=n.a.ne())?t.a+=""+u:null!=(a=n.a.Dj())&&(-1!=(c=QI(a,pun(91)))?(o=a.substr(c),t.a+=""+b$(null==a?uEn:(mB(a),a),0,c)):t.a+=""+a),n.d&&0!=n.d.i){for(r=!0,t.a+="<",i=new XO(n.d);i.e!=i.i.gc();)e=Jx(fen(i),87),r?r=!1:t.a+=eEn,dmn(e,t);t.a+=">"}null!=o&&(t.a+=""+o)}else n.e?null!=(u=n.e.zb)&&(t.a+=""+u):(t.a+="?",n.b?(t.a+=" super ",dmn(n.b,t)):n.f&&(t.a+=" extends ",dmn(n.f,t)))}function gmn(n,t,e,i){var r,c,a,u,o,s;if(c=W9(i),!ty(fL($un(i,(pjn(),G1n))))&&!ty(fL($un(n,I1n)))||gC(Jx($un(n,p0n),98)))switch(nz(u=new Con,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,qon(s,0,0,n.o.a,n.o.b),dhn(u,Mpn(u,c))):(r=z7(c),dhn(u,e==(f0(),r3n)?r:A9(r))),a=Jx($un(i,(Ajn(),wQn)),21),o=u.j,c.g){case 2:case 1:(o==(Ckn(),Mit)||o==Hit)&&a.Fc((idn(),AVn));break;case 4:case 3:(o==(Ckn(),Tit)||o==Git)&&a.Fc((idn(),AVn))}else r=z7(c),u=mpn(n,e,e==(f0(),r3n)?r:A9(r));return u}function pmn(n,t,i){var r,c,a,u,o,s,h;return e.Math.abs(t.s-t.c)h?new dz((rQ(),F4n),i,t,s-h):s>0&&h>0&&(new dz((rQ(),F4n),t,i,0),new dz(F4n,i,t,0))),a)}function vmn(n,t){var i,r,c,a,u;for(u=new e6(new Ql(n.f.b).a);u.b;){if(c=Jx((a=h1(u)).cd(),594),1==t){if(c.gf()!=(e9(),iet)&&c.gf()!=Ztt)continue}else if(c.gf()!=(e9(),net)&&c.gf()!=tet)continue;switch(r=Jx(Jx(a.dd(),46).b,81),i=Jx(Jx(a.dd(),46).a,189).c,c.gf().g){case 2:r.g.c=n.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=n.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 mmn(n,t){var e,i,r,c,a,u,o,s,f,l,b;for(i=new LK(wA(bbn(t).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(o=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),Kfn(e)||(a=t.i+t.g/2,u=t.j+t.f/2,f=o.i+o.g/2,l=o.j+o.f/2,(b=new Ik).a=f-a,b.b=l-u,Tcn(c=new YS(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,u=l-b.b,Tcn(s=new YS(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=u+b.b,D1(r=Jwn(e,!0,!0),a),K1(r,u),A1(r,f),R1(r,l),mmn(n,o)))}function ymn(n){oT(n,new eun(ck(tk(rk(ik(new du,Z$n),"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 tu))),RU(n,Z$n,nLn,sen(D9n)),RU(n,Z$n,tLn,sen(L9n)),RU(n,Z$n,eLn,sen($9n)),RU(n,Z$n,iLn,sen(O9n)),RU(n,Z$n,rLn,sen(A9n)),RU(n,Z$n,lPn,C9n),RU(n,Z$n,NPn,8),RU(n,Z$n,cLn,sen(x9n)),RU(n,Z$n,aLn,sen(M9n)),RU(n,Z$n,uLn,sen(S9n)),RU(n,Z$n,sAn,(MA(),!1))}function kmn(n,t,e){var i,r,c,a,u,o,s,h;return i=n.a.o==(KG(),y4n)?ZTn:nMn,!(u=Dpn(n,new MS(t,e))).a&&u.c?(_D(n.d,u),i):u.a?(r=u.a.c,o=u.a.d,e?(s=n.a.c==(Zq(),g4n)?o:r,c=n.a.c==g4n?r:o,a=n.a.g[c.i.p],h=ey(n.a.p[a.p])+ey(n.a.d[c.i.p])+c.n.b+c.a.b-ey(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(Zq(),d4n)?o:r,c=n.a.c==d4n?r:o,h=ey(n.a.p[n.a.g[c.i.p].p])+ey(n.a.d[c.i.p])+c.n.b+c.a.b-ey(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(MA(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h):i}function jmn(n,t,e){var i,r,c,a,u,o,s;if(Nwn(n.e,t))MT(),jfn((u=Jx(t,66).Oj()?new aR(t,n):new QP(t,n)).c,u.b),MO(u,Jx(e,14));else{for(s=gwn(n.e.Tg(),t),i=Jx(n.g,119),c=0;cn.o.b)return!1;if(e=r7(n,Tit),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function Pmn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return e=zz(n.a[0],oMn),i=zz(t.a[0],oMn),a==o?(w=VR(h=e7(e,i)),0==(b=VR(XK(h,32)))?new dQ(a,w):new O_(a,2,D4(zy(Vot,1),STn,25,15,[w,b]))):Xtn(a<0?t7(i,e):t7(e,i));if(a==o)l=a,f=c>=u?VQ(n.a,c,t.a,u):VQ(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:d6(n.a,t.a,c)))return wdn(),vFn;1==r?(l=a,f=zV(n.a,c,t.a,u)):(l=o,f=zV(t.a,u,n.a,c))}return PU(s=new O_(l,f.length,f)),s}function Imn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w;return l=ty(fL($un(t,(pjn(),z1n)))),b=null,a==(f0(),i3n)&&r.c.i==i?b=r.c:a==r3n&&r.d.i==i&&(b=r.d),(h=u)&&l&&!b?(iD(h.e,r),w=e.Math.max(ey(lL($un(h.d,k1n))),ey(lL($un(r,k1n)))),w5(h.d,k1n,w)):(Ckn(),f=qit,b?f=b.j:gC(Jx($un(i,p0n),98))&&(f=a==i3n?Git:Tit),s=function(n,t,e,i,r,c){var a,u,o,s,h,f;return a=null,s=i==(f0(),i3n)?c.c:c.d,o=W9(t),s.i==e?(a=Jx(HF(n.b,s),10))||(w5(a=Zkn(s,Jx($un(e,(pjn(),p0n)),98),r,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=ty(fL($un(u=n.i,(pjn(),C1n)))),h=0,i=0,s=new pb(n.g);s.a=n.b[r+1])r+=2;else{if(!(e=iMn?vI(e,X9(i)):_F(e,i&lTn),c=new tG(10,null,0),function(n,t,e){r_(e,n.a.c.length),YW(n.a,e,t)}(n.a,c,a-1)):(c.bm().length,vI(e=new Ay,c.bm())),0==t.e?(i=t._l())>=iMn?vI(e,X9(i)):_F(e,i&lTn):vI(e,t.bm()),Jx(c,521).b=e.a):Xp(n.a,t);else for(r=0;r0&&j8(r,-6)>=0){if(j8(r,0)>=0){for(c=e+VR(r),u=h-1;u>=c;u--)f[u+1]=f[u];return f[++c]=46,o&&(f[--e]=45),Qnn(f,e,h-e+1)}for(a=2;NT(a,e7(hJ(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,o&&(f[--e]=45),Qnn(f,e,h-e)}return w=e+1,i=h,l=new Ly,o&&(l.a+="-"),i-w>=1?(FF(l,f[e]),l.a+=".",l.a+=Qnn(f,e+1,h-e-1)):l.a+=Qnn(f,e,h-e),l.a+="E",j8(r,0)>0&&(l.a+="+"),l.a+=""+qK(r),l.a}(R3(n.f),sG(n.e)),n.g):(r=vjn((!n.c&&(n.c=Z6(n.f)),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=Z6(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new $y).a+=""+r,n.e>0&&i>=-6?i>=0?XG(c,e-sG(n.e),String.fromCharCode(46)):(c.a=b$(c.a,0,t-1)+"0."+bI(c.a,t-1),XG(c,t+1,Qnn(cFn,0,-sG(i)-1))):(e-t>=1&&(XG(c,t,String.fromCharCode(46)),++e),XG(c,e,String.fromCharCode(69)),i>0&&XG(c,++e,String.fromCharCode(43)),XG(c,++e,""+qK(R3(i)))),n.g=c.a,n.g))}function Fmn(n,t,i){var r,c,a;if((c=Jx($un(t,(pjn(),HZn)),275))!=(oon(),yVn)){switch(cun(i,"Horizontal Compaction",1),n.a=t,function(n,t){n.g=t}(r=new dfn(((a=new gJ).d=t,a.c=Jx($un(a.d,w1n),218),function(n){var t,e,i,r,c,a,u;for(t=!1,e=0,r=new pb(n.d.b);r.a0&&J4(o,!0,(e9(),tet)),a.k==(won(),Fzn)&&YB(o),DB(n.f,a,t)):((s=(i=Jx(lq(u7(a)),17)).c.i)==a&&(s=i.d.i),f=new yP(s,kN(gO(a.n),s.n)),DB(n.b,a,f))}(a),Bdn(a),a.a)),n.b),1===Jx($un(t,BZn),422).g?Xy(r,new u2(n.a)):Xy(r,(QH(),SBn)),c.g){case 1:Fln(r);break;case 2:Fln(ikn(r,(e9(),tet)));break;case 3:Fln(Uy(ikn(Fln(r),(e9(),tet)),new gr));break;case 4:Fln(Uy(ikn(Fln(r),(e9(),tet)),new Gw(a)));break;case 5:Fln(function(n,t){return n.b=t,n}(r,CXn))}ikn(r,(e9(),net)),r.e=!0,function(n){var t,i,r,c;for(PE(fH(new PR(null,new xz(n.a.b,16)),new yr),new kr),function(n){var t,e,i,r,c;for(i=new e6(new Ql(n.b).a);i.b;)t=Jx((e=h1(i)).cd(),10),c=Jx(Jx(e.dd(),46).a,10),r=Jx(Jx(e.dd(),46).b,8),yN(AI(t.n),yN(gO(c.n),r))}(n),PE(fH(new PR(null,new xz(n.a.b,16)),new jr),new Er),n.c==(p7(),wet)&&(PE(fH(VJ(new PR(null,new xz(new Yl(n.f),1)),new Tr),new Mr),new Ww(n)),PE(fH(lH(VJ(VJ(new PR(null,new xz(n.d.b,16)),new Sr),new Pr),new Ir),new Cr),new Qw(n))),c=new YS(ZTn,ZTn),t=new YS(nMn,nMn),r=new pb(n.a.b);r.a1&&(s=h.mg(s,n.a,o));return 1==s.c.length?Jx(MR(s,s.c.length-1),220):2==s.c.length?function(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,u=a==(Dbn(),Q8n)||a==J8n,o=a==Y8n||a==Q8n,l=f==Y8n||f==Q8n,!u||f!=Q8n&&f!=J8n?a!=Y8n&&a!=Z8n||f!=Y8n&&f!=Z8n?o&&l?(a==Y8n?(h=n,s=t):(h=t,s=n),b=i.j+i.f,w=h.e+r.f,d=e.Math.max(b,w)-e.Math.min(i.j,h.e),c=(h.d+r.g-i.i)*d,g=i.i+i.g,p=s.d+r.g,c<=(e.Math.max(g,p)-e.Math.min(i.i,s.d))*(s.e+r.f-i.j)?n.f==Y8n?n:t:n.f==Q8n?n:t):n:n.f==Z8n?n:t:n.f==J8n?n:t}((Lz(0,s.c.length),Jx(s.c[0],220)),(Lz(1,s.c.length),Jx(s.c[1],220)),u,a):null}function Hmn(n){var t,i,r,c,a,u;for(VZ(n.a,new nt),i=new pb(n.a);i.a=e.Math.abs(r.b)?(r.b=0,a.d+a.a>u.d&&a.du.c&&a.c0){if(t=new YP(n.i,n.g),c=(e=n.i)<100?null:new Tk(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,DV(n),c=s<100?null:new Tk(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Jx(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg())for(r=0;r0)if(t=new e3(n.Gi()),c=(e=h)<100?null:new Tk(e),xL(n,e,t.g),r=1==e?n.Zi(4,a1(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new XO(t);i.e!=i.i.gc();)c=n.dj(fen(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r);else xL(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(WH(),MFn),null,-1,o));else if(n.bj())if((h=n.Vi())>0){for(u=n.Wi(),s=h,xL(n,h,u),c=s<100?null:new Tk(s),i=0;i2*c?(h=new i1(f),s=RR(a)/DR(a),o=tjn(h,t,new Pv,e,i,r,s),yN(AI(h.e),o),f.c=QQ(XKn,rEn,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=RR(h)*DR(h)+RR(a)*DR(a)):(f.c[f.c.length]=a,c+=RR(a)*DR(a));return f}(u,t,f.a,f.b,(s=r,mB(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(WH(),ZC(n,new zu),a=tD(n),b=new rp,l=new rp,u=null,o=0;0!=a.b;)c=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),157),!u||RR(u)*DR(u)/21&&(o>RR(u)*DR(u)/2||0==a.b)&&(f=new i1(l),h=RR(u)/DR(u),s=tjn(f,t,new Pv,e,i,r,h),yN(AI(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=QQ(XKn,rEn,1,0,5,1)));return P4(b,l),b}(u,t,f.a,f.b,(h=r,mB(c),h));break;default:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=QQ(Zot,cMn,25,n.c.length,15,1),Wrn(l=new f_(new Uu),n),s=0,b=new rp;0!=l.b.c.length;)if(a=Jx(0==l.b.c.length?null:MR(l.b,0),157),s>1&&RR(a)*DR(a)/2>u[0]){for(c=0;cu[c];)++c;f=new i1(new Az(b,0,c+1)),h=RR(a)/DR(a),o=tjn(f,t,new Pv,e,i,r,h),yN(AI(f.e),o),ZQ(yun(l,f)),Wrn(l,new Az(b,c+1,b.c.length)),b.c=QQ(XKn,rEn,1,0,5,1),s=0,tK(u,u.length,0)}else null!=(0==l.b.c.length?null:MR(l.b,0))&&i2(l,0),s>0&&(u[s]=u[s-1]),u[s]+=RR(a)*DR(a),++s,b.c[b.c.length]=a;return b}(u,t,f.a,f.b,(o=r,mB(c),o))}Dkn(n,(b=tjn(new i1(w),t,i,f.a,f.b,r,(mB(c),c))).a,b.b,!1,!0)}function Ymn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(c=0,a=0,s=new pb(n.a);s.a.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=u.d.b)&&(p=r),d=u.d.c,p>g.a-d-h&&(p=g.a-d-h),u.n.a=t+p}}function Jmn(n,t){var e,i,r,c,a,u,o,s,h;return s="",0==t.length?n.de(sTn,uTn,-1,-1):(FN((h=Vun(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=Vun(h.substr(a+1)),h=Vun(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=Vun(h.substr(0,a))),-1!=(a=QI(h,pun(46)))&&(h=h.substr(a+1)),(0==h.length||FN(h,"Anonymous function"))&&(h=uTn),u=NA(s,pun(58)),r=GN(s,pun(58),u-1),o=-1,i=-1,c=sTn,-1!=u&&-1!=r&&(c=s.substr(0,r),o=l$(s.substr(r+1,u-(r+1))),i=l$(s.substr(u+1))),n.de(c,h,o,i))}function Zmn(n,t,e){var i,r,c,a,u,o;if(0==t.l&&0==t.m&&0==t.h)throw fp(new Hm("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return e&&(I_n=cO(0,0,0)),cO(0,0,0);if(t.h==GTn&&0==t.m&&0==t.l)return function(n,t){return n.h==GTn&&0==n.m&&0==n.l?(t&&(I_n=cO(0,0,0)),ZI((NJ(),A_n))):(t&&(I_n=cO(n.l,n.m,n.h)),cO(0,0,0))}(n,e);if(o=!1,t.h>>19!=0&&(t=f5(t),o=!o),a=function(n){var t,e,i;return 0!=((e=n.l)&e-1)||0!=((i=n.m)&i-1)||0!=((t=n.h)&t-1)||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?y0(e):0==t&&0!=i&&0==e?y0(i)+22:0!=t&&0==i&&0==e?y0(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==GTn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=eln(n,a),o&&$5(u),e&&(I_n=cO(0,0,0)),u;n=ZI((NJ(),C_n)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=f5(n),i=!0,o=!o);return-1!=a?F5(n,a,o,c,e):pcn(n,t)<0?(e&&(I_n=c?f5(n):cO(n.l,n.m,n.h)),cO(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f;for(a=gon(t,o=T5(t)-T5(n)),u=cO(0,0,0);o>=0&&(!Crn(n,a)||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&$5(u),c&&(i?(I_n=f5(n),r&&(I_n=k4(I_n,(NJ(),A_n)))):I_n=cO(n.l,n.m,n.h)),u}(i?n:cO(n.l,n.m,n.h),t,o,c,r,e)}function nyn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(n.e&&n.c.ct.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Jx(a.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Jx(u.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Jx(o.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=Jx(c.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return r=function(n,t){var e;if(OO(e=Jbn(n.Tg(),t),99))return Jx(e,18);throw fp(new Ym(yNn+t+"' is not a valid reference"))}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(o=new rp,f=t.length,a=A5(e),s=0;s=0?n._g(s,!1,!0):efn(n,e,!1),58).Kc();c.Ob();){for(r=Jx(c.Pb(),56),h=0;h=0){i=Jx(MV(n,XZ(n,t.substr(1,e-1)),!1),58),o=0;try{o=rpn(t.substr(e+1),tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}if(o=0)return e;switch(MB(IJ(n,e))){case 2:if(FN("",X8(n,e.Hj()).ne())){if(o=Lln(n,t,u=eH(IJ(n,e)),tH(IJ(n,e))))return o;for(a=0,s=(r=$gn(n,t)).gc();a1,h=new XV(b.b);nO(h.a)||nO(h.b);)l=(s=Jx(nO(h.a)?qz(h.a):qz(h.b),17)).c==b?s.d:s.c,e.Math.abs(L5(D4(zy(H7n,1),MEn,8,0,[l.i.n,l.n,l.a])).b-u.b)>1&&Ewn(n,s,u,a,b)}}function uyn(){uyn=O,Lut=(Fk(),$ut).b,Dut=Jx(a1(uq($ut.b),0),34),Nut=Jx(a1(uq($ut.b),1),34),xut=Jx(a1(uq($ut.b),2),34),Uut=$ut.bb,Jx(a1(uq($ut.bb),0),34),Jx(a1(uq($ut.bb),1),34),Wut=$ut.fb,Vut=Jx(a1(uq($ut.fb),0),34),Jx(a1(uq($ut.fb),1),34),Jx(a1(uq($ut.fb),2),18),Yut=$ut.qb,not=Jx(a1(uq($ut.qb),0),34),Jx(a1(uq($ut.qb),1),18),Jx(a1(uq($ut.qb),2),18),Jut=Jx(a1(uq($ut.qb),3),34),Zut=Jx(a1(uq($ut.qb),4),34),eot=Jx(a1(uq($ut.qb),6),34),tot=Jx(a1(uq($ut.qb),5),18),Rut=$ut.j,Kut=$ut.k,_ut=$ut.q,Fut=$ut.w,But=$ut.B,Hut=$ut.A,qut=$ut.C,Gut=$ut.D,zut=$ut._,Xut=$ut.cb,Qut=$ut.hb}function oyn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,E6(n,null)):(n.F=(mB(t),t),-1!=(i=QI(t,pun(60)))?(r=t.substr(0,i),-1==QI(t,pun(46))&&!FN(r,Wjn)&&!FN(r,HDn)&&!FN(r,qDn)&&!FN(r,GDn)&&!FN(r,zDn)&&!FN(r,UDn)&&!FN(r,XDn)&&!FN(r,WDn)&&(r=VDn),-1!=(e=NA(t,pun(62)))&&(r+=""+t.substr(e+1)),E6(n,r)):(r=t,-1==QI(t,pun(46))&&(-1!=(i=QI(t,pun(91)))&&(r=t.substr(0,i)),FN(r,Wjn)||FN(r,HDn)||FN(r,qDn)||FN(r,GDn)||FN(r,zDn)||FN(r,UDn)||FN(r,XDn)||FN(r,WDn)?r=t:(r=VDn,-1!=i&&(r+=""+t.substr(i)))),E6(n,r),r==t&&(n.F=n.D))),0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,5,c,t))}function syn(n,t){var e;if(null==t||FN(t,uEn))return null;if(0==t.length&&n.k!=(bsn(),$7n))return null;switch(n.k.g){case 1:return mtn(t,jLn)?(MA(),N_n):mtn(t,ELn)?(MA(),L_n):null;case 2:try{return g9(rpn(t,tTn,Jjn))}catch(n){if(OO(n=E4(n),127))return null;throw fp(n)}case 4:try{return pon(t)}catch(n){if(OO(n=E4(n),127))return null;throw fp(n)}case 3:return t;case 5:return B6(n),zhn(n,t);case 6:return B6(n),function(n,t,e){var i,r,c,a,u,o,s;for(s=new ax(i=Jx(t.e&&t.e(),9),Jx(iN(i,i.length),9),0),a=0,u=(c=Agn(e,"[\\[\\]\\s,]+")).length;a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&ty(fL(t))!=fI(n.k,0);case 1:return null!=t&&Jx(t,217).a!=VR(n.k)<<24>>24;case 2:return null!=t&&Jx(t,172).a!=(VR(n.k)&lTn);case 6:return null!=t&&fI(Jx(t,162).a,n.k);case 5:return null!=t&&Jx(t,19).a!=VR(n.k);case 7:return null!=t&&Jx(t,184).a!=VR(n.k)<<16>>16;case 3:return null!=t&&ey(lL(t))!=n.j;case 4:return null!=t&&Jx(t,155).a!=n.j;default:return null==t?null!=n.n:!Y8(t,n.n)}}function fyn(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&rI(a=o_(n,Jx(e,56)))!==rI(e)?(n.Oi(t),n.Ui(t,LY(n,0,a)),n.rk()&&(r=Jx(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,tin(Jx(OZ(Oq(n.b),n.aj()),18)).n,Jx(OZ(Oq(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,enn(r.Tg(),tin(Jx(OZ(Oq(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),!Jx(a,49).eh()&&(i=Jx(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,tin(Jx(OZ(Oq(n.b),n.aj()),18)).n,Jx(OZ(Oq(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,enn(i.Tg(),tin(Jx(OZ(Oq(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),pC(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function lyn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=ey(lL($un(n,(pjn(),K0n)))),r=ey(lL($un(n,J0n))),w5(b=new Yu,K0n,f+r),v=(h=t).d,g=h.c.i,m=h.d.i,p=iC(g.c),y=iC(m.c),c=new rp,l=p;l<=y;l++)Al(o=new cin(n),(won(),Hzn)),w5(o,(Ajn(),OQn),h),w5(o,p0n,(Kan(),sit)),w5(o,F0n,b),w=Jx(MR(n.b,l),29),l==p?qrn(o,w.a.c.length-i,w):ZG(o,w),(k=ey(lL($un(h,k1n))))<0&&w5(h,k1n,k=0),o.o.b=k,d=e.Math.floor(k/2),dhn(u=new Con,(Ckn(),Git)),nz(u,o),u.n.b=d,dhn(s=new Con,Tit),nz(s,o),s.n.b=d,YG(h,u),s4(a=new Eq,h),w5(a,L1n,null),JG(a,s),YG(a,v),Ecn(o,h,a),c.c[c.c.length]=a,h=a;return c}function byn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(u=Jx(Lon(n,(Ckn(),Git)).Kc().Pb(),11).e,f=Jx(Lon(n,Tit).Kc().Pb(),11).g,a=u.c.length,g=Rz(Jx(MR(n.j,0),11));a-- >0;){for(Lz(0,u.c.length),b=Jx(u.c[0],17),Lz(0,f.c.length),r=fJ((i=Jx(f.c[0],17)).d.e,i,0),iX(b,i.d,r),JG(i,null),YG(i,null),l=b.a,t&&_D(l,new lC(g)),e=nen(i.a,0);e.b!=e.d.c;)_D(l,new lC(Jx(CX(e),8)));for(d=b.b,h=new pb(i.b);h.a0&&(u=e.Math.max(u,W2(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(l-1)<=PSn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),i.n.b=0,i.a.a=u}function dyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w;if(i=Jx(zB(n.b,t),124),(s=Jx(Jx(FV(n.r,t),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((Ohn(),vit)),u=0,n.A.Hc(($nn(),trt))&&Vdn(n,t),o=s.Kc(),f=null,b=0,l=0;o.Ob();)a=ey(lL((r=Jx(o.Pb(),111)).b.We((WA(),WHn)))),c=r.b.rf().b,f?(w=l+f.d.a+n.w+r.d.d,u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(b-a)<=PSn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(u=e.Math.max(u,W2(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(b-1)<=PSn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),i.n.d=0,i.a.b=u}function gyn(n,t,e){var i,r,c,a,u,o;for(this.g=n,u=t.d.length,o=e.d.length,this.d=QQ(zzn,jIn,10,u+o,0,1),a=0;a0?o1(this,this.f/this.a):null!=xO(t.g,t.d[0]).a&&null!=xO(e.g,e.d[0]).a?o1(this,(ey(xO(t.g,t.d[0]).a)+ey(xO(e.g,e.d[0]).a))/2):null!=xO(t.g,t.d[0]).a?o1(this,xO(t.g,t.d[0]).a):null!=xO(e.g,e.d[0]).a&&o1(this,xO(e.g,e.d[0]).a)}function pyn(n,t){var e,i,r,c,a,u,o,s,h;for(n.a=new qF(function(n){var t;return new ax(t=Jx(n.e&&n.e(),9),Jx(cF(t,t.length),9),t.length)}(set)),i=new pb(t.a);i.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,w5(n,(pjn(),t0n),($nn(),new ax(i=Jx($k(brt),9),Jx(iN(i,i.length),9),0)))}function yyn(n){var t,e,i,r,c,a,u,o,s,h;for(i=new rp,a=new pb(n.e.a);a.a1)for(d=QQ(Vot,STn,25,n.b.b.c.length,15,1),f=0,h=new pb(n.b.b);h.a=u&&r<=o)u<=r&&c<=o?(e[h++]=r,e[h++]=c,i+=2):u<=r?(e[h++]=r,e[h++]=o,n.b[i]=o+1,a+=2):c<=o?(e[h++]=u,e[h++]=c,i+=2):(e[h++]=u,e[h++]=o,n.b[i]=o+1);else{if(!(onTn)&&o<10);Jy(n.c,new Et),Eyn(n),function(n){rkn(n,(e9(),net)),n.d=!0}(n.c),function(n){var t,i,r,c,a,u,o,s;for(a=new pb(n.a.b);a.a=2){for(a=Jx(CX(o=nen(e,0)),8),u=Jx(CX(o),8);u.a0&&iD(n.p,l),iD(n.o,l);d=s+(t-=r),f+=t*n.e,YW(n.a,o,g9(d)),YW(n.b,o,f),n.j=e.Math.max(n.j,d),n.k=e.Math.max(n.k,f),n.d+=t,t+=p}}(n),n.q=Jx($un(t,(pjn(),B1n)),260),l=Jx($un(n.g,F1n),19).a,a=new hi,n.q.g){case 2:case 1:default:$mn(n,a);break;case 3:for(n.q=(Fbn(),z2n),$mn(n,a),s=0,o=new pb(n.a);o.an.j&&(n.q=_2n,$mn(n,a));break;case 4:for(n.q=(Fbn(),z2n),$mn(n,a),f=0,c=new pb(n.b);c.an.k&&(n.q=H2n,$mn(n,a));break;case 6:$mn(n,new Aw(sG(e.Math.ceil(n.f.length*l/100))));break;case 5:$mn(n,new $w(sG(e.Math.ceil(n.d*l/100))))}(function(n,t){var e,i,r,c,a,u;for(r=new rp,e=0;e<=n.i;e++)(i=new GF(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new pb(n.o);u.a=e}(this.k)}function Ayn(n,t){var e,i,r,c,a,u,o,s,f;for(u=!0,r=0,o=n.f[t.p],s=t.o.b+n.n,e=n.c[t.p][2],YW(n.a,o,g9(Jx(MR(n.a,o),19).a-1+e)),YW(n.b,o,ey(lL(MR(n.b,o)))-s+e*n.e),++o>=n.i?(++n.i,iD(n.a,g9(1)),iD(n.b,s)):(i=n.c[t.p][1],YW(n.a,o,g9(Jx(MR(n.a,o),19).a+1-i)),YW(n.b,o,ey(lL(MR(n.b,o)))+s-i*n.e)),(n.q==(Fbn(),_2n)&&(Jx(MR(n.a,o),19).a>n.j||Jx(MR(n.a,o-1),19).a>n.j)||n.q==H2n&&(ey(lL(MR(n.b,o)))>n.k||ey(lL(MR(n.b,o-1)))>n.k))&&(u=!1),c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)a=Jx(jV(c),17).c.i,n.f[a.p]==o&&(r+=Jx((f=Ayn(n,a)).a,19).a,u=u&&ty(fL(f.b)));return n.f[t.p]=o,new yP(g9(r+=n.c[t.p][0]),(MA(),!!u))}function $yn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=new cp,u=new rp,Ehn(n,i,n.d.fg(),u,l),Ehn(n,r,n.d.gg(),u,l),n.b=.2*(g=gln(VJ(new PR(null,new xz(u,16)),new Sa)),p=gln(VJ(new PR(null,new xz(u,16)),new Pa)),e.Math.min(g,p)),a=0,o=0;o=2&&(v=xbn(u,!0,b),!n.e&&(n.e=new Dd(n)),wtn(n.e,v,u,n.b)),qan(u,b),function(n){var t,i,r,c,a,u,o,s,h;for(s=new rp,u=new rp,a=new pb(n);a.a-1){for(c=new pb(u);c.a0||(Fl(o,e.Math.min(o.o,r.o-1)),_l(o,o.i-1),0==o.i&&(u.c[u.c.length]=o))}}(u),w=-1,f=new pb(u);f.ae))}(n)&&(i=(rI($un(n,T1n))===rI(Let)?Jx($un(n,JZn),292):Jx($un(n,ZZn),292))==(c4(),RVn)?(Ljn(),JUn):(Ljn(),lXn),sR(t,(Lun(),tzn),i)),Jx($un(n,a2n),377).g){case 1:sR(t,(Lun(),tzn),(Ljn(),hXn));break;case 2:kK(sR(sR(t,(Lun(),nzn),(Ljn(),hUn)),tzn,fUn),ezn,lUn)}return rI($un(n,WZn))!==rI((j5(),V2n))&&sR(t,(Lun(),nzn),(Ljn(),fXn)),t}(t)),w5(t,FQn,nyn(n.a,t))}function Nyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=ZTn,f=ZTn,o=nMn,s=nMn,b=new pb(t.i);b.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[h++]=r,e[h++]=u-1,i+=2):(e[h++]=r,e[h++]=u-1,n.b[i]=o+1,a+=2);else{if(!(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,o,a,h=new tY(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function Hyn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(i)for(r=-1,f=new ZU(t,0);f.b0&&0==e.c&&(!t&&(t=new rp),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Jx(_V(t,0),233)).b&&e.b.c.length>0)for(!e.b&&(e.b=new rp),c=new pb(e.b);c.afJ(n,e,0))return new yP(r,e)}else if(ey(xO(r.g,r.d[0]).a)>ey(xO(e.g,e.d[0]).a))return new yP(r,e);for(u=(!e.e&&(e.e=new rp),e.e).Kc();u.Ob();)!(a=Jx(u.Pb(),233)).b&&(a.b=new rp),rz(0,(o=a.b).c.length),zT(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}function Gyn(n,t){var e,i,r,c,a,u;if(null==n)return uEn;if(null!=t.a.zc(n,t))return"[...]";for(e=new Z3(eEn,"[","]"),c=0,a=(r=n).length;c=14&&u<=16?OO(i,177)?qV(e,shn(Jx(i,177))):OO(i,190)?qV(e,_an(Jx(i,190))):OO(i,195)?qV(e,Eon(Jx(i,195))):OO(i,2012)?qV(e,Fan(Jx(i,2012))):OO(i,48)?qV(e,ohn(Jx(i,48))):OO(i,364)?qV(e,$hn(Jx(i,364))):OO(i,832)?qV(e,uhn(Jx(i,832))):OO(i,104)&&qV(e,ahn(Jx(i,104))):t.a._b(i)?(e.a?kI(e.a,e.b):e.a=new PA(e.d),mI(e.a,"[...]")):qV(e,Gyn(f1(i),new jR(t))):qV(e,null==i?uEn:C7(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function zyn(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(w=_on(Jwn(t,!1,!1)),r&&(w=X5(w)),g=ey(lL(Eln(t,(ben(),$qn)))),P$(0!=w.b),b=Jx(w.a.a.c,8),h=Jx(jen(w,1),8),w.b>2?(P4(s=new rp,new Az(w,1,w.b)),s4(d=new iln(kjn(s,g+n.a)),t),i.c[i.c.length]=d):d=Jx(HF(n.b,r?_un(t):Hun(t)),266),u=_un(t),r&&(u=Hun(t)),a=function(n,t){var i,r,c;return c=dPn,Ien(),r=wqn,c=e.Math.abs(n.b),(i=e.Math.abs(t.f-n.b))>16==-10?e=Jx(n.Cb,284).nk(t,e):n.Db>>16==-15&&(!t&&(Djn(),t=Iat),!u&&(Djn(),u=Iat),n.Cb.nh()&&(a=new kJ(n.Cb,1,13,u,t,Ken(CJ(Jx(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(OO(n.Cb,88))n.Db>>16==-23&&(OO(t,88)||(Djn(),t=Aat),OO(u,88)||(Djn(),u=Aat),n.Cb.nh()&&(a=new kJ(n.Cb,1,10,u,t,Ken(eW(Jx(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(OO(n.Cb,444))for(!(c=Jx(n.Cb,836)).b&&(c.b=new Wg(new Vv)),r=new Vg(new e6(new Ql(c.b.a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,c),e);return e}function Xyn(n){var t,i,r,c,a,u,o,s,h,f,l,b;if((b=Jx(Eln(n,(Ojn(),Znt)),21)).dc())return null;if(o=0,u=0,b.Hc(($nn(),nrt))){for(f=Jx(Eln(n,jtt),98),r=2,i=2,c=2,a=2,t=CG(n)?Jx(Eln(CG(n),Int),103):Jx(Eln(n,Int),103),h=new XO((!n.c&&(n.c=new y_(sct,n,9,9)),n.c));h.e!=h.i.gc();)if(s=Jx(fen(h),118),(l=Jx(Eln(s,Ctt),61))==(Ckn(),qit)&&(l=nvn(s,t),$en(s,Ctt,l)),f==(Kan(),sit))switch(l.g){case 1:r=e.Math.max(r,s.i+s.g);break;case 2:i=e.Math.max(i,s.j+s.f);break;case 3:c=e.Math.max(c,s.i+s.g);break;case 4:a=e.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:i+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}o=e.Math.max(r,c),u=e.Math.max(i,a)}return Dkn(n,o,u,!0,!0)}function Wyn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(m=Jx(jW(qZ(fH(new PR(null,new xz(t.d,16)),new td(i)),new ed(i)),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)]))),15),l=Jjn,f=tTn,s=new pb(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(Kbn(i=s5(Jx(MR(d.c.a,h),10)),y,e[0])||c_(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p0&&(t.a+=eEn),Zyn(Jx(fen(a),160),t);for(t.a+=vIn,u=new u$((!i.c&&(i.c=new $N(nct,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=eEn),Zyn(Jx(fen(u),160),t);t.a+=")"}}}function nkn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(c=Jx($un(n,(Ajn(),OQn)),79)){for(i=n.a,yN(r=new lC(e),function(n){var t,e,i,r;if(r=Jx($un(n,(Ajn(),tQn)),37)){for(i=new Ik,t=gB(n.c.i);t!=r;)t=gB(e=t.e),L$(yN(yN(i,e.n),t.c),t.d.b,t.d.d);return i}return tUn}(n)),F3(n.d.i,n.c.i)?(l=n.c,kN(f=L5(D4(zy(H7n,1),MEn,8,0,[l.n,l.a])),e)):f=Rz(n.c),QW(i,f,i.a,i.a.a),b=Rz(n.d),null!=$un(n,JQn)&&yN(b,Jx($un(n,JQn),8)),QW(i,b,i.c.b,i.c),s1(i,r),N0(a=Jwn(c,!0,!0),Jx(a1((!c.b&&(c.b=new $N(nct,c,4,7)),c.b),0),82)),x0(a,Jx(a1((!c.c&&(c.c=new $N(nct,c,5,8)),c.c),0),82)),dvn(i,a),h=new pb(n.b);h.aa?1:YI(isNaN(0),isNaN(a)))<0&&(s0(XAn),(e.Math.abs(a-1)<=XAn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:YI(isNaN(a),isNaN(1)))<0)&&(s0(XAn),(e.Math.abs(0-u)<=XAn||0==u||isNaN(0)&&isNaN(u)?0:0u?1:YI(isNaN(0),isNaN(u)))<0)&&(s0(XAn),(e.Math.abs(u-1)<=XAn||1==u||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:YI(isNaN(u),isNaN(1)))<0))}function ekn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;if(p=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new rp,c=0,a0(s=new gU(0,e),new t6(0,0,s,e)),r=0,o=new XO(n);o.e!=o.i.gc();)u=Jx(fen(o),33),i=Jx(MR(s.a,s.a.c.length-1),187),r+u.g+(0==Jx(MR(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,a0(s=new gU(c,e),i=new t6(0,s.f,s,e)),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?b7(i,u):(a0(s,a=new t6(i.s+i.r+e,s.f,s,e)),b7(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,i,n.g),c.n&&c.n&&a&&tU(c,KU(a),(I6(),Ert)),n.b)for(g=0;g0?n.g:0),++i;n.c=c,n.d=r}(n,p),c.n&&c.n&&a&&tU(c,KU(a),(I6(),Ert)),m=e.Math.max(n.d,r.a-(u.b+u.c)),o=(l=e.Math.max(n.c,r.b-(u.d+u.a)))-n.c,n.e&&n.f&&(m/l0&&(n.c[t.c.p][t.p].d+=Wln(n.i,24)*EMn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function skn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(E=0,w=0,l=new pb(t.e);l.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o));if(i)for(u=new pb(m.e);u.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o))}o>0&&(E+=b/o,++w)}w>0?(t.a=c*E/w,t.g=w):(t.a=0,t.g=0)}function hkn(n,t){var i,r,c,a,u,o,s,h,f,l;for(r=new pb(n.a.b);r.anMn||t.o==m4n&&hr.d,r.d=e.Math.max(r.d,t),o&&i&&(r.d=e.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:i=t>r.a,r.a=e.Math.max(r.a,t),o&&i&&(r.a=e.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:i=t>r.c,r.c=e.Math.max(r.c,t),o&&i&&(r.c=e.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:i=t>r.b,r.b=e.Math.max(r.b,t),o&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+c)}}}(o),function(n){switch(n.q.g){case 5:Kcn(n,(Ckn(),Mit)),Kcn(n,Hit);break;case 4:wyn(n,(Ckn(),Mit)),wyn(n,Hit);break;default:Msn(n,(Ckn(),Mit)),Msn(n,Hit)}}(o),function(n){switch(n.q.g){case 5:_cn(n,(Ckn(),Tit)),_cn(n,Git);break;case 4:dyn(n,(Ckn(),Tit)),dyn(n,Git);break;default:Ssn(n,(Ckn(),Tit)),Ssn(n,Git)}}(o),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc(($nn(),nrt))&&(Jx(zB(n.b,(Ckn(),Mit)),124).k=!0,Jx(zB(n.b,Hit),124).k=!0,t=n.q!=(Kan(),hit)&&n.q!=sit,Il(Jx(zB(n.b,Tit),124),t),Il(Jx(zB(n.b,Git),124),t),Il(n.g,t),n.A.Hc(trt)&&(Jx(zB(n.b,Mit),124).j=!0,Jx(zB(n.b,Hit),124).j=!0,Jx(zB(n.b,Tit),124).k=!0,Jx(zB(n.b,Git),124).k=!0,n.g.k=!0)),n.A.Hc(Zit))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((Qgn(),srt)),c=0,a=(r=Wtn()).length;c0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}w5(n,(Ajn(),_Qn),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=lit&&t!=bit&&u!=qit)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Jx(Eln(t,d0n),8)),o=new XO((!t.n&&(t.n=new y_(uct,t,1,7)),t.n));o.e!=o.i.gc();)!ty(fL(Eln(u=Jx(fen(o),137),c0n)))&&u.a&&iD(s.f,g8(u));switch(r.g){case 2:case 1:(s.j==(Ckn(),Mit)||s.j==Hit)&&i.Fc((idn(),AVn));break;case 4:case 3:(s.j==(Ckn(),Tit)||s.j==Git)&&i.Fc((idn(),AVn))}return s}function pkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;for(l=null,r==(Jq(),W4n)?l=t:r==V4n&&(l=i),d=l.a.ec().Kc();d.Ob();){for(w=Jx(d.Pb(),11),g=L5(D4(zy(H7n,1),MEn,8,0,[w.i.n,w.n,w.a])).b,m=new Yp,o=new Yp,h=new XV(w.b);nO(h.a)||nO(h.b);)if(ty(fL($un(s=Jx(nO(h.a)?qz(h.a):qz(h.b),17),(Ajn(),qQn))))==c&&-1!=fJ(a,s,0)){if(p=s.d==w?s.c:s.d,v=L5(D4(zy(H7n,1),MEn,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(v-g)<.2)continue;v1)for(WW(m,new IS(n,b=new Gmn(w,m,r))),u.c[u.c.length]=b,f=m.a.ec().Kc();f.Ob();)oJ(a,Jx(f.Pb(),46).b);if(o.a.gc()>1)for(WW(o,new CS(n,b=new Gmn(w,o,r))),u.c[u.c.length]=b,f=o.a.ec().Kc();f.Ob();)oJ(a,Jx(f.Pb(),46).b)}}function vkn(n){oT(n,new eun(ek(ck(tk(rk(ik(new du,O$n),"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 Ha),O$n))),RU(n,O$n,$An,sen(Q6n)),RU(n,O$n,NPn,sen(Z6n)),RU(n,O$n,qPn,sen(q6n)),RU(n,O$n,iIn,sen(G6n)),RU(n,O$n,HPn,sen(z6n)),RU(n,O$n,GPn,sen(H6n)),RU(n,O$n,BPn,sen(U6n)),RU(n,O$n,zPn,sen(V6n)),RU(n,O$n,S$n,sen(F6n)),RU(n,O$n,M$n,sen(B6n)),RU(n,O$n,C$n,sen(X6n)),RU(n,O$n,E$n,sen(W6n)),RU(n,O$n,T$n,sen(Y6n)),RU(n,O$n,P$n,sen(J6n)),RU(n,O$n,I$n,sen(n8n))}function mkn(n){var t;if(this.r=function(n,t){return new Sq(Jx(SF(n),62),Jx(SF(t),62))}(new Pn,new In),this.b=new O7(Jx(SF(ert),290)),this.p=new O7(Jx(SF(ert),290)),this.i=new O7(Jx(SF(ZHn),290)),this.e=n,this.o=new lC(n.rf()),this.D=n.Df()||ty(fL(n.We((Ojn(),Bnt)))),this.A=Jx(n.We((Ojn(),Znt)),21),this.B=Jx(n.We(rtt),21),this.q=Jx(n.We(jtt),98),this.u=Jx(n.We(Stt),21),!function(n){return Ohn(),!(Q3(hG(eK(vit,D4(zy(zit,1),WEn,273,0,[yit])),n))>1||Q3(hG(eK(pit,D4(zy(zit,1),WEn,273,0,[git,kit])),n))>1)}(this.u))throw fp(new by("Invalid port label placement: "+this.u));if(this.v=ty(fL(n.We(Itt))),this.j=Jx(n.We(Ynt),21),!function(n){return Tln(),!(Q3(hG(eK(Wet,D4(zy(ait,1),WEn,93,0,[Vet])),n))>1||Q3(hG(eK(zet,D4(zy(ait,1),WEn,93,0,[Get,Xet])),n))>1||Q3(hG(eK(Jet,D4(zy(ait,1),WEn,93,0,[Yet,Qet])),n))>1)}(this.j))throw fp(new by("Invalid node label placement: "+this.j));this.n=Jx(Urn(n,Vnt),116),this.k=ey(lL(Urn(n,ztt))),this.d=ey(lL(Urn(n,Gtt))),this.w=ey(lL(Urn(n,Jtt))),this.s=ey(lL(Urn(n,Utt))),this.t=ey(lL(Urn(n,Xtt))),this.C=Jx(Urn(n,Qtt),142),this.c=2*this.d,t=!this.B.Hc((Qgn(),rrt)),this.f=new Ptn(0,t,0),this.g=new Ptn(1,t,0),xm(this.f,(ZZ(),aHn),this.g)}function ykn(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw fp(new Cy(uEn));if(s=n,o=!1,(c=n.length)>0&&(Nz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(n=n.substr(1),--c,o=45==t)),0==c)throw fp(new Cy(JTn+s+'"'));for(;n.length>0&&(Nz(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(Npn(),Y_n)[10])throw fp(new Cy(JTn+s+'"'));for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(j8(f,u)<0)throw fp(new Cy(JTn+s+'"'));f=i7(f,h)}f=t7(f,i)}if(j8(f,0)>0)throw fp(new Cy(JTn+s+'"'));if(!o&&j8(f=hJ(f),0)<0)throw fp(new Cy(JTn+s+'"'));return f}function kkn(n,t){var e,i,r,c,a,u,o;if(JD(),this.a=new kO(this),this.b=n,this.c=t,this.f=z_(IJ((dsn(),dut),t)),this.f.dc())if((u=Rcn(dut,n))==t)for(this.e=!0,this.d=new rp,this.f=new fo,this.f.Fc(HRn),Jx(Cmn(PJ(dut,r1(n)),""),26)==n&&this.f.Fc(AK(dut,r1(n))),r=Lgn(dut,n).Kc();r.Ob();)switch(i=Jx(r.Pb(),170),MB(IJ(dut,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(z_(IJ(dut,i)))}else if(MT(),Jx(t,66).Oj())for(this.e=!0,this.f=null,this.d=new rp,a=0,o=(null==n.i&&hvn(n),n.i).length;a=0&&a0&&(Jx(zB(n.b,t),124).a.b=i)}function Ekn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(Nz(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(o=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Nz(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=FN("%",a=t.substr(1,h-1))?null:Lkn(a),i=0,o)try{i=rpn(t.substr(h+2),tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}for(d=w2(n.Wg());d.Ob();)if(OO(b=W3(d),510)&&(p=(r=Jx(b,590)).d,(null==v?null==p:FN(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=rpn(t.substr(s+1),tTn,Jjn)}catch(n){if(!OO(n=E4(n),127))throw fp(n);l=t}for(l=FN("%",l)?null:Lkn(l),w=w2(n.Wg());w.Ob();)if(OO(b=W3(w),191)&&(g=(c=Jx(b,191)).ne(),(null==l?null==g:FN(l,g))&&0==e--))return c;return null}return iyn(n,t)}function Tkn(){var n,t,e;for(Tkn=O,new nZ(1,0),new nZ(10,0),new nZ(0,0),rFn=QQ(mFn,MEn,240,11,0,1),cFn=QQ(Wot,hTn,25,100,15,1),aFn=D4(zy(Zot,1),cMn,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]),uFn=QQ(Vot,STn,25,aFn.length,15,1),oFn=D4(zy(Zot,1),cMn,25,15,[1,10,100,fTn,1e4,aMn,1e6,1e7,1e8,XTn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),sFn=QQ(Vot,STn,25,oFn.length,15,1),hFn=QQ(mFn,MEn,240,11,0,1),n=0;nr+2&&u5((Nz(r+1,n.length),n.charCodeAt(r+1)),zct,Uct)&&u5((Nz(r+2,n.length),n.charCodeAt(r+2)),zct,Uct))if(e=LD((Nz(r+1,n.length),n.charCodeAt(r+1)),(Nz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[u++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[u++]=e<<24>>24,i=2):224==(240&e)?(t[u++]=e<<24>>24,i=3):240==(248&e)&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:FF(o,((31&t[0])<<6|63&t[1])&lTn);break;case 3:FF(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&lTn)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=Xhn(n.substr(0,a+i),t)}else u=Xhn(n,t);switch(c){case 71:return u=dun(n,a,D4(zy(lFn,1),MEn,2,6,[PTn,ITn]),t),r.e=u,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=dun(n,r,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn]),t))<0&&(i=dun(n,r,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,u,a);case 69:case 99:return function(n,t,e,i){var r;return(r=dun(n,e,D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn]),t))<0&&(r=dun(n,e,D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return u=dun(n,a,D4(zy(lFn,1),MEn,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length)return!1;if(43!=(u=WB(n,t[0]))&&45!=u)return!1;if(++t[0],(i=Xhn(n,t))<0)return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new oE).q.getFullYear()-MTn+MTn-80)%100,c.a=i==a,i+=100*(o/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:return!(u<0||(r.f=u,r.g=!1,0));case 107:return!(u<0||(r.f=u,r.g=!0,0));case 109:return!(u<0||(r.j=u,0));case 115:return!(u<0||(r.n=u,0));case 90:if(a=0&&FN(n.substr(t,3),"GMT")||t>=0&&FN(n.substr(t,3),"UTC")?(e[0]=t+3,upn(n,e,i)):upn(n,e,i)}(n,a,t,r);default:return!1}}function xkn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=QQ(XKn,rEn,1,0,5,1),n.i.c=QQ(XKn,rEn,1,0,5,1),n.g.a.$b(),t)for(a=new pb(t.a);a.a=1&&(j-h>0&&d>=0?(N1(l,l.i+k),x1(l,l.j+s*h)):j-h<0&&w>=0&&(N1(l,l.i+k*j),x1(l,l.j+s)));return $en(n,(Ojn(),Znt),($nn(),new ax(a=Jx($k(brt),9),Jx(iN(a,a.length),9),0))),new YS(E,f)}function Rkn(n){var t,i,r,c,a,u,o,s,h,f,l;if(f=CG(run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)))==CG(run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))),u=new Ik,(t=Jx(Eln(n,(N6(),Set)),74))&&t.b>=2){if(0==(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i)Dk(),i=new co,lY((!n.a&&(n.a=new y_(ect,n,6,6)),n.a),i);else if((!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i>1)for(l=new u$((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));l.e!=l.i.gc();)ean(l);dvn(t,Jx(a1((!n.a&&(n.a=new y_(ect,n,6,6)),n.a),0),202))}if(f)for(r=new XO((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new XO((!(i=Jx(fen(r),202)).a&&(i.a=new WO(Yrt,i,5)),i.a));s.e!=s.i.gc();)o=Jx(fen(s),469),u.a=e.Math.max(u.a,o.a),u.b=e.Math.max(u.b,o.b);for(a=new XO((!n.n&&(n.n=new y_(uct,n,1,7)),n.n));a.e!=a.i.gc();)c=Jx(fen(a),137),(h=Jx(Eln(c,$et),8))&&EC(c,h.a,h.b),f&&(u.a=e.Math.max(u.a,c.i+c.g),u.b=e.Math.max(u.b,c.j+c.f));return u}function Kkn(n,t,e){var i,r,c,a,u;switch(i=t.i,c=n.i.o,r=n.i.d,u=n.n,a=L5(D4(zy(H7n,1),MEn,8,0,[u,n.a])),n.j.g){case 1:AL(t,(AJ(),vHn)),i.d=-r.d-e-i.a,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(bY(t,(HY(),bHn)),i.c=a.a-ey(lL($un(n,IQn)))-e-i.b):(bY(t,(HY(),lHn)),i.c=a.a+ey(lL($un(n,IQn)))+e);break;case 2:bY(t,(HY(),lHn)),i.c=c.a+r.c+e,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(AL(t,(AJ(),vHn)),i.d=a.b-ey(lL($un(n,IQn)))-e-i.a):(AL(t,(AJ(),yHn)),i.d=a.b+ey(lL($un(n,IQn)))+e);break;case 3:AL(t,(AJ(),yHn)),i.d=c.b+r.a+e,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(bY(t,(HY(),bHn)),i.c=a.a-ey(lL($un(n,IQn)))-e-i.b):(bY(t,(HY(),lHn)),i.c=a.a+ey(lL($un(n,IQn)))+e);break;case 4:bY(t,(HY(),bHn)),i.c=-r.b-e-i.b,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(AL(t,(AJ(),vHn)),i.d=a.b-ey(lL($un(n,IQn)))-e-i.a):(AL(t,(AJ(),yHn)),i.d=a.b+ey(lL($un(n,IQn)))+e)}}function _kn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(w=0,S=0,s=new pb(n);s.aw&&(a&&(TI(j,b),TI(T,g9(h.b-1))),C=i.b,O+=b+t,b=0,f=e.Math.max(f,i.b+i.c+I)),N1(o,C),x1(o,O),f=e.Math.max(f,C+I+i.c),b=e.Math.max(b,l),C+=I+t;if(f=e.Math.max(f,r),(P=O+b+i.a)o&&(y=0,k+=u+v,u=0),Ugn(g,i,y,k),t=e.Math.max(t,y+p.a),u=e.Math.max(u,p.b),y+=p.a+v;return g}function Bkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;switch(h=new xv,n.a.g){case 3:l=Jx($un(t.e,(Ajn(),VQn)),15),b=Jx($un(t.j,VQn),15),w=Jx($un(t.f,VQn),15),e=Jx($un(t.e,XQn),15),i=Jx($un(t.j,XQn),15),r=Jx($un(t.f,XQn),15),P4(a=new rp,l),b.Jc(new yc),P4(a,OO(b,152)?KV(Jx(b,152)):OO(b,131)?Jx(b,131).a:OO(b,54)?new Mm(b):new cE(b)),P4(a,w),P4(c=new rp,e),P4(c,OO(i,152)?KV(Jx(i,152)):OO(i,131)?Jx(i,131).a:OO(i,54)?new Mm(i):new cE(i)),P4(c,r),w5(t.f,VQn,a),w5(t.f,XQn,c),w5(t.f,QQn,t.f),w5(t.e,VQn,null),w5(t.e,XQn,null),w5(t.j,VQn,null),w5(t.j,XQn,null);break;case 1:O2(h,t.e.a),_D(h,t.i.n),O2(h,C3(t.j.a)),_D(h,t.a.n),O2(h,t.f.a);break;default:O2(h,t.e.a),O2(h,C3(t.j.a)),O2(h,t.f.a)}HH(t.f.a),O2(t.f.a,h),JG(t.f,t.e.c),u=Jx($un(t.e,(pjn(),L1n)),74),s=Jx($un(t.j,L1n),74),o=Jx($un(t.f,L1n),74),(u||s||o)&&(q_(f=new xv,o),q_(f,s),q_(f,u),w5(t.f,L1n,f)),JG(t.j,null),YG(t.j,null),JG(t.e,null),YG(t.e,null),ZG(t.a,null),ZG(t.i,null),t.g&&Bkn(n,t.g)}function Hkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;return y=n.c[(Lz(0,t.c.length),Jx(t.c[0],17)).p],T=n.c[(Lz(1,t.c.length),Jx(t.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)==0||!OO(v=y.b.e.f,10)||(p=Jx(v,10),j=n.i[p.p],E=p.c?fJ(p.c.a,p,0):-1,a=ZTn,E>0&&(c=Jx(MR(p.c.a,E-1),10),u=n.i[c.p],M=e.Math.ceil(bO(n.n,c,p)),a=j.a.e-p.d.d-(u.a.e+c.o.b+c.d.a)-M),h=ZTn,E0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)<0,d=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)>0,w=y.a.e.e+y.b.aT.b.e.e+T.a.a,k=0,!g&&!d&&(b?a+l>0?k=l:h-r>0&&(k=r):w&&(a+o>0?k=o:h-m>0&&(k=m))),j.a.e+=k,j.b&&(j.d.e+=k),1)))}function qkn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(r=new yH(t.qf().a,t.qf().b,t.rf().a,t.rf().b),c=new fC,n.c)for(u=new pb(t.wf());u.a=2&&(i=Jx(r.Kc().Pb(),111),e=n.u.Hc((Ohn(),pit)),c=n.u.Hc(kit),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((Ohn(),git)),o=s.Kc();o.Ob();)if((u=Jx(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,bY(h,(HY(),fHn))):a||e?(f.c=-f.b-n.s,bY(h,(HY(),bHn))):(f.c=l.a+n.s,bY(h,(HY(),lHn))),f.d=-f.a-n.t,AL(h,(AJ(),vHn));break;case 3:u.a?(f.c=(l.a-f.b)/2,bY(h,(HY(),fHn))):a||e?(f.c=-f.b-n.s,bY(h,(HY(),bHn))):(f.c=l.a+n.s,bY(h,(HY(),lHn))),f.d=l.b+n.t,AL(h,(AJ(),yHn));break;case 2:u.a?(i=n.v?f.a:Jx(MR(h.d,0),181).rf().b,f.d=(l.b-i)/2,AL(h,(AJ(),mHn))):a||e?(f.d=-f.a-n.t,AL(h,(AJ(),vHn))):(f.d=l.b+n.t,AL(h,(AJ(),yHn))),f.c=l.a+n.s,bY(h,(HY(),lHn));break;case 4:u.a?(i=n.v?f.a:Jx(MR(h.d,0),181).rf().b,f.d=(l.b-i)/2,AL(h,(AJ(),mHn))):a||e?(f.d=-f.a-n.t,AL(h,(AJ(),vHn))):(f.d=l.b+n.t,AL(h,(AJ(),yHn))),f.c=-f.b-n.s,bY(h,(HY(),bHn))}a=!1}}function zkn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(Njn(),0==fE(mot)){for(f=QQ(zot,MEn,117,kot.length,0,1),a=0;as&&(i.a+=CO(QQ(Wot,hTn,25,-s,15,1))),i.a+="Is",QI(o,pun(32))>=0)for(r=0;r=i.o.b/2}p?(g=Jx($un(i,(Ajn(),ZQn)),15))?l?c=g:(r=Jx($un(i,YVn),15))?c=g.gc()<=r.gc()?g:r:(c=new rp,w5(i,YVn,c)):(c=new rp,w5(i,ZQn,c)):(r=Jx($un(i,(Ajn(),YVn)),15))?f?c=r:(g=Jx($un(i,ZQn),15))?c=r.gc()<=g.gc()?r:g:(c=new rp,w5(i,ZQn,c)):(c=new rp,w5(i,YVn,c)),c.Fc(n),w5(n,(Ajn(),ZVn),e),t.d==e?(YG(t,null),e.e.c.length+e.g.c.length==0&&nz(e,null),function(n){var t,e;(t=Jx($un(n,(Ajn(),KQn)),10))&&(oJ((e=t.c).a,t),0==e.a.c.length&&oJ(gB(t).b,e))}(e)):(JG(t,null),e.e.c.length+e.g.c.length==0&&nz(e,null)),HH(t.a)}function Xkn(n,t,i){var r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(cun(i,"MinWidth layering",1),d=t.b,M=t.a,$=Jx($un(t,(pjn(),K1n)),19).a,o=Jx($un(t,_1n),19).a,n.b=ey(lL($un(t,x0n))),n.d=ZTn,j=new pb(M);j.a0){for(l=h<100?null:new Tk(h),w=new e3(t).g,g=QQ(Vot,STn,25,h,15,1),i=0,m=new BZ(h),r=0;r=0;)if(null!=b?Y8(b,w[o]):rI(b)===rI(w[o])){g.length<=i&&hmn(g,0,g=QQ(Vot,STn,25,2*g.length,15,1),0,i),g[i++]=r,lY(m,w[o]);break n}if(rI(b)===rI(u))break}}if(s=m,w=m.g,h=i,i>g.length&&hmn(g,0,g=QQ(Vot,STn,25,i,15,1),0,i),i>0){for(v=!0,c=0;c=0;)Arn(n,g[a]);if(i!=h){for(r=h;--r>=i;)Arn(s,r);hmn(g,0,g=QQ(Vot,STn,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return rL(),rL(),Lct;for(e=new qL(n,t.gc()),r=new XO(n);r.e!=r.i.gc();)i=fen(r),t.Hc(i)&&lY(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(Arn(n,r),v=!0);if(v){if(null!=g){for(f=1==(e=t.gc())?UG(n,4,t.Kc().Pb(),null,g[0],d):UG(n,6,t,g,g[0],d),l=e<100?null:new Tk(e),r=t.Kc();r.Ob();)l=ZN(n,Jx(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):_3(n.e,f)}else{for(l=function(n){return n<100?null:new Tk(n)}(t.gc()),r=t.Kc();r.Ob();)l=ZN(n,Jx(b=r.Pb(),72),l);l&&l.Fi()}return!0}return!1}function Vkn(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y;for((i=new Ben(t)).a||function(n){var t,i,r,c,a;switch(c=Jx(MR(n.a,0),10),t=new cin(n),iD(n.a,t),t.o.a=e.Math.max(1,c.o.a),t.o.b=e.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,Jx($un(c,(Ajn(),fQn)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}nz(r=new Con,t),JG(i=new Eq,a=Jx(MR(c.j,0),11)),YG(i,r),yN(AI(r.n),a.n),yN(AI(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,u;for(u=new cV,a=new pb(n.a);a.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new wen((F4(),wzn)),LU(n,Ezn,new uy(D4(zy(bzn,1),rEn,369,0,[i]))),a=new wen(pzn),LU(n,jzn,new uy(D4(zy(bzn,1),rEn,369,0,[a]))),r=new wen(dzn),LU(n,kzn,new uy(D4(zy(bzn,1),rEn,369,0,[r]))),c=new wen(gzn),LU(n,yzn,new uy(D4(zy(bzn,1),rEn,369,0,[c]))),jbn(i.c,wzn),jbn(r.c,dzn),jbn(c.c,gzn),jbn(a.c,pzn),u.a.c=QQ(XKn,rEn,1,0,5,1),P4(u.a,i.c),P4(u.a,C3(r.c)),P4(u.a,c.c),P4(u.a,C3(a.c)),u}(f)),i}function Qkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(null==i.p[t.p]){o=!0,i.p[t.p]=0,u=t,d=i.o==(KG(),m4n)?nMn:ZTn;do{c=n.b.e[u.p],a=u.c.a.c.length,i.o==m4n&&c>0||i.o==y4n&&c(a=oan(n,e))?ygn(n,t,e):ygn(n,e,t),ra?1:0}return(i=Jx($un(t,(Ajn(),CQn)),19).a)>(c=Jx($un(e,CQn),19).a)?ygn(n,t,e):ygn(n,e,t),ic?1:0}function Jkn(n,t,e,i){var r,c,a,u,o,s,f,l,b,w,d,g;if(ty(fL(Eln(t,(Ojn(),att)))))return WH(),WH(),MFn;if(o=0!=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,s=!(f=function(n){var t,e,i;if(ty(fL(Eln(n,(Ojn(),Bnt))))){for(i=new rp,e=new LK(wA(bbn(n).a.Kc(),new h));Qfn(e);)Vhn(t=Jx(jV(e),79))&&ty(fL(Eln(t,Hnt)))&&(i.c[i.c.length]=t);return i}return WH(),WH(),MFn}(t)).dc(),o||s){if(!(r=Jx(Eln(t,Ntt),149)))throw fp(new by("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(g=US(r,(Ufn(),gct)),Atn(t),!o&&s&&!g)return WH(),WH(),MFn;if(u=new rp,rI(Eln(t,Knt))===rI((A8(),Let))&&(US(r,bct)||US(r,lct)))for(b=Xdn(n,t),O2(w=new SE,(!t.a&&(t.a=new y_(oct,t,10,11)),t.a));0!=w.b;)Atn(l=Jx(0==w.b?null:(P$(0!=w.b),QZ(w,w.a.a)),33)),rI(Eln(l,Knt))===rI(xet)||UQ(l,pnt)&&!sV(r,Eln(l,Ntt))?(P4(u,Jkn(n,l,e,i)),$en(l,Knt,xet),Bgn(l)):O2(w,(!l.a&&(l.a=new y_(oct,l,10,11)),l.a));else for(b=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,a=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));a.e!=a.i.gc();)P4(u,Jkn(n,c=Jx(fen(a),33),e,i)),Bgn(c);for(d=new pb(u);d.a=0?z7(u):A9(z7(u)),n.Ye(j0n,b)),s=new Ik,l=!1,n.Xe(d0n)?(D$(s,Jx(n.We(d0n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:w5(h,D1n,(g7(),tYn)),w5(h,cQn,(r5(),XWn)),h.o.b=a.b,d<0&&(h.o.a=-d),dhn(f,(Ckn(),Tit)),l||(s.a=a.a),s.a-=a.a;break;case 2:w5(h,D1n,(g7(),iYn)),w5(h,cQn,(r5(),zWn)),h.o.b=a.b,d<0&&(h.o.a=-d),dhn(f,(Ckn(),Git)),l||(s.a=0);break;case 1:w5(h,vQn,($J(),qVn)),h.o.a=a.a,d<0&&(h.o.b=-d),dhn(f,(Ckn(),Hit)),l||(s.b=a.b),s.b-=a.b;break;case 3:w5(h,vQn,($J(),BVn)),h.o.a=a.a,d<0&&(h.o.b=-d),dhn(f,(Ckn(),Mit)),l||(s.b=0)}if(D$(f.n,s),w5(h,d0n,s),t==oit||t==hit||t==sit){if(w=0,t==oit&&n.Xe(v0n))switch(b.g){case 1:case 2:w=Jx(n.We(v0n),19).a;break;case 3:case 4:w=-Jx(n.We(v0n),19).a}else switch(b.g){case 4:case 2:w=c.b,t==hit&&(w/=r.b);break;case 1:case 3:w=c.a,t==hit&&(w/=r.a)}w5(h,_Qn,w)}return w5(h,fQn,b),h}function njn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(f=!1,s=n+1,Lz(n,t.c.length),a=(h=Jx(t.c[n],200)).a,u=null,c=0;cs&&0==(Lz(s,t.c.length),Jx(t.c[s],200)).a.c.length;)oJ(t,(Lz(s,t.c.length),t.c[s]));if(!o){--c;continue}if(wpn(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(rmn(t,h,r,o,e,s,i)){f=!0;continue}if(o8(h,r)){r.c=!0,f=!0;continue}}else if(o8(h,r)){r.c=!0,f=!0;continue}if(f)continue}o8(h,r)?(r.c=!0,f=!0,o&&(o.k=!1)):irn(r.q)}else sE(),ucn(h,r),--c,f=!0;return f}function tjn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A;for(g=0,P=0,h=new pb(n.b);h.ag&&(a&&(TI(E,w),TI(M,g9(f.b-1)),iD(n.d,d),o.c=QQ(XKn,rEn,1,0,5,1)),O=i.b,A+=w+t,w=0,l=e.Math.max(l,i.b+i.c+C)),o.c[o.c.length]=s,den(s,O,A),l=e.Math.max(l,O+C+i.c),w=e.Math.max(w,b),O+=C+t,d=s;if(P4(n.a,o),iD(n.d,Jx(MR(o,o.c.length-1),157)),l=e.Math.max(l,r),(I=A+w+i.a)1&&(u=e.Math.min(u,e.Math.abs(Jx(jen(o.a,1),8).b-f.b)))));else for(d=new pb(t.j);d.ac&&(a=b.a-c,u=Jjn,r.c=QQ(XKn,rEn,1,0,5,1),c=b.a),b.a>=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=e.Math.min(u,e.Math.abs(Jx(jen(o.a,o.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&u>t.o.b/2){for(nz(w=new Con,t),dhn(w,(Ckn(),Mit)),w.n.a=t.o.a/2,nz(g=new Con,t),dhn(g,Hit),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new pb(r);s.a=h.b?JG(o,g):JG(o,w)):(h=Jx(kD(o.a),8),(0==o.a.b?Rz(o.c):Jx(v$(o.a),8)).b>=h.b?YG(o,g):YG(o,w)),(l=Jx($un(o,(pjn(),L1n)),74))&&Q7(l,h,!0);t.n.a=c-t.o.a/2}}function ijn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(s=t,L0(o=XX(n,KX(e),s),sX(s,cxn)),h=Jx(p1(n.g,xhn(EG(s,FNn))),33),i=null,(a=EG(s,"sourcePort"))&&(i=xhn(a)),f=Jx(p1(n.j,i),118),!h)throw fp(new fy("An edge must have a source node (edge id: '"+rtn(s)+hxn));if(f&&!wB(MG(f),h))throw fp(new fy("The source port of an edge must be a port of the edge's source node (edge id: '"+sX(s,cxn)+hxn));if(!o.b&&(o.b=new $N(nct,o,4,7)),lY(o.b,f||h),l=Jx(p1(n.g,xhn(EG(s,bxn))),33),r=null,(u=EG(s,"targetPort"))&&(r=xhn(u)),b=Jx(p1(n.j,r),118),!l)throw fp(new fy("An edge must have a target node (edge id: '"+rtn(s)+hxn));if(b&&!wB(MG(b),l))throw fp(new fy("The target port of an edge must be a port of the edge's target node (edge id: '"+sX(s,cxn)+hxn));if(!o.c&&(o.c=new $N(nct,o,5,8)),lY(o.c,b||l),0==(!o.b&&(o.b=new $N(nct,o,4,7)),o.b).i||0==(!o.c&&(o.c=new $N(nct,o,5,8)),o.c).i)throw c=sX(s,cxn),fp(new fy(sxn+c+hxn));return iun(s,o),Cln(s,o),R5(n,s,o)}function rjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;return l=function(n,t){var i,r,c,a,u,o,s,h,f,l,b;if(n.dc())return new Ik;for(s=0,f=0,r=n.Kc();r.Ob();)c=Jx(r.Pb(),37).f,s=e.Math.max(s,c.a),f+=c.a*c.b;for(s=e.Math.max(s,e.Math.sqrt(f)*ey(lL($un(Jx(n.Kc().Pb(),37),(pjn(),KZn))))),l=0,b=0,o=0,i=t,u=n.Kc();u.Ob();)l+(h=(a=Jx(u.Pb(),37)).f).a>s&&(l=0,b+=o+t,o=0),wgn(a,l,b),i=e.Math.max(i,l+h.a),o=e.Math.max(o,h.b),l+=h.a+t;return new YS(i+t,b+o+t)}(YA(n,(Ckn(),Oit)),t),d=brn(YA(n,Ait),t),k=brn(YA(n,_it),t),M=wrn(YA(n,Bit),t),b=wrn(YA(n,Sit),t),m=brn(YA(n,Kit),t),g=brn(YA(n,$it),t),E=brn(YA(n,Fit),t),j=brn(YA(n,Pit),t),S=wrn(YA(n,Cit),t),v=brn(YA(n,Dit),t),y=brn(YA(n,xit),t),T=brn(YA(n,Iit),t),P=wrn(YA(n,Rit),t),w=wrn(YA(n,Lit),t),p=brn(YA(n,Nit),t),i=x5(D4(zy(Zot,1),cMn,25,15,[m.a,M.a,E.a,P.a])),r=x5(D4(zy(Zot,1),cMn,25,15,[d.a,l.a,k.a,p.a])),c=v.a,a=x5(D4(zy(Zot,1),cMn,25,15,[g.a,b.a,j.a,w.a])),h=x5(D4(zy(Zot,1),cMn,25,15,[m.b,d.b,g.b,y.b])),s=x5(D4(zy(Zot,1),cMn,25,15,[M.b,l.b,b.b,p.b])),f=S.b,o=x5(D4(zy(Zot,1),cMn,25,15,[E.b,k.b,j.b,T.b])),dY(YA(n,Oit),i+c,h+f),dY(YA(n,Nit),i+c,h+f),dY(YA(n,Ait),i+c,0),dY(YA(n,_it),i+c,h+f+s),dY(YA(n,Bit),0,h+f),dY(YA(n,Sit),i+c+r,h+f),dY(YA(n,$it),i+c+r,0),dY(YA(n,Fit),0,h+f+s),dY(YA(n,Pit),i+c+r,h+f+s),dY(YA(n,Cit),0,h),dY(YA(n,Dit),i,0),dY(YA(n,Iit),0,h+f+s),dY(YA(n,Lit),i+c+r,0),(u=new Ik).a=x5(D4(zy(Zot,1),cMn,25,15,[i+r+c+a,S.a,y.a,T.a])),u.b=x5(D4(zy(Zot,1),cMn,25,15,[h+s+f+o,v.b,P.b,w.b])),u}function cjn(n,t,i){var r,c,a,u,o,s,f;if(cun(i,"Network simplex node placement",1),n.e=t,n.n=Jx($un(t,(Ajn(),UQn)),304),function(n){var t,i,r,c,a,u,o,s,f,l,b,w;for(n.f=new nv,o=0,r=0,c=new pb(n.e.b);c.a=s.c.c.length?zX((won(),qzn),Hzn):zX((won(),Hzn),Hzn),h*=2,c=i.a.g,i.a.g=e.Math.max(c,c+(h-c)),a=i.b.g,i.b.g=e.Math.max(a,a+(h-a)),r=t}else yln(u),Smn((Lz(0,u.c.length),Jx(u.c[0],17)).d.i)||iD(n.o,u)}(n),Kon(a)),Jen(n.f),c=Jx($un(t,Q0n),19).a*n.f.a.c.length,zgn(Wy(Vy(Ox(n.f),c),!1),Z2(i,1)),0!=n.d.a.gc()){for(cun(a=Z2(i,1),"Flexible Where Space Processing",1),u=Jx(GA(JK(lH(new PR(null,new xz(n.f.a,16)),new qc),new Dc)),19).a,o=Jx(GA(YK(lH(new PR(null,new xz(n.f.a,16)),new Gc),new Rc)),19).a-u,s=qA(new iv,n.f),f=qA(new iv,n.f),own(xE(NE(LE(DE(new ev,2e4),o),s),f)),PE(fH(fH(W_(n.i),new zc),new Uc),new mH(u,s,o,f)),r=n.d.a.ec().Kc();r.Ob();)Jx(r.Pb(),213).g=1;zgn(Wy(Vy(Ox(n.f),c),!1),Z2(a,1)),Kon(a)}ty(fL($un(t,Q1n)))&&(cun(a=Z2(i,1),"Straight Edges Post-Processing",1),function(n){var t,e,i;for(O2(e=new SE,n.o),i=new jv;0!=e.b;)Hkn(n,t=Jx(0==e.b?null:(P$(0!=e.b),QZ(e,e.a.a)),508),!0)&&iD(i.a,t);for(;0!=i.a.c.length;)Hkn(n,t=Jx(_6(i),508),!1)}(n),Kon(a)),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(e=new pb(n.e.b);e.a0)if(r=f.gc(),s=sG(e.Math.floor((r+1)/2))-1,c=sG(e.Math.ceil((r+1)/2))-1,t.o==y4n)for(h=c;h>=s;h--)t.a[y.p]==y&&(d=Jx(f.Xb(h),46),w=Jx(d.a,10),!pE(i,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(MA(),!!(ty(t.f[t.g[y.p].p])&y.k==(won(),Hzn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[y.p]==y&&(p=Jx(f.Xb(h),46),g=Jx(p.a,10),!pE(i,p.b)&&b=48&&t<=57))throw fp(new dy(_jn((zC(),sDn))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw fp(new dy(_jn((zC(),bDn))));if(e=i,44==t){if(r>=n.j)throw fp(new dy(_jn((zC(),fDn))));if((t=WB(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw fp(new dy(_jn((zC(),bDn))));if(i>e)throw fp(new dy(_jn((zC(),lDn))))}else e=-1}if(125!=t)throw fp(new dy(_jn((zC(),hDn))));n.sl(r)?(Njn(),Njn(),c=new aW(9,c),n.d=r+1):(Njn(),Njn(),c=new aW(3,c),n.d=r),c.dm(i),c.cm(e),jjn(n)}}return c}function sjn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(w=new vQ(t.b),v=new vQ(t.b),l=new vQ(t.b),j=new vQ(t.b),d=new vQ(t.b),k=nen(t,0);k.b!=k.d.c;)for(u=new pb((m=Jx(CX(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new pb(w);b.a1)for(b=new u$((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));b.e!=b.i.gc();)ean(b);for(d=I,I>y+m?d=y+m:Ik+w?g=k+w:Cy-m&&dk-w&&gI+P?E=I+P:yC+j?T=C+j:kI-P&&EC-j&&Ti&&(f=i-1),(l=L+Wln(t,24)*EMn*h-h/2)<0?l=1:l>r&&(l=r-1),Dk(),C1(c=new ro,f),O1(c,l),lY((!u.a&&(u.a=new WO(Yrt,u,5)),u.a),c)}function pjn(){pjn=O,Ojn(),$0n=Rtt,L0n=Ktt,N0n=_tt,x0n=Ftt,R0n=Btt,K0n=Htt,B0n=Gtt,q0n=Utt,G0n=Xtt,H0n=ztt,z0n=Wtt,X0n=Vtt,V0n=Jtt,F0n=qtt,$jn(),A0n=nZn,D0n=tZn,_0n=eZn,U0n=iZn,M0n=new RC($tt,g9(0)),S0n=YJn,P0n=JJn,I0n=ZJn,a2n=PZn,J0n=aZn,Z0n=sZn,e2n=pZn,n2n=lZn,t2n=wZn,o2n=$Zn,u2n=CZn,r2n=EZn,i2n=kZn,c2n=MZn,J1n=HJn,Z1n=qJn,m1n=ZYn,y1n=eJn,u0n=new KC(12),a0n=new RC(ott,u0n),p7(),w1n=new RC(Lnt,d1n=fet),g0n=new RC(ktt,0),C0n=new RC(Ltt,g9(1)),KZn=new RC(ynt,APn),c0n=att,p0n=jtt,j0n=Ctt,a1n=Pnt,DZn=vnt,T1n=Knt,O0n=new RC(Dtt,(MA(),!0)),C1n=Bnt,O1n=Hnt,t0n=Znt,r0n=rtt,e0n=ttt,e9(),u1n=new RC(Int,s1n=eet),X1n=Ynt,U1n=Vnt,y0n=Stt,m0n=Mtt,k0n=Itt,Jtn(),new RC(wtt,h0n=cit),l0n=ptt,b0n=vtt,w0n=mtt,f0n=gtt,Y0n=cZn,H1n=PJn,B1n=MJn,Q0n=rZn,D1n=pJn,c1n=_Yn,r1n=RYn,QZn=jYn,YZn=EYn,ZZn=IYn,JZn=TYn,i1n=xYn,G1n=CJn,z1n=OJn,$1n=hJn,n0n=XJn,V1n=NJn,j1n=cJn,Y1n=FJn,p1n=VYn,v1n=YYn,VZn=Mnt,W1n=AJn,HZn=fYn,BZn=sYn,FZn=oYn,S1n=oJn,M1n=uJn,P1n=sJn,i0n=ett,L1n=znt,k1n=xnt,l1n=Ant,f1n=Ont,n1n=AYn,v0n=Ttt,_Zn=Tnt,I1n=Fnt,d0n=ytt,o0n=htt,s0n=ltt,K1n=yJn,_1n=jJn,T0n=Att,RZn=uYn,F1n=TJn,b1n=zYn,h1n=qYn,q1n=Xnt,N1n=wJn,Q1n=RJn,W0n=Qtt,o1n=BYn,E0n=VJn,g1n=XYn,x1n=gJn,t1n=LYn,A1n=Gnt,R1n=mJn,e1n=NYn,WZn=yYn,UZn=pYn,GZn=dYn,zZn=gYn,XZn=mYn,qZn=bYn,E1n=aJn}function vjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(fmn(),T=n.e,w=n.d,r=n.a,0==T)switch(t){case 0:return"0";case 1:return hMn;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(j=new $y).a+=t<0?"0E+":"0E",j.a+=-t,j.a}if(y=QQ(Wot,hTn,25,1+(m=10*w+1+7),15,1),e=m,1==w)if((u=r[0])<0){I=zz(u,oMn);do{d=I,I=Hcn(I,10),y[--e]=48+VR(t7(d,i7(I,10)))&lTn}while(0!=j8(I,0))}else{I=u;do{d=I,I=I/10|0,y[--e]=d-10*I+48&lTn}while(0!=I)}else{hmn(r,0,S=QQ(Vot,STn,25,w,15,1),0,P=w);n:for(;;){for(E=0,s=P-1;s>=0;s--)p=Xan(e7(zK(E,32),zz(S[s],oMn))),S[s]=VR(p),E=VR(UK(p,32));v=VR(E),g=e;do{y[--e]=48+v%10&lTn}while(0!=(v=v/10|0)&&0!=e);for(i=9-g+e,o=0;o0;o++)y[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==y[e];)++e}if(b=T<0,a=m-e-t-1,0==t)return b&&(y[--e]=45),Qnn(y,e,m-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=m-1;l>=h;l--)y[l+1]=y[l];return y[++h]=46,b&&(y[--e]=45),Qnn(y,e,m-e+1)}for(f=2;f<1-a;f++)y[--e]=48;return y[--e]=46,y[--e]=48,b&&(y[--e]=45),Qnn(y,e,m-e)}return M=e+1,c=m,k=new Ly,b&&(k.a+="-"),c-M>=1?(FF(k,y[e]),k.a+=".",k.a+=Qnn(y,e+1,m-e-1)):k.a+=Qnn(y,e,m-e),k.a+="E",a>0&&(k.a+="+"),k.a+=""+a,k.a}function mjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(n.c=t,n.g=new cp,gT(),K7(new Qb(new Wm(n.c))),v=bL(Eln(n.c,(Run(),O9n))),u=Jx(Eln(n.c,$9n),316),y=Jx(Eln(n.c,L9n),429),c=Jx(Eln(n.c,M9n),482),m=Jx(Eln(n.c,A9n),430),n.j=ey(lL(Eln(n.c,N9n))),a=n.a,u.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw fp(new Ym(Q$n+(null!=u.f?u.f:""+u.g)))}if(n.d=new gG(a,y,c),w5(n.d,(k3(),fqn),fL(Eln(n.c,P9n))),n.d.c=ty(fL(Eln(n.c,S9n))),0==oq(n.c).i)return n.d;for(h=new XO(oq(n.c));h.e!=h.i.gc();){for(l=(s=Jx(fen(h),33)).g/2,f=s.f/2,k=new YS(s.i+l,s.j+f);I_(n.g,k);)L$(k,(e.Math.random()-.5)*IPn,(e.Math.random()-.5)*IPn);w=Jx(Eln(s,(Ojn(),Xnt)),142),d=new iz(k,new yH(k.a-l-n.j/2-w.b,k.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),iD(n.d.i,d),DB(n.g,k,new yP(d,s))}switch(m.g){case 0:if(null==v)n.d.d=Jx(MR(n.d.i,0),65);else for(p=new pb(n.d.i);p.a1&&QW(f,v,f.c.b,f.c),HZ(c)));v=m}return f}function kjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new rp,u=new rp,g=t/2,b=n.gc(),r=Jx(n.Xb(0),8),p=Jx(n.Xb(1),8),iD(i,(Lz(0,(w=jln(r.a,r.b,p.a,p.b,g)).c.length),Jx(w.c[0],8))),iD(u,(Lz(1,w.c.length),Jx(w.c[1],8))),s=2;s=0;o--)_D(e,(Lz(o,a.c.length),Jx(a.c[o],8)));return e}function jjn(n){var t,e,i;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(t=WB(n.i,n.d++),n.a=t,1!=n.b){switch(t){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,n.d>=n.j)break;if(63!=WB(n.i,n.d))break;if(++n.d>=n.j)throw fp(new dy(_jn((zC(),Lxn))));switch(t=WB(n.i,n.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(n.d>=n.j)throw fp(new dy(_jn((zC(),Lxn))));if(61==(t=WB(n.i,n.d++)))i=16;else{if(33!=t)throw fp(new dy(_jn((zC(),Nxn))));i=17}break;case 35:for(;n.d=n.j)throw fp(new dy(_jn((zC(),$xn))));n.a=WB(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw fp(new dy(_jn((zC(),$xn))));n.a=WB(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=j||!Gnn(v,i))&&(i=Sz(t,f)),ZG(v,i),c=new LK(wA(o7(v).a.Kc(),new h));Qfn(c);)r=Jx(jV(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&ZQ(yun(w,g)));for(s=f.c.length-1;s>=0;--s)iD(t.b,(Lz(s,f.c.length),Jx(f.c[s],29)));t.a.c=QQ(XKn,rEn,1,0,5,1),Kon(e)}else Kon(e)}function Tjn(n){var t,e,i,r,c,a,u,o;for(n.b=1,jjn(n),t=null,0==n.c&&94==n.a?(jjn(n),Njn(),Njn(),Uwn(t=new aU(4),0,EKn),a=new aU(4)):(Njn(),Njn(),a=new aU(4)),r=!0;1!=(o=n.c);){if(0==o&&93==n.a&&!r){t&&(Fyn(t,a),a=t);break}if(e=n.a,i=!1,10==o)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:lmn(a,cpn(e)),i=!0;break;case 105:case 73:case 99:case 67:lmn(a,cpn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(u=qhn(n,e)))throw fp(new dy(_jn((zC(),Uxn))));lmn(a,u),i=!0;break;default:e=Mdn(n)}else if(24==o&&!r){if(t&&(Fyn(t,a),a=t),Fyn(a,Tjn(n)),0!=n.c||93!=n.a)throw fp(new dy(_jn((zC(),Qxn))));break}if(jjn(n),!i){if(0==o){if(91==e)throw fp(new dy(_jn((zC(),Yxn))));if(93==e)throw fp(new dy(_jn((zC(),Jxn))));if(45==e&&!r&&93!=n.a)throw fp(new dy(_jn((zC(),Zxn))))}if(0!=n.c||45!=n.a||45==e&&r)Uwn(a,e,e);else{if(jjn(n),1==(o=n.c))throw fp(new dy(_jn((zC(),Wxn))));if(0==o&&93==n.a)Uwn(a,e,e),Uwn(a,45,45);else{if(0==o&&93==n.a||24==o)throw fp(new dy(_jn((zC(),Zxn))));if(c=n.a,0==o){if(91==c)throw fp(new dy(_jn((zC(),Yxn))));if(93==c)throw fp(new dy(_jn((zC(),Jxn))));if(45==c)throw fp(new dy(_jn((zC(),Zxn))))}else 10==o&&(c=Mdn(n));if(jjn(n),e>c)throw fp(new dy(_jn((zC(),eDn))));Uwn(a,e,c)}}}r=!1}if(1==n.c)throw fp(new dy(_jn((zC(),Wxn))));return Dln(a),Nmn(a),n.b=0,jjn(n),a}function Mjn(){Mjn=O,bjn(),Yhn($zn=new nG,(Ckn(),Ait),Oit),Yhn($zn,Bit,Oit),Yhn($zn,$it,Oit),Yhn($zn,Kit,Oit),Yhn($zn,Rit,Oit),Yhn($zn,xit,Oit),Yhn($zn,Kit,Ait),Yhn($zn,Oit,Sit),Yhn($zn,Ait,Sit),Yhn($zn,Bit,Sit),Yhn($zn,$it,Sit),Yhn($zn,Dit,Sit),Yhn($zn,Kit,Sit),Yhn($zn,Rit,Sit),Yhn($zn,xit,Sit),Yhn($zn,Cit,Sit),Yhn($zn,Oit,_it),Yhn($zn,Ait,_it),Yhn($zn,Sit,_it),Yhn($zn,Bit,_it),Yhn($zn,$it,_it),Yhn($zn,Dit,_it),Yhn($zn,Kit,_it),Yhn($zn,Cit,_it),Yhn($zn,Fit,_it),Yhn($zn,Rit,_it),Yhn($zn,Lit,_it),Yhn($zn,xit,_it),Yhn($zn,Ait,Bit),Yhn($zn,$it,Bit),Yhn($zn,Kit,Bit),Yhn($zn,xit,Bit),Yhn($zn,Ait,$it),Yhn($zn,Bit,$it),Yhn($zn,Kit,$it),Yhn($zn,$it,$it),Yhn($zn,Rit,$it),Yhn($zn,Oit,Pit),Yhn($zn,Ait,Pit),Yhn($zn,Sit,Pit),Yhn($zn,_it,Pit),Yhn($zn,Bit,Pit),Yhn($zn,$it,Pit),Yhn($zn,Dit,Pit),Yhn($zn,Kit,Pit),Yhn($zn,Fit,Pit),Yhn($zn,Cit,Pit),Yhn($zn,xit,Pit),Yhn($zn,Rit,Pit),Yhn($zn,Nit,Pit),Yhn($zn,Oit,Fit),Yhn($zn,Ait,Fit),Yhn($zn,Sit,Fit),Yhn($zn,Bit,Fit),Yhn($zn,$it,Fit),Yhn($zn,Dit,Fit),Yhn($zn,Kit,Fit),Yhn($zn,Cit,Fit),Yhn($zn,xit,Fit),Yhn($zn,Lit,Fit),Yhn($zn,Nit,Fit),Yhn($zn,Ait,Cit),Yhn($zn,Bit,Cit),Yhn($zn,$it,Cit),Yhn($zn,Kit,Cit),Yhn($zn,Fit,Cit),Yhn($zn,xit,Cit),Yhn($zn,Rit,Cit),Yhn($zn,Oit,Iit),Yhn($zn,Ait,Iit),Yhn($zn,Sit,Iit),Yhn($zn,Bit,Iit),Yhn($zn,$it,Iit),Yhn($zn,Dit,Iit),Yhn($zn,Kit,Iit),Yhn($zn,Cit,Iit),Yhn($zn,xit,Iit),Yhn($zn,Ait,Rit),Yhn($zn,Sit,Rit),Yhn($zn,_it,Rit),Yhn($zn,$it,Rit),Yhn($zn,Oit,Lit),Yhn($zn,Ait,Lit),Yhn($zn,_it,Lit),Yhn($zn,Bit,Lit),Yhn($zn,$it,Lit),Yhn($zn,Dit,Lit),Yhn($zn,Kit,Lit),Yhn($zn,Kit,Nit),Yhn($zn,$it,Nit),Yhn($zn,Cit,Oit),Yhn($zn,Cit,Bit),Yhn($zn,Cit,Sit),Yhn($zn,Dit,Oit),Yhn($zn,Dit,Ait),Yhn($zn,Dit,_it)}function Sjn(n,t){switch(n.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 iq(n.b,n.a,t,n.c);case 1:return new VO(n.a,t,enn(t.Tg(),n.c));case 43:return new YO(n.a,t,enn(t.Tg(),n.c));case 3:return new WO(n.a,t,enn(t.Tg(),n.c));case 45:return new QO(n.a,t,enn(t.Tg(),n.c));case 41:return new kY(Jx(lcn(n.c),26),n.a,t,enn(t.Tg(),n.c));case 50:return new E0(Jx(lcn(n.c),26),n.a,t,enn(t.Tg(),n.c));case 5:return new MN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 47:return new SN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 7:return new y_(n.a,t,enn(t.Tg(),n.c),n.d.n);case 49:return new TN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 9:return new eA(n.a,t,enn(t.Tg(),n.c));case 11:return new tA(n.a,t,enn(t.Tg(),n.c));case 13:return new nA(n.a,t,enn(t.Tg(),n.c));case 15:return new OD(n.a,t,enn(t.Tg(),n.c));case 17:return new iA(n.a,t,enn(t.Tg(),n.c));case 19:return new ZO(n.a,t,enn(t.Tg(),n.c));case 21:return new JO(n.a,t,enn(t.Tg(),n.c));case 23:return new MD(n.a,t,enn(t.Tg(),n.c));case 25:return new LN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 27:return new $N(n.a,t,enn(t.Tg(),n.c),n.d.n);case 29:return new ON(n.a,t,enn(t.Tg(),n.c),n.d.n);case 31:return new PN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 33:return new AN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 35:return new CN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 37:return new IN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 39:return new k_(n.a,t,enn(t.Tg(),n.c),n.d.n);case 40:return new i3(t,enn(t.Tg(),n.c));default:throw fp(new Cm("Unknown feature style: "+n.e))}}function Pjn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;switch(cun(i,"Brandes & Koepf node placement",1),n.a=t,n.c=uvn(t),r=Jx($un(t,(pjn(),V1n)),274),w=ty(fL($un(t,Q1n))),n.d=r==(Vcn(),fVn)&&!w||r==oVn,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=QQ(Vot,STn,25,d,15,1),f=0,h=new pb(t.b);h.aa)&&F_(n.b,Jx(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,p0(4,XEn),g=new vQ(4),Jx($un(t,V1n),274).g){case 3:p=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),d4n)),g.c[g.c.length]=p;break;case 1:v=new Hgn(t,n.c.d,(KG(),y4n),(Zq(),d4n)),g.c[g.c.length]=v;break;case 4:k=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),g4n)),g.c[g.c.length]=k;break;case 2:j=new Hgn(t,n.c.d,(KG(),y4n),(Zq(),g4n)),g.c[g.c.length]=j;break;default:p=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),d4n)),v=new Hgn(t,n.c.d,y4n,d4n),k=new Hgn(t,n.c.d,m4n,g4n),j=new Hgn(t,n.c.d,y4n,g4n),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(c=new jS(t,n.c),o=new pb(g);o.aE[s]&&(d=s),f=new pb(n.a.b);f.a$ln(a))&&(l=a);for(!l&&(Lz(0,g.c.length),l=Jx(g.c[0],180)),d=new pb(t.b);d.a=-1900?1:0,kI(n,i>=4?D4(zy(lFn,1),MEn,2,6,[PTn,ITn])[u]:D4(zy(lFn,1),MEn,2,6,["BC","AD"])[u]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-MTn+MTn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:eZ(n,i%100,2);break;default:eZ(n,i,t)}}(n,i,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:kI(n,D4(zy(lFn,1),MEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:kI(n,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn])[i]);break;case 3:kI(n,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:eZ(n,i+1,t)}}(n,i,r);break;case 107:eZ(n,0==(o=c.q.getHours())?24:o,i);break;case 83:!function(n,t,i){var r,c;j8(r=R3(i.q.getTime()),0)<0?(c=fTn-VR(Pnn(hJ(r),fTn)))==fTn&&(c=0):c=VR(Pnn(r,fTn)),1==t?FF(n,48+(c=e.Math.min((c+50)/100|0,9))&lTn):2==t?eZ(n,c=e.Math.min((c+5)/10|0,99),2):(eZ(n,c,3),t>3&&eZ(n,0,t-3))}(n,i,c);break;case 69:s=r.q.getDay(),kI(n,5==i?D4(zy(lFn,1),MEn,2,6,["S","M","T","W","T","F","S"])[s]:4==i?D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn])[s]:D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?kI(n,D4(zy(lFn,1),MEn,2,6,["AM","PM"])[1]):kI(n,D4(zy(lFn,1),MEn,2,6,["AM","PM"])[0]);break;case 104:eZ(n,0==(h=c.q.getHours()%12)?12:h,i);break;case 75:eZ(n,c.q.getHours()%12,i);break;case 72:eZ(n,c.q.getHours(),i);break;case 99:f=r.q.getDay(),5==i?kI(n,D4(zy(lFn,1),MEn,2,6,["S","M","T","W","T","F","S"])[f]):4==i?kI(n,D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn])[f]):3==i?kI(n,D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):eZ(n,f,1);break;case 76:l=r.q.getMonth(),5==i?kI(n,D4(zy(lFn,1),MEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==i?kI(n,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn])[l]):3==i?kI(n,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):eZ(n,l+1,i);break;case 81:b=r.q.getMonth()/3|0,kI(n,i<4?D4(zy(lFn,1),MEn,2,6,["Q1","Q2","Q3","Q4"])[b]:D4(zy(lFn,1),MEn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:eZ(n,r.q.getDate(),i);break;case 109:eZ(n,c.q.getMinutes(),i);break;case 115:eZ(n,c.q.getSeconds(),i);break;case 122:kI(n,i<4?a.c[0]:a.c[1]);break;case 118:kI(n,a.b);break;case 90:kI(n,i<3?function(n){var t,e;return e=-n.a,t=D4(zy(Wot,1),hTn,25,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&lTn,t[2]=t[2]+(e/60|0)%10&lTn,t[3]=t[3]+(e%60/10|0)&lTn,t[4]=t[4]+e%10&lTn,Qnn(t,0,t.length)}(a):3==i?function(n){var t,e;return e=-n.a,t=D4(zy(Wot,1),hTn,25,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&lTn,t[2]=t[2]+(e/60|0)%10&lTn,t[4]=t[4]+(e%60/10|0)&lTn,t[5]=t[5]+e%10&lTn,Qnn(t,0,t.length)}(a):function(n){var t;return t=D4(zy(Wot,1),hTn,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&lTn,t[5]=t[5]+(n/60|0)%10&lTn,t[7]=t[7]+(n%60/10|0)&lTn,t[8]=t[8]+n%10&lTn,Qnn(t,0,t.length)}(a.a));break;default:return!1}return!0}function Cjn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(ggn(t),o=Jx(a1((!t.b&&(t.b=new $N(nct,t,4,7)),t.b),0),82),h=Jx(a1((!t.c&&(t.c=new $N(nct,t,5,8)),t.c),0),82),u=run(o),s=run(h),a=0==(!t.a&&(t.a=new y_(ect,t,6,6)),t.a).i?null:Jx(a1((!t.a&&(t.a=new y_(ect,t,6,6)),t.a),0),202),j=Jx(HF(n.a,u),10),S=Jx(HF(n.a,s),10),E=null,P=null,OO(o,186)&&(OO(k=Jx(HF(n.a,o),299),11)?E=Jx(k,11):OO(k,10)&&(j=Jx(k,10),E=Jx(MR(j.j,0),11))),OO(h,186)&&(OO(M=Jx(HF(n.a,h),299),11)?P=Jx(M,11):OO(M,10)&&(S=Jx(M,10),P=Jx(MR(S.j,0),11))),!j||!S)throw fp(new wy("The source or the target of edge "+t+" 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(s4(d=new Eq,t),w5(d,(Ajn(),OQn),t),w5(d,(pjn(),L1n),null),b=Jx($un(i,wQn),21),j==S&&b.Fc((idn(),LVn)),E||(f0(),y=r3n,T=null,a&&gC(Jx($un(j,p0n),98))&&(WX(T=new YS(a.j,a.k),TG(t)),XW(T,e),WZ(s,u)&&(y=i3n,yN(T,j.n))),E=gmn(j,T,y,i)),P||(f0(),y=i3n,I=null,a&&gC(Jx($un(S,p0n),98))&&(WX(I=new YS(a.b,a.c),TG(t)),XW(I,e)),P=gmn(S,I,y,gB(S))),JG(d,E),YG(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((idn(),IVn)),l=new XO((!t.n&&(t.n=new y_(uct,t,1,7)),t.n));l.e!=l.i.gc();)if(!ty(fL(Eln(f=Jx(fen(l),137),c0n)))&&f.a)switch(g=g8(f),iD(d.b,g),Jx($un(g,l1n),272).g){case 1:case 2:b.Fc((idn(),SVn));break;case 0:b.Fc((idn(),TVn)),w5(g,l1n,(n1(),aet))}if(c=Jx($un(i,r1n),314),p=Jx($un(i,n0n),315),r=c==(A0(),TWn)||p==(uin(),$2n),a&&0!=(!a.a&&(a.a=new WO(Yrt,a,5)),a.a).i&&r){for(v=_on(a),w=new xv,m=nen(v,0);m.b!=m.d.c;)_D(w,new lC(Jx(CX(m),8)));w5(d,AQn,w)}return d}function Ojn(){var n,t;Ojn=O,pnt=new Ag(OLn),Ntt=new Ag(ALn),Gen(),vnt=new BI(hAn,mnt=q7n),new ep,ynt=new BI(fPn,null),knt=new Ag($Ln),gan(),Snt=eK(wnt,D4(zy(ret,1),WEn,291,0,[hnt])),Mnt=new BI(EAn,Snt),Pnt=new BI(sAn,(MA(),!1)),e9(),Int=new BI(wAn,Cnt=eet),p7(),Lnt=new BI(DOn,Nnt=det),Rnt=new BI(X$n,!1),A8(),Knt=new BI(AOn,_nt=Net),stt=new KC(12),ott=new BI(lPn,stt),qnt=new BI(KPn,!1),Gnt=new BI(xAn,!1),utt=new BI(BPn,!1),Kan(),jtt=new BI(_Pn,Ett=bit),Att=new Ag($An),$tt=new Ag(LPn),Ltt=new Ag(DPn),Dtt=new Ag(RPn),Unt=new xv,znt=new BI(TAn,Unt),Tnt=new BI(PAn,!1),Fnt=new BI(IAn,!1),new Ag(LLn),Wnt=new Sv,Xnt=new BI(LAn,Wnt),att=new BI(uAn,!1),new ep,xtt=new BI(NLn,1),new BI(xLn,!0),g9(0),new BI(DLn,g9(100)),new BI(RLn,!1),g9(0),new BI(KLn,g9(4e3)),g9(0),new BI(_Ln,g9(400)),new BI(FLn,!1),new BI(BLn,!1),new BI(HLn,!0),new BI(qLn,!1),onn(),jnt=new BI(CLn,Ent=vrt),Rtt=new BI(VOn,10),Ktt=new BI(QOn,10),_tt=new BI(sPn,20),Ftt=new BI(YOn,10),Btt=new BI(xPn,2),Htt=new BI(JOn,10),Gtt=new BI(ZOn,0),ztt=new BI(eAn,5),Utt=new BI(nAn,1),Xtt=new BI(tAn,1),Wtt=new BI(NPn,20),Vtt=new BI(iAn,10),Jtt=new BI(rAn,10),qtt=new Ag(cAn),Ytt=new hC,Qtt=new BI(NAn,Ytt),ltt=new Ag(AAn),htt=new BI(OAn,ftt=!1),Qnt=new KC(5),Vnt=new BI(dAn,Qnt),Tln(),t=Jx($k(ait),9),Jnt=new ax(t,Jx(iN(t,t.length),9),0),Ynt=new BI(GPn,Jnt),Jtn(),wtt=new BI(vAn,dtt=iit),ptt=new Ag(mAn),vtt=new Ag(yAn),mtt=new Ag(kAn),gtt=new Ag(jAn),n=Jx($k(brt),9),ntt=new ax(n,Jx(iN(n,n.length),9),0),Znt=new BI(qPn,ntt),ctt=Z9((Qgn(),art)),rtt=new BI(HPn,ctt),itt=new YS(0,0),ett=new BI(iIn,itt),ttt=new BI(bAn,!1),n1(),Ant=new BI(MAn,$nt=aet),Ont=new BI(FPn,!1),new Ag(GLn),g9(1),new BI(zLn,null),ytt=new Ag(CAn),Ttt=new Ag(SAn),Ckn(),Ctt=new BI(oAn,Ott=qit),ktt=new Ag(aAn),Ohn(),Ptt=Z9(yit),Stt=new BI(zPn,Ptt),Mtt=new BI(gAn,!1),Itt=new BI(pAn,!0),Bnt=new BI(fAn,!1),Hnt=new BI(lAn,!1),xnt=new BI(hPn,1),mun(),new BI(ULn,Dnt=jet),btt=!0}function Ajn(){var n,t;Ajn=O,OQn=new Ag(UPn),tQn=new Ag("coordinateOrigin"),FQn=new Ag("processors"),nQn=new FL("compoundNode",(MA(),!1)),pQn=new FL("insideConnections",!1),AQn=new Ag("originalBendpoints"),$Qn=new Ag("originalDummyNodePosition"),LQn=new Ag("originalLabelEdge"),HQn=new Ag("representedLabels"),aQn=new Ag("endLabels"),uQn=new Ag("endLabel.origin"),jQn=new FL("labelSide",(Brn(),Bet)),IQn=new FL("maxEdgeThickness",0),qQn=new FL("reversed",!1),BQn=new Ag(XPn),MQn=new FL("longEdgeSource",null),SQn=new FL("longEdgeTarget",null),TQn=new FL("longEdgeHasLabelDummies",!1),EQn=new FL("longEdgeBeforeLabelDummy",!1),cQn=new FL("edgeConstraint",(r5(),UWn)),mQn=new Ag("inLayerLayoutUnit"),vQn=new FL("inLayerConstraint",($J(),HVn)),yQn=new FL("inLayerSuccessorConstraint",new rp),kQn=new FL("inLayerSuccessorConstraintBetweenNonDummies",!1),KQn=new Ag("portDummy"),eQn=new FL("crossingHint",g9(0)),wQn=new FL("graphProperties",new ax(t=Jx($k(_Vn),9),Jx(iN(t,t.length),9),0)),fQn=new FL("externalPortSide",(Ckn(),qit)),lQn=new FL("externalPortSize",new Ik),sQn=new Ag("externalPortReplacedDummies"),hQn=new Ag("externalPortReplacedDummy"),oQn=new FL("externalPortConnections",new ax(n=Jx($k(ert),9),Jx(iN(n,n.length),9),0)),_Qn=new FL(ASn,0),QVn=new Ag("barycenterAssociates"),ZQn=new Ag("TopSideComments"),YVn=new Ag("BottomSideComments"),ZVn=new Ag("CommentConnectionPort"),gQn=new FL("inputCollect",!1),DQn=new FL("outputCollect",!1),rQn=new FL("cyclic",!1),iQn=new Ag("crossHierarchyMap"),JQn=new Ag("targetOffset"),new FL("splineLabelSize",new Ik),UQn=new Ag("spacings"),RQn=new FL("partitionConstraint",!1),JVn=new Ag("breakingPoint.info"),QQn=new Ag("splines.survivingEdge"),VQn=new Ag("splines.route.start"),XQn=new Ag("splines.edgeChain"),xQn=new Ag("originalPortConstraints"),zQn=new Ag("selfLoopHolder"),WQn=new Ag("splines.nsPortY"),CQn=new Ag("modelOrder"),PQn=new Ag("longEdgeTargetNode"),bQn=new FL(uCn,!1),GQn=new FL(uCn,!1),dQn=new Ag("layerConstraints.hiddenNodes"),NQn=new Ag("layerConstraints.opposidePort"),YQn=new Ag("targetNode.modelOrder")}function $jn(){$jn=O,lZ(),BYn=new BI(oCn,HYn=BWn),cJn=new BI(sCn,(MA(),!1)),gX(),hJn=new BI(hCn,fJn=UVn),CJn=new BI(fCn,!1),OJn=new BI(lCn,!0),uYn=new BI(bCn,!1),LJ(),VJn=new BI(wCn,QJn=Z2n),g9(1),rZn=new BI(dCn,g9(7)),cZn=new BI(gCn,!1),aJn=new BI(pCn,!1),yin(),_Yn=new BI(vCn,FYn=xWn),tun(),PJn=new BI(mCn,IJn=g2n),g7(),pJn=new BI(yCn,vJn=rYn),g9(-1),gJn=new BI(kCn,g9(-1)),g9(-1),mJn=new BI(jCn,g9(-1)),g9(-1),yJn=new BI(ECn,g9(4)),g9(-1),jJn=new BI(TCn,g9(2)),Fbn(),MJn=new BI(MCn,SJn=G2n),g9(0),TJn=new BI(SCn,g9(0)),wJn=new BI(PCn,g9(Jjn)),A0(),RYn=new BI(ICn,KYn=MWn),jYn=new BI(CCn,!1),AYn=new BI(OCn,.1),xYn=new BI(ACn,!1),g9(-1),LYn=new BI($Cn,g9(-1)),g9(-1),NYn=new BI(LCn,g9(-1)),g9(0),EYn=new BI(NCn,g9(40)),c4(),IYn=new BI(xCn,CYn=KVn),TYn=new BI(DCn,MYn=DVn),uin(),XJn=new BI(RCn,WJn=A2n),RJn=new Ag(KCn),aJ(),AJn=new BI(_Cn,$Jn=rVn),Vcn(),NJn=new BI(FCn,xJn=fVn),new ep,FJn=new BI(BCn,.3),HJn=new Ag(HCn),qen(),qJn=new BI(qCn,GJn=P2n),g3(),VYn=new BI(GCn,QYn=s3n),cQ(),YYn=new BI(zCn,JYn=w3n),L6(),ZYn=new BI(UCn,nJn=m3n),eJn=new BI(XCn,.2),XYn=new BI(WCn,2),nZn=new BI(VCn,null),eZn=new BI(QCn,10),tZn=new BI(YCn,10),iZn=new BI(JCn,20),g9(0),YJn=new BI(ZCn,g9(0)),g9(0),JJn=new BI(nOn,g9(0)),g9(0),ZJn=new BI(tOn,g9(0)),oYn=new BI(eOn,!1),oon(),fYn=new BI(iOn,lYn=yVn),uY(),sYn=new BI(rOn,hYn=kWn),oJn=new BI(cOn,!1),g9(0),uJn=new BI(aOn,g9(16)),g9(0),sJn=new BI(uOn,g9(5)),B4(),PZn=new BI(oOn,IZn=I3n),aZn=new BI(sOn,10),sZn=new BI(hOn,1),l0(),pZn=new BI(fOn,vZn=AWn),lZn=new Ag(lOn),dZn=g9(1),g9(0),wZn=new BI(bOn,dZn),Q2(),$Zn=new BI(wOn,LZn=j3n),CZn=new Ag(dOn),EZn=new BI(gOn,!0),kZn=new BI(pOn,2),MZn=new BI(vOn,!0),von(),zYn=new BI(mOn,UYn=nVn),vsn(),qYn=new BI(yOn,GYn=wWn),j5(),yYn=new BI(kOn,kYn=V2n),mYn=new BI(jOn,!1),i9(),bYn=new BI(EOn,wYn=Czn),r8(),pYn=new BI(TOn,vYn=y2n),dYn=new BI(MOn,0),gYn=new BI(SOn,0),bJn=RWn,lJn=TWn,kJn=d2n,EJn=d2n,dJn=l2n,A8(),$Yn=Let,DYn=MWn,OYn=MWn,SYn=MWn,PYn=Let,KJn=N2n,_Jn=A2n,LJn=A2n,DJn=A2n,BJn=L2n,UJn=N2n,zJn=N2n,p7(),tJn=wet,iJn=wet,rJn=m3n,WYn=bet,uZn=C3n,oZn=P3n,hZn=C3n,fZn=P3n,mZn=C3n,yZn=P3n,bZn=OWn,gZn=AWn,NZn=C3n,xZn=P3n,OZn=C3n,AZn=P3n,TZn=P3n,jZn=P3n,SZn=P3n}function Ljn(){Ljn=O,mUn=new mM("DIRECTION_PREPROCESSOR",0),gUn=new mM("COMMENT_PREPROCESSOR",1),yUn=new mM("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),DUn=new mM("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),tXn=new mM("PARTITION_PREPROCESSOR",4),FUn=new mM("LABEL_DUMMY_INSERTER",5),uXn=new mM("SELF_LOOP_PREPROCESSOR",6),zUn=new mM("LAYER_CONSTRAINT_PREPROCESSOR",7),ZUn=new mM("PARTITION_MIDPROCESSOR",8),AUn=new mM("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),VUn=new mM("NODE_PROMOTION",10),GUn=new mM("LAYER_CONSTRAINT_POSTPROCESSOR",11),nXn=new mM("PARTITION_POSTPROCESSOR",12),PUn=new mM("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),sXn=new mM("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),hUn=new mM("BREAKING_POINT_INSERTER",15),WUn=new mM("LONG_EDGE_SPLITTER",16),iXn=new mM("PORT_SIDE_PROCESSOR",17),RUn=new mM("INVERTED_PORT_PROCESSOR",18),eXn=new mM("PORT_LIST_SORTER",19),fXn=new mM("SORT_BY_INPUT_ORDER_OF_MODEL",20),YUn=new mM("NORTH_SOUTH_PORT_PREPROCESSOR",21),fUn=new mM("BREAKING_POINT_PROCESSOR",22),JUn=new mM(_In,23),lXn=new mM(FIn,24),cXn=new mM("SELF_LOOP_PORT_RESTORER",25),hXn=new mM("SINGLE_EDGE_GRAPH_WRAPPER",26),KUn=new mM("IN_LAYER_CONSTRAINT_PROCESSOR",27),TUn=new mM("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),_Un=new mM("LABEL_AND_NODE_SIZE_PROCESSOR",29),xUn=new mM("INNERMOST_NODE_MARGIN_CALCULATOR",30),oXn=new mM("SELF_LOOP_ROUTER",31),wUn=new mM("COMMENT_NODE_MARGIN_CALCULATOR",32),jUn=new mM("END_LABEL_PREPROCESSOR",33),HUn=new mM("LABEL_DUMMY_SWITCHER",34),bUn=new mM("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),qUn=new mM("LABEL_SIDE_SELECTOR",36),LUn=new mM("HYPEREDGE_DUMMY_MERGER",37),IUn=new mM("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),UUn=new mM("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),OUn=new mM("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),pUn=new mM("CONSTRAINTS_POSTPROCESSOR",41),dUn=new mM("COMMENT_POSTPROCESSOR",42),NUn=new mM("HYPERNODE_PROCESSOR",43),CUn=new mM("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),XUn=new mM("LONG_EDGE_JOINER",45),aXn=new mM("SELF_LOOP_POSTPROCESSOR",46),lUn=new mM("BREAKING_POINT_REMOVER",47),QUn=new mM("NORTH_SOUTH_PORT_POSTPROCESSOR",48),$Un=new mM("HORIZONTAL_COMPACTOR",49),BUn=new mM("LABEL_DUMMY_REMOVER",50),MUn=new mM("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),EUn=new mM("END_LABEL_SORTER",52),rXn=new mM("REVERSED_EDGE_RESTORER",53),kUn=new mM("END_LABEL_POSTPROCESSOR",54),SUn=new mM("HIERARCHICAL_NODE_RESIZER",55),vUn=new mM("DIRECTION_POSTPROCESSOR",56)}function Njn(){Njn=O,Mot=new tp(7),Sot=new HR(8,94),new HR(8,64),Pot=new HR(8,36),Lot=new HR(8,65),Not=new HR(8,122),xot=new HR(8,90),Kot=new HR(8,98),Aot=new HR(8,66),Dot=new HR(8,60),_ot=new HR(8,62),Tot=new tp(11),Uwn(Eot=new aU(4),48,57),Uwn(Rot=new aU(4),48,57),Uwn(Rot,65,90),Uwn(Rot,95,95),Uwn(Rot,97,122),Uwn($ot=new aU(4),9,9),Uwn($ot,10,10),Uwn($ot,12,12),Uwn($ot,13,13),Uwn($ot,32,32),Iot=tvn(Eot),Oot=tvn(Rot),Cot=tvn($ot),mot=new cp,yot=new cp,kot=D4(zy(lFn,1),MEn,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"]),vot=D4(zy(lFn,1),MEn,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",$Kn,"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"]),jot=D4(zy(Vot,1),STn,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function xjn(){xjn=O,HHn=new X2("OUT_T_L",0,(HY(),lHn),(AJ(),vHn),(ZZ(),cHn),cHn,D4(zy(JKn,1),rEn,21,0,[eK((Tln(),Vet),D4(zy(ait,1),WEn,93,0,[Jet,zet]))])),BHn=new X2("OUT_T_C",1,fHn,vHn,cHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Get])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Get,Uet]))])),qHn=new X2("OUT_T_R",2,bHn,vHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Xet]))])),LHn=new X2("OUT_B_L",3,lHn,yHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,zet]))])),$Hn=new X2("OUT_B_C",4,fHn,yHn,uHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Get])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Get,Uet]))])),NHn=new X2("OUT_B_R",5,bHn,yHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Xet]))])),RHn=new X2("OUT_L_T",6,bHn,yHn,cHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Jet,Uet]))])),DHn=new X2("OUT_L_C",7,bHn,mHn,aHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Yet])),eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Yet,Uet]))])),xHn=new X2("OUT_L_B",8,bHn,vHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Qet,Uet]))])),FHn=new X2("OUT_R_T",9,lHn,yHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Jet,Uet]))])),_Hn=new X2("OUT_R_C",10,lHn,mHn,aHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Yet])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Yet,Uet]))])),KHn=new X2("OUT_R_B",11,lHn,vHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Qet,Uet]))])),OHn=new X2("IN_T_L",12,lHn,yHn,cHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,zet,Uet]))])),CHn=new X2("IN_T_C",13,fHn,yHn,cHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Get,Uet]))])),AHn=new X2("IN_T_R",14,bHn,yHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Xet,Uet]))])),PHn=new X2("IN_C_L",15,lHn,mHn,aHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,zet,Uet]))])),SHn=new X2("IN_C_C",16,fHn,mHn,aHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Get,Uet]))])),IHn=new X2("IN_C_R",17,bHn,mHn,aHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Xet,Uet]))])),THn=new X2("IN_B_L",18,lHn,vHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,zet,Uet]))])),EHn=new X2("IN_B_C",19,fHn,vHn,uHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Get,Uet]))])),MHn=new X2("IN_B_R",20,bHn,vHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Xet,Uet]))])),GHn=new X2(SSn,21,null,null,null,null,D4(zy(JKn,1),rEn,21,0,[]))}function Djn(){Djn=O,mat=(JF(),pat).b,Jx(a1(uq(pat.b),0),34),Jx(a1(uq(pat.b),1),18),vat=pat.a,Jx(a1(uq(pat.a),0),34),Jx(a1(uq(pat.a),1),18),Jx(a1(uq(pat.a),2),18),Jx(a1(uq(pat.a),3),18),Jx(a1(uq(pat.a),4),18),yat=pat.o,Jx(a1(uq(pat.o),0),34),Jx(a1(uq(pat.o),1),34),jat=Jx(a1(uq(pat.o),2),18),Jx(a1(uq(pat.o),3),18),Jx(a1(uq(pat.o),4),18),Jx(a1(uq(pat.o),5),18),Jx(a1(uq(pat.o),6),18),Jx(a1(uq(pat.o),7),18),Jx(a1(uq(pat.o),8),18),Jx(a1(uq(pat.o),9),18),Jx(a1(uq(pat.o),10),18),Jx(a1(uq(pat.o),11),18),Jx(a1(uq(pat.o),12),18),Jx(a1(uq(pat.o),13),18),Jx(a1(uq(pat.o),14),18),Jx(a1(uq(pat.o),15),18),Jx(a1(aq(pat.o),0),59),Jx(a1(aq(pat.o),1),59),Jx(a1(aq(pat.o),2),59),Jx(a1(aq(pat.o),3),59),Jx(a1(aq(pat.o),4),59),Jx(a1(aq(pat.o),5),59),Jx(a1(aq(pat.o),6),59),Jx(a1(aq(pat.o),7),59),Jx(a1(aq(pat.o),8),59),Jx(a1(aq(pat.o),9),59),kat=pat.p,Jx(a1(uq(pat.p),0),34),Jx(a1(uq(pat.p),1),34),Jx(a1(uq(pat.p),2),34),Jx(a1(uq(pat.p),3),34),Jx(a1(uq(pat.p),4),18),Jx(a1(uq(pat.p),5),18),Jx(a1(aq(pat.p),0),59),Jx(a1(aq(pat.p),1),59),Eat=pat.q,Jx(a1(uq(pat.q),0),34),Tat=pat.v,Jx(a1(uq(pat.v),0),18),Jx(a1(aq(pat.v),0),59),Jx(a1(aq(pat.v),1),59),Jx(a1(aq(pat.v),2),59),Mat=pat.w,Jx(a1(uq(pat.w),0),34),Jx(a1(uq(pat.w),1),34),Jx(a1(uq(pat.w),2),34),Jx(a1(uq(pat.w),3),18),Sat=pat.B,Jx(a1(uq(pat.B),0),18),Jx(a1(aq(pat.B),0),59),Jx(a1(aq(pat.B),1),59),Jx(a1(aq(pat.B),2),59),Cat=pat.Q,Jx(a1(uq(pat.Q),0),18),Jx(a1(aq(pat.Q),0),59),Oat=pat.R,Jx(a1(uq(pat.R),0),34),Aat=pat.S,Jx(a1(aq(pat.S),0),59),Jx(a1(aq(pat.S),1),59),Jx(a1(aq(pat.S),2),59),Jx(a1(aq(pat.S),3),59),Jx(a1(aq(pat.S),4),59),Jx(a1(aq(pat.S),5),59),Jx(a1(aq(pat.S),6),59),Jx(a1(aq(pat.S),7),59),Jx(a1(aq(pat.S),8),59),Jx(a1(aq(pat.S),9),59),Jx(a1(aq(pat.S),10),59),Jx(a1(aq(pat.S),11),59),Jx(a1(aq(pat.S),12),59),Jx(a1(aq(pat.S),13),59),Jx(a1(aq(pat.S),14),59),$at=pat.T,Jx(a1(uq(pat.T),0),18),Jx(a1(uq(pat.T),2),18),Lat=Jx(a1(uq(pat.T),3),18),Jx(a1(uq(pat.T),4),18),Jx(a1(aq(pat.T),0),59),Jx(a1(aq(pat.T),1),59),Jx(a1(uq(pat.T),1),18),Nat=pat.U,Jx(a1(uq(pat.U),0),34),Jx(a1(uq(pat.U),1),34),Jx(a1(uq(pat.U),2),18),Jx(a1(uq(pat.U),3),18),Jx(a1(uq(pat.U),4),18),Jx(a1(uq(pat.U),5),18),Jx(a1(aq(pat.U),0),59),xat=pat.V,Jx(a1(uq(pat.V),0),18),Dat=pat.W,Jx(a1(uq(pat.W),0),34),Jx(a1(uq(pat.W),1),34),Jx(a1(uq(pat.W),2),34),Jx(a1(uq(pat.W),3),18),Jx(a1(uq(pat.W),4),18),Jx(a1(uq(pat.W),5),18),Kat=pat.bb,Jx(a1(uq(pat.bb),0),34),Jx(a1(uq(pat.bb),1),34),Jx(a1(uq(pat.bb),2),34),Jx(a1(uq(pat.bb),3),34),Jx(a1(uq(pat.bb),4),34),Jx(a1(uq(pat.bb),5),34),Jx(a1(uq(pat.bb),6),34),Jx(a1(uq(pat.bb),7),18),Jx(a1(aq(pat.bb),0),59),Jx(a1(aq(pat.bb),1),59),_at=pat.eb,Jx(a1(uq(pat.eb),0),34),Jx(a1(uq(pat.eb),1),34),Jx(a1(uq(pat.eb),2),34),Jx(a1(uq(pat.eb),3),34),Jx(a1(uq(pat.eb),4),34),Jx(a1(uq(pat.eb),5),34),Jx(a1(uq(pat.eb),6),18),Jx(a1(uq(pat.eb),7),18),Rat=pat.ab,Jx(a1(uq(pat.ab),0),34),Jx(a1(uq(pat.ab),1),34),Pat=pat.H,Jx(a1(uq(pat.H),0),18),Jx(a1(uq(pat.H),1),18),Jx(a1(uq(pat.H),2),18),Jx(a1(uq(pat.H),3),18),Jx(a1(uq(pat.H),4),18),Jx(a1(uq(pat.H),5),18),Jx(a1(aq(pat.H),0),59),Fat=pat.db,Jx(a1(uq(pat.db),0),18),Iat=pat.M}function Rjn(n){oT(n,new eun(ak(ek(ck(tk(rk(ik(new du,OIn),"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 Ic),OIn),eK((Ufn(),mct),D4(zy(jct,1),WEn,237,0,[gct,pct,dct,vct,bct,lct]))))),RU(n,OIn,VOn,sen($0n)),RU(n,OIn,QOn,sen(L0n)),RU(n,OIn,sPn,sen(N0n)),RU(n,OIn,YOn,sen(x0n)),RU(n,OIn,xPn,sen(R0n)),RU(n,OIn,JOn,sen(K0n)),RU(n,OIn,ZOn,sen(B0n)),RU(n,OIn,nAn,sen(q0n)),RU(n,OIn,tAn,sen(G0n)),RU(n,OIn,eAn,sen(H0n)),RU(n,OIn,NPn,sen(z0n)),RU(n,OIn,iAn,sen(X0n)),RU(n,OIn,rAn,sen(V0n)),RU(n,OIn,cAn,sen(F0n)),RU(n,OIn,VCn,sen(A0n)),RU(n,OIn,YCn,sen(D0n)),RU(n,OIn,QCn,sen(_0n)),RU(n,OIn,JCn,sen(U0n)),RU(n,OIn,LPn,g9(0)),RU(n,OIn,ZCn,sen(S0n)),RU(n,OIn,nOn,sen(P0n)),RU(n,OIn,tOn,sen(I0n)),RU(n,OIn,oOn,sen(a2n)),RU(n,OIn,sOn,sen(J0n)),RU(n,OIn,hOn,sen(Z0n)),RU(n,OIn,fOn,sen(e2n)),RU(n,OIn,lOn,sen(n2n)),RU(n,OIn,bOn,sen(t2n)),RU(n,OIn,wOn,sen(o2n)),RU(n,OIn,dOn,sen(u2n)),RU(n,OIn,gOn,sen(r2n)),RU(n,OIn,pOn,sen(i2n)),RU(n,OIn,vOn,sen(c2n)),RU(n,OIn,HCn,sen(J1n)),RU(n,OIn,qCn,sen(Z1n)),RU(n,OIn,UCn,sen(m1n)),RU(n,OIn,XCn,sen(y1n)),RU(n,OIn,lPn,u0n),RU(n,OIn,DOn,d1n),RU(n,OIn,aAn,0),RU(n,OIn,DPn,g9(1)),RU(n,OIn,fPn,APn),RU(n,OIn,uAn,sen(c0n)),RU(n,OIn,_Pn,sen(p0n)),RU(n,OIn,oAn,sen(j0n)),RU(n,OIn,sAn,sen(a1n)),RU(n,OIn,hAn,sen(DZn)),RU(n,OIn,AOn,sen(T1n)),RU(n,OIn,RPn,(MA(),!0)),RU(n,OIn,fAn,sen(C1n)),RU(n,OIn,lAn,sen(O1n)),RU(n,OIn,qPn,sen(t0n)),RU(n,OIn,HPn,sen(r0n)),RU(n,OIn,bAn,sen(e0n)),RU(n,OIn,wAn,s1n),RU(n,OIn,GPn,sen(X1n)),RU(n,OIn,dAn,sen(U1n)),RU(n,OIn,zPn,sen(y0n)),RU(n,OIn,gAn,sen(m0n)),RU(n,OIn,pAn,sen(k0n)),RU(n,OIn,vAn,h0n),RU(n,OIn,mAn,sen(l0n)),RU(n,OIn,yAn,sen(b0n)),RU(n,OIn,kAn,sen(w0n)),RU(n,OIn,jAn,sen(f0n)),RU(n,OIn,gCn,sen(Y0n)),RU(n,OIn,mCn,sen(H1n)),RU(n,OIn,MCn,sen(B1n)),RU(n,OIn,dCn,sen(Q0n)),RU(n,OIn,yCn,sen(D1n)),RU(n,OIn,vCn,sen(c1n)),RU(n,OIn,ICn,sen(r1n)),RU(n,OIn,CCn,sen(QZn)),RU(n,OIn,NCn,sen(YZn)),RU(n,OIn,xCn,sen(ZZn)),RU(n,OIn,DCn,sen(JZn)),RU(n,OIn,ACn,sen(i1n)),RU(n,OIn,fCn,sen(G1n)),RU(n,OIn,lCn,sen(z1n)),RU(n,OIn,hCn,sen($1n)),RU(n,OIn,RCn,sen(n0n)),RU(n,OIn,FCn,sen(V1n)),RU(n,OIn,sCn,sen(j1n)),RU(n,OIn,BCn,sen(Y1n)),RU(n,OIn,GCn,sen(p1n)),RU(n,OIn,zCn,sen(v1n)),RU(n,OIn,EAn,sen(VZn)),RU(n,OIn,_Cn,sen(W1n)),RU(n,OIn,iOn,sen(HZn)),RU(n,OIn,rOn,sen(BZn)),RU(n,OIn,eOn,sen(FZn)),RU(n,OIn,cOn,sen(S1n)),RU(n,OIn,aOn,sen(M1n)),RU(n,OIn,uOn,sen(P1n)),RU(n,OIn,iIn,sen(i0n)),RU(n,OIn,TAn,sen(L1n)),RU(n,OIn,hPn,sen(k1n)),RU(n,OIn,MAn,sen(l1n)),RU(n,OIn,FPn,sen(f1n)),RU(n,OIn,OCn,sen(n1n)),RU(n,OIn,SAn,sen(v0n)),RU(n,OIn,PAn,sen(_Zn)),RU(n,OIn,IAn,sen(I1n)),RU(n,OIn,CAn,sen(d0n)),RU(n,OIn,OAn,sen(o0n)),RU(n,OIn,AAn,sen(s0n)),RU(n,OIn,ECn,sen(K1n)),RU(n,OIn,TCn,sen(_1n)),RU(n,OIn,$An,sen(T0n)),RU(n,OIn,bCn,sen(RZn)),RU(n,OIn,SCn,sen(F1n)),RU(n,OIn,mOn,sen(b1n)),RU(n,OIn,yOn,sen(h1n)),RU(n,OIn,LAn,sen(q1n)),RU(n,OIn,PCn,sen(N1n)),RU(n,OIn,KCn,sen(Q1n)),RU(n,OIn,NAn,sen(W0n)),RU(n,OIn,oCn,sen(o1n)),RU(n,OIn,wCn,sen(E0n)),RU(n,OIn,WCn,sen(g1n)),RU(n,OIn,kCn,sen(x1n)),RU(n,OIn,$Cn,sen(t1n)),RU(n,OIn,xAn,sen(A1n)),RU(n,OIn,jCn,sen(R1n)),RU(n,OIn,LCn,sen(e1n)),RU(n,OIn,kOn,sen(WZn)),RU(n,OIn,TOn,sen(UZn)),RU(n,OIn,MOn,sen(GZn)),RU(n,OIn,SOn,sen(zZn)),RU(n,OIn,jOn,sen(XZn)),RU(n,OIn,EOn,sen(qZn)),RU(n,OIn,pCn,sen(E1n))}function Kjn(n,t){var e;return got||(got=new cp,pot=new cp,Njn(),Njn(),Lnn(e=new aU(4),"\t\n\r\r "),zG(got,PKn,e),zG(pot,PKn,tvn(e)),Lnn(e=new aU(4),OKn),zG(got,MKn,e),zG(pot,MKn,tvn(e)),Lnn(e=new aU(4),OKn),zG(got,MKn,e),zG(pot,MKn,tvn(e)),Lnn(e=new aU(4),AKn),lmn(e,Jx(uG(got,MKn),117)),zG(got,SKn,e),zG(pot,SKn,tvn(e)),Lnn(e=new aU(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),zG(got,IKn,e),zG(pot,IKn,tvn(e)),Lnn(e=new aU(4),AKn),Uwn(e,95,95),Uwn(e,58,58),zG(got,CKn,e),zG(pot,CKn,tvn(e))),Jx(uG(t?got:pot,n),136)}function _jn(n){return FN("_UI_EMFDiagnostic_marker",n)?"EMF Problem":FN("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":FN(Oxn,n)?"Wrong character.":FN(Axn,n)?"Invalid reference number.":FN($xn,n)?"A character is required after \\.":FN(Lxn,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":FN(Nxn,n)?"'(?<' or '(? toIndex: ",RMn=", toIndex: ",KMn="Index: ",_Mn=", Size: ",FMn="org.eclipse.elk.alg.common",BMn={62:1},HMn="org.eclipse.elk.alg.common.compaction",qMn="Scanline/EventHandler",GMn="org.eclipse.elk.alg.common.compaction.oned",zMn="CNode belongs to another CGroup.",UMn="ISpacingsHandler/1",XMn="The ",WMn=" instance has been finished already.",VMn="The direction ",QMn=" is not supported by the CGraph instance.",YMn="OneDimensionalCompactor",JMn="OneDimensionalCompactor/lambda$0$Type",ZMn="Quadruplet",nSn="ScanlineConstraintCalculator",tSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",eSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",iSn="ScanlineConstraintCalculator/Timestamp",rSn="ScanlineConstraintCalculator/lambda$0$Type",cSn={169:1,45:1},aSn="org.eclipse.elk.alg.common.compaction.options",uSn="org.eclipse.elk.core.data",oSn="org.eclipse.elk.polyomino.traversalStrategy",sSn="org.eclipse.elk.polyomino.lowLevelSort",hSn="org.eclipse.elk.polyomino.highLevelSort",fSn="org.eclipse.elk.polyomino.fill",lSn={130:1},bSn="polyomino",wSn="org.eclipse.elk.alg.common.networksimplex",dSn={177:1,3:1,4:1},gSn="org.eclipse.elk.alg.common.nodespacing",pSn="org.eclipse.elk.alg.common.nodespacing.cellsystem",vSn="CENTER",mSn={212:1,326:1},ySn={3:1,4:1,5:1,595:1},kSn="LEFT",jSn="RIGHT",ESn="Vertical alignment cannot be null",TSn="BOTTOM",MSn="org.eclipse.elk.alg.common.nodespacing.internal",SSn="UNDEFINED",PSn=.01,ISn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",CSn="LabelPlacer/lambda$0$Type",OSn="LabelPlacer/lambda$1$Type",ASn="portRatioOrPosition",$Sn="org.eclipse.elk.alg.common.overlaps",LSn="DOWN",NSn="org.eclipse.elk.alg.common.polyomino",xSn="NORTH",DSn="EAST",RSn="SOUTH",KSn="WEST",_Sn="org.eclipse.elk.alg.common.polyomino.structures",FSn="Direction",BSn="Grid is only of size ",HSn=". Requested point (",qSn=") is out of bounds.",GSn=" Given center based coordinates were (",zSn="org.eclipse.elk.graph.properties",USn="IPropertyHolder",XSn={3:1,94:1,134:1},WSn="org.eclipse.elk.alg.common.spore",VSn="org.eclipse.elk.alg.common.utils",QSn={209:1},YSn="org.eclipse.elk.core",JSn="Connected Components Compaction",ZSn="org.eclipse.elk.alg.disco",nPn="org.eclipse.elk.alg.disco.graph",tPn="org.eclipse.elk.alg.disco.options",ePn="CompactionStrategy",iPn="org.eclipse.elk.disco.componentCompaction.strategy",rPn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",cPn="org.eclipse.elk.disco.debug.discoGraph",aPn="org.eclipse.elk.disco.debug.discoPolys",uPn="componentCompaction",oPn="org.eclipse.elk.disco",sPn="org.eclipse.elk.spacing.componentComponent",hPn="org.eclipse.elk.edge.thickness",fPn="org.eclipse.elk.aspectRatio",lPn="org.eclipse.elk.padding",bPn="org.eclipse.elk.alg.disco.transform",wPn=1.5707963267948966,dPn=17976931348623157e292,gPn={3:1,4:1,5:1,192:1},pPn={3:1,6:1,4:1,5:1,106:1,120:1},vPn="org.eclipse.elk.alg.force",mPn="ComponentsProcessor",yPn="ComponentsProcessor/1",kPn="org.eclipse.elk.alg.force.graph",jPn="Component Layout",EPn="org.eclipse.elk.alg.force.model",TPn="org.eclipse.elk.force.model",MPn="org.eclipse.elk.force.iterations",SPn="org.eclipse.elk.force.repulsivePower",PPn="org.eclipse.elk.force.temperature",IPn=.001,CPn="org.eclipse.elk.force.repulsion",OPn="org.eclipse.elk.alg.force.options",APn=1.600000023841858,$Pn="org.eclipse.elk.force",LPn="org.eclipse.elk.priority",NPn="org.eclipse.elk.spacing.nodeNode",xPn="org.eclipse.elk.spacing.edgeLabel",DPn="org.eclipse.elk.randomSeed",RPn="org.eclipse.elk.separateConnectedComponents",KPn="org.eclipse.elk.interactive",_Pn="org.eclipse.elk.portConstraints",FPn="org.eclipse.elk.edgeLabels.inline",BPn="org.eclipse.elk.omitNodeMicroLayout",HPn="org.eclipse.elk.nodeSize.options",qPn="org.eclipse.elk.nodeSize.constraints",GPn="org.eclipse.elk.nodeLabels.placement",zPn="org.eclipse.elk.portLabels.placement",UPn="origin",XPn="random",WPn="boundingBox.upLeft",VPn="boundingBox.lowRight",QPn="org.eclipse.elk.stress.fixed",YPn="org.eclipse.elk.stress.desiredEdgeLength",JPn="org.eclipse.elk.stress.dimension",ZPn="org.eclipse.elk.stress.epsilon",nIn="org.eclipse.elk.stress.iterationLimit",tIn="org.eclipse.elk.stress",eIn="ELK Stress",iIn="org.eclipse.elk.nodeSize.minimum",rIn="org.eclipse.elk.alg.force.stress",cIn="Layered layout",aIn="org.eclipse.elk.alg.layered",uIn="org.eclipse.elk.alg.layered.compaction.components",oIn="org.eclipse.elk.alg.layered.compaction.oned",sIn="org.eclipse.elk.alg.layered.compaction.oned.algs",hIn="org.eclipse.elk.alg.layered.compaction.recthull",fIn="org.eclipse.elk.alg.layered.components",lIn="NONE",bIn={3:1,6:1,4:1,9:1,5:1,122:1},wIn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},dIn="org.eclipse.elk.alg.layered.compound",gIn={51:1},pIn="org.eclipse.elk.alg.layered.graph",vIn=" -> ",mIn="Not supported by LGraph",yIn="Port side is undefined",kIn={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},jIn={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},EIn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},TIn="([{\"' \t\r\n",MIn=")]}\"' \t\r\n",SIn="The given string contains parts that cannot be parsed as numbers.",PIn="org.eclipse.elk.core.math",IIn={3:1,4:1,142:1,207:1,414:1},CIn={3:1,4:1,116:1,207:1,414:1},OIn="org.eclipse.elk.layered",AIn="org.eclipse.elk.alg.layered.graph.transform",$In="ElkGraphImporter",LIn="ElkGraphImporter/lambda$0$Type",NIn="ElkGraphImporter/lambda$1$Type",xIn="ElkGraphImporter/lambda$2$Type",DIn="ElkGraphImporter/lambda$4$Type",RIn="Node margin calculation",KIn="org.eclipse.elk.alg.layered.intermediate",_In="ONE_SIDED_GREEDY_SWITCH",FIn="TWO_SIDED_GREEDY_SWITCH",BIn="No implementation is available for the layout processor ",HIn="IntermediateProcessorStrategy",qIn="Node '",GIn="FIRST_SEPARATE",zIn="LAST_SEPARATE",UIn="Odd port side processing",XIn="org.eclipse.elk.alg.layered.intermediate.compaction",WIn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",VIn="org.eclipse.elk.alg.layered.p3order.counting",QIn={225:1},YIn="org.eclipse.elk.alg.layered.intermediate.loops",JIn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",ZIn="org.eclipse.elk.alg.layered.intermediate.loops.routing",nCn="org.eclipse.elk.alg.layered.intermediate.preserveorder",tCn="org.eclipse.elk.alg.layered.intermediate.wrapping",eCn="org.eclipse.elk.alg.layered.options",iCn="INTERACTIVE",rCn="DEPTH_FIRST",cCn="EDGE_LENGTH",aCn="SELF_LOOPS",uCn="firstTryWithInitialOrder",oCn="org.eclipse.elk.layered.directionCongruency",sCn="org.eclipse.elk.layered.feedbackEdges",hCn="org.eclipse.elk.layered.interactiveReferencePoint",fCn="org.eclipse.elk.layered.mergeEdges",lCn="org.eclipse.elk.layered.mergeHierarchyEdges",bCn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",wCn="org.eclipse.elk.layered.portSortingStrategy",dCn="org.eclipse.elk.layered.thoroughness",gCn="org.eclipse.elk.layered.unnecessaryBendpoints",pCn="org.eclipse.elk.layered.generatePositionAndLayerIds",vCn="org.eclipse.elk.layered.cycleBreaking.strategy",mCn="org.eclipse.elk.layered.layering.strategy",yCn="org.eclipse.elk.layered.layering.layerConstraint",kCn="org.eclipse.elk.layered.layering.layerChoiceConstraint",jCn="org.eclipse.elk.layered.layering.layerId",ECn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",TCn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",MCn="org.eclipse.elk.layered.layering.nodePromotion.strategy",SCn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",PCn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",ICn="org.eclipse.elk.layered.crossingMinimization.strategy",CCn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",OCn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",ACn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",$Cn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",LCn="org.eclipse.elk.layered.crossingMinimization.positionId",NCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",xCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",DCn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",RCn="org.eclipse.elk.layered.nodePlacement.strategy",KCn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",_Cn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",FCn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",BCn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",HCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",qCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",GCn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",zCn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",UCn="org.eclipse.elk.layered.edgeRouting.splines.mode",XCn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",WCn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",VCn="org.eclipse.elk.layered.spacing.baseValue",QCn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",YCn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",JCn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ZCn="org.eclipse.elk.layered.priority.direction",nOn="org.eclipse.elk.layered.priority.shortness",tOn="org.eclipse.elk.layered.priority.straightness",eOn="org.eclipse.elk.layered.compaction.connectedComponents",iOn="org.eclipse.elk.layered.compaction.postCompaction.strategy",rOn="org.eclipse.elk.layered.compaction.postCompaction.constraints",cOn="org.eclipse.elk.layered.highDegreeNodes.treatment",aOn="org.eclipse.elk.layered.highDegreeNodes.threshold",uOn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",oOn="org.eclipse.elk.layered.wrapping.strategy",sOn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",hOn="org.eclipse.elk.layered.wrapping.correctionFactor",fOn="org.eclipse.elk.layered.wrapping.cutting.strategy",lOn="org.eclipse.elk.layered.wrapping.cutting.cuts",bOn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",wOn="org.eclipse.elk.layered.wrapping.validify.strategy",dOn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",gOn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",pOn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",vOn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",mOn="org.eclipse.elk.layered.edgeLabels.sideSelection",yOn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",kOn="org.eclipse.elk.layered.considerModelOrder.strategy",jOn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",EOn="org.eclipse.elk.layered.considerModelOrder.components",TOn="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",MOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",SOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",POn="layering",IOn="layering.minWidth",COn="layering.nodePromotion",OOn="crossingMinimization",AOn="org.eclipse.elk.hierarchyHandling",$On="crossingMinimization.greedySwitch",LOn="nodePlacement",NOn="nodePlacement.bk",xOn="edgeRouting",DOn="org.eclipse.elk.edgeRouting",ROn="spacing",KOn="priority",_On="compaction",FOn="compaction.postCompaction",BOn="Specifies whether and how post-process compaction is applied.",HOn="highDegreeNodes",qOn="wrapping",GOn="wrapping.cutting",zOn="wrapping.validify",UOn="wrapping.multiEdge",XOn="edgeLabels",WOn="considerModelOrder",VOn="org.eclipse.elk.spacing.commentComment",QOn="org.eclipse.elk.spacing.commentNode",YOn="org.eclipse.elk.spacing.edgeEdge",JOn="org.eclipse.elk.spacing.edgeNode",ZOn="org.eclipse.elk.spacing.labelLabel",nAn="org.eclipse.elk.spacing.labelPortHorizontal",tAn="org.eclipse.elk.spacing.labelPortVertical",eAn="org.eclipse.elk.spacing.labelNode",iAn="org.eclipse.elk.spacing.nodeSelfLoop",rAn="org.eclipse.elk.spacing.portPort",cAn="org.eclipse.elk.spacing.individual",aAn="org.eclipse.elk.port.borderOffset",uAn="org.eclipse.elk.noLayout",oAn="org.eclipse.elk.port.side",sAn="org.eclipse.elk.debugMode",hAn="org.eclipse.elk.alignment",fAn="org.eclipse.elk.insideSelfLoops.activate",lAn="org.eclipse.elk.insideSelfLoops.yo",bAn="org.eclipse.elk.nodeSize.fixedGraphSize",wAn="org.eclipse.elk.direction",dAn="org.eclipse.elk.nodeLabels.padding",gAn="org.eclipse.elk.portLabels.nextToPortIfPossible",pAn="org.eclipse.elk.portLabels.treatAsGroup",vAn="org.eclipse.elk.portAlignment.default",mAn="org.eclipse.elk.portAlignment.north",yAn="org.eclipse.elk.portAlignment.south",kAn="org.eclipse.elk.portAlignment.west",jAn="org.eclipse.elk.portAlignment.east",EAn="org.eclipse.elk.contentAlignment",TAn="org.eclipse.elk.junctionPoints",MAn="org.eclipse.elk.edgeLabels.placement",SAn="org.eclipse.elk.port.index",PAn="org.eclipse.elk.commentBox",IAn="org.eclipse.elk.hypernode",CAn="org.eclipse.elk.port.anchor",OAn="org.eclipse.elk.partitioning.activate",AAn="org.eclipse.elk.partitioning.partition",$An="org.eclipse.elk.position",LAn="org.eclipse.elk.margins",NAn="org.eclipse.elk.spacing.portsSurrounding",xAn="org.eclipse.elk.interactiveLayout",DAn="org.eclipse.elk.core.util",RAn={3:1,4:1,5:1,593:1},KAn="NETWORK_SIMPLEX",_An={123:1,51:1},FAn="org.eclipse.elk.alg.layered.p1cycles",BAn="org.eclipse.elk.alg.layered.p2layers",HAn={402:1,225:1},qAn={832:1,3:1,4:1},GAn="org.eclipse.elk.alg.layered.p3order",zAn="org.eclipse.elk.alg.layered.p4nodes",UAn={3:1,4:1,5:1,840:1},XAn=1e-5,WAn="org.eclipse.elk.alg.layered.p4nodes.bk",VAn="org.eclipse.elk.alg.layered.p5edges",QAn="org.eclipse.elk.alg.layered.p5edges.orthogonal",YAn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",JAn=1e-6,ZAn="org.eclipse.elk.alg.layered.p5edges.splines",n$n=.09999999999999998,t$n=1e-8,e$n=4.71238898038469,i$n=3.141592653589793,r$n="org.eclipse.elk.alg.mrtree",c$n="org.eclipse.elk.alg.mrtree.graph",a$n="org.eclipse.elk.alg.mrtree.intermediate",u$n="Set neighbors in level",o$n="DESCENDANTS",s$n="org.eclipse.elk.mrtree.weighting",h$n="org.eclipse.elk.mrtree.searchOrder",f$n="org.eclipse.elk.alg.mrtree.options",l$n="org.eclipse.elk.mrtree",b$n="org.eclipse.elk.tree",w$n="org.eclipse.elk.alg.radial",d$n=6.283185307179586,g$n=5e-324,p$n="org.eclipse.elk.alg.radial.intermediate",v$n="org.eclipse.elk.alg.radial.intermediate.compaction",m$n={3:1,4:1,5:1,106:1},y$n="org.eclipse.elk.alg.radial.intermediate.optimization",k$n="No implementation is available for the layout option ",j$n="org.eclipse.elk.alg.radial.options",E$n="org.eclipse.elk.radial.orderId",T$n="org.eclipse.elk.radial.radius",M$n="org.eclipse.elk.radial.compactor",S$n="org.eclipse.elk.radial.compactionStepSize",P$n="org.eclipse.elk.radial.sorter",I$n="org.eclipse.elk.radial.wedgeCriteria",C$n="org.eclipse.elk.radial.optimizationCriteria",O$n="org.eclipse.elk.radial",A$n="org.eclipse.elk.alg.radial.p1position.wedge",$$n="org.eclipse.elk.alg.radial.sorting",L$n=5.497787143782138,N$n=3.9269908169872414,x$n=2.356194490192345,D$n="org.eclipse.elk.alg.rectpacking",R$n="org.eclipse.elk.alg.rectpacking.firstiteration",K$n="org.eclipse.elk.alg.rectpacking.options",_$n="org.eclipse.elk.rectpacking.optimizationGoal",F$n="org.eclipse.elk.rectpacking.lastPlaceShift",B$n="org.eclipse.elk.rectpacking.currentPosition",H$n="org.eclipse.elk.rectpacking.desiredPosition",q$n="org.eclipse.elk.rectpacking.onlyFirstIteration",G$n="org.eclipse.elk.rectpacking.rowCompaction",z$n="org.eclipse.elk.rectpacking.expandToAspectRatio",U$n="org.eclipse.elk.rectpacking.targetWidth",X$n="org.eclipse.elk.expandNodes",W$n="org.eclipse.elk.rectpacking",V$n="org.eclipse.elk.alg.rectpacking.util",Q$n="No implementation available for ",Y$n="org.eclipse.elk.alg.spore",J$n="org.eclipse.elk.alg.spore.options",Z$n="org.eclipse.elk.sporeCompaction",nLn="org.eclipse.elk.underlyingLayoutAlgorithm",tLn="org.eclipse.elk.processingOrder.treeConstruction",eLn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",iLn="org.eclipse.elk.processingOrder.preferredRoot",rLn="org.eclipse.elk.processingOrder.rootSelection",cLn="org.eclipse.elk.structure.structureExtractionStrategy",aLn="org.eclipse.elk.compaction.compactionStrategy",uLn="org.eclipse.elk.compaction.orthogonal",oLn="org.eclipse.elk.overlapRemoval.maxIterations",sLn="org.eclipse.elk.overlapRemoval.runScanline",hLn="processingOrder",fLn="overlapRemoval",lLn="org.eclipse.elk.sporeOverlap",bLn="org.eclipse.elk.alg.spore.p1structure",wLn="org.eclipse.elk.alg.spore.p2processingorder",dLn="org.eclipse.elk.alg.spore.p3execution",gLn="Invalid index: ",pLn="org.eclipse.elk.core.alg",vLn={331:1},mLn={288:1},yLn="Make sure its type is registered with the ",kLn=" utility class.",jLn="true",ELn="false",TLn="Couldn't clone property '",MLn=.05,SLn="org.eclipse.elk.core.options",PLn=1.2999999523162842,ILn="org.eclipse.elk.box",CLn="org.eclipse.elk.box.packingMode",OLn="org.eclipse.elk.algorithm",ALn="org.eclipse.elk.resolvedAlgorithm",$Ln="org.eclipse.elk.bendPoints",LLn="org.eclipse.elk.labelManager",NLn="org.eclipse.elk.scaleFactor",xLn="org.eclipse.elk.animate",DLn="org.eclipse.elk.animTimeFactor",RLn="org.eclipse.elk.layoutAncestors",KLn="org.eclipse.elk.maxAnimTime",_Ln="org.eclipse.elk.minAnimTime",FLn="org.eclipse.elk.progressBar",BLn="org.eclipse.elk.validateGraph",HLn="org.eclipse.elk.validateOptions",qLn="org.eclipse.elk.zoomToFit",GLn="org.eclipse.elk.font.name",zLn="org.eclipse.elk.font.size",ULn="org.eclipse.elk.edge.type",XLn="partitioning",WLn="nodeLabels",VLn="portAlignment",QLn="nodeSize",YLn="port",JLn="portLabels",ZLn="insideSelfLoops",nNn="org.eclipse.elk.fixed",tNn="org.eclipse.elk.random",eNn="port must have a parent node to calculate the port side",iNn="The edge needs to have exactly one edge section. Found: ",rNn="org.eclipse.elk.core.util.adapters",cNn="org.eclipse.emf.ecore",aNn="org.eclipse.elk.graph",uNn="EMapPropertyHolder",oNn="ElkBendPoint",sNn="ElkGraphElement",hNn="ElkConnectableShape",fNn="ElkEdge",lNn="ElkEdgeSection",bNn="EModelElement",wNn="ENamedElement",dNn="ElkLabel",gNn="ElkNode",pNn="ElkPort",vNn={92:1,90:1},mNn="org.eclipse.emf.common.notify.impl",yNn="The feature '",kNn="' is not a valid changeable feature",jNn="Expecting null",ENn="' is not a valid feature",TNn="The feature ID",MNn=" is not a valid feature ID",SNn=32768,PNn={105:1,92:1,90:1,56:1,49:1,97:1},INn="org.eclipse.emf.ecore.impl",CNn="org.eclipse.elk.graph.impl",ONn="Recursive containment not allowed for ",ANn="The datatype '",$Nn="' is not a valid classifier",LNn="The value '",NNn={190:1,3:1,4:1},xNn="The class '",DNn="http://www.eclipse.org/elk/ElkGraph",RNn=1024,KNn="property",_Nn="value",FNn="source",BNn="properties",HNn="identifier",qNn="height",GNn="width",zNn="parent",UNn="text",XNn="children",WNn="hierarchical",VNn="sources",QNn="targets",YNn="sections",JNn="bendPoints",ZNn="outgoingShape",nxn="incomingShape",txn="outgoingSections",exn="incomingSections",ixn="org.eclipse.emf.common.util",rxn="Severe implementation error in the Json to ElkGraph importer.",cxn="id",axn="org.eclipse.elk.graph.json",uxn="Unhandled parameter types: ",oxn="startPoint",sxn="An edge must have at least one source and one target (edge id: '",hxn="').",fxn="Referenced edge section does not exist: ",lxn=" (edge id: '",bxn="target",wxn="sourcePoint",dxn="targetPoint",gxn="group",pxn="name",vxn="connectableShape cannot be null",mxn="edge cannot be null",yxn="Passed edge is not 'simple'.",kxn="org.eclipse.elk.graph.util",jxn="The 'no duplicates' constraint is violated",Exn="targetIndex=",Txn=", size=",Mxn="sourceIndex=",Sxn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},Pxn={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},Ixn="logging",Cxn="measureExecutionTime",Oxn="parser.parse.1",Axn="parser.parse.2",$xn="parser.next.1",Lxn="parser.next.2",Nxn="parser.next.3",xxn="parser.next.4",Dxn="parser.factor.1",Rxn="parser.factor.2",Kxn="parser.factor.3",_xn="parser.factor.4",Fxn="parser.factor.5",Bxn="parser.factor.6",Hxn="parser.atom.1",qxn="parser.atom.2",Gxn="parser.atom.3",zxn="parser.atom.4",Uxn="parser.atom.5",Xxn="parser.cc.1",Wxn="parser.cc.2",Vxn="parser.cc.3",Qxn="parser.cc.5",Yxn="parser.cc.6",Jxn="parser.cc.7",Zxn="parser.cc.8",nDn="parser.ope.1",tDn="parser.ope.2",eDn="parser.ope.3",iDn="parser.descape.1",rDn="parser.descape.2",cDn="parser.descape.3",aDn="parser.descape.4",uDn="parser.descape.5",oDn="parser.process.1",sDn="parser.quantifier.1",hDn="parser.quantifier.2",fDn="parser.quantifier.3",lDn="parser.quantifier.4",bDn="parser.quantifier.5",wDn="org.eclipse.emf.common.notify",dDn={415:1,672:1},gDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},pDn={366:1,143:1},vDn="index=",mDn={3:1,4:1,5:1,126:1},yDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},kDn={3:1,6:1,4:1,5:1,192:1},jDn={3:1,4:1,5:1,165:1,367:1},EDn=";/?:@&=+$,",TDn="invalid authority: ",MDn="EAnnotation",SDn="ETypedElement",PDn="EStructuralFeature",IDn="EAttribute",CDn="EClassifier",ODn="EEnumLiteral",ADn="EGenericType",$Dn="EOperation",LDn="EParameter",NDn="EReference",xDn="ETypeParameter",DDn="org.eclipse.emf.ecore.util",RDn={76:1},KDn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},_Dn="org.eclipse.emf.ecore.util.FeatureMap$Entry",FDn=8192,BDn=2048,HDn="byte",qDn="char",GDn="double",zDn="float",UDn="int",XDn="long",WDn="short",VDn="java.lang.Object",QDn={3:1,4:1,5:1,247:1},YDn={3:1,4:1,5:1,673:1},JDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},ZDn={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},nRn="mixed",tRn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",eRn="kind",iRn={3:1,4:1,5:1,674:1},rRn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},cRn={20:1,28:1,52:1,14:1,15:1,58:1,69:1},aRn={47:1,125:1,279:1},uRn={72:1,332:1},oRn="The value of type '",sRn="' must be of type '",hRn=1316,fRn="http://www.eclipse.org/emf/2002/Ecore",lRn=-32768,bRn="constraints",wRn="baseType",dRn="getEStructuralFeature",gRn="getFeatureID",pRn="feature",vRn="getOperationID",mRn="operation",yRn="defaultValue",kRn="eTypeParameters",jRn="isInstance",ERn="getEEnumLiteral",TRn="eContainingClass",MRn={55:1},SRn={3:1,4:1,5:1,119:1},PRn="org.eclipse.emf.ecore.resource",IRn={92:1,90:1,591:1,1935:1},CRn="org.eclipse.emf.ecore.resource.impl",ORn="unspecified",ARn="simple",$Rn="attribute",LRn="attributeWildcard",NRn="element",xRn="elementWildcard",DRn="collapse",RRn="itemType",KRn="namespace",_Rn="##targetNamespace",FRn="whiteSpace",BRn="wildcards",HRn="http://www.eclipse.org/emf/2003/XMLType",qRn="##any",GRn="uninitialized",zRn="The multiplicity constraint is violated",URn="org.eclipse.emf.ecore.xml.type",XRn="ProcessingInstruction",WRn="SimpleAnyType",VRn="XMLTypeDocumentRoot",QRn="org.eclipse.emf.ecore.xml.type.impl",YRn="INF",JRn="processing",ZRn="ENTITIES_._base",nKn="minLength",tKn="ENTITY",eKn="NCName",iKn="IDREFS_._base",rKn="integer",cKn="token",aKn="pattern",uKn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",oKn="\\i\\c*",sKn="[\\i-[:]][\\c-[:]]*",hKn="nonPositiveInteger",fKn="maxInclusive",lKn="NMTOKEN",bKn="NMTOKENS_._base",wKn="nonNegativeInteger",dKn="minInclusive",gKn="normalizedString",pKn="unsignedByte",vKn="unsignedInt",mKn="18446744073709551615",yKn="unsignedShort",kKn="processingInstruction",jKn="org.eclipse.emf.ecore.xml.type.internal",EKn=1114111,TKn="Internal Error: shorthands: \\u",MKn="xml:isDigit",SKn="xml:isWord",PKn="xml:isSpace",IKn="xml:isNameChar",CKn="xml:isInitialNameChar",OKn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",AKn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",$Kn="Private Use",LKn="ASSIGNED",NKn="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",xKn="UNASSIGNED",DKn={3:1,117:1},RKn="org.eclipse.emf.ecore.xml.type.util",KKn={3:1,4:1,5:1,368:1},_Kn="org.eclipse.xtext.xbase.lib",FKn="Cannot add elements to a Range",BKn="Cannot set elements in a Range",HKn="Cannot remove elements from a Range",qKn="locale",GKn="default",zKn="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,Hjn={},!Array.isArray&&(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Vfn(1,null,{},r),Bjn.Fb=function(n){return VI(this,n)},Bjn.Gb=function(){return this.gm},Bjn.Hb=function(){return FA(this)},Bjn.Ib=function(){return xk(Q5(this))+"@"+(V5(this)>>>0).toString(16)},Bjn.equals=function(n){return this.Fb(n)},Bjn.hashCode=function(){return this.Hb()},Bjn.toString=function(){return this.Ib()},Vfn(290,1,{290:1,2026:1},y5),Bjn.le=function(n){var t;return(t=new y5).i=4,t.c=n>1?GG(this,n-1):this,t},Bjn.me=function(){return hL(this),this.b},Bjn.ne=function(){return xk(this)},Bjn.oe=function(){return hL(this),this.k},Bjn.pe=function(){return 0!=(4&this.i)},Bjn.qe=function(){return 0!=(1&this.i)},Bjn.Ib=function(){return NZ(this)},Bjn.i=0;var UKn,XKn=TF(Zjn,"Object",1),WKn=TF(Zjn,"Class",290);Vfn(1998,1,nEn),TF(tEn,"Optional",1998),Vfn(1170,1998,nEn,c),Bjn.Fb=function(n){return n===this},Bjn.Hb=function(){return 2040732332},Bjn.Ib=function(){return"Optional.absent()"},Bjn.Jb=function(n){return SF(n),pm(),UKn},TF(tEn,"Absent",1170),Vfn(628,1,{},My),TF(tEn,"Joiner",628);var VKn=uR(tEn,"Predicate");Vfn(582,1,{169:1,582:1,3:1,45:1},Ff),Bjn.Mb=function(n){return K5(this,n)},Bjn.Lb=function(n){return K5(this,n)},Bjn.Fb=function(n){var t;return!!OO(n,582)&&(t=Jx(n,582),hln(this.a,t.a))},Bjn.Hb=function(){return _5(this.a)+306654252},Bjn.Ib=function(){return function(n){var t,e,i,r;for(t=FF(kI(new PA("Predicates."),"and"),40),e=!0,r=new Vl(n);r.b0},Bjn.Pb=function(){if(this.c>=this.d)throw fp(new _p);return this.Xb(this.c++)},Bjn.Tb=function(){return this.c},Bjn.Ub=function(){if(this.c<=0)throw fp(new _p);return this.Xb(--this.c)},Bjn.Vb=function(){return this.c-1},Bjn.c=0,Bjn.d=0,TF(sEn,"AbstractIndexedListIterator",386),Vfn(699,198,oEn),Bjn.Ob=function(){return W0(this)},Bjn.Pb=function(){return wJ(this)},Bjn.e=1,TF(sEn,"AbstractIterator",699),Vfn(1986,1,{224:1}),Bjn.Zb=function(){return this.f||(this.f=this.ac())},Bjn.Fb=function(n){return l6(this,n)},Bjn.Hb=function(){return V5(this.Zb())},Bjn.dc=function(){return 0==this.gc()},Bjn.ec=function(){return BK(this)},Bjn.Ib=function(){return C7(this.Zb())},TF(sEn,"AbstractMultimap",1986),Vfn(726,1986,fEn),Bjn.$b=function(){m0(this)},Bjn._b=function(n){return Ak(this,n)},Bjn.ac=function(){return new Wj(this,this.c)},Bjn.ic=function(n){return this.hc()},Bjn.bc=function(){return new rA(this,this.c)},Bjn.jc=function(){return this.mc(this.hc())},Bjn.kc=function(){return new em(this)},Bjn.lc=function(){return bun(this.c.vc().Nc(),new u,64,this.d)},Bjn.cc=function(n){return FV(this,n)},Bjn.fc=function(n){return f8(this,n)},Bjn.gc=function(){return this.d},Bjn.mc=function(n){return WH(),new fb(n)},Bjn.nc=function(){return new tm(this)},Bjn.oc=function(){return bun(this.c.Cc().Nc(),new a,64,this.d)},Bjn.pc=function(n,t){return new gQ(this,n,t,null)},Bjn.d=0,TF(sEn,"AbstractMapBasedMultimap",726),Vfn(1631,726,fEn),Bjn.hc=function(){return new vQ(this.a)},Bjn.jc=function(){return WH(),WH(),MFn},Bjn.cc=function(n){return Jx(FV(this,n),15)},Bjn.fc=function(n){return Jx(f8(this,n),15)},Bjn.Zb=function(){return YH(this)},Bjn.Fb=function(n){return l6(this,n)},Bjn.qc=function(n){return Jx(FV(this,n),15)},Bjn.rc=function(n){return Jx(f8(this,n),15)},Bjn.mc=function(n){return bq(Jx(n,15))},Bjn.pc=function(n,t){return jX(this,n,Jx(t,15),null)},TF(sEn,"AbstractListMultimap",1631),Vfn(732,1,lEn),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.c.Ob()||this.e.Ob()},Bjn.Pb=function(){var n;return this.e.Ob()||(n=Jx(this.c.Pb(),42),this.b=n.cd(),this.a=Jx(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Bjn.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},TF(sEn,"AbstractMapBasedMultimap/Itr",732),Vfn(1099,732,lEn,tm),Bjn.sc=function(n,t){return t},TF(sEn,"AbstractMapBasedMultimap/1",1099),Vfn(1100,1,{},a),Bjn.Kb=function(n){return Jx(n,14).Nc()},TF(sEn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),Vfn(1101,732,lEn,em),Bjn.sc=function(n,t){return new Vj(n,t)},TF(sEn,"AbstractMapBasedMultimap/2",1101);var QKn=uR(bEn,"Map");Vfn(1967,1,wEn),Bjn.wc=function(n){P3(this,n)},Bjn.yc=function(n,t,e){return J9(this,n,t,e)},Bjn.$b=function(){this.vc().$b()},Bjn.tc=function(n){return Bin(this,n)},Bjn._b=function(n){return!!Can(this,n,!1)},Bjn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Jx(t.Pb(),42).dd(),rI(n)===rI(e)||null!=n&&Y8(n,e))return!0;return!1},Bjn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!OO(n,83))return!1;if(i=Jx(n,83),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=Jx(e.Pb(),42),!this.tc(t))return!1;return!0},Bjn.xc=function(n){return iI(Can(this,n,!1))},Bjn.Hb=function(){return V4(this.vc())},Bjn.dc=function(){return 0==this.gc()},Bjn.ec=function(){return new Yl(this)},Bjn.zc=function(n,t){throw fp(new hy("Put not supported on this map"))},Bjn.Ac=function(n){r3(this,n)},Bjn.Bc=function(n){return iI(Can(this,n,!0))},Bjn.gc=function(){return this.vc().gc()},Bjn.Ib=function(){return Ban(this)},Bjn.Cc=function(){return new Zl(this)},TF(bEn,"AbstractMap",1967),Vfn(1987,1967,wEn),Bjn.bc=function(){return new iE(this)},Bjn.vc=function(){return FK(this)},Bjn.ec=function(){return this.g||(this.g=this.bc())},Bjn.Cc=function(){return this.i||(this.i=new rE(this))},TF(sEn,"Maps/ViewCachingAbstractMap",1987),Vfn(389,1987,wEn,Wj),Bjn.xc=function(n){return function(n,t){var e,i;return(e=Jx(D8(n.d,t),14))?(i=t,n.e.pc(i,e)):null}(this,n)},Bjn.Bc=function(n){return function(n,t){var e,i;return(e=Jx(n.d.Bc(t),14))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},Bjn.$b=function(){this.d==this.e.c?this.e.$b():mR(new yR(this))},Bjn._b=function(n){return K8(this.d,n)},Bjn.Ec=function(){return new zf(this)},Bjn.Dc=function(){return this.Ec()},Bjn.Fb=function(n){return this===n||Y8(this.d,n)},Bjn.Hb=function(){return V5(this.d)},Bjn.ec=function(){return this.e.ec()},Bjn.gc=function(){return this.d.gc()},Bjn.Ib=function(){return C7(this.d)},TF(sEn,"AbstractMapBasedMultimap/AsMap",389);var YKn=uR(Zjn,"Iterable");Vfn(28,1,dEn),Bjn.Jc=function(n){WW(this,n)},Bjn.Lc=function(){return this.Oc()},Bjn.Nc=function(){return new xz(this,0)},Bjn.Oc=function(){return new PR(null,this.Nc())},Bjn.Fc=function(n){throw fp(new hy("Add not supported on this collection"))},Bjn.Gc=function(n){return O2(this,n)},Bjn.$b=function(){rH(this)},Bjn.Hc=function(n){return Q7(this,n,!1)},Bjn.Ic=function(n){return y4(this,n)},Bjn.dc=function(){return 0==this.gc()},Bjn.Mc=function(n){return Q7(this,n,!0)},Bjn.Pc=function(){return OK(this)},Bjn.Qc=function(n){return Fin(this,n)},Bjn.Ib=function(){return zun(this)},TF(bEn,"AbstractCollection",28);var JKn=uR(bEn,"Set");Vfn(gEn,28,pEn),Bjn.Nc=function(){return new xz(this,1)},Bjn.Fb=function(n){return htn(this,n)},Bjn.Hb=function(){return V4(this)},TF(bEn,"AbstractSet",gEn),Vfn(1970,gEn,pEn),TF(sEn,"Sets/ImprovedAbstractSet",1970),Vfn(1971,1970,pEn),Bjn.$b=function(){this.Rc().$b()},Bjn.Hc=function(n){return mnn(this,n)},Bjn.dc=function(){return this.Rc().dc()},Bjn.Mc=function(n){var t;return!!this.Hc(n)&&(t=Jx(n,42),this.Rc().ec().Mc(t.cd()))},Bjn.gc=function(){return this.Rc().gc()},TF(sEn,"Maps/EntrySet",1971),Vfn(1097,1971,pEn,zf),Bjn.Hc=function(n){return R8(this.a.d.vc(),n)},Bjn.Kc=function(){return new yR(this.a)},Bjn.Rc=function(){return this.a},Bjn.Mc=function(n){var t;return!!R8(this.a.d.vc(),n)&&(t=Jx(n,42),vV(this.a.e,t.cd()),!0)},Bjn.Nc=function(){return Qx(this.a.d.vc().Nc(),new Uf(this.a))},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),Vfn(1098,1,{},Uf),Bjn.Kb=function(n){return VW(this.a,Jx(n,42))},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),Vfn(730,1,lEn,yR),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){var n;return n=Jx(this.b.Pb(),42),this.a=Jx(n.dd(),14),VW(this.c,n)},Bjn.Ob=function(){return this.b.Ob()},Bjn.Qb=function(){D3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),Vfn(532,1970,pEn,iE),Bjn.$b=function(){this.b.$b()},Bjn.Hc=function(n){return this.b._b(n)},Bjn.Jc=function(n){SF(n),this.b.wc(new gl(n))},Bjn.dc=function(){return this.b.dc()},Bjn.Kc=function(){return new Sm(this.b.vc().Kc())},Bjn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},Bjn.gc=function(){return this.b.gc()},TF(sEn,"Maps/KeySet",532),Vfn(318,532,pEn,rA),Bjn.$b=function(){mR(new Lj(this,this.b.vc().Kc()))},Bjn.Ic=function(n){return this.b.ec().Ic(n)},Bjn.Fb=function(n){return this===n||Y8(this.b.ec(),n)},Bjn.Hb=function(){return V5(this.b.ec())},Bjn.Kc=function(){return new Lj(this,this.b.vc().Kc())},Bjn.Mc=function(n){var t,e;return e=0,(t=Jx(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},Bjn.Nc=function(){return this.b.ec().Nc()},TF(sEn,"AbstractMapBasedMultimap/KeySet",318),Vfn(731,1,lEn,Lj),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.c.Ob()},Bjn.Pb=function(){return this.a=Jx(this.c.Pb(),42),this.a.cd()},Bjn.Qb=function(){var n;D3(!!this.a),n=Jx(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},TF(sEn,"AbstractMapBasedMultimap/KeySet/1",731),Vfn(491,389,{83:1,161:1},dL),Bjn.bc=function(){return this.Sc()},Bjn.ec=function(){return this.Tc()},Bjn.Sc=function(){return new Aj(this.c,this.Uc())},Bjn.Tc=function(){return this.b||(this.b=this.Sc())},Bjn.Uc=function(){return Jx(this.d,161)},TF(sEn,"AbstractMapBasedMultimap/SortedAsMap",491),Vfn(542,491,vEn,gL),Bjn.bc=function(){return new $j(this.a,Jx(Jx(this.d,161),171))},Bjn.Sc=function(){return new $j(this.a,Jx(Jx(this.d,161),171))},Bjn.ec=function(){return Jx(this.b||(this.b=new $j(this.a,Jx(Jx(this.d,161),171))),271)},Bjn.Tc=function(){return Jx(this.b||(this.b=new $j(this.a,Jx(Jx(this.d,161),171))),271)},Bjn.Uc=function(){return Jx(Jx(this.d,161),171)},TF(sEn,"AbstractMapBasedMultimap/NavigableAsMap",542),Vfn(490,318,mEn,Aj),Bjn.Nc=function(){return this.b.ec().Nc()},TF(sEn,"AbstractMapBasedMultimap/SortedKeySet",490),Vfn(388,490,yEn,$j),TF(sEn,"AbstractMapBasedMultimap/NavigableKeySet",388),Vfn(541,28,dEn,gQ),Bjn.Fc=function(n){var t,e;return $7(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&eN(this)),t},Bjn.Gc=function(n){var t,e,i;return!n.dc()&&($7(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&eN(this)),t)},Bjn.$b=function(){var n;$7(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,sK(this))},Bjn.Hc=function(n){return $7(this),this.d.Hc(n)},Bjn.Ic=function(n){return $7(this),this.d.Ic(n)},Bjn.Fb=function(n){return n===this||($7(this),Y8(this.d,n))},Bjn.Hb=function(){return $7(this),V5(this.d)},Bjn.Kc=function(){return $7(this),new cD(this)},Bjn.Mc=function(n){var t;return $7(this),(t=this.d.Mc(n))&&(--this.f.d,sK(this)),t},Bjn.gc=function(){return wI(this)},Bjn.Nc=function(){return $7(this),this.d.Nc()},Bjn.Ib=function(){return $7(this),C7(this.d)},TF(sEn,"AbstractMapBasedMultimap/WrappedCollection",541);var ZKn=uR(bEn,"List");Vfn(728,541,{20:1,28:1,14:1,15:1},NK),Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return $7(this),this.d.Nc()},Bjn.Vc=function(n,t){var e;$7(this),e=this.d.dc(),Jx(this.d,15).Vc(n,t),++this.a.d,e&&eN(this)},Bjn.Wc=function(n,t){var e,i,r;return!t.dc()&&($7(this),r=this.d.gc(),(e=Jx(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&eN(this)),e)},Bjn.Xb=function(n){return $7(this),Jx(this.d,15).Xb(n)},Bjn.Xc=function(n){return $7(this),Jx(this.d,15).Xc(n)},Bjn.Yc=function(){return $7(this),new QC(this)},Bjn.Zc=function(n){return $7(this),new KH(this,n)},Bjn.$c=function(n){var t;return $7(this),t=Jx(this.d,15).$c(n),--this.a.d,sK(this),t},Bjn._c=function(n,t){return $7(this),Jx(this.d,15)._c(n,t)},Bjn.bd=function(n,t){return $7(this),jX(this.a,this.e,Jx(this.d,15).bd(n,t),this.b?this.b:this)},TF(sEn,"AbstractMapBasedMultimap/WrappedList",728),Vfn(1096,728,{20:1,28:1,14:1,15:1,54:1},O$),TF(sEn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),Vfn(620,1,lEn,cD),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return cH(this),this.b.Ob()},Bjn.Pb=function(){return cH(this),this.b.Pb()},Bjn.Qb=function(){pA(this)},TF(sEn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),Vfn(729,620,kEn,QC,KH),Bjn.Qb=function(){pA(this)},Bjn.Rb=function(n){var t;t=0==wI(this.a),(cH(this),Jx(this.b,125)).Rb(n),++this.a.a.d,t&&eN(this.a)},Bjn.Sb=function(){return(cH(this),Jx(this.b,125)).Sb()},Bjn.Tb=function(){return(cH(this),Jx(this.b,125)).Tb()},Bjn.Ub=function(){return(cH(this),Jx(this.b,125)).Ub()},Bjn.Vb=function(){return(cH(this),Jx(this.b,125)).Vb()},Bjn.Wb=function(n){(cH(this),Jx(this.b,125)).Wb(n)},TF(sEn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),Vfn(727,541,mEn,kL),Bjn.Nc=function(){return $7(this),this.d.Nc()},TF(sEn,"AbstractMapBasedMultimap/WrappedSortedSet",727),Vfn(1095,727,yEn,IC),TF(sEn,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),Vfn(1094,541,pEn,jL),Bjn.Nc=function(){return $7(this),this.d.Nc()},TF(sEn,"AbstractMapBasedMultimap/WrappedSet",1094),Vfn(1103,1,{},u),Bjn.Kb=function(n){return function(n){var t;return t=n.cd(),Qx(Jx(n.dd(),14).Nc(),new Xf(t))}(Jx(n,42))},TF(sEn,"AbstractMapBasedMultimap/lambda$1$Type",1103),Vfn(1102,1,{},Xf),Bjn.Kb=function(n){return new Vj(this.a,n)},TF(sEn,"AbstractMapBasedMultimap/lambda$2$Type",1102);var n_n,t_n,e_n,i_n,r_n=uR(bEn,"Map/Entry");Vfn(345,1,jEn),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),wB(this.cd(),t.cd())&&wB(this.dd(),t.dd()))},Bjn.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:V5(n))^(null==t?0:V5(t))},Bjn.ed=function(n){throw fp(new Dp)},Bjn.Ib=function(){return this.cd()+"="+this.dd()},TF(sEn,EEn,345),Vfn(1988,28,dEn),Bjn.$b=function(){this.fd().$b()},Bjn.Hc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),function(n,t,e){var i;return!!(i=Jx(n.Zb().xc(t),14))&&i.Hc(e)}(this.fd(),t.cd(),t.dd()))},Bjn.Mc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),EU(this.fd(),t.cd(),t.dd()))},Bjn.gc=function(){return this.fd().d},TF(sEn,"Multimaps/Entries",1988),Vfn(733,1988,dEn,Wf),Bjn.Kc=function(){return this.a.kc()},Bjn.fd=function(){return this.a},Bjn.Nc=function(){return this.a.lc()},TF(sEn,"AbstractMultimap/Entries",733),Vfn(734,733,pEn,im),Bjn.Nc=function(){return this.a.lc()},Bjn.Fb=function(n){return Fon(this,n)},Bjn.Hb=function(){return A2(this)},TF(sEn,"AbstractMultimap/EntrySet",734),Vfn(735,28,dEn,Vf),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Jx(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},Bjn.Kc=function(){return this.a.nc()},Bjn.gc=function(){return this.a.d},Bjn.Nc=function(){return this.a.oc()},TF(sEn,"AbstractMultimap/Values",735),Vfn(1989,28,{835:1,20:1,28:1,14:1}),Bjn.Jc=function(n){SF(n),iH(this).Jc(new dl(n))},Bjn.Nc=function(){var n;return bun(n=iH(this).Nc(),new y,64|1296&n.qd(),this.a.d)},Bjn.Fc=function(n){return Ey(),!0},Bjn.Gc=function(n){return SF(this),SF(n),OO(n,543)?HU(Jx(n,835)):!n.dc()&&UJ(this,n.Kc())},Bjn.Hc=function(n){var t;return((t=Jx(D8(YH(this.a),n),14))?t.gc():0)>0},Bjn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(OO(t,543)){if(r=Jx(t,835),n.a.d!=r.a.d||iH(n).gc()!=iH(r).gc())return!1;for(i=iH(r).Kc();i.Ob();)if(Pz(n,(e=Jx(i.Pb(),416)).a.cd())!=Jx(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},Bjn.Hb=function(){return V5(iH(this))},Bjn.dc=function(){return iH(this).dc()},Bjn.Mc=function(n){return Dhn(this,n,1)>0},Bjn.Ib=function(){return C7(iH(this))},TF(sEn,"AbstractMultiset",1989),Vfn(1991,1970,pEn),Bjn.$b=function(){m0(this.a.a)},Bjn.Hc=function(n){var t;return!(!OO(n,492)||(t=Jx(n,416),Jx(t.a.dd(),14).gc()<=0||Pz(this.a,t.a.cd())!=Jx(t.a.dd(),14).gc()))},Bjn.Mc=function(n){var t,e,i;return!(!OO(n,492)||(t=(e=Jx(n,416)).a.cd(),0==(i=Jx(e.a.dd(),14).gc())))&&function(n,t,e){var i,r,c;return p0(e,"oldCount"),p0(0,"newCount"),((i=Jx(D8(YH(n.a),t),14))?i.gc():0)==e&&(p0(0,"count"),(c=-((r=Jx(D8(YH(n.a),t),14))?r.gc():0))>0?Ey():c<0&&Dhn(n,t,-c),!0)}(this.a,t,i)},TF(sEn,"Multisets/EntrySet",1991),Vfn(1109,1991,pEn,Qf),Bjn.Kc=function(){return new Im(FK(YH(this.a.a)).Kc())},Bjn.gc=function(){return YH(this.a.a).gc()},TF(sEn,"AbstractMultiset/EntrySet",1109),Vfn(619,726,fEn),Bjn.hc=function(){return this.gd()},Bjn.jc=function(){return this.hd()},Bjn.cc=function(n){return this.jd(n)},Bjn.fc=function(n){return this.kd(n)},Bjn.Zb=function(){return this.f||(this.f=this.ac())},Bjn.hd=function(){return WH(),WH(),PFn},Bjn.Fb=function(n){return l6(this,n)},Bjn.jd=function(n){return Jx(FV(this,n),21)},Bjn.kd=function(n){return Jx(f8(this,n),21)},Bjn.mc=function(n){return WH(),new xy(Jx(n,21))},Bjn.pc=function(n,t){return new jL(this,n,Jx(t,21))},TF(sEn,"AbstractSetMultimap",619),Vfn(1657,619,fEn),Bjn.hc=function(){return new Qk(this.b)},Bjn.gd=function(){return new Qk(this.b)},Bjn.jc=function(){return NF(new Qk(this.b))},Bjn.hd=function(){return NF(new Qk(this.b))},Bjn.cc=function(n){return Jx(Jx(FV(this,n),21),84)},Bjn.jd=function(n){return Jx(Jx(FV(this,n),21),84)},Bjn.fc=function(n){return Jx(Jx(f8(this,n),21),84)},Bjn.kd=function(n){return Jx(Jx(f8(this,n),21),84)},Bjn.mc=function(n){return OO(n,271)?NF(Jx(n,271)):(WH(),new OA(Jx(n,84)))},Bjn.Zb=function(){return this.f||(this.f=OO(this.c,171)?new gL(this,Jx(this.c,171)):OO(this.c,161)?new dL(this,Jx(this.c,161)):new Wj(this,this.c))},Bjn.pc=function(n,t){return OO(t,271)?new IC(this,n,Jx(t,271)):new kL(this,n,Jx(t,84))},TF(sEn,"AbstractSortedSetMultimap",1657),Vfn(1658,1657,fEn),Bjn.Zb=function(){return Jx(Jx(this.f||(this.f=OO(this.c,171)?new gL(this,Jx(this.c,171)):OO(this.c,161)?new dL(this,Jx(this.c,161)):new Wj(this,this.c)),161),171)},Bjn.ec=function(){return Jx(Jx(this.i||(this.i=OO(this.c,171)?new $j(this,Jx(this.c,171)):OO(this.c,161)?new Aj(this,Jx(this.c,161)):new rA(this,this.c)),84),271)},Bjn.bc=function(){return OO(this.c,171)?new $j(this,Jx(this.c,171)):OO(this.c,161)?new Aj(this,Jx(this.c,161)):new rA(this,this.c)},TF(sEn,"AbstractSortedKeySortedSetMultimap",1658),Vfn(2010,1,{1947:1}),Bjn.Fb=function(n){return function(n,t){var e;return t===n||!!OO(t,664)&&(e=Jx(t,1947),htn(n.g||(n.g=new Yf(n)),e.g||(e.g=new Yf(e))))}(this,n)},Bjn.Hb=function(){return V4(this.g||(this.g=new Yf(this)))},Bjn.Ib=function(){return Ban(this.f||(this.f=new oA(this)))},TF(sEn,"AbstractTable",2010),Vfn(665,gEn,pEn,Yf),Bjn.$b=function(){Ty()},Bjn.Hc=function(n){var t,e;return!!OO(n,468)&&(t=Jx(n,682),!!(e=Jx(D8(IF(this.a),oI(t.c.e,t.b)),83))&&R8(e.vc(),new Vj(oI(t.c.c,t.a),wQ(t.c,t.b,t.a))))},Bjn.Kc=function(){return new cA(n=this.a,n.e.Hd().gc()*n.c.Hd().gc());var n},Bjn.Mc=function(n){var t,e;return!!OO(n,468)&&(t=Jx(n,682),!!(e=Jx(D8(IF(this.a),oI(t.c.e,t.b)),83))&&function(n,t){SF(n);try{return n.Mc(t)}catch(n){if(OO(n=E4(n),205)||OO(n,173))return!1;throw fp(n)}}(e.vc(),new Vj(oI(t.c.c,t.a),wQ(t.c,t.b,t.a))))},Bjn.gc=function(){return AR(this.a)},Bjn.Nc=function(){return fR((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new Hf(n));var n},TF(sEn,"AbstractTable/CellSet",665),Vfn(1928,28,dEn,Jf),Bjn.$b=function(){Ty()},Bjn.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(u=0,o=(a=n.a).length;u=0?"+":"")+(i/60|0),t=JI(e.Math.abs(i)%60),(Oun(),$Fn)[this.q.getDay()]+" "+LFn[this.q.getMonth()]+" "+JI(this.q.getDate())+" "+JI(this.q.getHours())+":"+JI(this.q.getMinutes())+":"+JI(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var T_n,M_n,S_n,P_n,I_n,C_n,O_n,A_n,$_n,L_n,N_n,x_n=TF(bEn,"Date",199);Vfn(1915,199,FTn,Mcn),Bjn.a=!1,Bjn.b=0,Bjn.c=0,Bjn.d=0,Bjn.e=0,Bjn.f=0,Bjn.g=!1,Bjn.i=0,Bjn.j=0,Bjn.k=0,Bjn.n=0,Bjn.o=0,Bjn.p=0,TF("com.google.gwt.i18n.shared.impl","DateRecord",1915),Vfn(1966,1,{}),Bjn.fe=function(){return null},Bjn.ge=function(){return null},Bjn.he=function(){return null},Bjn.ie=function(){return null},Bjn.je=function(){return null},TF(BTn,"JSONValue",1966),Vfn(216,1966,{216:1},Sl,jl),Bjn.Fb=function(n){return!!OO(n,216)&&Zz(this.a,Jx(n,216).a)},Bjn.ee=function(){return lp},Bjn.Hb=function(){return hq(this.a)},Bjn.fe=function(){return this},Bjn.Ib=function(){var n,t,e;for(e=new PA("["),t=0,n=this.a.length;t0&&(e.a+=","),yI(e,QJ(this,t));return e.a+="]",e.a},TF(BTn,"JSONArray",216),Vfn(483,1966,{483:1},El),Bjn.ee=function(){return bp},Bjn.ge=function(){return this},Bjn.Ib=function(){return MA(),""+this.a},Bjn.a=!1,TF(BTn,"JSONBoolean",483),Vfn(985,60,iTn,Om),TF(BTn,"JSONException",985),Vfn(1023,1966,{},v),Bjn.ee=function(){return vp},Bjn.Ib=function(){return uEn},TF(BTn,"JSONNull",1023),Vfn(258,1966,{258:1},Tl),Bjn.Fb=function(n){return!!OO(n,258)&&this.a==Jx(n,258).a},Bjn.ee=function(){return wp},Bjn.Hb=function(){return nC(this.a)},Bjn.he=function(){return this},Bjn.Ib=function(){return this.a+""},Bjn.a=0,TF(BTn,"JSONNumber",258),Vfn(183,1966,{183:1},Am,Ml),Bjn.Fb=function(n){return!!OO(n,183)&&Zz(this.a,Jx(n,183).a)},Bjn.ee=function(){return dp},Bjn.Hb=function(){return hq(this.a)},Bjn.ie=function(){return this},Bjn.Ib=function(){var n,t,e,i,r,c;for(c=new PA("{"),n=!0,i=0,r=(e=b2(this,QQ(lFn,MEn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},Bjn.c=0;var eFn=TF(Zjn,"StackTraceElement",310);Ujn={3:1,475:1,35:1,2:1};var iFn,rFn,cFn,aFn,uFn,oFn,sFn,hFn,fFn,lFn=TF(Zjn,cTn,2);Vfn(107,418,{475:1},Oy,Ay,SA),TF(Zjn,"StringBuffer",107),Vfn(100,418,{475:1},$y,Ly,PA),TF(Zjn,"StringBuilder",100),Vfn(687,73,QTn,Ny),TF(Zjn,"StringIndexOutOfBoundsException",687),Vfn(2043,1,{}),Vfn(844,1,{},x),Bjn.Kb=function(n){return Jx(n,78).e},TF(Zjn,"Throwable/lambda$0$Type",844),Vfn(41,60,{3:1,102:1,60:1,78:1,41:1},Dp,hy),TF(Zjn,"UnsupportedOperationException",41),Vfn(240,236,{3:1,35:1,236:1,240:1},nZ,Vk),Bjn.wd=function(n){return Cpn(this,Jx(n,240))},Bjn.ke=function(){return pon(_mn(this))},Bjn.Fb=function(n){var t;return this===n||!!OO(n,240)&&(t=Jx(n,240),this.e==t.e&&0==Cpn(this,t))},Bjn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=R3(this.f),this.b=VR(zz(n,-1)),this.b=33*this.b+VR(zz(UK(n,32),-1)),this.b=17*this.b+sG(this.e),this.b):(this.b=17*w8(this.c)+sG(this.e),this.b)},Bjn.Ib=function(){return _mn(this)},Bjn.a=0,Bjn.b=0,Bjn.d=0,Bjn.e=0,Bjn.f=0;var bFn,wFn,dFn,gFn,pFn,vFn,mFn=TF("java.math","BigDecimal",240);Vfn(91,236,{3:1,35:1,236:1,91:1},Een,dQ,O_,van,Stn,CC),Bjn.wd=function(n){return otn(this,Jx(n,91))},Bjn.ke=function(){return pon(vjn(this,0))},Bjn.Fb=function(n){return G7(this,n)},Bjn.Hb=function(){return w8(this)},Bjn.Ib=function(){return vjn(this,0)},Bjn.b=-2,Bjn.c=0,Bjn.d=0,Bjn.e=0;var yFn,kFn,jFn,EFn,TFn=TF("java.math","BigInteger",91);Vfn(488,1967,wEn),Bjn.$b=function(){X_(this)},Bjn._b=function(n){return I_(this,n)},Bjn.uc=function(n){return y6(this,n,this.g)||y6(this,n,this.f)},Bjn.vc=function(){return new Ql(this)},Bjn.xc=function(n){return HF(this,n)},Bjn.zc=function(n,t){return DB(this,n,t)},Bjn.Bc=function(n){return UV(this,n)},Bjn.gc=function(){return fE(this)},TF(bEn,"AbstractHashMap",488),Vfn(261,gEn,pEn,Ql),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return WU(this,n)},Bjn.Kc=function(){return new e6(this.a)},Bjn.Mc=function(n){var t;return!!WU(this,n)&&(t=Jx(n,42).cd(),this.a.Bc(t),!0)},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractHashMap/EntrySet",261),Vfn(262,1,lEn,e6),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return h1(this)},Bjn.Ob=function(){return this.b},Bjn.Qb=function(){sY(this)},Bjn.b=!1,TF(bEn,"AbstractHashMap/EntrySetIterator",262),Vfn(417,1,lEn,Vl),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return AT(this)},Bjn.Pb=function(){return BH(this)},Bjn.Qb=function(){fB(this)},Bjn.b=0,Bjn.c=-1,TF(bEn,"AbstractList/IteratorImpl",417),Vfn(96,417,kEn,ZU),Bjn.Qb=function(){fB(this)},Bjn.Rb=function(n){nN(this,n)},Bjn.Sb=function(){return this.b>0},Bjn.Tb=function(){return this.b},Bjn.Ub=function(){return P$(this.b>0),this.a.Xb(this.c=--this.b)},Bjn.Vb=function(){return this.b-1},Bjn.Wb=function(n){S$(-1!=this.c),this.a._c(this.c,n)},TF(bEn,"AbstractList/ListIteratorImpl",96),Vfn(219,52,VEn,Az),Bjn.Vc=function(n,t){rz(n,this.b),this.c.Vc(this.a+n,t),++this.b},Bjn.Xb=function(n){return Lz(n,this.b),this.c.Xb(this.a+n)},Bjn.$c=function(n){var t;return Lz(n,this.b),t=this.c.$c(this.a+n),--this.b,t},Bjn._c=function(n,t){return Lz(n,this.b),this.c._c(this.a+n,t)},Bjn.gc=function(){return this.b},Bjn.a=0,Bjn.b=0,TF(bEn,"AbstractList/SubList",219),Vfn(384,gEn,pEn,Yl),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return this.a._b(n)},Bjn.Kc=function(){return new Jl(this.a.vc().Kc())},Bjn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractMap/1",384),Vfn(691,1,lEn,Jl),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a.Ob()},Bjn.Pb=function(){return Jx(this.a.Pb(),42).cd()},Bjn.Qb=function(){this.a.Qb()},TF(bEn,"AbstractMap/1/1",691),Vfn(226,28,dEn,Zl),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return this.a.uc(n)},Bjn.Kc=function(){return new ub(this.a.vc().Kc())},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractMap/2",226),Vfn(294,1,lEn,ub),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a.Ob()},Bjn.Pb=function(){return Jx(this.a.Pb(),42).dd()},Bjn.Qb=function(){this.a.Qb()},TF(bEn,"AbstractMap/2/1",294),Vfn(484,1,{484:1,42:1}),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),GB(this.d,t.cd())&&GB(this.e,t.dd()))},Bjn.cd=function(){return this.d},Bjn.dd=function(){return this.e},Bjn.Hb=function(){return xC(this.d)^xC(this.e)},Bjn.ed=function(n){return JL(this,n)},Bjn.Ib=function(){return this.d+"="+this.e},TF(bEn,"AbstractMap/AbstractEntry",484),Vfn(383,484,{484:1,383:1,42:1},UT),TF(bEn,"AbstractMap/SimpleEntry",383),Vfn(1984,1,fMn),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),GB(this.cd(),t.cd())&&GB(this.dd(),t.dd()))},Bjn.Hb=function(){return xC(this.cd())^xC(this.dd())},Bjn.Ib=function(){return this.cd()+"="+this.dd()},TF(bEn,EEn,1984),Vfn(1992,1967,vEn),Bjn.tc=function(n){return mV(this,n)},Bjn._b=function(n){return WN(this,n)},Bjn.vc=function(){return new hb(this)},Bjn.xc=function(n){return iI(a6(this,n))},Bjn.ec=function(){return new ob(this)},TF(bEn,"AbstractNavigableMap",1992),Vfn(739,gEn,pEn,hb),Bjn.Hc=function(n){return OO(n,42)&&mV(this.b,Jx(n,42))},Bjn.Kc=function(){return new pN(this.b)},Bjn.Mc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),rY(this.b,t))},Bjn.gc=function(){return this.b.c},TF(bEn,"AbstractNavigableMap/EntrySet",739),Vfn(493,gEn,yEn,ob),Bjn.Nc=function(){return new KT(this)},Bjn.$b=function(){Lm(this.a)},Bjn.Hc=function(n){return WN(this.a,n)},Bjn.Kc=function(){return new sb(new pN(new XA(this.a).b))},Bjn.Mc=function(n){return!!WN(this.a,n)&&(lG(this.a,n),!0)},Bjn.gc=function(){return this.a.c},TF(bEn,"AbstractNavigableMap/NavigableKeySet",493),Vfn(494,1,lEn,sb),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return AT(this.a.a)},Bjn.Pb=function(){return y$(this.a).cd()},Bjn.Qb=function(){fx(this.a)},TF(bEn,"AbstractNavigableMap/NavigableKeySet/1",494),Vfn(2004,28,dEn),Bjn.Fc=function(n){return ZQ(yun(this,n)),!0},Bjn.Gc=function(n){return mB(n),ED(n!=this,"Can't add a queue to itself"),O2(this,n)},Bjn.$b=function(){for(;null!=JJ(this););},TF(bEn,"AbstractQueue",2004),Vfn(302,28,{4:1,20:1,28:1,14:1},ip,Dz),Bjn.Fc=function(n){return OX(this,n),!0},Bjn.$b=function(){rW(this)},Bjn.Hc=function(n){return M4(new QB(this),n)},Bjn.dc=function(){return cy(this)},Bjn.Kc=function(){return new QB(this)},Bjn.Mc=function(n){return function(n,t){return!!M4(n,t)&&(u0(n),!0)}(new QB(this),n)},Bjn.gc=function(){return this.c-this.b&this.a.length-1},Bjn.Nc=function(){return new xz(this,272)},Bjn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&RF(n,t,null),n},Bjn.b=0,Bjn.c=0,TF(bEn,"ArrayDeque",302),Vfn(446,1,lEn,QB),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a!=this.b},Bjn.Pb=function(){return d8(this)},Bjn.Qb=function(){u0(this)},Bjn.a=0,Bjn.b=0,Bjn.c=-1,TF(bEn,"ArrayDeque/IteratorImpl",446),Vfn(12,52,lMn,rp,vQ,hx),Bjn.Vc=function(n,t){nK(this,n,t)},Bjn.Fc=function(n){return iD(this,n)},Bjn.Wc=function(n,t){return q6(this,n,t)},Bjn.Gc=function(n){return P4(this,n)},Bjn.$b=function(){this.c=QQ(XKn,rEn,1,0,5,1)},Bjn.Hc=function(n){return-1!=fJ(this,n,0)},Bjn.Jc=function(n){VZ(this,n)},Bjn.Xb=function(n){return MR(this,n)},Bjn.Xc=function(n){return fJ(this,n,0)},Bjn.dc=function(){return 0==this.c.length},Bjn.Kc=function(){return new pb(this)},Bjn.$c=function(n){return _V(this,n)},Bjn.Mc=function(n){return oJ(this,n)},Bjn.Ud=function(n,t){$z(this,n,t)},Bjn._c=function(n,t){return YW(this,n,t)},Bjn.gc=function(){return this.c.length},Bjn.ad=function(n){ZC(this,n)},Bjn.Pc=function(){return d$(this)},Bjn.Qc=function(n){return qtn(this,n)};var MFn,SFn,PFn,IFn,CFn,OFn,AFn,$Fn,LFn,NFn=TF(bEn,"ArrayList",12);Vfn(7,1,lEn,pb),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return nO(this)},Bjn.Pb=function(){return qz(this)},Bjn.Qb=function(){U_(this)},Bjn.a=0,Bjn.b=-1,TF(bEn,"ArrayList/1",7),Vfn(2013,e.Function,{},T),Bjn.te=function(n,t){return L9(n,t)},Vfn(154,52,bMn,uy),Bjn.Hc=function(n){return-1!=v0(this,n)},Bjn.Jc=function(n){var t,e,i,r;for(mB(n),i=0,r=(e=this.a).length;i>>0).toString(16))},Bjn.f=0,Bjn.i=nMn;var TBn,MBn,SBn,PBn,IBn=TF(GMn,"CNode",57);Vfn(814,1,{},ov),TF(GMn,"CNode/CNodeBuilder",814),Vfn(1525,1,{},dn),Bjn.Oe=function(n,t){return 0},Bjn.Pe=function(n,t){return 0},TF(GMn,UMn,1525),Vfn(1790,1,{},gn),Bjn.Le=function(n){var t,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=ZTn,r=new pb(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},Bjn.Se=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=D7(this,bcn(this,null,!0));else for(ZZ(),i=0,r=(t=D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])).length;i0?c+this.n.b+this.n.c:0},Bjn.Te=function(){var n,t,e,i,r;if(this.g)for(n=bcn(this,null,!1),ZZ(),i=0,r=(e=D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])).length;i0&&(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=t.d+n.d+(this.c.a-i)/2,r[1]=e.Math.max(r[1],i),SV(this,aHn,t.d+n.d+r[0]-(r[1]-i)/2,r)},Bjn.b=null,Bjn.d=0,Bjn.e=!1,Bjn.f=!1,Bjn.g=!1;var fHn,lHn,bHn,wHn=0,dHn=0;TF(pSn,"GridContainerCell",1473),Vfn(461,22,{3:1,35:1,22:1,461:1},sM);var gHn,pHn=W1(pSn,"HorizontalLabelAlignment",461,o_n,(function(){return HY(),D4(zy(pHn,1),WEn,461,0,[lHn,fHn,bHn])}),(function(n){return HY(),cZ((yQ(),gHn),n)}));Vfn(306,212,{212:1,306:1},iG,_Z,Gq),Bjn.Re=function(){return WD(this)},Bjn.Se=function(){return VD(this)},Bjn.a=0,Bjn.c=!1;var vHn,mHn,yHn,kHn=TF(pSn,"LabelCell",306);Vfn(244,326,{212:1,326:1,244:1},Ptn),Bjn.Re=function(){return Rhn(this)},Bjn.Se=function(){return Khn(this)},Bjn.Te=function(){avn(this)},Bjn.Ue=function(){fvn(this)},Bjn.b=0,Bjn.c=0,Bjn.d=!1,TF(pSn,"StripContainerCell",244),Vfn(1626,1,JEn,En),Bjn.Mb=function(n){return function(n){return!!n&&n.k}(Jx(n,212))},TF(pSn,"StripContainerCell/lambda$0$Type",1626),Vfn(1627,1,{},Tn),Bjn.Fe=function(n){return Jx(n,212).Se()},TF(pSn,"StripContainerCell/lambda$1$Type",1627),Vfn(1628,1,JEn,Mn),Bjn.Mb=function(n){return function(n){return!!n&&n.j}(Jx(n,212))},TF(pSn,"StripContainerCell/lambda$2$Type",1628),Vfn(1629,1,{},Sn),Bjn.Fe=function(n){return Jx(n,212).Re()},TF(pSn,"StripContainerCell/lambda$3$Type",1629),Vfn(462,22,{3:1,35:1,22:1,462:1},hM);var jHn,EHn,THn,MHn,SHn,PHn,IHn,CHn,OHn,AHn,$Hn,LHn,NHn,xHn,DHn,RHn,KHn,_Hn,FHn,BHn,HHn,qHn,GHn,zHn=W1(pSn,"VerticalLabelAlignment",462,o_n,(function(){return AJ(),D4(zy(zHn,1),WEn,462,0,[yHn,mHn,vHn])}),(function(n){return AJ(),cZ((kQ(),jHn),n)}));Vfn(789,1,{},mkn),Bjn.c=0,Bjn.d=0,Bjn.k=0,Bjn.s=0,Bjn.t=0,Bjn.v=!1,Bjn.w=0,Bjn.D=!1,TF(MSn,"NodeContext",789),Vfn(1471,1,BMn,Pn),Bjn.ue=function(n,t){return tC(Jx(n,61),Jx(t,61))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(MSn,"NodeContext/0methodref$comparePortSides$Type",1471),Vfn(1472,1,BMn,In),Bjn.ue=function(n,t){return function(n,t){var e;if(0!=(e=tC(n.b.Hf(),t.b.Hf())))return e;switch(n.b.Hf().g){case 1:case 2:return iO(n.b.sf(),t.b.sf());case 3:case 4:return iO(t.b.sf(),n.b.sf())}return 0}(Jx(n,111),Jx(t,111))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(MSn,"NodeContext/1methodref$comparePortContexts$Type",1472),Vfn(159,22,{3:1,35:1,22:1,159:1},X2);var UHn,XHn,WHn,VHn,QHn,YHn,JHn,ZHn=W1(MSn,"NodeLabelLocation",159,o_n,Wtn,(function(n){return xjn(),cZ((NI(),UHn),n)}));Vfn(111,1,{111:1},pfn),Bjn.a=!1,TF(MSn,"PortContext",111),Vfn(1476,1,IEn,Cn),Bjn.td=function(n){sj(Jx(n,306))},TF(ISn,CSn,1476),Vfn(1477,1,JEn,On),Bjn.Mb=function(n){return!!Jx(n,111).c},TF(ISn,OSn,1477),Vfn(1478,1,IEn,An),Bjn.td=function(n){sj(Jx(n,111).c)},TF(ISn,"LabelPlacer/lambda$2$Type",1478),Vfn(1475,1,IEn,Ln),Bjn.td=function(n){IL(),function(n){n.b.tf(n.e)}(Jx(n,111))},TF(ISn,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),Vfn(790,1,IEn,jx),Bjn.td=function(n){fT(this.b,this.c,this.a,Jx(n,181))},Bjn.a=!1,Bjn.c=!1,TF(ISn,"NodeLabelCellCreator/lambda$0$Type",790),Vfn(1474,1,IEn,Yb),Bjn.td=function(n){!function(n,t){Bon(n.c,t)}(this.a,Jx(n,181))},TF(ISn,"PortContextCreator/lambda$0$Type",1474),Vfn(1829,1,{},Nn),TF($Sn,"GreedyRectangleStripOverlapRemover",1829),Vfn(1830,1,BMn,$n),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.d,t.c.d)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),Vfn(1786,1,{},bv),Bjn.a=5,Bjn.e=0,TF($Sn,"RectangleStripOverlapRemover",1786),Vfn(1787,1,BMn,Dn),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.c,t.c.c)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),Vfn(1789,1,BMn,Rn),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.c+n.c.b,t.c.c+t.c.b)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),Vfn(406,22,{3:1,35:1,22:1,406:1},fM);var nqn,tqn,eqn,iqn,rqn,cqn=W1($Sn,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,o_n,(function(){return i4(),D4(zy(cqn,1),WEn,406,0,[JHn,VHn,QHn,YHn])}),(function(n){return i4(),cZ((UY(),nqn),n)}));Vfn(222,1,{222:1},lK),TF($Sn,"RectangleStripOverlapRemover/RectangleNode",222),Vfn(1788,1,IEn,Jb),Bjn.td=function(n){!function(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}(this.a,Jx(n,222))},TF($Sn,"RectangleStripOverlapRemover/lambda$1$Type",1788),Vfn(1304,1,BMn,Kn),Bjn.ue=function(n,t){return function(n,t){var e,i,r,c;return e=new _n,1==(r=2==(r=(i=Jx(jW(lH(new PR(null,new xz(n.f,16)),e),jJ(new Q,new Y,new cn,new an,D4(zy(dBn,1),WEn,132,0,[(O6(),oBn),uBn]))),21)).gc())?1:0)&&hI(Pnn(Jx(jW(fH(i.Lc(),new Fn),j3(ktn(0),new en)),162).a,2),0)&&(r=0),1==(c=2==(c=(i=Jx(jW(lH(new PR(null,new xz(t.f,16)),e),jJ(new Q,new Y,new cn,new an,D4(zy(dBn,1),WEn,132,0,[oBn,uBn]))),21)).gc())?1:0)&&hI(Pnn(Jx(jW(fH(i.Lc(),new Bn),j3(ktn(0),new en)),162).a,2),0)&&(c=0),r0?J_(n.a,t,e):J_(n.b,t,e)}(this,Jx(n,46),Jx(t,167))},TF(NSn,"SuccessorCombination",777),Vfn(644,1,{},Wn),Bjn.Ce=function(n,t){var i;return function(n){var t,i,r,c,a;return i=c=Jx(n.a,19).a,r=a=Jx(n.b,19).a,t=e.Math.max(e.Math.abs(c),e.Math.abs(a)),c<=0&&c==a?(i=0,r=a-1):c==-t&&a!=t?(i=a,r=c,a>=0&&++i):(i=-a,r=c),new yP(g9(i),g9(r))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorJitter",644),Vfn(643,1,{},Vn),Bjn.Ce=function(n,t){var i;return function(n){var t,i;if(t=Jx(n.a,19).a,i=Jx(n.b,19).a,t>=0){if(t==i)return new yP(g9(-t-1),g9(-t-1));if(t==-i)return new yP(g9(-t),g9(i+1))}return e.Math.abs(t)>e.Math.abs(i)?new yP(g9(-t),g9(t<0?i:i+1)):new yP(g9(t+1),g9(i))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorLineByLine",643),Vfn(568,1,{},Qn),Bjn.Ce=function(n,t){var e;return function(n){var t,e,i,r;return t=i=Jx(n.a,19).a,e=r=Jx(n.b,19).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new yP(g9(t),g9(e))}((e=Jx(n,46),Jx(t,167),e))},TF(NSn,"SuccessorManhattan",568),Vfn(1356,1,{},Yn),Bjn.Ce=function(n,t){var i;return function(n){var t,i,r;return i=Jx(n.a,19).a,r=Jx(n.b,19).a,i<(t=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-t?new yP(g9(i+1),g9(r)):i==t&&r=-t&&r==t?new yP(g9(i-1),g9(r)):new yP(g9(i),g9(r-1))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorMaxNormWindingInMathPosSense",1356),Vfn(400,1,{},Zb),Bjn.Ce=function(n,t){return J_(this,n,t)},Bjn.c=!1,Bjn.d=!1,Bjn.e=!1,Bjn.f=!1,TF(NSn,"SuccessorQuadrantsGeneric",400),Vfn(1357,1,{},Jn),Bjn.Kb=function(n){return Jx(n,324).a},TF(NSn,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),Vfn(323,22,{3:1,35:1,22:1,323:1},rM),Bjn.a=!1;var aqn,uqn=W1(_Sn,FSn,323,o_n,(function(){return Pen(),D4(zy(uqn,1),WEn,323,0,[eqn,tqn,iqn,rqn])}),(function(n){return Pen(),cZ((XY(),aqn),n)}));Vfn(1298,1,{}),Bjn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=g9(0),r=0;r0&&N1(p,y*j),k>0&&x1(p,k*E);for(P3(n.b,new lt),t=new rp,u=new e6(new Ql(n.c).a);u.b;)i=Jx((a=h1(u)).cd(),79),e=Jx(a.dd(),395).a,r=Jwn(i,!1,!1),dvn(f=Wan(_un(i),_on(r),e),r),(m=Fun(i))&&-1==fJ(t,m,0)&&(t.c[t.c.length]=m,AH(m,(P$(0!=f.b),Jx(f.a.a.c,8)),e));for(g=new e6(new Ql(n.d).a);g.b;)i=Jx((d=h1(g)).cd(),79),e=Jx(d.dd(),395).a,r=Jwn(i,!1,!1),f=Wan(Hun(i),X5(_on(r)),e),dvn(f=X5(f),r),(m=Bun(i))&&-1==fJ(t,m,0)&&(t.c[t.c.length]=m,AH(m,(P$(0!=f.b),Jx(f.c.b.c,8)),e))}(r),$en(n,Oqn,this.b),Kon(t)},Bjn.a=0,TF(ZSn,"DisCoLayoutProvider",1132),Vfn(1244,1,{},ct),Bjn.c=!1,Bjn.e=0,Bjn.f=0,TF(ZSn,"DisCoPolyominoCompactor",1244),Vfn(561,1,{561:1},GR),Bjn.b=!0,TF(nPn,"DCComponent",561),Vfn(394,22,{3:1,35:1,22:1,394:1},iM),Bjn.a=!1;var vqn,mqn,yqn=W1(nPn,"DCDirection",394,o_n,(function(){return Ien(),D4(zy(yqn,1),WEn,394,0,[wqn,bqn,dqn,gqn])}),(function(n){return Ien(),cZ((WY(),vqn),n)}));Vfn(266,134,{3:1,266:1,94:1,134:1},iln),TF(nPn,"DCElement",266),Vfn(395,1,{395:1},Hin),Bjn.c=0,TF(nPn,"DCExtension",395),Vfn(755,134,XSn,Ek),TF(nPn,"DCGraph",755),Vfn(481,22,{3:1,35:1,22:1,481:1},C$);var kqn,jqn,Eqn,Tqn,Mqn,Sqn,Pqn,Iqn,Cqn,Oqn,Aqn,$qn,Lqn,Nqn,xqn,Dqn,Rqn,Kqn,_qn,Fqn,Bqn,Hqn=W1(tPn,ePn,481,o_n,(function(){return HE(),D4(zy(Hqn,1),WEn,481,0,[mqn])}),(function(n){return HE(),cZ((kX(),kqn),n)}));Vfn(854,1,lSn,Fh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iPn),uPn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Tqn),(bsn(),A7n)),Hqn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,rPn),uPn),"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."),x7n),lFn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,cPn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),N7n),XKn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,aPn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),N7n),XKn),Z9(M7n)))),Yvn((new Bh,n))},TF(tPn,"DisCoMetaDataProvider",854),Vfn(998,1,lSn,Bh),Bjn.Qe=function(n){Yvn(n)},TF(tPn,"DisCoOptions",998),Vfn(999,1,{},at),Bjn.$e=function(){return new rt},Bjn._e=function(n){},TF(tPn,"DisCoOptions/DiscoFactory",999),Vfn(562,167,{321:1,167:1,562:1},tbn),Bjn.a=0,Bjn.b=0,Bjn.c=0,Bjn.d=0,TF("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),Vfn(1268,1,JEn,ut),Bjn.Mb=function(n){return LI(n)},TF(bPn,"ElkGraphComponentsProcessor/lambda$0$Type",1268),Vfn(1269,1,{},ot),Bjn.Kb=function(n){return XH(),_un(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$1$Type",1269),Vfn(1270,1,JEn,st),Bjn.Mb=function(n){return function(n){return XH(),_un(n)==CG(Hun(n))}(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$2$Type",1270),Vfn(1271,1,{},ht),Bjn.Kb=function(n){return XH(),Hun(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$3$Type",1271),Vfn(1272,1,JEn,ft),Bjn.Mb=function(n){return function(n){return XH(),Hun(n)==CG(_un(n))}(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$4$Type",1272),Vfn(1273,1,JEn,tw),Bjn.Mb=function(n){return function(n,t){return XH(),n==CG(_un(t))||n==CG(Hun(t))}(this.a,Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$5$Type",1273),Vfn(1274,1,{},ew),Bjn.Kb=function(n){return function(n,t){return XH(),n==_un(t)?Hun(t):_un(t)}(this.a,Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$6$Type",1274),Vfn(1241,1,{},cW),Bjn.a=0,TF(bPn,"ElkGraphTransformer",1241),Vfn(1242,1,{},lt),Bjn.Od=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,OO(t,352)?(WW(c=_on(r=Jwn(Jx(t,79),!1,!1)),i=new iw(n)),dvn(c,r),null!=t.We((Ojn(),znt))&&WW(Jx(t.We(znt),74),i)):((a=Jx(t,470)).Hg(a.Dg()+n.a.a),a.Ig(a.Eg()+n.a.b))}(this,Jx(n,160),Jx(t,266))},TF(bPn,"ElkGraphTransformer/OffsetApplier",1242),Vfn(1243,1,IEn,iw),Bjn.td=function(n){!function(n,t){L$(t,n.a.a.a,n.a.a.b)}(this,Jx(n,8))},TF(bPn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),Vfn(753,1,{},bt),TF(vPn,mPn,753),Vfn(1232,1,BMn,wt),Bjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Jx($un(t,(Hdn(),wGn)),19).a-Jx($un(n,wGn),19).a)?(i=kN(gO(Jx($un(n,(g2(),jGn)),8)),Jx($un(n,EGn),8)),r=kN(gO(Jx($un(t,jGn),8)),Jx($un(t,EGn),8)),L9(i.a*i.b,r.a*r.b)):e}(Jx(n,231),Jx(t,231))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(vPn,yPn,1232),Vfn(740,209,QSn,rv),Bjn.Ze=function(n,t){wbn(this,n,t)},TF(vPn,"ForceLayoutProvider",740),Vfn(357,134,{3:1,357:1,94:1,134:1}),TF(kPn,"FParticle",357),Vfn(559,357,{3:1,559:1,357:1,94:1,134:1},gF),Bjn.Ib=function(){var n;return this.a?(n=fJ(this.a.a,this,0))>=0?"b"+n+"["+JW(this.a)+"]":"b["+JW(this.a)+"]":"b_"+FA(this)},TF(kPn,"FBendpoint",559),Vfn(282,134,{3:1,282:1,94:1,134:1},cN),Bjn.Ib=function(){return JW(this)},TF(kPn,"FEdge",282),Vfn(231,134,{3:1,231:1,94:1,134:1},WV);var qqn,Gqn,zqn,Uqn,Xqn,Wqn,Vqn,Qqn,Yqn,Jqn,Zqn=TF(kPn,"FGraph",231);Vfn(447,357,{3:1,447:1,357:1,94:1,134:1},dW),Bjn.Ib=function(){return null==this.b||0==this.b.length?"l["+JW(this.a)+"]":"l_"+this.b},TF(kPn,"FLabel",447),Vfn(144,357,{3:1,144:1,357:1,94:1,134:1},zF),Bjn.Ib=function(){return Jz(this)},Bjn.b=0,TF(kPn,"FNode",144),Vfn(2003,1,{}),Bjn.bf=function(n){_pn(this,n)},Bjn.cf=function(){ern(this)},Bjn.d=0,TF(EPn,"AbstractForceModel",2003),Vfn(631,2003,{631:1},n4),Bjn.af=function(n,t){var i,r,c,a;return yhn(this.f,n,t),c=kN(gO(t.d),n.d),a=e.Math.sqrt(c.a*c.a+c.b*c.b),r=e.Math.max(0,a-lB(n.e)/2-lB(t.e)/2),_O(c,((i=B5(this.e,n,t))>0?-function(n,t){return n>0?e.Math.log(n/t):-100}(r,this.c)*i:function(n,t){return n>0?t/(n*n):100*t}(r,this.b)*Jx($un(n,(Hdn(),wGn)),19).a)/a),c},Bjn.bf=function(n){_pn(this,n),this.a=Jx($un(n,(Hdn(),rGn)),19).a,this.c=ey(lL($un(n,yGn))),this.b=ey(lL($un(n,gGn)))},Bjn.df=function(n){return n0?t*t/n:t*t*100}(r=e.Math.max(0,u-lB(n.e)/2-lB(t.e)/2),this.a)*Jx($un(n,(Hdn(),wGn)),19).a,(i=B5(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*i),_O(c,a*this.b/u),c},Bjn.bf=function(n){var t,i,r,c,a,u,o;for(_pn(this,n),this.b=ey(lL($un(n,(Hdn(),kGn)))),this.c=this.b/Jx($un(n,rGn),19).a,r=n.e.c.length,a=0,c=0,o=new pb(n.e);o.a0},Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(EPn,"FruchtermanReingoldModel",632),Vfn(849,1,lSn,qh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TPn),""),"Force Model"),"Determines the model for force calculation."),zqn),(bsn(),A7n)),XGn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MPn),""),"Iterations"),"The number of iterations on the force model."),g9(300)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SPn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PPn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),IPn),O7n),q_n),Z9(M7n)))),DU(n,PPn,TPn,Qqn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CPn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),O7n),q_n),Z9(M7n)))),DU(n,CPn,TPn,Xqn),Skn((new Gh,n))},TF(OPn,"ForceMetaDataProvider",849),Vfn(424,22,{3:1,35:1,22:1,424:1},lM);var nGn,tGn,eGn,iGn,rGn,cGn,aGn,uGn,oGn,sGn,hGn,fGn,lGn,bGn,wGn,dGn,gGn,pGn,vGn,mGn,yGn,kGn,jGn,EGn,TGn,MGn,SGn,PGn,IGn,CGn,OGn,AGn,$Gn,LGn,NGn,xGn,DGn,RGn,KGn,_Gn,FGn,BGn,HGn,qGn,GGn,zGn,UGn,XGn=W1(OPn,"ForceModelStrategy",424,o_n,(function(){return fZ(),D4(zy(XGn,1),WEn,424,0,[Yqn,Jqn])}),(function(n){return fZ(),cZ((SW(),nGn),n)}));Vfn(988,1,lSn,Gh),Bjn.Qe=function(n){Skn(n)},TF(OPn,"ForceOptions",988),Vfn(989,1,{},dt),Bjn.$e=function(){return new rv},Bjn._e=function(n){},TF(OPn,"ForceOptions/ForceFactory",989),Vfn(850,1,lSn,zh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QPn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(MA(),!1)),(bsn(),C7n)),R_n),Z9((Ytn(),T7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YPn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),O7n),q_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[j7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JPn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),IGn),A7n),izn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZPn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),IPn),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nIn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),g9(Jjn)),L7n),X_n),Z9(M7n)))),_yn((new Uh,n))},TF(OPn,"StressMetaDataProvider",850),Vfn(992,1,lSn,Uh),Bjn.Qe=function(n){_yn(n)},TF(OPn,"StressOptions",992),Vfn(993,1,{},gt),Bjn.$e=function(){return new aN},Bjn._e=function(n){},TF(OPn,"StressOptions/StressFactory",993),Vfn(1128,209,QSn,aN),Bjn.Ze=function(n,t){var e,i,r,c;for(cun(t,eIn,1),ty(fL(Eln(n,(Vrn(),DGn))))?ty(fL(Eln(n,HGn)))||cG(new Xb((gT(),new Wm(n)))):wbn(new rv,n,Z2(t,1)),i=d5(n),c=(e=svn(this.a,i)).Kc();c.Ob();)(r=Jx(c.Pb(),231)).e.c.length<=1||(Lmn(this.b,r),Sln(this.b),VZ(r.d,new pt));Akn(i=Fkn(e)),Kon(t)},TF(rIn,"StressLayoutProvider",1128),Vfn(1129,1,IEn,pt),Bjn.td=function(n){Vvn(Jx(n,447))},TF(rIn,"StressLayoutProvider/lambda$0$Type",1129),Vfn(990,1,{},qp),Bjn.c=0,Bjn.e=0,Bjn.g=0,TF(rIn,"StressMajorization",990),Vfn(379,22,{3:1,35:1,22:1,379:1},bM);var WGn,VGn,QGn,YGn,JGn,ZGn,nzn,tzn,ezn,izn=W1(rIn,"StressMajorization/Dimension",379,o_n,(function(){return OJ(),D4(zy(izn,1),WEn,379,0,[zGn,GGn,UGn])}),(function(n){return OJ(),cZ((EQ(),WGn),n)}));Vfn(991,1,BMn,rw),Bjn.ue=function(n,t){return function(n,t,e){return L9(n[t.b],n[e.b])}(this.a,Jx(n,144),Jx(t,144))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(rIn,"StressMajorization/lambda$0$Type",991),Vfn(1229,1,{},pU),TF(aIn,"ElkLayered",1229),Vfn(1230,1,IEn,vt),Bjn.td=function(n){!function(n){var t;if((t=Jx($un(n,(pjn(),r1n)),314))==(A0(),MWn))throw fp(new wy("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(Jx(n,37))},TF(aIn,"ElkLayered/lambda$0$Type",1230),Vfn(1231,1,IEn,cw),Bjn.td=function(n){!function(n,t){w5(t,(pjn(),JZn),n)}(this.a,Jx(n,37))},TF(aIn,"ElkLayered/lambda$1$Type",1231),Vfn(1263,1,{},lO),TF(aIn,"GraphConfigurator",1263),Vfn(759,1,IEn,aw),Bjn.td=function(n){con(this.a,Jx(n,10))},TF(aIn,"GraphConfigurator/lambda$0$Type",759),Vfn(760,1,{},mt),Bjn.Kb=function(n){return Scn(),new PR(null,new xz(Jx(n,29).a,16))},TF(aIn,"GraphConfigurator/lambda$1$Type",760),Vfn(761,1,IEn,uw),Bjn.td=function(n){con(this.a,Jx(n,10))},TF(aIn,"GraphConfigurator/lambda$2$Type",761),Vfn(1127,209,QSn,av),Bjn.Ze=function(n,t){var e;e=_vn(new dv,n),rI(Eln(n,(pjn(),T1n)))===rI((A8(),Let))?F7(this.a,e,t):sfn(this.a,e,t),Mkn(new Wh,e)},TF(aIn,"LayeredLayoutProvider",1127),Vfn(356,22,{3:1,35:1,22:1,356:1},wM);var rzn,czn,azn,uzn=W1(aIn,"LayeredPhases",356,o_n,(function(){return Lun(),D4(zy(uzn,1),WEn,356,0,[JGn,ZGn,nzn,tzn,ezn])}),(function(n){return Lun(),cZ((yZ(),rzn),n)}));Vfn(1651,1,{},k0),Bjn.i=0,TF(uIn,"ComponentsToCGraphTransformer",1651),Vfn(1652,1,{},yt),Bjn.ef=function(n,t){return e.Math.min(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},Bjn.ff=function(n,t){return e.Math.min(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},TF(uIn,"ComponentsToCGraphTransformer/1",1652),Vfn(81,1,{81:1}),Bjn.i=0,Bjn.k=!0,Bjn.o=nMn;var ozn,szn,hzn,fzn=TF(oIn,"CNode",81);Vfn(460,81,{460:1,81:1},UA,Ttn),Bjn.Ib=function(){return""},TF(uIn,"ComponentsToCGraphTransformer/CRectNode",460),Vfn(1623,1,{},kt),TF(uIn,"OneDimensionalComponentsCompaction",1623),Vfn(1624,1,{},jt),Bjn.Kb=function(n){return function(n){return c8(),MA(),0!=Jx(n.a,81).d.e}(Jx(n,46))},Bjn.Fb=function(n){return this===n},TF(uIn,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),Vfn(1625,1,{},Et),Bjn.Kb=function(n){return function(n){return c8(),MA(),!!(S7(Jx(n.a,81).j,Jx(n.b,103))||0!=Jx(n.a,81).d.e&&S7(Jx(n.a,81).j,Jx(n.b,103)))}(Jx(n,46))},Bjn.Fb=function(n){return this===n},TF(uIn,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),Vfn(1654,1,{},qF),TF(oIn,"CGraph",1654),Vfn(189,1,{189:1},Mtn),Bjn.b=0,Bjn.c=0,Bjn.e=0,Bjn.g=!0,Bjn.i=nMn,TF(oIn,"CGroup",189),Vfn(1653,1,{},Pt),Bjn.ef=function(n,t){return e.Math.max(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},Bjn.ff=function(n,t){return e.Math.max(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},TF(oIn,UMn,1653),Vfn(1655,1,{},cfn),Bjn.d=!1;var lzn=TF(oIn,YMn,1655);Vfn(1656,1,{},It),Bjn.Kb=function(n){return VE(),MA(),0!=Jx(Jx(n,46).a,81).d.e},Bjn.Fb=function(n){return this===n},TF(oIn,JMn,1656),Vfn(823,1,{},pR),Bjn.a=!1,Bjn.b=!1,Bjn.c=!1,Bjn.d=!1,TF(oIn,ZMn,823),Vfn(1825,1,{},bK),TF(sIn,nSn,1825);var bzn=uR(hIn,qMn);Vfn(1826,1,{369:1},kq),Bjn.Ke=function(n){!function(n,t){var e,i,r;t.a?(oF(n.b,t.b),n.a[t.b.i]=Jx(HN(n.b,t.b),81),(e=Jx(BN(n.b,t.b),81))&&(n.a[e.i]=t.b)):(!!(i=Jx(HN(n.b,t.b),81))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=Jx(BN(n.b,t.b),81))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),KA(n.b,t.b))}(this,Jx(n,466))},TF(sIn,tSn,1826),Vfn(1827,1,BMn,Ct),Bjn.ue=function(n,t){return function(n,t){return L9(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(Jx(n,81),Jx(t,81))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(sIn,eSn,1827),Vfn(466,1,{466:1},OM),Bjn.a=!1,TF(sIn,iSn,466),Vfn(1828,1,BMn,Ot),Bjn.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=L9(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(Jx(n,466),Jx(t,466))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(sIn,rSn,1828),Vfn(140,1,{140:1},NM,TD),Bjn.Fb=function(n){var t;return null!=n&&vzn==Q5(n)&&(t=Jx(n,140),GB(this.c,t.c)&&GB(this.d,t.d))},Bjn.Hb=function(){return z6(D4(zy(XKn,1),rEn,1,5,[this.c,this.d]))},Bjn.Ib=function(){return"("+this.c+eEn+this.d+(this.a?"cx":"")+this.b+")"},Bjn.a=!0,Bjn.c=0,Bjn.d=0;var wzn,dzn,gzn,pzn,vzn=TF(hIn,"Point",140);Vfn(405,22,{3:1,35:1,22:1,405:1},dM);var mzn,yzn,kzn,jzn,Ezn,Tzn,Mzn,Szn,Pzn,Izn,Czn,Ozn=W1(hIn,"Point/Quadrant",405,o_n,(function(){return F4(),D4(zy(Ozn,1),WEn,405,0,[wzn,pzn,dzn,gzn])}),(function(n){return F4(),cZ((zY(),mzn),n)}));Vfn(1642,1,{},sv),Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,Bjn.f=null,TF(hIn,"RectilinearConvexHull",1642),Vfn(574,1,{369:1},wen),Bjn.Ke=function(n){!function(n,t){n.a.ue(t.d,n.b)>0&&(iD(n.c,new TD(t.c,t.d,n.d)),n.b=t.d)}(this,Jx(n,140))},Bjn.b=0,TF(hIn,"RectilinearConvexHull/MaximalElementsEventHandler",574),Vfn(1644,1,BMn,Mt),Bjn.ue=function(n,t){return function(n,t){return QE(),L9((mB(n),n),(mB(t),t))}(lL(n),lL(t))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),Vfn(1643,1,{369:1},DZ),Bjn.Ke=function(n){Ubn(this,Jx(n,140))},Bjn.a=0,Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,TF(hIn,"RectilinearConvexHull/RectangleEventHandler",1643),Vfn(1645,1,BMn,St),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(t.d,n.d):L9(n.c,t.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$0$Type",1645),Vfn(1646,1,BMn,Tt),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(n.d,t.d):L9(n.c,t.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$1$Type",1646),Vfn(1647,1,BMn,At),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(t.d,n.d):L9(t.c,n.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$2$Type",1647),Vfn(1648,1,BMn,$t),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(n.d,t.d):L9(t.c,n.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$3$Type",1648),Vfn(1649,1,BMn,Lt),Bjn.ue=function(n,t){return xun(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$4$Type",1649),Vfn(1650,1,{},ez),TF(hIn,"Scanline",1650),Vfn(2005,1,{}),TF(fIn,"AbstractGraphPlacer",2005),Vfn(325,1,{325:1},B$),Bjn.mf=function(n){return!!this.nf(n)&&(Yhn(this.b,Jx($un(n,(Ajn(),oQn)),21),n),!0)},Bjn.nf=function(n){var t,e,i;for(t=Jx($un(n,(Ajn(),oQn)),21),i=Jx(FV(Szn,t),21).Kc();i.Ob();)if(e=Jx(i.Pb(),21),!Jx(FV(this.b,e),15).dc())return!1;return!0},TF(fIn,"ComponentGroup",325),Vfn(765,2005,{},hv),Bjn.of=function(n){var t;for(t=new pb(this.a);t.ai?1:0}(Jx(n,37),Jx(t,37))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(fIn,"ComponentsProcessor/lambda$0$Type",1265),Vfn(570,325,{325:1,570:1},rV),Bjn.mf=function(n){return u6(this,n)},Bjn.nf=function(n){return Bbn(this,n)},TF(fIn,"ModelOrderComponentGroup",570),Vfn(1291,2005,{},Dt),Bjn.lf=function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;if(1!=n.gc()){if(n.dc())return t.a.c=QQ(XKn,rEn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(rI($un(t,(pjn(),qZn)))===rI((i9(),Czn))){for(s=n.Kc();s.Ob();){for(p=0,d=new pb((u=Jx(s.Pb(),37)).a);d.ab&&(k=0,j+=l+c,l=0),wgn(u,k+(g=u.c).a,j+g.b),AI(g),i=e.Math.max(i,k+v.a),l=e.Math.max(l,v.b),k+=v.a+c;if(t.f.a=i,t.f.b=j+l,ty(fL($un(a,FZn)))){for(wjn(r=new Nt,n,c),f=n.Kc();f.Ob();)yN(AI(Jx(f.Pb(),37).c),r.e);yN(AI(t.f),r.a)}gY(t,n)}else(m=Jx(n.Xb(0),37))!=t&&(t.a.c=QQ(XKn,rEn,1,0,5,1),Rgn(t,m,0,0),s4(t,m),qH(t.d,m.d),t.f.a=m.f.a,t.f.b=m.f.b)},TF(fIn,"SimpleRowGraphPlacer",1291),Vfn(1292,1,BMn,Rt),Bjn.ue=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?L9(n.f.a*n.f.b,t.f.a*t.f.b):e}(Jx(n,37),Jx(t,37))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(fIn,"SimpleRowGraphPlacer/1",1292),Vfn(1262,1,cSn,Kt),Bjn.Lb=function(n){var t;return!!(t=Jx($un(Jx(n,243).b,(pjn(),L1n)),74))&&0!=t.b},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){var t;return!!(t=Jx($un(Jx(n,243).b,(pjn(),L1n)),74))&&0!=t.b},TF(dIn,"CompoundGraphPostprocessor/1",1262),Vfn(1261,1,gIn,gv),Bjn.pf=function(n,t){Ven(this,Jx(n,37),t)},TF(dIn,"CompoundGraphPreprocessor",1261),Vfn(441,1,{441:1},a9),Bjn.c=!1,TF(dIn,"CompoundGraphPreprocessor/ExternalPort",441),Vfn(243,1,{243:1},Ex),Bjn.Ib=function(){return g$(this.c)+":"+_hn(this.b)},TF(dIn,"CrossHierarchyEdge",243),Vfn(763,1,BMn,ow),Bjn.ue=function(n,t){return function(n,t,e){var i,r;return t.c==(f0(),r3n)&&e.c==i3n?-1:t.c==i3n&&e.c==r3n?1:(i=W6(t.a,n.a),r=W6(e.a,n.a),t.c==r3n?r-i:i-r)}(this,Jx(n,243),Jx(t,243))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(dIn,"CrossHierarchyEdgeComparator",763),Vfn(299,134,{3:1,299:1,94:1,134:1}),Bjn.p=0,TF(pIn,"LGraphElement",299),Vfn(17,299,{3:1,17:1,299:1,94:1,134:1},Eq),Bjn.Ib=function(){return _hn(this)};var xzn=TF(pIn,"LEdge",17);Vfn(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},j0),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new pb(this.b)},Bjn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+zun(this.a):0==this.a.c.length?"G-layered"+zun(this.b):"G[layerless"+zun(this.a)+", layers"+zun(this.b)+"]"};var Dzn,Rzn=TF(pIn,"LGraph",37);Vfn(657,1,{}),Bjn.qf=function(){return this.e.n},Bjn.We=function(n){return $un(this.e,n)},Bjn.rf=function(){return this.e.o},Bjn.sf=function(){return this.e.p},Bjn.Xe=function(n){return A$(this.e,n)},Bjn.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},Bjn.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},Bjn.vf=function(n){this.e.p=n},TF(pIn,"LGraphAdapters/AbstractLShapeAdapter",657),Vfn(577,1,{839:1},sw),Bjn.wf=function(){var n,t;if(!this.b)for(this.b=f$(this.a.b.c.length),t=new pb(this.a.b);t.a0&&b8((Nz(t-1,n.length),n.charCodeAt(t-1)),MIn);)--t;if(r> ",n),jrn(e)),kI(yI((n.a+="[",n),e.i),"]")),n.a},Bjn.c=!0,Bjn.d=!1;var tUn,eUn,iUn,rUn,cUn=TF(pIn,"LPort",11);Vfn(397,1,LEn,fw),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new lw(new pb(this.a.e))},TF(pIn,"LPort/1",397),Vfn(1290,1,lEn,lw),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(qz(this.a),17).c},Bjn.Ob=function(){return nO(this.a)},Bjn.Qb=function(){U_(this.a)},TF(pIn,"LPort/1/1",1290),Vfn(359,1,LEn,bw),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new ww(new pb(this.a.g))},TF(pIn,"LPort/2",359),Vfn(762,1,lEn,ww),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(qz(this.a),17).d},Bjn.Ob=function(){return nO(this.a)},Bjn.Qb=function(){U_(this.a)},TF(pIn,"LPort/2/1",762),Vfn(1283,1,LEn,CM),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new XV(this)},TF(pIn,"LPort/CombineIter",1283),Vfn(201,1,lEn,XV),Bjn.Nb=function(n){C_(this,n)},Bjn.Qb=function(){Hk()},Bjn.Ob=function(){return JA(this)},Bjn.Pb=function(){return nO(this.a)?qz(this.a):qz(this.b)},TF(pIn,"LPort/CombineIter/1",201),Vfn(1285,1,cSn,Bt),Bjn.Lb=function(n){return ZK(n)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),0!=Jx(n,11).e.c.length},TF(pIn,"LPort/lambda$0$Type",1285),Vfn(1284,1,cSn,Ht),Bjn.Lb=function(n){return n_(n)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),0!=Jx(n,11).g.c.length},TF(pIn,"LPort/lambda$1$Type",1284),Vfn(1286,1,cSn,qt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Mit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Mit)},TF(pIn,"LPort/lambda$2$Type",1286),Vfn(1287,1,cSn,Gt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Tit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Tit)},TF(pIn,"LPort/lambda$3$Type",1287),Vfn(1288,1,cSn,zt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Hit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Hit)},TF(pIn,"LPort/lambda$4$Type",1288),Vfn(1289,1,cSn,Ut),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Git)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Git)},TF(pIn,"LPort/lambda$5$Type",1289),Vfn(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},GF),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new pb(this.a)},Bjn.Ib=function(){return"L_"+fJ(this.b.b,this,0)+zun(this.a)},TF(pIn,"Layer",29),Vfn(1342,1,{},dv),TF(AIn,$In,1342),Vfn(1346,1,{},Xt),Bjn.Kb=function(n){return run(Jx(n,82))},TF(AIn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),Vfn(1349,1,{},Wt),Bjn.Kb=function(n){return run(Jx(n,82))},TF(AIn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),Vfn(1343,1,IEn,dw),Bjn.td=function(n){mfn(this.a,Jx(n,118))},TF(AIn,LIn,1343),Vfn(1344,1,IEn,gw),Bjn.td=function(n){mfn(this.a,Jx(n,118))},TF(AIn,NIn,1344),Vfn(1345,1,{},Vt),Bjn.Kb=function(n){return new PR(null,new xz(function(n){return!n.c&&(n.c=new $N(nct,n,5,8)),n.c}(Jx(n,79)),16))},TF(AIn,xIn,1345),Vfn(1347,1,JEn,pw),Bjn.Mb=function(n){return function(n,t){return WZ(t,MG(n))}(this.a,Jx(n,33))},TF(AIn,DIn,1347),Vfn(1348,1,{},Qt),Bjn.Kb=function(n){return new PR(null,new xz(function(n){return!n.b&&(n.b=new $N(nct,n,4,7)),n.b}(Jx(n,79)),16))},TF(AIn,"ElkGraphImporter/lambda$5$Type",1348),Vfn(1350,1,JEn,vw),Bjn.Mb=function(n){return function(n,t){return WZ(t,MG(n))}(this.a,Jx(n,33))},TF(AIn,"ElkGraphImporter/lambda$7$Type",1350),Vfn(1351,1,JEn,Yt),Bjn.Mb=function(n){return function(n){return Vhn(n)&&ty(fL(Eln(n,(pjn(),O1n))))}(Jx(n,79))},TF(AIn,"ElkGraphImporter/lambda$8$Type",1351),Vfn(1278,1,{},Wh),TF(AIn,"ElkGraphLayoutTransferrer",1278),Vfn(1279,1,JEn,mw),Bjn.Mb=function(n){return function(n,t){return XE(),!F3(t.d.i,n)}(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),Vfn(1280,1,IEn,yw),Bjn.td=function(n){XE(),iD(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),Vfn(1281,1,JEn,kw),Bjn.Mb=function(n){return function(n,t){return XE(),F3(t.d.i,n)}(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),Vfn(1282,1,IEn,jw),Bjn.td=function(n){XE(),iD(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),Vfn(1485,1,gIn,Jt),Bjn.pf=function(n,t){!function(n,t){cun(t,RIn,1),PE(VJ(new PR(null,new xz(n.b,16)),new Zt),new ne),Kon(t)}(Jx(n,37),t)},TF(KIn,"CommentNodeMarginCalculator",1485),Vfn(1486,1,{},Zt),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,29).a,16))},TF(KIn,"CommentNodeMarginCalculator/lambda$0$Type",1486),Vfn(1487,1,IEn,ne),Bjn.td=function(n){!function(n){var t,i,r,c,a,u,o,s,h,f,l,b;if(o=n.d,l=Jx($un(n,(Ajn(),ZQn)),15),t=Jx($un(n,YVn),15),l||t){if(a=ey(lL(vnn(n,(pjn(),$0n)))),u=ey(lL(vnn(n,L0n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=Jx(c.Pb(),10),h=e.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),o.d+=h+u}if(i=0,t){for(h=0,c=t.Kc();c.Ob();)r=Jx(c.Pb(),10),h=e.Math.max(h,r.o.b),i+=r.o.a;i+=a*(t.gc()-1),o.a+=h+u}(s=e.Math.max(b,i))>n.o.a&&(f=(s-n.o.a)/2,o.b=e.Math.max(o.b,f),o.c=e.Math.max(o.c,f))}}(Jx(n,10))},TF(KIn,"CommentNodeMarginCalculator/lambda$1$Type",1487),Vfn(1488,1,gIn,te),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(cun(t,"Comment post-processing",1),c=new pb(n.b);c.a0&&Zgn((Lz(0,e.c.length),Jx(e.c[0],29)),n),e.c.length>1&&Zgn(Jx(MR(e,e.c.length-1),29),n),Kon(t)}(Jx(n,37),t)},TF(KIn,"HierarchicalPortPositionProcessor",1517),Vfn(1518,1,gIn,Vh),Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(n.b=t,n.a=Jx($un(t,(pjn(),M1n)),19).a,n.c=Jx($un(t,P1n),19).a,0==n.c&&(n.c=Jjn),g=new ZU(t.b,0);g.b=n.a&&(r=xvn(n,v),l=e.Math.max(l,r.b),y=e.Math.max(y,r.d),iD(o,new yP(v,r)));for(E=new rp,f=0;f0),g.a.Xb(g.c=--g.b),nN(g,T=new GF(n.b)),P$(g.b=2){for(b=!0,e=Jx(qz(h=new pb(r.j)),11),f=null;h.a0)}(Jx(n,17))},TF(KIn,"PartitionPreprocessor/lambda$2$Type",1577),Vfn(1578,1,IEn,ki),Bjn.td=function(n){!function(n){var t;yvn(n,!0),t=fTn,A$(n,(pjn(),S0n))&&(t+=Jx($un(n,S0n),19).a),w5(n,S0n,g9(t))}(Jx(n,17))},TF(KIn,"PartitionPreprocessor/lambda$3$Type",1578),Vfn(1579,1,gIn,rf),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(cun(t,"Port order processing",1),u=Jx($un(n,(pjn(),E0n)),421),e=new pb(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;own(xE(NE(DE(LE(new ev,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new SE,r=new pb(n.d.a);r.a1)for(t=qA((e=new iv,++n.b,e),n.d),u=nen(c,0);u.b!=u.d.c;)a=Jx(CX(u),121),own(xE(NE(DE(LE(new ev,1),0),t),a))}(this),zgn(Ox(this.d),new um),c=new pb(this.a.a.b);c.a=g&&(iD(a,g9(f)),m=e.Math.max(m,y[f-1]-l),o+=d,p+=y[f-1]-p,l=y[f-1],d=s[f]),d=e.Math.max(d,s[f]),++f;o+=d}(w=e.Math.min(1/m,1/t.b/o))>r&&(r=w,i=a)}return i},Bjn.Wf=function(){return!1},TF(tCn,"MSDCutIndexHeuristic",802),Vfn(1617,1,gIn,Sc),Bjn.pf=function(n,t){Ovn(Jx(n,37),t)},TF(tCn,"SingleEdgeGraphWrapper",1617),Vfn(227,22,{3:1,35:1,22:1,227:1},BM);var mWn,yWn,kWn,jWn=W1(eCn,"CenterEdgeLabelPlacementStrategy",227,o_n,(function(){return vsn(),D4(zy(jWn,1),WEn,227,0,[wWn,gWn,bWn,dWn,pWn,lWn])}),(function(n){return vsn(),cZ((k1(),mWn),n)}));Vfn(422,22,{3:1,35:1,22:1,422:1},HM);var EWn,TWn,MWn,SWn,PWn=W1(eCn,"ConstraintCalculationStrategy",422,o_n,(function(){return uY(),D4(zy(PWn,1),WEn,422,0,[yWn,kWn])}),(function(n){return uY(),cZ(($W(),EWn),n)}));Vfn(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},qM),Bjn.Kf=function(){return Phn(this)},Bjn.Xf=function(){return Phn(this)};var IWn,CWn,OWn,AWn,$Wn=W1(eCn,"CrossingMinimizationStrategy",314,o_n,(function(){return A0(),D4(zy($Wn,1),WEn,314,0,[MWn,TWn,SWn])}),(function(n){return A0(),cZ((MQ(),IWn),n)}));Vfn(337,22,{3:1,35:1,22:1,337:1},GM);var LWn,NWn,xWn,DWn,RWn,KWn,_Wn=W1(eCn,"CuttingStrategy",337,o_n,(function(){return l0(),D4(zy(_Wn,1),WEn,337,0,[CWn,AWn,OWn])}),(function(n){return l0(),cZ((SQ(),LWn),n)}));Vfn(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},zM),Bjn.Kf=function(){return lln(this)},Bjn.Xf=function(){return lln(this)};var FWn,BWn,HWn,qWn=W1(eCn,"CycleBreakingStrategy",335,o_n,(function(){return yin(),D4(zy(qWn,1),WEn,335,0,[xWn,NWn,RWn,KWn,DWn])}),(function(n){return yin(),cZ((bZ(),FWn),n)}));Vfn(419,22,{3:1,35:1,22:1,419:1},UM);var GWn,zWn,UWn,XWn,WWn=W1(eCn,"DirectionCongruency",419,o_n,(function(){return lZ(),D4(zy(WWn,1),WEn,419,0,[BWn,HWn])}),(function(n){return lZ(),cZ((IW(),GWn),n)}));Vfn(450,22,{3:1,35:1,22:1,450:1},XM);var VWn,QWn,YWn,JWn,ZWn,nVn,tVn,eVn=W1(eCn,"EdgeConstraint",450,o_n,(function(){return r5(),D4(zy(eVn,1),WEn,450,0,[UWn,zWn,XWn])}),(function(n){return r5(),cZ((PQ(),VWn),n)}));Vfn(276,22,{3:1,35:1,22:1,276:1},WM);var iVn,rVn,cVn,aVn=W1(eCn,"EdgeLabelSideSelection",276,o_n,(function(){return von(),D4(zy(aVn,1),WEn,276,0,[YWn,QWn,ZWn,JWn,tVn,nVn])}),(function(n){return von(),cZ((M1(),iVn),n)}));Vfn(479,22,{3:1,35:1,22:1,479:1},VM);var uVn,oVn,sVn,hVn,fVn,lVn,bVn,wVn=W1(eCn,"EdgeStraighteningStrategy",479,o_n,(function(){return aJ(),D4(zy(wVn,1),WEn,479,0,[cVn,rVn])}),(function(n){return aJ(),cZ((CW(),uVn),n)}));Vfn(274,22,{3:1,35:1,22:1,274:1},QM);var dVn,gVn,pVn,vVn,mVn,yVn,kVn,jVn=W1(eCn,"FixedAlignment",274,o_n,(function(){return Vcn(),D4(zy(jVn,1),WEn,274,0,[fVn,hVn,bVn,sVn,lVn,oVn])}),(function(n){return Vcn(),cZ((E1(),dVn),n)}));Vfn(275,22,{3:1,35:1,22:1,275:1},YM);var EVn,TVn,MVn,SVn,PVn,IVn,CVn,OVn,AVn,$Vn,LVn,NVn=W1(eCn,"GraphCompactionStrategy",275,o_n,(function(){return oon(),D4(zy(NVn,1),WEn,275,0,[yVn,pVn,kVn,mVn,vVn,gVn])}),(function(n){return oon(),cZ((j1(),EVn),n)}));Vfn(256,22,{3:1,35:1,22:1,256:1},JM);var xVn,DVn,RVn,KVn,_Vn=W1(eCn,"GraphProperties",256,o_n,(function(){return idn(),D4(zy(_Vn,1),WEn,256,0,[MVn,PVn,IVn,CVn,OVn,AVn,LVn,TVn,SVn,$Vn])}),(function(n){return idn(),cZ((t5(),xVn),n)}));Vfn(292,22,{3:1,35:1,22:1,292:1},ZM);var FVn,BVn,HVn,qVn,GVn=W1(eCn,"GreedySwitchType",292,o_n,(function(){return c4(),D4(zy(GVn,1),WEn,292,0,[RVn,KVn,DVn])}),(function(n){return c4(),cZ((OQ(),FVn),n)}));Vfn(303,22,{3:1,35:1,22:1,303:1},nS);var zVn,UVn,XVn,WVn=W1(eCn,"InLayerConstraint",303,o_n,(function(){return $J(),D4(zy(WVn,1),WEn,303,0,[HVn,qVn,BVn])}),(function(n){return $J(),cZ((CQ(),zVn),n)}));Vfn(420,22,{3:1,35:1,22:1,420:1},tS);var VVn,QVn,YVn,JVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn,uQn,oQn,sQn,hQn,fQn,lQn,bQn,wQn,dQn,gQn,pQn,vQn,mQn,yQn,kQn,jQn,EQn,TQn,MQn,SQn,PQn,IQn,CQn,OQn,AQn,$Qn,LQn,NQn,xQn,DQn,RQn,KQn,_Qn,FQn,BQn,HQn,qQn,GQn,zQn,UQn,XQn,WQn,VQn,QQn,YQn,JQn,ZQn,nYn,tYn,eYn,iYn,rYn,cYn=W1(eCn,"InteractiveReferencePoint",420,o_n,(function(){return gX(),D4(zy(cYn,1),WEn,420,0,[UVn,XVn])}),(function(n){return gX(),cZ((LW(),VVn),n)}));Vfn(163,22,{3:1,35:1,22:1,163:1},aS);var aYn,uYn,oYn,sYn,hYn,fYn,lYn,bYn,wYn,dYn,gYn,pYn,vYn,mYn,yYn,kYn,jYn,EYn,TYn,MYn,SYn,PYn,IYn,CYn,OYn,AYn,$Yn,LYn,NYn,xYn,DYn,RYn,KYn,_Yn,FYn,BYn,HYn,qYn,GYn,zYn,UYn,XYn,WYn,VYn,QYn,YYn,JYn,ZYn,nJn,tJn,eJn,iJn,rJn,cJn,aJn,uJn,oJn,sJn,hJn,fJn,lJn,bJn,wJn,dJn,gJn,pJn,vJn,mJn,yJn,kJn,jJn,EJn,TJn,MJn,SJn,PJn,IJn,CJn,OJn,AJn,$Jn,LJn,NJn,xJn,DJn,RJn,KJn,_Jn,FJn,BJn,HJn,qJn,GJn,zJn,UJn,XJn,WJn,VJn,QJn,YJn,JJn,ZJn,nZn,tZn,eZn,iZn,rZn,cZn,aZn,uZn,oZn,sZn,hZn,fZn,lZn,bZn,wZn,dZn,gZn,pZn,vZn,mZn,yZn,kZn,jZn,EZn,TZn,MZn,SZn,PZn,IZn,CZn,OZn,AZn,$Zn,LZn,NZn,xZn,DZn,RZn,KZn,_Zn,FZn,BZn,HZn,qZn,GZn,zZn,UZn,XZn,WZn,VZn,QZn,YZn,JZn,ZZn,n1n,t1n,e1n,i1n,r1n,c1n,a1n,u1n,o1n,s1n,h1n,f1n,l1n,b1n,w1n,d1n,g1n,p1n,v1n,m1n,y1n,k1n,j1n,E1n,T1n,M1n,S1n,P1n,I1n,C1n,O1n,A1n,$1n,L1n,N1n,x1n,D1n,R1n,K1n,_1n,F1n,B1n,H1n,q1n,G1n,z1n,U1n,X1n,W1n,V1n,Q1n,Y1n,J1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,u0n,o0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,v0n,m0n,y0n,k0n,j0n,E0n,T0n,M0n,S0n,P0n,I0n,C0n,O0n,A0n,$0n,L0n,N0n,x0n,D0n,R0n,K0n,_0n,F0n,B0n,H0n,q0n,G0n,z0n,U0n,X0n,W0n,V0n,Q0n,Y0n,J0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,u2n,o2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n,v2n=W1(eCn,"LayerConstraint",163,o_n,(function(){return g7(),D4(zy(v2n,1),WEn,163,0,[rYn,nYn,tYn,eYn,iYn])}),(function(n){return g7(),cZ((gZ(),aYn),n)}));Vfn(848,1,lSn,of),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oCn),""),"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."),HYn),(bsn(),A7n)),WWn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sCn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(MA(),!1)),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hCn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),fJn),A7n),cYn),Z9(M7n)))),DU(n,hCn,vCn,bJn),DU(n,hCn,ICn,lJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(function(n,t){return n.f=t,n}(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bCn),""),"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),C7n),R_n),Z9(S7n)),D4(zy(lFn,1),MEn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wCn),""),"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."),QJn),A7n),a3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,dCn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),g9(7)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vCn),"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)."),FYn),A7n),qWn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,mCn),POn),"Node Layering Strategy"),"Strategy for node layering."),IJn),A7n),E2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,yCn),POn),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),vJn),A7n),v2n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,kCn),POn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,jCn),POn),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ECn),IOn),"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."),g9(4)),L7n),X_n),Z9(M7n)))),DU(n,ECn,mCn,kJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TCn),IOn),"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."),g9(2)),L7n),X_n),Z9(M7n)))),DU(n,TCn,mCn,EJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MCn),COn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),SJn),A7n),Y2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SCn),COn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),g9(0)),L7n),X_n),Z9(M7n)))),DU(n,SCn,MCn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PCn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),g9(Jjn)),L7n),X_n),Z9(M7n)))),DU(n,PCn,mCn,dJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ICn),OOn),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),KYn),A7n),$Wn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CCn),OOn),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,OCn),OOn),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),O7n),q_n),Z9(M7n)))),DU(n,OCn,AOn,$Yn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ACn),OOn),"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),C7n),R_n),Z9(M7n)))),DU(n,ACn,ICn,DYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,$Cn),OOn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,LCn),OOn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NCn),$On),"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."),g9(40)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xCn),$On),"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."),CYn),A7n),GVn),Z9(M7n)))),DU(n,xCn,ICn,OYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DCn),"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."),MYn),A7n),GVn),Z9(M7n)))),DU(n,DCn,ICn,SYn),DU(n,DCn,AOn,PYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,RCn),LOn),"Node Placement Strategy"),"Strategy for node placement."),WJn),A7n),U2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,KCn),LOn),"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."),C7n),R_n),Z9(M7n)))),DU(n,KCn,RCn,KJn),DU(n,KCn,RCn,_Jn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Cn),NOn),"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."),$Jn),A7n),wVn),Z9(M7n)))),DU(n,_Cn,RCn,LJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FCn),NOn),"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."),xJn),A7n),jVn),Z9(M7n)))),DU(n,FCn,RCn,DJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BCn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),O7n),q_n),Z9(M7n)))),DU(n,BCn,RCn,BJn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,HCn),"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."),A7n),D2n),Z9(T7n)))),DU(n,HCn,RCn,UJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qCn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),GJn),A7n),D2n),Z9(M7n)))),DU(n,qCn,RCn,zJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,GCn),xOn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),QYn),A7n),d3n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,zCn),xOn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),JYn),A7n),y3n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,UCn),"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."),nJn),A7n),M3n),Z9(M7n)))),DU(n,UCn,DOn,tJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,XCn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),O7n),q_n),Z9(M7n)))),DU(n,XCn,DOn,iJn),DU(n,XCn,UCn,rJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,WCn),"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),O7n),q_n),Z9(M7n)))),DU(n,WCn,DOn,WYn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,VCn),ROn),"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."),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZCn),KOn),"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."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nOn),KOn),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,tOn),KOn),"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."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,eOn),_On),JSn),"Tries to further compact components (disconnected sub-graphs)."),!1),C7n),R_n),Z9(M7n)))),DU(n,eOn,RPn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iOn),FOn),"Post Compaction Strategy"),BOn),lYn),A7n),NVn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,rOn),FOn),"Post Compaction Constraint Calculation"),BOn),hYn),A7n),PWn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,cOn),HOn),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,aOn),HOn),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),g9(16)),L7n),X_n),Z9(M7n)))),DU(n,aOn,cOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,uOn),HOn),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),g9(5)),L7n),X_n),Z9(M7n)))),DU(n,uOn,cOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oOn),qOn),"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'."),IZn),A7n),B3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sOn),qOn),"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),O7n),q_n),Z9(M7n)))),DU(n,sOn,oOn,uZn),DU(n,sOn,oOn,oZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hOn),qOn),"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),O7n),q_n),Z9(M7n)))),DU(n,hOn,oOn,hZn),DU(n,hOn,oOn,fZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fOn),GOn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),vZn),A7n),_Wn),Z9(M7n)))),DU(n,fOn,oOn,mZn),DU(n,fOn,oOn,yZn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,lOn),GOn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),N7n),ZKn),Z9(M7n)))),DU(n,lOn,fOn,bZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bOn),"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."),dZn),L7n),X_n),Z9(M7n)))),DU(n,bOn,fOn,gZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wOn),zOn),"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."),LZn),A7n),O3n),Z9(M7n)))),DU(n,wOn,oOn,NZn),DU(n,wOn,oOn,xZn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,dOn),zOn),"Valid Indices for Wrapping"),null),N7n),ZKn),Z9(M7n)))),DU(n,dOn,oOn,OZn),DU(n,dOn,oOn,AZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gOn),UOn),"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),C7n),R_n),Z9(M7n)))),DU(n,gOn,oOn,TZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pOn),UOn),"Distance Penalty When Improving Cuts"),null),2),O7n),q_n),Z9(M7n)))),DU(n,pOn,oOn,jZn),DU(n,pOn,gOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vOn),UOn),"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),C7n),R_n),Z9(M7n)))),DU(n,vOn,oOn,SZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,mOn),XOn),"Edge Label Side Selection"),"Method to decide on edge label sides."),UYn),A7n),aVn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,yOn),XOn),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),GYn),A7n),jWn),eK(M7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,kOn),WOn),"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."),kYn),A7n),t3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,jOn),WOn),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,EOn),WOn),"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."),wYn),A7n),Nzn),Z9(M7n)))),DU(n,EOn,RPn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TOn),WOn),"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."),vYn),A7n),C2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MOn),WOn),"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),O7n),q_n),Z9(M7n)))),DU(n,MOn,kOn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SOn),WOn),"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),O7n),q_n),Z9(M7n)))),DU(n,SOn,kOn,null),Rjn((new ff,n))},TF(eCn,"LayeredMetaDataProvider",848),Vfn(986,1,lSn,ff),Bjn.Qe=function(n){Rjn(n)},TF(eCn,"LayeredOptions",986),Vfn(987,1,{},Ic),Bjn.$e=function(){return new av},Bjn._e=function(n){},TF(eCn,"LayeredOptions/LayeredFactory",987),Vfn(1372,1,{}),Bjn.a=0,TF(DAn,"ElkSpacings/AbstractSpacingsBuilder",1372),Vfn(779,1372,{},H7),TF(eCn,"LayeredSpacings/LayeredSpacingsBuilder",779),Vfn(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},eS),Bjn.Kf=function(){return cbn(this)},Bjn.Xf=function(){return cbn(this)};var m2n,y2n,k2n,j2n,E2n=W1(eCn,"LayeringStrategy",313,o_n,(function(){return tun(),D4(zy(E2n,1),WEn,313,0,[g2n,w2n,l2n,b2n,p2n,d2n])}),(function(n){return tun(),cZ((T1(),m2n),n)}));Vfn(378,22,{3:1,35:1,22:1,378:1},iS);var T2n,M2n,S2n,P2n,I2n,C2n=W1(eCn,"LongEdgeOrderingStrategy",378,o_n,(function(){return r8(),D4(zy(C2n,1),WEn,378,0,[y2n,k2n,j2n])}),(function(n){return r8(),cZ((AQ(),T2n),n)}));Vfn(197,22,{3:1,35:1,22:1,197:1},rS);var O2n,A2n,$2n,L2n,N2n,x2n,D2n=W1(eCn,"NodeFlexibility",197,o_n,(function(){return qen(),D4(zy(D2n,1),WEn,197,0,[P2n,I2n,S2n,M2n])}),(function(n){return qen(),cZ((ZY(),O2n),n)}));Vfn(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},cS),Bjn.Kf=function(){return fln(this)},Bjn.Xf=function(){return fln(this)};var R2n,K2n,_2n,F2n,B2n,H2n,q2n,G2n,z2n,U2n=W1(eCn,"NodePlacementStrategy",315,o_n,(function(){return uin(),D4(zy(U2n,1),WEn,315,0,[x2n,$2n,L2n,A2n,N2n])}),(function(n){return uin(),cZ((wZ(),R2n),n)}));Vfn(260,22,{3:1,35:1,22:1,260:1},uS);var X2n,W2n,V2n,Q2n,Y2n=W1(eCn,"NodePromotionStrategy",260,o_n,(function(){return Fbn(),D4(zy(Y2n,1),WEn,260,0,[G2n,_2n,H2n,F2n,B2n,K2n,q2n,z2n])}),(function(n){return Fbn(),cZ((p3(),X2n),n)}));Vfn(339,22,{3:1,35:1,22:1,339:1},oS);var J2n,Z2n,n3n,t3n=W1(eCn,"OrderingStrategy",339,o_n,(function(){return j5(),D4(zy(t3n,1),WEn,339,0,[V2n,W2n,Q2n])}),(function(n){return j5(),cZ((LQ(),J2n),n)}));Vfn(421,22,{3:1,35:1,22:1,421:1},sS);var e3n,i3n,r3n,c3n,a3n=W1(eCn,"PortSortingStrategy",421,o_n,(function(){return LJ(),D4(zy(a3n,1),WEn,421,0,[Z2n,n3n])}),(function(n){return LJ(),cZ((AW(),e3n),n)}));Vfn(452,22,{3:1,35:1,22:1,452:1},hS);var u3n,o3n,s3n,h3n,f3n=W1(eCn,"PortType",452,o_n,(function(){return f0(),D4(zy(f3n,1),WEn,452,0,[c3n,i3n,r3n])}),(function(n){return f0(),cZ((NQ(),u3n),n)}));Vfn(375,22,{3:1,35:1,22:1,375:1},fS);var l3n,b3n,w3n,d3n=W1(eCn,"SelfLoopDistributionStrategy",375,o_n,(function(){return g3(),D4(zy(d3n,1),WEn,375,0,[o3n,s3n,h3n])}),(function(n){return g3(),cZ(($Q(),l3n),n)}));Vfn(376,22,{3:1,35:1,22:1,376:1},lS);var g3n,p3n,v3n,m3n,y3n=W1(eCn,"SelfLoopOrderingStrategy",376,o_n,(function(){return cQ(),D4(zy(y3n,1),WEn,376,0,[w3n,b3n])}),(function(n){return cQ(),cZ((OW(),g3n),n)}));Vfn(304,1,{304:1},vyn),TF(eCn,"Spacings",304),Vfn(336,22,{3:1,35:1,22:1,336:1},bS);var k3n,j3n,E3n,T3n,M3n=W1(eCn,"SplineRoutingMode",336,o_n,(function(){return L6(),D4(zy(M3n,1),WEn,336,0,[p3n,v3n,m3n])}),(function(n){return L6(),cZ((DQ(),k3n),n)}));Vfn(338,22,{3:1,35:1,22:1,338:1},wS);var S3n,P3n,I3n,C3n,O3n=W1(eCn,"ValidifyStrategy",338,o_n,(function(){return Q2(),D4(zy(O3n,1),WEn,338,0,[T3n,j3n,E3n])}),(function(n){return Q2(),cZ((RQ(),S3n),n)}));Vfn(377,22,{3:1,35:1,22:1,377:1},dS);var A3n,$3n,L3n,N3n,x3n,D3n,R3n,K3n,_3n,F3n,B3n=W1(eCn,"WrappingStrategy",377,o_n,(function(){return B4(),D4(zy(B3n,1),WEn,377,0,[I3n,C3n,P3n])}),(function(n){return B4(),cZ((xQ(),A3n),n)}));Vfn(1383,1,_An,lf),Bjn.Yf=function(n){return Jx(n,37),$3n},Bjn.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new rp,n.d=QQ(Qot,dSn,25,o,16,1),n.a=QQ(Qot,dSn,25,o,16,1),n.b=new rp,c=0,u=new pb(s);u.a0?S+1:1);for(a=new pb(k.g);a.a0?S+1:1)}0==n.c[s]?_D(n.e,d):0==n.a[s]&&_D(n.f,d),++s}for(w=-1,b=1,f=new rp,n.d=Jx($un(t,(Ajn(),BQn)),230);A>0;){for(;0!=n.e.b;)I=Jx(yD(n.e),10),n.b[I.p]=w--,Xgn(n,I),--A;for(;0!=n.f.b;)C=Jx(yD(n.f),10),n.b[C.p]=b++,Xgn(n,C),--A;if(A>0){for(l=tTn,v=new pb(m);v.a=l&&(y>l&&(f.c=QQ(XKn,rEn,1,0,5,1),l=y),f.c[f.c.length]=d);h=n.Zf(f),n.b[h.p]=b++,Xgn(n,h),--A}}for(P=m.c.length+1,s=0;sn.b[O]&&(yvn(i,!0),w5(t,rQn,(MA(),!0)));n.a=null,n.c=null,n.b=null,HH(n.f),HH(n.e),Kon(e)}(this,Jx(n,37),t)},Bjn.Zf=function(n){return Jx(MR(n,Xen(this.d,n.c.length)),10)},TF(FAn,"GreedyCycleBreaker",782),Vfn(1386,782,_An,_P),Bjn.Zf=function(n){var t,e,i,r;for(r=null,t=Jjn,i=new pb(n);i.a0&&isn(n,u,h);for(r=new pb(h);r.a=s){P$(v.b>0),v.a.Xb(v.c=--v.b);break}g.a>h&&(c?(P4(c.b,g.b),c.a=e.Math.max(c.a,g.a),fB(v)):(iD(g.b,l),g.c=e.Math.min(g.c,h),g.a=e.Math.max(g.a,s),c=g))}c||((c=new pv).c=h,c.a=s,nN(v,c),iD(c.b,l))}for(o=t.b,f=0,p=new pb(r);p.at.p?-1:0}(Jx(n,10),Jx(t,10))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(BAn,"StretchWidthLayerer/1",1394),Vfn(402,1,HAn),Bjn.Nf=function(n,t,e,i,r,c){},Bjn._f=function(n,t,e){return npn(this,n,t,e)},Bjn.Mf=function(){this.g=QQ(nst,qAn,25,this.d,15,1),this.f=QQ(nst,qAn,25,this.d,15,1)},Bjn.Of=function(n,t){this.e[n]=QQ(Vot,STn,25,t[n].length,15,1)},Bjn.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},Bjn.Qf=function(n,t,e,i){Jx(MR(i[n][t].j,e),11).p=this.d++},Bjn.b=0,Bjn.c=0,Bjn.d=0,TF(GAn,"AbstractBarycenterPortDistributor",402),Vfn(1633,1,BMn,sd),Bjn.ue=function(n,t){return function(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:L9(i,r))}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(GAn,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),Vfn(817,1,QIn,dX),Bjn.Nf=function(n,t,e,i,r,c){},Bjn.Pf=function(n,t,e){},Bjn.Qf=function(n,t,e,i){},Bjn.Lf=function(){return!1},Bjn.Mf=function(){this.c=this.e.a,this.g=this.f.g},Bjn.Of=function(n,t){t[n][0].c.p=n},Bjn.Rf=function(){return!1},Bjn.ag=function(n,t,e,i){e?Acn(this,n):(zcn(this,n,i),Hyn(this,n,t)),n.c.length>1&&(ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),(pjn(),QZn))))?zln(n,this.d,Jx(this,660)):(WH(),ZC(n,this.d)),o4(this.e,n))},Bjn.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=LR(e,n.length)&&(c=n[t-(e?1:-1)],bQ(this.f,c,e?(f0(),r3n):(f0(),i3n))),r=n[t][0],h=!i||r.k==(won(),Fzn),s=RV(n[t]),this.ag(s,h,!1,e),a=0,o=new pb(s);o.a"),n0?RG(this.a,n[t-1],n[t]):!e&&t0&&(e+=o.n.a+o.o.a/2,++f),b=new pb(o.j);b.a0&&(e/=f),g=QQ(Zot,cMn,25,i.a.c.length,15,1),u=0,s=new pb(i.a);s.a1&&(ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),(pjn(),QZn))))?zln(n,this.d,this):(WH(),ZC(n,this.d)),ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),QZn)))||o4(this.e,n))},TF(GAn,"ModelOrderBarycenterHeuristic",660),Vfn(1803,1,BMn,vd),Bjn.ue=function(n,t){return xon(this.a,Jx(n,10),Jx(t,10))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(GAn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),Vfn(1403,1,_An,yf),Bjn.Yf=function(n){var t;return Jx(n,37),sR(t=mC(Y3n),(Lun(),nzn),(Ljn(),eXn)),t},Bjn.pf=function(n,t){!function(n){cun(n,"No crossing minimization",1),Kon(n)}((Jx(n,37),t))},TF(GAn,"NoCrossingMinimizer",1403),Vfn(796,402,HAn,kk),Bjn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new pb(n.j);h.a1&&(r.j==(Ckn(),Tit)?this.b[n]=!0:r.j==Git&&n>0&&(this.b[n-1]=!0))},Bjn.f=0,TF(VIn,"AllCrossingsCounter",1798),Vfn(587,1,{},h2),Bjn.b=0,Bjn.d=0,TF(VIn,"BinaryIndexedTree",587),Vfn(524,1,{},cx),TF(VIn,"CrossingsCounter",524),Vfn(1906,1,BMn,md),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$0$Type",1906),Vfn(1907,1,BMn,yd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$1$Type",1907),Vfn(1908,1,BMn,kd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$2$Type",1908),Vfn(1909,1,BMn,jd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$3$Type",1909),Vfn(1910,1,IEn,Ed),Bjn.td=function(n){!function(n,t){gD(),iD(n,new yP(t,g9(t.e.c.length+t.g.c.length)))}(this.a,Jx(n,11))},TF(VIn,"CrossingsCounter/lambda$4$Type",1910),Vfn(1911,1,JEn,Td),Bjn.Mb=function(n){return function(n,t){return gD(),t!=n}(this.a,Jx(n,11))},TF(VIn,"CrossingsCounter/lambda$5$Type",1911),Vfn(1912,1,IEn,Md),Bjn.td=function(n){xP(this,n)},TF(VIn,"CrossingsCounter/lambda$6$Type",1912),Vfn(1913,1,IEn,vS),Bjn.td=function(n){var t;gD(),AX(this.b,(t=this.a,Jx(n,11),t))},TF(VIn,"CrossingsCounter/lambda$7$Type",1913),Vfn(826,1,cSn,xc),Bjn.Lb=function(n){return gD(),A$(Jx(n,11),(Ajn(),KQn))},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return gD(),A$(Jx(n,11),(Ajn(),KQn))},TF(VIn,"CrossingsCounter/lambda$8$Type",826),Vfn(1905,1,{},Sd),TF(VIn,"HyperedgeCrossingsCounter",1905),Vfn(467,1,{35:1,467:1},lN),Bjn.wd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:V5(n)-V5(t)}(this,Jx(n,467))},Bjn.b=0,Bjn.c=0,Bjn.e=0,Bjn.f=0;var t4n=TF(VIn,"HyperedgeCrossingsCounter/Hyperedge",467);Vfn(362,1,{35:1,362:1},pH),Bjn.wd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?V5(n.a)-V5(t.a):n.d==(zW(),i4n)&&t.d==e4n?-1:n.d==e4n&&t.d==i4n?1:0}(this,Jx(n,362))},Bjn.b=0,Bjn.c=0;var e4n,i4n,r4n=TF(VIn,"HyperedgeCrossingsCounter/HyperedgeCorner",362);Vfn(523,22,{3:1,35:1,22:1,523:1},pS);var c4n,a4n,u4n,o4n,s4n,h4n=W1(VIn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,o_n,(function(){return zW(),D4(zy(h4n,1),WEn,523,0,[i4n,e4n])}),(function(n){return zW(),cZ((xW(),c4n),n)}));Vfn(1405,1,_An,hf),Bjn.Yf=function(n){return Jx($un(Jx(n,37),(Ajn(),wQn)),21).Hc((idn(),PVn))?a4n:null},Bjn.pf=function(n,t){!function(n,t,e){var i;for(cun(e,"Interactive node placement",1),n.a=Jx($un(t,(Ajn(),UQn)),304),i=new pb(t.b);i.a1},TF(zAn,"NetworkSimplexPlacer/lambda$18$Type",1431),Vfn(1432,1,IEn,mH),Bjn.td=function(n){!function(n,t,e,i,r){fz(),own(xE(NE(LE(DE(new ev,0),r.d.e-n),t),r.d)),own(xE(NE(LE(DE(new ev,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,Jx(n,401))},Bjn.c=0,Bjn.d=0,TF(zAn,"NetworkSimplexPlacer/lambda$19$Type",1432),Vfn(1415,1,{},Xc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$2$Type",1415),Vfn(1433,1,IEn,Od),Bjn.td=function(n){!function(n,t){fz(),t.n.b+=n}(this.a,Jx(n,11))},Bjn.a=0,TF(zAn,"NetworkSimplexPlacer/lambda$20$Type",1433),Vfn(1434,1,{},Wc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$21$Type",1434),Vfn(1435,1,IEn,Ad),Bjn.td=function(n){KO(this.a,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$22$Type",1435),Vfn(1436,1,JEn,Vc),Bjn.Mb=function(n){return PL(n)},TF(zAn,"NetworkSimplexPlacer/lambda$23$Type",1436),Vfn(1437,1,{},Qc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$24$Type",1437),Vfn(1438,1,JEn,$d),Bjn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$25$Type",1438),Vfn(1439,1,IEn,kS),Bjn.td=function(n){!function(n,t,e){var i,r,c;for(r=new LK(wA(u7(e).a.Kc(),new h));Qfn(r);)nV(i=Jx(jV(r),17))||!nV(i)&&i.c.i.c==i.d.i.c||(c=Obn(n,i,e,new kv)).c.length>1&&(t.c[t.c.length]=c)}(this.a,this.b,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$26$Type",1439),Vfn(1440,1,JEn,Yc),Bjn.Mb=function(n){return fz(),!nV(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$27$Type",1440),Vfn(1441,1,JEn,Jc),Bjn.Mb=function(n){return fz(),!nV(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$28$Type",1441),Vfn(1442,1,{},Ld),Bjn.Ce=function(n,t){return $O(this.a,Jx(n,29),Jx(t,29))},TF(zAn,"NetworkSimplexPlacer/lambda$29$Type",1442),Vfn(1416,1,{},Zc),Bjn.Kb=function(n){return fz(),new PR(null,new tF(new LK(wA(s7(Jx(n,10)).a.Kc(),new h))))},TF(zAn,"NetworkSimplexPlacer/lambda$3$Type",1416),Vfn(1417,1,JEn,na),Bjn.Mb=function(n){return fz(),function(n){return fz(),!(nV(n)||!nV(n)&&n.c.i.c==n.d.i.c)}(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$4$Type",1417),Vfn(1418,1,IEn,Nd),Bjn.td=function(n){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b;i=qA(new iv,n.f),o=n.i[t.c.i.p],l=n.i[t.d.i.p],u=t.c,f=t.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=sG(e.Math.max(0,a-h)),c=sG(e.Math.max(0,h-a)),b=e.Math.max(1,Jx($un(t,(pjn(),I0n)),19).a)*zX(t.c.i.k,t.d.i.k),r=new mS(own(xE(NE(LE(DE(new ev,b),c),i),Jx(HF(n.k,t.c),121))),own(xE(NE(LE(DE(new ev,b),s),i),Jx(HF(n.k,t.d),121)))),n.c[t.p]=r}(this.a,Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$5$Type",1418),Vfn(1419,1,{},ta),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$6$Type",1419),Vfn(1420,1,JEn,ea),Bjn.Mb=function(n){return fz(),Jx(n,10).k==(won(),qzn)},TF(zAn,"NetworkSimplexPlacer/lambda$7$Type",1420),Vfn(1421,1,{},ia),Bjn.Kb=function(n){return fz(),new PR(null,new tF(new LK(wA(u7(Jx(n,10)).a.Kc(),new h))))},TF(zAn,"NetworkSimplexPlacer/lambda$8$Type",1421),Vfn(1422,1,JEn,ra),Bjn.Mb=function(n){return fz(),function(n){return!nV(n)&&n.c.i.c==n.d.i.c}(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$9$Type",1422),Vfn(1404,1,_An,Sf),Bjn.Yf=function(n){return Jx($un(Jx(n,37),(Ajn(),wQn)),21).Hc((idn(),PVn))?w4n:null},Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l;for(cun(t,"Simple node placement",1),l=Jx($un(n,(Ajn(),UQn)),304),o=0,a=new pb(n.b);a.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),b0&&(k-=d),Ymn(u,k),l=0,w=new pb(u.a);w.a0),o.a.Xb(o.c=--o.b)),s=.4*r*l,!a&&o.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},Bjn.d=0,TF(QAn,"HyperEdgeSegmentDependency",129),Vfn(520,22,{3:1,35:1,22:1,520:1},SS);var H4n,q4n,G4n,z4n,U4n,X4n,W4n,V4n,Q4n=W1(QAn,"HyperEdgeSegmentDependency/DependencyType",520,o_n,(function(){return rQ(),D4(zy(Q4n,1),WEn,520,0,[F4n,_4n])}),(function(n){return rQ(),cZ((NW(),H4n),n)}));Vfn(1815,1,{},Dd),TF(QAn,"HyperEdgeSegmentSplitter",1815),Vfn(1816,1,{},Ck),Bjn.a=0,Bjn.b=0,TF(QAn,"HyperEdgeSegmentSplitter/AreaRating",1816),Vfn(329,1,{329:1},Nx),Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(QAn,"HyperEdgeSegmentSplitter/FreeArea",329),Vfn(1817,1,BMn,ja),Bjn.ue=function(n,t){return function(n,t){return L9(n.c-n.s,t.c-t.s)}(Jx(n,112),Jx(t,112))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(QAn,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),Vfn(1818,1,IEn,kH),Bjn.td=function(n){YX(this.a,this.d,this.c,this.b,Jx(n,112))},Bjn.b=0,TF(QAn,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),Vfn(1819,1,{},Ea),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).e,16))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),Vfn(1820,1,{},Ta),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).j,16))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),Vfn(1821,1,{},Ma),Bjn.Fe=function(n){return ey(lL(n))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),Vfn(655,1,{},pF),Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(QAn,"OrthogonalRoutingGenerator",655),Vfn(1638,1,{},Sa),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).e,16))},TF(QAn,"OrthogonalRoutingGenerator/lambda$0$Type",1638),Vfn(1639,1,{},Pa),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).j,16))},TF(QAn,"OrthogonalRoutingGenerator/lambda$1$Type",1639),Vfn(661,1,{}),TF(YAn,"BaseRoutingDirectionStrategy",661),Vfn(1807,661,{},Av),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(l,a=f),_D(u.a,r),jpn(this,u,c,r,!1),(b=n.r)&&(r=new YS(w=ey(lL(jen(b.e,0))),a),_D(u.a,r),jpn(this,u,c,r,!1),c=b,r=new YS(w,a=t+b.o*i),_D(u.a,r),jpn(this,u,c,r,!1)),r=new YS(g,a),_D(u.a,r),jpn(this,u,c,r,!1)))},Bjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Bjn.fg=function(){return Ckn(),Hit},Bjn.gg=function(){return Ckn(),Mit},TF(YAn,"NorthToSouthRoutingStrategy",1807),Vfn(1808,661,{},$v),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(l,a=f),_D(u.a,r),jpn(this,u,c,r,!1),(b=n.r)&&(r=new YS(w=ey(lL(jen(b.e,0))),a),_D(u.a,r),jpn(this,u,c,r,!1),c=b,r=new YS(w,a=t-b.o*i),_D(u.a,r),jpn(this,u,c,r,!1)),r=new YS(g,a),_D(u.a,r),jpn(this,u,c,r,!1)))},Bjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Bjn.fg=function(){return Ckn(),Mit},Bjn.gg=function(){return Ckn(),Hit},TF(YAn,"SouthToNorthRoutingStrategy",1808),Vfn(1806,661,{},Lv),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(a=f,l),_D(u.a,r),jpn(this,u,c,r,!0),(b=n.r)&&(r=new YS(a,w=ey(lL(jen(b.e,0)))),_D(u.a,r),jpn(this,u,c,r,!0),c=b,r=new YS(a=t+b.o*i,w),_D(u.a,r),jpn(this,u,c,r,!0)),r=new YS(a,g),_D(u.a,r),jpn(this,u,c,r,!0)))},Bjn.eg=function(n){return n.i.n.b+n.n.b+n.a.b},Bjn.fg=function(){return Ckn(),Tit},Bjn.gg=function(){return Ckn(),Git},TF(YAn,"WestToEastRoutingStrategy",1806),Vfn(813,1,{},Mvn),Bjn.Ib=function(){return zun(this.a)},Bjn.b=0,Bjn.c=!1,Bjn.d=!1,Bjn.f=0,TF(ZAn,"NubSpline",813),Vfn(407,1,{407:1},Iwn,Yq),TF(ZAn,"NubSpline/PolarCP",407),Vfn(1453,1,_An,prn),Bjn.Yf=function(n){return function(n){var t,e;return M3(t=new lX,q4n),(e=Jx($un(n,(Ajn(),wQn)),21)).Hc((idn(),LVn))&&M3(t,X4n),e.Hc(TVn)&&M3(t,G4n),e.Hc(AVn)&&M3(t,U4n),e.Hc(SVn)&&M3(t,z4n),t}(Jx(n,37))},Bjn.pf=function(n,t){!function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(cun(i,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void Kon(i);v=ey(lL($un(t,(pjn(),U0n)))),o=ey(lL($un(t,_0n))),u=ey(lL($un(t,D0n))),T=Jx($un(t,m1n),336)==(L6(),m3n),E=ey(lL($un(t,y1n))),n.d=t,n.j.c=QQ(XKn,rEn,1,0,5,1),n.a.c=QQ(XKn,rEn,1,0,5,1),X_(n.k),f=sI((s=Jx(MR(t.b,0),29)).a,(kwn(),R4n)),l=sI((d=Jx(MR(t.b,t.b.c.length-1),29)).a,R4n),g=new pb(t.b),p=null,I=0;do{for(xkn(n,p,m=g.a0?(h=0,p&&(h+=o),h+=(M-1)*u,m&&(h+=o),T&&m&&(h=e.Math.max(h,fwn(m,u,v,E))),h("+this.c+") "+this.b},Bjn.c=0,TF(ZAn,"SplineEdgeRouter/Dependency",268),Vfn(455,22,{3:1,35:1,22:1,455:1},PS);var Y4n,J4n,Z4n,n5n,t5n,e5n=W1(ZAn,"SplineEdgeRouter/SideToProcess",455,o_n,(function(){return Jq(),D4(zy(e5n,1),WEn,455,0,[W4n,V4n])}),(function(n){return Jq(),cZ((KW(),Y4n),n)}));Vfn(1454,1,JEn,ya),Bjn.Mb=function(n){return jwn(),!Jx(n,128).o},TF(ZAn,"SplineEdgeRouter/lambda$0$Type",1454),Vfn(1455,1,{},ma),Bjn.Ge=function(n){return jwn(),Jx(n,128).v+1},TF(ZAn,"SplineEdgeRouter/lambda$1$Type",1455),Vfn(1456,1,IEn,IS),Bjn.td=function(n){!function(n,t,e){DB(n.b,Jx(e.b,17),t)}(this.a,this.b,Jx(n,46))},TF(ZAn,"SplineEdgeRouter/lambda$2$Type",1456),Vfn(1457,1,IEn,CS),Bjn.td=function(n){!function(n,t,e){DB(n.b,Jx(e.b,17),t)}(this.a,this.b,Jx(n,46))},TF(ZAn,"SplineEdgeRouter/lambda$3$Type",1457),Vfn(128,1,{35:1,128:1},_sn,Gmn),Bjn.wd=function(n){return function(n,t){return n.s-t.s}(this,Jx(n,128))},Bjn.b=0,Bjn.e=!1,Bjn.f=0,Bjn.g=0,Bjn.j=!1,Bjn.k=!1,Bjn.n=0,Bjn.o=!1,Bjn.p=!1,Bjn.q=!1,Bjn.s=0,Bjn.u=0,Bjn.v=0,Bjn.F=0,TF(ZAn,"SplineSegment",128),Vfn(459,1,{459:1},ka),Bjn.a=0,Bjn.b=!1,Bjn.c=!1,Bjn.d=!1,Bjn.e=!1,Bjn.f=0,TF(ZAn,"SplineSegment/EdgeInformation",459),Vfn(1234,1,{},da),TF(r$n,mPn,1234),Vfn(1235,1,BMn,ga),Bjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Jx($un(t,(aln(),X5n)),19).a-Jx($un(n,X5n),19).a)?(i=kN(gO(Jx($un(n,(cyn(),w5n)),8)),Jx($un(n,d5n),8)),r=kN(gO(Jx($un(t,w5n),8)),Jx($un(t,d5n),8)),L9(i.a*i.b,r.a*r.b)):e}(Jx(n,135),Jx(t,135))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(r$n,yPn,1235),Vfn(1233,1,{},lj),TF(r$n,"MrTree",1233),Vfn(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},OS),Bjn.Kf=function(){return Fhn(this)},Bjn.Xf=function(){return Fhn(this)};var i5n,r5n=W1(r$n,"TreeLayoutPhases",393,o_n,(function(){return _rn(),D4(zy(r5n,1),WEn,393,0,[J4n,Z4n,n5n,t5n])}),(function(n){return _rn(),cZ((VY(),i5n),n)}));Vfn(1130,209,QSn,dN),Bjn.Ze=function(n,t){var i,r,c,a,u,o;for(ty(fL(Eln(n,(aln(),q5n))))||cG(new Xb((gT(),new Wm(n)))),s4(u=new tQ,n),w5(u,(cyn(),T5n),n),function(n,t,i){var r,c,a,u,o;for(a=0,c=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));c.e!=c.i.gc();)u="",0==(!(r=Jx(fen(c),33)).n&&(r.n=new y_(uct,r,1,7)),r.n).i||(u=Jx(a1((!r.n&&(r.n=new y_(uct,r,1,7)),r.n),0),137).a),s4(o=new n6(a++,t,u),r),w5(o,(cyn(),T5n),r),o.e.b=r.j+r.f/2,o.f.a=e.Math.max(r.g,1),o.e.a=r.i+r.g/2,o.f.b=e.Math.max(r.f,1),_D(t.b,o),Jsn(i.f,r,o)}(n,u,o=new cp),function(n,t,e){var i,r,c,a,u,o,s;for(a=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new LK(wA(bbn(c=Jx(fen(a),33)).a.Kc(),new h));Qfn(r);)Kfn(i=Jx(jV(r),79))||Kfn(i)||Vhn(i)||(o=Jx(iI(Rq(e.f,c)),86),s=Jx(HF(e,run(Jx(a1((!i.c&&(i.c=new $N(nct,i,5,8)),i.c),0),82))),86),o&&s&&(w5(u=new rq(o,s),(cyn(),T5n),i),s4(u,i),_D(o.d,u),_D(s.b,u),_D(t.a,u)))}(n,u,o),a=u,r=new pb(c=ppn(this.a,a));r.al&&(P=0,I+=f+E,f=0),pbn(k,u,P,I),t=e.Math.max(t,P+j.a),f=e.Math.max(f,j.b),P+=j.a+E;for(y=new cp,i=new cp,M=new pb(n);M.a"+Yz(this.c):"e_"+V5(this)},TF(c$n,"TEdge",188),Vfn(135,134,{3:1,135:1,94:1,134:1},tQ),Bjn.Ib=function(){var n,t,e,i,r;for(r=null,i=nen(this.b,0);i.b!=i.d.c;)r+=(null==(e=Jx(CX(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=nen(this.a,0);t.b!=t.d.c;)r+=((n=Jx(CX(t),188)).b&&n.c?Yz(n.b)+"->"+Yz(n.c):"e_"+V5(n))+"\n";return r};var c5n=TF(c$n,"TGraph",135);Vfn(633,502,{3:1,502:1,633:1,94:1,134:1}),TF(c$n,"TShape",633),Vfn(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},n6),Bjn.Ib=function(){return Yz(this)};var a5n,u5n,o5n,s5n,h5n,f5n,l5n=TF(c$n,"TNode",86);Vfn(255,1,LEn,Rd),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new Kd(nen(this.a.d,0))},TF(c$n,"TNode/2",255),Vfn(358,1,lEn,Kd),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(CX(this.a),188).c},Bjn.Ob=function(){return rj(this.a)},Bjn.Qb=function(){HZ(this.a)},TF(c$n,"TNode/2/1",358),Vfn(1840,1,gIn,wN),Bjn.pf=function(n,t){rvn(this,Jx(n,135),t)},TF(a$n,"FanProcessor",1840),Vfn(327,22,{3:1,35:1,22:1,327:1,234:1},AS),Bjn.Kf=function(){switch(this.g){case 0:return new hm;case 1:return new wN;case 2:return new Oa;case 3:return new Ia;case 4:return new $a;case 5:return new La;default:throw fp(new Ym(BIn+(null!=this.f?this.f:""+this.g)))}};var b5n,w5n,d5n,g5n,p5n,v5n,m5n,y5n,k5n,j5n,E5n,T5n,M5n,S5n,P5n,I5n,C5n,O5n,A5n,$5n,L5n,N5n,x5n,D5n,R5n,K5n,_5n,F5n,B5n,H5n,q5n,G5n,z5n,U5n,X5n,W5n,V5n,Q5n,Y5n,J5n,Z5n,n6n=W1(a$n,HIn,327,o_n,(function(){return ksn(),D4(zy(n6n,1),WEn,327,0,[f5n,u5n,s5n,o5n,h5n,a5n])}),(function(n){return ksn(),cZ((S1(),b5n),n)}));Vfn(1843,1,gIn,Ia),Bjn.pf=function(n,t){Iln(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"LevelHeightProcessor",1843),Vfn(1844,1,LEn,Ca),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return WH(),hE(),IFn},TF(a$n,"LevelHeightProcessor/1",1844),Vfn(1841,1,gIn,Oa),Bjn.pf=function(n,t){xsn(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"NeighborsProcessor",1841),Vfn(1842,1,LEn,Aa),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return WH(),hE(),IFn},TF(a$n,"NeighborsProcessor/1",1842),Vfn(1845,1,gIn,$a),Bjn.pf=function(n,t){Pln(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"NodePositionProcessor",1845),Vfn(1839,1,gIn,hm),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(n.a.c=QQ(XKn,rEn,1,0,5,1),i=nen(t.b,0);i.b!=i.d.c;)0==(e=Jx(CX(i),86)).b.b&&(w5(e,(cyn(),O5n),(MA(),!0)),iD(n.a,e));switch(n.a.c.length){case 0:w5(r=new n6(0,t,"DUMMY_ROOT"),(cyn(),O5n),(MA(),!0)),w5(r,p5n,!0),_D(t.b,r);break;case 1:break;default:for(c=new n6(0,t,"SUPER_ROOT"),u=new pb(n.a);u.ad$n&&(c-=d$n),h=(o=Jx(Eln(r,Att),8)).a,l=o.b+n,(a=e.Math.atan2(l,h))<0&&(a+=d$n),(a+=t)>d$n&&(a-=d$n),WC(),s0(1e-10),e.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:YI(isNaN(c),isNaN(a))}(this.a,this.b,Jx(n,33),Jx(t,33))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},Bjn.a=0,Bjn.b=0,TF(w$n,"RadialUtil/lambda$0$Type",549),Vfn(1375,1,gIn,Da),Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(cun(t,"Calculate Graph Size",1),t.n&&n&&tU(t,KU(n),(I6(),Ert)),o=dPn,s=dPn,a=g$n,u=g$n,l=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));l.e!=l.i.gc();)d=(h=Jx(fen(l),33)).i,g=h.j,v=h.g,r=h.f,c=Jx(Eln(h,(Ojn(),Xnt)),142),o=e.Math.min(o,d-c.b),s=e.Math.min(s,g-c.d),a=e.Math.max(a,d+v+c.c),u=e.Math.max(u,g+r+c.a);for(b=new YS(o-(w=Jx(Eln(n,(Ojn(),ott)),116)).b,s-w.d),f=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));f.e!=f.i.gc();)N1(h=Jx(fen(f),33),h.i-b.a),x1(h,h.j-b.b);p=a-o+(w.b+w.c),i=u-s+(w.d+w.a),L1(n,p),$1(n,i),t.n&&n&&tU(t,KU(n),(I6(),Ert))}(Jx(n,33),t)},TF(p$n,"CalculateGraphSize",1375),Vfn(442,22,{3:1,35:1,22:1,442:1,234:1},xS),Bjn.Kf=function(){switch(this.g){case 0:return new Ba;case 1:return new xa;case 2:return new Da;default:throw fp(new Ym(BIn+(null!=this.f?this.f:""+this.g)))}};var m6n,y6n,k6n,j6n=W1(p$n,HIn,442,o_n,(function(){return y7(),D4(zy(j6n,1),WEn,442,0,[p6n,d6n,g6n])}),(function(n){return y7(),cZ((_Q(),m6n),n)}));Vfn(645,1,{}),Bjn.e=1,Bjn.g=0,TF(v$n,"AbstractRadiusExtensionCompaction",645),Vfn(1772,645,{},cL),Bjn.hg=function(n){var t,e,i,r,c,a,u,o,s;for(this.c=Jx(Eln(n,(iL(),h6n)),33),function(n,t){n.f=t}(this,this.c),this.d=Qen(Jx(Eln(n,(Frn(),J6n)),293)),(o=Jx(Eln(n,F6n),19))&&Bl(this,o.a),Hl(this,(mB(u=lL(Eln(n,(Ojn(),Wtt)))),u)),s=rdn(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new pb(t);i.ai?1:0}(Jx(n,33),Jx(t,33))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(D$n,"RectPackingLayoutProvider/lambda$0$Type",1137),Vfn(1256,1,{},xx),Bjn.a=0,Bjn.c=!1,TF(R$n,"AreaApproximation",1256);var b8n,w8n,d8n,g8n=uR(R$n,"BestCandidateFilter");Vfn(638,1,{526:1},Qa),Bjn.mg=function(n,t,i){var r,c,a,u,o,s;for(s=new rp,a=ZTn,o=new pb(n);o.a1)for(i=new pb(n.a);i.a>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28);var n,t},Bjn.Jf=function(n){var t,e,i;for(e=0;e0&&l8((Nz(t-1,n.length),n.charCodeAt(t-1)),MIn);)--t;if(e>=t)throw fp(new Ym("The given string does not contain any numbers."));if(2!=(i=Agn(n.substr(e,t-e),",|;|\r|\n")).length)throw fp(new Ym("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=pon(Vun(i[0])),this.b=pon(Vun(i[1]))}catch(n){throw OO(n=E4(n),127)?fp(new Ym(SIn+n)):fp(n)}},Bjn.Ib=function(){return"("+this.a+","+this.b+")"},Bjn.a=0,Bjn.b=0;var H7n=TF(PIn,"KVector",8);Vfn(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},xv,jk,F$),Bjn.Pc=function(){return function(n){var t,e,i;for(t=0,i=QQ(H7n,MEn,8,n.b,0,1),e=nen(n,0);e.b!=e.d.c;)i[t++]=Jx(CX(e),8);return i}(this)},Bjn.Jf=function(n){var t,e,i,r,c;e=Agn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),HH(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=pon(e[t]):c=pon(e[t]),r>0&&r%2!=0&&_D(this,new YS(i,c)),++r),++t}catch(n){throw OO(n=E4(n),127)?fp(new Ym("The given string does not match the expected format for vectors."+n)):fp(n)}},Bjn.Ib=function(){var n,t,e;for(n=new PA("("),t=nen(this,0);t.b!=t.d.c;)kI(n,(e=Jx(CX(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var q7n,G7n,z7n,U7n,X7n,W7n,V7n=TF(PIn,"KVectorChain",74);Vfn(248,22,{3:1,35:1,22:1,248:1},JS);var Q7n,Y7n,J7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant,unt,ont,snt,hnt,fnt,lnt,bnt,wnt,dnt=W1(SLn,"Alignment",248,o_n,(function(){return Gen(),D4(zy(dnt,1),WEn,248,0,[q7n,U7n,X7n,W7n,G7n,z7n])}),(function(n){return Gen(),cZ((y1(),Q7n),n)}));Vfn(979,1,lSn,Af),Bjn.Qe=function(n){Tpn(n)},TF(SLn,"BoxLayouterOptions",979),Vfn(980,1,{},xu),Bjn.$e=function(){return new Gu},Bjn._e=function(n){},TF(SLn,"BoxLayouterOptions/BoxFactory",980),Vfn(291,22,{3:1,35:1,22:1,291:1},ZS);var gnt,pnt,vnt,mnt,ynt,knt,jnt,Ent,Tnt,Mnt,Snt,Pnt,Int,Cnt,Ont,Ant,$nt,Lnt,Nnt,xnt,Dnt,Rnt,Knt,_nt,Fnt,Bnt,Hnt,qnt,Gnt,znt,Unt,Xnt,Wnt,Vnt,Qnt,Ynt,Jnt,Znt,ntt,ttt,ett,itt,rtt,ctt,att,utt,ott,stt,htt,ftt,ltt,btt,wtt,dtt,gtt,ptt,vtt,mtt,ytt,ktt,jtt,Ett,Ttt,Mtt,Stt,Ptt,Itt,Ctt,Ott,Att,$tt,Ltt,Ntt,xtt,Dtt,Rtt,Ktt,_tt,Ftt,Btt,Htt,qtt,Gtt,ztt,Utt,Xtt,Wtt,Vtt,Qtt,Ytt,Jtt,Ztt,net,tet,eet,iet,ret=W1(SLn,"ContentAlignment",291,o_n,(function(){return gan(),D4(zy(ret,1),WEn,291,0,[wnt,bnt,lnt,hnt,snt,fnt])}),(function(n){return gan(),cZ((m1(),gnt),n)}));Vfn(684,1,lSn,$f),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,OLn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(bsn(),x7n)),lFn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,ALn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),N7n),k7n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hAn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),mnt),A7n),dnt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,fPn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,$Ln),""),"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."),N7n),V7n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,EAn),""),"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."),Snt),$7n),ret),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sAn),""),"Debug Mode"),"Whether additional debug information shall be generated."),(MA(),!1)),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wAn),""),FSn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Cnt),A7n),set),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DOn),""),"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."),Nnt),A7n),Tet),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,X$n),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,AOn),""),"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`."),_nt),A7n),Het),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lPn),""),"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."),stt),N7n),nUn),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,KPn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xAn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BPn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Pn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Ett),A7n),jit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,$An),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),N7n),H7n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,LPn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),L7n),X_n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,DPn),""),"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)."),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,RPn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TAn),""),"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."),Unt),N7n),V7n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PAn),""),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,IAn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,LLn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),N7n),est),eK(M7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,LAn),""),"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."),Wnt),N7n),Kzn),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,uAn),""),"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),C7n),R_n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n,S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NLn),""),"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),O7n),q_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xLn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DLn),""),"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'."),g9(100)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,RLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,KLn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),g9(4e3)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Ln),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),g9(400)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FLn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,HLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qLn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CLn),"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."),Ent),A7n),krt),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,VOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sPn),ROn),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xPn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JOn),ROn),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZOn),ROn),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,eAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,tAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NPn),ROn),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iAn),ROn),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,rAn),ROn),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),O7n),q_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,cAn),ROn),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),N7n),Srt),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n,S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NAn),ROn),"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."),Ytt),N7n),Kzn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,AAn),XLn),"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)."),L7n),X_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),DU(n,AAn,OAn,btt),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,OAn),XLn),"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."),ftt),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,dAn),WLn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Qnt),N7n),nUn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,GPn),WLn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Jnt),$7n),ait),eK(T7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vAn),VLn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),dtt),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,mAn),VLn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,yAn),VLn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,kAn),VLn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,jAn),VLn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qPn),QLn),"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."),ntt),$7n),brt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,HPn),QLn),"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."),ctt),$7n),mrt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iIn),QLn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),itt),N7n),H7n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bAn),QLn),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MAn),XOn),"Edge Label Placement"),"Gives a hint on where to put edge labels."),$nt),A7n),get),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FPn),XOn),"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),C7n),R_n),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,GLn),"font"),"Font Name"),"Font name used for a label."),x7n),lFn),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,zLn),"font"),"Font Size"),"Font size used for a label."),L7n),X_n),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,CAn),YLn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),N7n),H7n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,SAn),YLn),"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."),L7n),X_n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oAn),YLn),"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."),Ott),A7n),ert),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,aAn),YLn),"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."),O7n),q_n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,zPn),JLn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ptt),$7n),zit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gAn),JLn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pAn),JLn),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fAn),ZLn),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lAn),ZLn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),C7n),R_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hPn),"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),O7n),q_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ULn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Dnt),A7n),Det),Z9(j7n)))),sT(n,new gz(uk(sk(ok(new pu,OIn),"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.'))),sT(n,new gz(uk(sk(ok(new pu,"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.'))),sT(n,new gz(uk(sk(ok(new pu,$Pn),"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."))),sT(n,new gz(uk(sk(ok(new pu,"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."))),sT(n,new gz(uk(sk(ok(new pu,b$n),"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."))),sT(n,new gz(uk(sk(ok(new pu,"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."))),sT(n,new gz(uk(sk(ok(new pu,O$n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Sgn((new Lf,n)),Tpn((new Af,n)),kdn((new Nf,n))},TF(SLn,"CoreOptions",684),Vfn(103,22,{3:1,35:1,22:1,103:1},nP);var cet,aet,uet,oet,set=W1(SLn,FSn,103,o_n,(function(){return e9(),D4(zy(set,1),WEn,103,0,[eet,tet,net,Ztt,iet])}),(function(n){return e9(),cZ((kZ(),cet),n)}));Vfn(272,22,{3:1,35:1,22:1,272:1},tP);var het,fet,bet,wet,det,get=W1(SLn,"EdgeLabelPlacement",272,o_n,(function(){return n1(),D4(zy(get,1),WEn,272,0,[aet,uet,oet])}),(function(n){return n1(),cZ((zQ(),het),n)}));Vfn(218,22,{3:1,35:1,22:1,218:1},eP);var pet,vet,met,yet,ket,jet,Eet,Tet=W1(SLn,"EdgeRouting",218,o_n,(function(){return p7(),D4(zy(Tet,1),WEn,218,0,[det,bet,fet,wet])}),(function(n){return p7(),cZ((eJ(),pet),n)}));Vfn(312,22,{3:1,35:1,22:1,312:1},iP);var Met,Set,Pet,Iet,Cet,Oet,Aet,$et,Let,Net,xet,Det=W1(SLn,"EdgeType",312,o_n,(function(){return mun(),D4(zy(Det,1),WEn,312,0,[jet,yet,Eet,vet,ket,met])}),(function(n){return mun(),cZ((I1(),Met),n)}));Vfn(977,1,lSn,Lf),Bjn.Qe=function(n){Sgn(n)},TF(SLn,"FixedLayouterOptions",977),Vfn(978,1,{},Vu),Bjn.$e=function(){return new Hu},Bjn._e=function(n){},TF(SLn,"FixedLayouterOptions/FixedFactory",978),Vfn(334,22,{3:1,35:1,22:1,334:1},rP);var Ret,Ket,_et,Fet,Bet,Het=W1(SLn,"HierarchyHandling",334,o_n,(function(){return A8(),D4(zy(Het,1),WEn,334,0,[Net,Let,xet])}),(function(n){return A8(),cZ((GQ(),Ret),n)}));Vfn(285,22,{3:1,35:1,22:1,285:1},cP);var qet,Get,zet,Uet,Xet,Wet,Vet,Qet,Yet,Jet,Zet=W1(SLn,"LabelSide",285,o_n,(function(){return Brn(),D4(zy(Zet,1),WEn,285,0,[Bet,Ket,_et,Fet])}),(function(n){return Brn(),cZ((tJ(),qet),n)}));Vfn(93,22,{3:1,35:1,22:1,93:1},aP);var nit,tit,eit,iit,rit,cit,ait=W1(SLn,"NodeLabelPlacement",93,o_n,(function(){return Tln(),D4(zy(ait,1),WEn,93,0,[zet,Get,Xet,Jet,Yet,Qet,Wet,Vet,Uet])}),(function(n){return Tln(),cZ((t4(),nit),n)}));Vfn(249,22,{3:1,35:1,22:1,249:1},uP);var uit,oit,sit,hit,fit,lit,bit,wit=W1(SLn,"PortAlignment",249,o_n,(function(){return Jtn(),D4(zy(wit,1),WEn,249,0,[iit,cit,tit,eit,rit])}),(function(n){return Jtn(),cZ((jZ(),uit),n)}));Vfn(98,22,{3:1,35:1,22:1,98:1},oP);var dit,git,pit,vit,mit,yit,kit,jit=W1(SLn,"PortConstraints",98,o_n,(function(){return Kan(),D4(zy(jit,1),WEn,98,0,[bit,lit,fit,oit,hit,sit])}),(function(n){return Kan(),cZ((t1(),dit),n)}));Vfn(273,22,{3:1,35:1,22:1,273:1},sP);var Eit,Tit,Mit,Sit,Pit,Iit,Cit,Oit,Ait,$it,Lit,Nit,xit,Dit,Rit,Kit,_it,Fit,Bit,Hit,qit,Git,zit=W1(SLn,"PortLabelPlacement",273,o_n,(function(){return Ohn(),D4(zy(zit,1),WEn,273,0,[yit,vit,mit,pit,git,kit])}),(function(n){return Ohn(),cZ((P1(),Eit),n)}));Vfn(61,22,{3:1,35:1,22:1,61:1},hP);var Uit,Xit,Wit,Vit,Qit,Yit,Jit,Zit,nrt,trt,ert=W1(SLn,"PortSide",61,o_n,(function(){return Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])}),(function(n){return Ckn(),cZ((EZ(),Uit),n)}));Vfn(981,1,lSn,Nf),Bjn.Qe=function(n){kdn(n)},TF(SLn,"RandomLayouterOptions",981),Vfn(982,1,{},Qu),Bjn.$e=function(){return new no},Bjn._e=function(n){},TF(SLn,"RandomLayouterOptions/RandomFactory",982),Vfn(374,22,{3:1,35:1,22:1,374:1},fP);var irt,rrt,crt,art,urt,ort,srt,hrt,frt,lrt,brt=W1(SLn,"SizeConstraint",374,o_n,(function(){return $nn(),D4(zy(brt,1),WEn,374,0,[nrt,trt,Zit,Jit])}),(function(n){return $nn(),cZ((rJ(),irt),n)}));Vfn(259,22,{3:1,35:1,22:1,259:1},lP);var wrt,drt,grt,prt,vrt,mrt=W1(SLn,"SizeOptions",259,o_n,(function(){return Qgn(),D4(zy(mrt,1),WEn,259,0,[art,ort,crt,srt,hrt,lrt,frt,urt,rrt])}),(function(n){return Qgn(),cZ((e5(),wrt),n)}));Vfn(370,1,{1949:1},um),Bjn.b=!1,Bjn.c=0,Bjn.d=-1,Bjn.e=null,Bjn.f=null,Bjn.g=-1,Bjn.j=!1,Bjn.k=!1,Bjn.n=!1,Bjn.o=0,Bjn.q=0,Bjn.r=0,TF(DAn,"BasicProgressMonitor",370),Vfn(972,209,QSn,Gu),Bjn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h;cun(t,"Box layout",2),r=iy(lL(Eln(n,(Kun(),ont)))),c=Jx(Eln(n,cnt),116),e=ty(fL(Eln(n,nnt))),i=ty(fL(Eln(n,tnt))),0===Jx(Eln(n,J7n),311).g?(u=new hx((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),WH(),ZC(u,new Qd(i)),a=u,o=$sn(n),(null==(s=lL(Eln(n,Y7n)))||(mB(s),s<=0))&&(s=1.3),Dkn(n,(h=_kn(a,r,c,o.a,o.b,e,(mB(s),s))).a,h.b,!1,!0)):Qmn(n,r,c,e),Kon(t)},TF(DAn,"BoxLayoutProvider",972),Vfn(973,1,BMn,Qd),Bjn.ue=function(n,t){return function(n,t,e){var i,r,c;if(!(r=Jx(Eln(t,(Kun(),unt)),19))&&(r=g9(0)),!(c=Jx(Eln(e,unt),19))&&(c=g9(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&Dkn(g,d.a,d.b,!0,!0)),b=e.Math.max(b,g.i+g.g),w=e.Math.max(w,g.j+g.f),f=new XO((!g.n&&(g.n=new y_(uct,g,1,7)),g.n));f.e!=f.i.gc();)o=Jx(fen(f),137),(T=Jx(Eln(o,$et),8))&&EC(o,T.a,T.b),b=e.Math.max(b,g.i+o.i+o.g),w=e.Math.max(w,g.j+o.j+o.f);for(k=new XO((!g.c&&(g.c=new y_(sct,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Jx(fen(k),118),(T=Jx(Eln(y,$et),8))&&EC(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,b=e.Math.max(b,j+y.g),w=e.Math.max(w,E+y.f),s=new XO((!y.n&&(y.n=new y_(uct,y,1,7)),y.n));s.e!=s.i.gc();)o=Jx(fen(s),137),(T=Jx(Eln(o,$et),8))&&EC(o,T.a,T.b),b=e.Math.max(b,j+o.i+o.g),w=e.Math.max(w,E+o.j+o.f);for(c=new LK(wA(bbn(g).a.Kc(),new h));Qfn(c);)l=Rkn(i=Jx(jV(c),79)),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b);for(r=new LK(wA(lbn(g).a.Kc(),new h));Qfn(r);)CG(_un(i=Jx(jV(r),79)))!=n&&(l=Rkn(i),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b))}if(a==(p7(),fet))for(p=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new LK(wA(bbn(g=Jx(fen(p),33)).a.Kc(),new h));Qfn(r);)0==(u=xpn(i=Jx(jV(r),79))).b?$en(i,znt,null):$en(i,znt,u);ty(fL(Eln(n,(N6(),Iet))))||Dkn(n,b+(m=Jx(Eln(n,Oet),116)).b+m.c,w+m.d+m.a,!0,!0),Kon(t)},TF(DAn,"FixedLayoutProvider",1138),Vfn(373,134,{3:1,414:1,373:1,94:1,134:1},Yu,BJ),Bjn.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(a=Agn(n,";,;"),r=0,c=(i=a).length;r>16&lTn|n^(e&lTn)<<16},Bjn.Kc=function(){return new ng(this)},Bjn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+C7(this.b)+")":null==this.b?"pair("+C7(this.a)+",null)":"pair("+C7(this.a)+","+C7(this.b)+")"},TF(DAn,"Pair",46),Vfn(983,1,lEn,ng),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Bjn.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 fp(new _p)},Bjn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),fp(new Np)},Bjn.b=!1,Bjn.c=!1,TF(DAn,"Pair/1",983),Vfn(448,1,{448:1},EH),Bjn.Fb=function(n){return GB(this.a,Jx(n,448).a)&&GB(this.c,Jx(n,448).c)&&GB(this.d,Jx(n,448).d)&&GB(this.b,Jx(n,448).b)},Bjn.Hb=function(){return z6(D4(zy(XKn,1),rEn,1,5,[this.a,this.c,this.d,this.b]))},Bjn.Ib=function(){return"("+this.a+eEn+this.c+eEn+this.d+eEn+this.b+")"},TF(DAn,"Quadruple",448),Vfn(1126,209,QSn,no),Bjn.Ze=function(n,t){var i;cun(t,"Random Layout",1),0!=(!n.a&&(n.a=new y_(oct,n,10,11)),n.a).i?(function(n,t,i,r,c){var a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,g=0,d=0,w=1,m=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));m.e!=m.i.gc();)w+=BX(new LK(wA(bbn(p=Jx(fen(m),33)).a.Kc(),new h))),T=p.g,g=e.Math.max(g,T),b=p.f,d=e.Math.max(d,b),y+=T*b;for(u=y+2*r*r*w*(!n.a&&(n.a=new y_(oct,n,10,11)),n.a).i,a=e.Math.sqrt(u),s=e.Math.max(a*i,g),o=e.Math.max(a/i,d),v=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));v.e!=v.i.gc();)p=Jx(fen(v),33),M=c.b+(Wln(t,26)*yMn+Wln(t,27)*kMn)*(s-p.g),S=c.b+(Wln(t,26)*yMn+Wln(t,27)*kMn)*(o-p.f),N1(p,M),x1(p,S);for(E=s+(c.b+c.c),j=o+(c.d+c.a),k=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));k.e!=k.i.gc();)for(l=new LK(wA(bbn(Jx(fen(k),33)).a.Kc(),new h));Qfn(l);)Kfn(f=Jx(jV(l),79))||gjn(f,t,E,j);Dkn(n,E+=c.b+c.c,j+=c.d+c.a,!1,!0)}(n,(i=Jx(Eln(n,(Ann(),Qit)),19))&&0!=i.a?new EW(i.a):new a7,iy(lL(Eln(n,Xit))),iy(lL(Eln(n,Yit))),Jx(Eln(n,Wit),116)),Kon(t)):Kon(t)},TF(DAn,"RandomLayoutProvider",1126),Vfn(553,1,{}),Bjn.qf=function(){return new YS(this.f.i,this.f.j)},Bjn.We=function(n){return Aq(n,(Ojn(),ktt))?Eln(this.f,Crt):Eln(this.f,n)},Bjn.rf=function(){return new YS(this.f.g,this.f.f)},Bjn.sf=function(){return this.g},Bjn.Xe=function(n){return UQ(this.f,n)},Bjn.tf=function(n){N1(this.f,n.a),x1(this.f,n.b)},Bjn.uf=function(n){L1(this.f,n.a),$1(this.f,n.b)},Bjn.vf=function(n){this.g=n},Bjn.g=0,TF(rNn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),Vfn(554,1,{839:1},tg),Bjn.wf=function(){var n,t;if(!this.b)for(this.b=tX(ZB(this.a).i),t=new XO(ZB(this.a));t.e!=t.i.gc();)n=Jx(fen(t),137),iD(this.b,new Vm(n));return this.b},Bjn.b=null,TF(rNn,"ElkGraphAdapters/ElkEdgeAdapter",554),Vfn(301,553,{},Wm),Bjn.xf=function(){return frn(this)},Bjn.a=null,TF(rNn,"ElkGraphAdapters/ElkGraphAdapter",301),Vfn(630,553,{181:1},Vm),TF(rNn,"ElkGraphAdapters/ElkLabelAdapter",630),Vfn(629,553,{680:1},i$),Bjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=tX(Jx(n.f,33).Ag().i),e=new XO(Jx(n.f,33).Ag());e.e!=e.i.gc();)t=Jx(fen(e),137),iD(n.b,new Vm(t));return n.b}(this)},Bjn.Af=function(){var n;return!(n=Jx(Eln(this.f,(Ojn(),Xnt)),142))&&(n=new Sv),n},Bjn.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=tX(nH(Jx(n.f,33)).i),e=new XO(nH(Jx(n.f,33)));e.e!=e.i.gc();)t=Jx(fen(e),118),iD(n.e,new $g(t));return n.e}(this)},Bjn.Ef=function(n){var t;t=new kx(n),$en(this.f,(Ojn(),Xnt),t)},Bjn.Ff=function(n){$en(this.f,(Ojn(),ott),new yx(n))},Bjn.yf=function(){return this.d},Bjn.zf=function(){var n,t;if(!this.a)for(this.a=new rp,t=new LK(wA(lbn(Jx(this.f,33)).a.Kc(),new h));Qfn(t);)n=Jx(jV(t),79),iD(this.a,new tg(n));return this.a},Bjn.Bf=function(){var n,t;if(!this.c)for(this.c=new rp,t=new LK(wA(bbn(Jx(this.f,33)).a.Kc(),new h));Qfn(t);)n=Jx(jV(t),79),iD(this.c,new tg(n));return this.c},Bjn.Df=function(){return 0!=oq(Jx(this.f,33)).i||ty(fL(Jx(this.f,33).We((Ojn(),Bnt))))},Bjn.Gf=function(){SJ(this,(gT(),Irt))},Bjn.a=null,Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,TF(rNn,"ElkGraphAdapters/ElkNodeAdapter",629),Vfn(1266,553,{838:1},$g),Bjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=tX(Jx(n.f,118).Ag().i),e=new XO(Jx(n.f,118).Ag());e.e!=e.i.gc();)t=Jx(fen(e),137),iD(n.b,new Vm(t));return n.b}(this)},Bjn.zf=function(){var n,t;if(!this.a)for(this.a=f$(Jx(this.f,118).xg().i),t=new XO(Jx(this.f,118).xg());t.e!=t.i.gc();)n=Jx(fen(t),79),iD(this.a,new tg(n));return this.a},Bjn.Bf=function(){var n,t;if(!this.c)for(this.c=f$(Jx(this.f,118).yg().i),t=new XO(Jx(this.f,118).yg());t.e!=t.i.gc();)n=Jx(fen(t),79),iD(this.c,new tg(n));return this.c},Bjn.Hf=function(){return Jx(Jx(this.f,118).We((Ojn(),Ctt)),61)},Bjn.If=function(){var n,t,e,i,r,c,a;for(i=MG(Jx(this.f,118)),e=new XO(Jx(this.f,118).yg());e.e!=e.i.gc();)for(a=new XO((!(n=Jx(fen(e),79)).c&&(n.c=new $N(nct,n,5,8)),n.c));a.e!=a.i.gc();){if(WZ(run(c=Jx(fen(a),82)),i))return!0;if(run(c)==i&&ty(fL(Eln(n,(Ojn(),Hnt)))))return!0}for(t=new XO(Jx(this.f,118).xg());t.e!=t.i.gc();)for(r=new XO((!(n=Jx(fen(t),79)).b&&(n.b=new $N(nct,n,4,7)),n.b));r.e!=r.i.gc();)if(WZ(run(Jx(fen(r),82)),i))return!0;return!1},Bjn.a=null,Bjn.b=null,Bjn.c=null,TF(rNn,"ElkGraphAdapters/ElkPortAdapter",1266),Vfn(1267,1,BMn,to),Bjn.ue=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=Jx(Eln(n,(Ojn(),Ctt)),61).g-Jx(Eln(t,Ctt),61).g))return c;if(e=Jx(Eln(n,Ttt),19),i=Jx(Eln(t,Ttt),19),e&&i&&0!=(r=e.a-i.a))return r;switch(Jx(Eln(n,Ctt),61).g){case 1:return L9(n.i,t.i);case 2:return L9(n.j,t.j);case 3:return L9(t.i,n.i);case 4:return L9(t.j,n.j);default:throw fp(new Jm(yIn))}}(Jx(n,118),Jx(t,118))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(rNn,"ElkGraphAdapters/PortComparator",1267);var Art,$rt,Lrt,Nrt,xrt,Drt,Rrt,Krt,_rt,Frt,Brt,Hrt,qrt,Grt,zrt,Urt,Xrt,Wrt,Vrt=uR(cNn,"EObject"),Qrt=uR(aNn,uNn),Yrt=uR(aNn,oNn),Jrt=uR(aNn,sNn),Zrt=uR(aNn,"ElkShape"),nct=uR(aNn,hNn),tct=uR(aNn,fNn),ect=uR(aNn,lNn),ict=uR(cNn,bNn),rct=uR(cNn,"EFactory"),cct=uR(cNn,wNn),act=uR(cNn,"EPackage"),uct=uR(aNn,dNn),oct=uR(aNn,gNn),sct=uR(aNn,pNn);Vfn(90,1,vNn),Bjn.Jg=function(){return this.Kg(),null},Bjn.Kg=function(){return null},Bjn.Lg=function(){return this.Kg(),!1},Bjn.Mg=function(){return!1},Bjn.Ng=function(n){_3(this,n)},TF(mNn,"BasicNotifierImpl",90),Vfn(97,90,PNn),Bjn.nh=function(){return pC(this)},Bjn.Og=function(n,t){return n},Bjn.Pg=function(){throw fp(new Dp)},Bjn.Qg=function(n){var t;return t=tin(Jx(OZ(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},Bjn.Rg=function(n,t){throw fp(new Dp)},Bjn.Sg=function(n,t,e){return spn(this,n,t,e)},Bjn.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck())?n:this.zh()},Bjn.Ug=function(){return Hfn(this)},Bjn.Vg=function(){throw fp(new Dp)},Bjn.Wg=function(){var n,t;return!(t=this.ph().dk())&&this.Pg().ik((jT(),t=null==(n=Vq(hvn(this.Tg())))?Qat:new t$(this,n))),t},Bjn.Xg=function(n,t){return n},Bjn.Yg=function(n){return n.Gj()?n.aj():enn(this.Tg(),n)},Bjn.Zg=function(){var n;return(n=this.Pg())?n.fk():null},Bjn.$g=function(){return this.Pg()?this.Pg().ck():null},Bjn._g=function(n,t,e){return Len(this,n,t,e)},Bjn.ah=function(n){return MY(this,n)},Bjn.bh=function(n,t){return MV(this,n,t)},Bjn.dh=function(){var n;return!!(n=this.Pg())&&n.gk()},Bjn.eh=function(){throw fp(new Dp)},Bjn.fh=function(){return ctn(this)},Bjn.gh=function(n,t,e,i){return yen(this,n,t,i)},Bjn.hh=function(n,t,e){return Jx(OZ(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),n,e)},Bjn.ih=function(n,t,e,i){return Xq(this,n,t,i)},Bjn.jh=function(n,t,e){return Jx(OZ(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),n,e)},Bjn.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},Bjn.lh=function(n){return oen(this,n)},Bjn.mh=function(n){return OG(this,n)},Bjn.oh=function(n){return iyn(this,n)},Bjn.ph=function(){throw fp(new Dp)},Bjn.qh=function(){return this.Pg()?this.Pg().ek():null},Bjn.rh=function(){return ctn(this)},Bjn.sh=function(n,t){Qsn(this,n,t)},Bjn.th=function(n){this.ph().hk(n)},Bjn.uh=function(n){this.ph().kk(n)},Bjn.vh=function(n){this.ph().jk(n)},Bjn.wh=function(n,t){var e,i,r,c;return(c=this.Zg())&&n&&(t=Men(c.Vk(),this,t),c.Zk(this)),(i=this.eh())&&(0!=(Cgn(this,this.eh(),this.Vg()).Bb&iMn)?(r=i.fh())&&(n?!c&&r.Zk(this):r.Yk(this)):(t=(e=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},Bjn.xh=function(n){var t,e,i,r,c,a,u;if((c=enn(e=this.Tg(),n))>=(t=this.Ah()))return Jx(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(!(a=ryn((dsn(),dut),e,n)))throw fp(new Ym(yNn+n.ne()+ENn));if(MT(),Jx(a,66).Oj()||(a=Hz(IJ(dut,a))),r=Jx((i=this.Yg(a))>=0?this._g(i,!0,!0):efn(this,a,!0),153),(u=a.Zj())>1||-1==u)return Jx(Jx(r,215).hl(n,!1),76)}else if(n.$j())return Jx((i=this.Yg(n))>=0?this._g(i,!1,!0):efn(this,n,!1),76);return new GP(this,n)},Bjn.yh=function(){return RJ(this)},Bjn.zh=function(){return(JF(),pat).S},Bjn.Ah=function(){return mF(this.zh())},Bjn.Bh=function(n){osn(this,n)},Bjn.Ib=function(){return _ln(this)},TF(INn,"BasicEObjectImpl",97),Vfn(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),Bjn.Ch=function(n){return KJ(this)[n]},Bjn.Dh=function(n,t){RF(KJ(this),n,t)},Bjn.Eh=function(n){RF(KJ(this),n,null)},Bjn.Jg=function(){return Jx(q3(this,4),126)},Bjn.Kg=function(){throw fp(new Dp)},Bjn.Lg=function(){return 0!=(4&this.Db)},Bjn.Pg=function(){throw fp(new Dp)},Bjn.Fh=function(n){dtn(this,2,n)},Bjn.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},Bjn.Tg=function(){return Oq(this)},Bjn.Vg=function(){return this.Db>>16},Bjn.Wg=function(){var n;return jT(),null==(n=Vq(hvn(Jx(q3(this,16),26)||this.zh())))?Qat:new t$(this,n)},Bjn.Mg=function(){return 0==(1&this.Db)},Bjn.Zg=function(){return Jx(q3(this,128),1935)},Bjn.$g=function(){return Jx(q3(this,16),26)},Bjn.dh=function(){return 0!=(32&this.Db)},Bjn.eh=function(){return Jx(q3(this,2),49)},Bjn.kh=function(){return 0!=(64&this.Db)},Bjn.ph=function(){throw fp(new Dp)},Bjn.qh=function(){return Jx(q3(this,64),281)},Bjn.th=function(n){dtn(this,16,n)},Bjn.uh=function(n){dtn(this,128,n)},Bjn.vh=function(n){dtn(this,64,n)},Bjn.yh=function(){return gtn(this)},Bjn.Db=0,TF(INn,"MinimalEObjectImpl",114),Vfn(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Bjn.Fh=function(n){this.Cb=n},Bjn.eh=function(){return this.Cb},TF(INn,"MinimalEObjectImpl/Container",115),Vfn(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Bjn._g=function(n,t,e){return Srn(this,n,t,e)},Bjn.jh=function(n,t,e){return lon(this,n,t,e)},Bjn.lh=function(n){return nU(this,n)},Bjn.sh=function(n,t){Z5(this,n,t)},Bjn.zh=function(){return ujn(),qrt},Bjn.Bh=function(n){Y4(this,n)},Bjn.Ve=function(){return ien(this)},Bjn.We=function(n){return Eln(this,n)},Bjn.Xe=function(n){return UQ(this,n)},Bjn.Ye=function(n,t){return $en(this,n,t)},TF(CNn,"EMapPropertyHolderImpl",1985),Vfn(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ro),Bjn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Len(this,n,t,e)},Bjn.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return oen(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return void C1(this,ey(lL(t)));case 1:return void O1(this,ey(lL(t)))}Qsn(this,n,t)},Bjn.zh=function(){return ujn(),Lrt},Bjn.Bh=function(n){switch(n){case 0:return void C1(this,0);case 1:return void O1(this,0)}osn(this,n)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new SA(_ln(this))).a+=" (x: ",Zk(n,this.a),n.a+=", y: ",Zk(n,this.b),n.a+=")",n.a)},Bjn.a=0,Bjn.b=0,TF(CNn,"ElkBendPointImpl",567),Vfn(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}),Bjn._g=function(n,t,e){return t9(this,n,t,e)},Bjn.hh=function(n,t,e){return hun(this,n,t,e)},Bjn.jh=function(n,t,e){return g4(this,n,t,e)},Bjn.lh=function(n){return U3(this,n)},Bjn.sh=function(n,t){Qcn(this,n,t)},Bjn.zh=function(){return ujn(),Rrt},Bjn.Bh=function(n){$8(this,n)},Bjn.zg=function(){return this.k},Bjn.Ag=function(){return ZB(this)},Bjn.Ib=function(){return Q9(this)},Bjn.k=null,TF(CNn,"ElkGraphElementImpl",723),Vfn(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}),Bjn._g=function(n,t,e){return P7(this,n,t,e)},Bjn.lh=function(n){return U7(this,n)},Bjn.sh=function(n,t){Ycn(this,n,t)},Bjn.zh=function(){return ujn(),Hrt},Bjn.Bh=function(n){cnn(this,n)},Bjn.Bg=function(){return this.f},Bjn.Cg=function(){return this.g},Bjn.Dg=function(){return this.i},Bjn.Eg=function(){return this.j},Bjn.Fg=function(n,t){jC(this,n,t)},Bjn.Gg=function(n,t){EC(this,n,t)},Bjn.Hg=function(n){N1(this,n)},Bjn.Ig=function(n){x1(this,n)},Bjn.Ib=function(){return kon(this)},Bjn.f=0,Bjn.g=0,Bjn.i=0,Bjn.j=0,TF(CNn,"ElkShapeImpl",724),Vfn(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}),Bjn._g=function(n,t,e){return win(this,n,t,e)},Bjn.hh=function(n,t,e){return Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){return xcn(this,n,t,e)},Bjn.lh=function(n){return H5(this,n)},Bjn.sh=function(n,t){sln(this,n,t)},Bjn.zh=function(){return ujn(),Nrt},Bjn.Bh=function(n){ken(this,n)},Bjn.xg=function(){return!this.d&&(this.d=new $N(tct,this,8,5)),this.d},Bjn.yg=function(){return!this.e&&(this.e=new $N(tct,this,7,4)),this.e},TF(CNn,"ElkConnectableShapeImpl",725),Vfn(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},io),Bjn.Qg=function(n){return ocn(this,n)},Bjn._g=function(n,t,e){switch(n){case 3:return TG(this);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),this.c;case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),this.a;case 7:return MA(),!this.b&&(this.b=new $N(nct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $N(nct,this,5,8)),this.c.i<=1));case 8:return MA(),!!Kfn(this);case 9:return MA(),!!Vhn(this);case 10:return MA(),!this.b&&(this.b=new $N(nct,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $N(nct,this,5,8)),0!=this.c.i)}return t9(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ocn(this,e):this.Cb.ih(this,-1-i,null,e)),$L(this,Jx(n,33),e);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),dnn(this.b,n,e);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),dnn(this.c,n,e);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),dnn(this.a,n,e)}return hun(this,n,t,e)},Bjn.jh=function(n,t,e){switch(t){case 3:return $L(this,null,e);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),Men(this.b,n,e);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),Men(this.c,n,e);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),Men(this.a,n,e)}return g4(this,n,t,e)},Bjn.lh=function(n){switch(n){case 3:return!!TG(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 $N(nct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $N(nct,this,5,8)),this.c.i<=1));case 8:return Kfn(this);case 9:return Vhn(this);case 10:return!this.b&&(this.b=new $N(nct,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $N(nct,this,5,8)),0!=this.c.i)}return U3(this,n)},Bjn.sh=function(n,t){switch(n){case 3:return void Pbn(this,Jx(t,33));case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),qmn(this.b),!this.b&&(this.b=new $N(nct,this,4,7)),void EF(this.b,Jx(t,14));case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),qmn(this.c),!this.c&&(this.c=new $N(nct,this,5,8)),void EF(this.c,Jx(t,14));case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),qmn(this.a),!this.a&&(this.a=new y_(ect,this,6,6)),void EF(this.a,Jx(t,14))}Qcn(this,n,t)},Bjn.zh=function(){return ujn(),xrt},Bjn.Bh=function(n){switch(n){case 3:return void Pbn(this,null);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),void qmn(this.b);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),void qmn(this.c);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),void qmn(this.a)}$8(this,n)},Bjn.Ib=function(){return wmn(this)},TF(CNn,"ElkEdgeImpl",352),Vfn(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},co),Bjn.Qg=function(n){return Jrn(this,n)},Bjn._g=function(n,t,e){switch(n){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 WO(Yrt,this,5)),this.a;case 6:return SG(this);case 7:return t?nin(this):this.i;case 8:return t?Zen(this):this.f;case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),this.e;case 11:return this.d}return Srn(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Jrn(this,e):this.Cb.ih(this,-1-i,null,e)),LL(this,Jx(n,79),e);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),dnn(this.g,n,e);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),dnn(this.e,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(ujn(),Drt),t),66).Nj().Qj(this,gtn(this),t-mF((ujn(),Drt)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),Men(this.a,n,e);case 6:return LL(this,null,e);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),Men(this.g,n,e);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),Men(this.e,n,e)}return lon(this,n,t,e)},Bjn.lh=function(n){switch(n){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!!SG(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 nU(this,n)},Bjn.sh=function(n,t){switch(n){case 1:return void D1(this,ey(lL(t)));case 2:return void K1(this,ey(lL(t)));case 3:return void A1(this,ey(lL(t)));case 4:return void R1(this,ey(lL(t)));case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),qmn(this.a),!this.a&&(this.a=new WO(Yrt,this,5)),void EF(this.a,Jx(t,14));case 6:return void Mbn(this,Jx(t,79));case 7:return void x0(this,Jx(t,82));case 8:return void N0(this,Jx(t,82));case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),qmn(this.g),!this.g&&(this.g=new $N(ect,this,9,10)),void EF(this.g,Jx(t,14));case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),qmn(this.e),!this.e&&(this.e=new $N(ect,this,10,9)),void EF(this.e,Jx(t,14));case 11:return void J0(this,bL(t))}Z5(this,n,t)},Bjn.zh=function(){return ujn(),Drt},Bjn.Bh=function(n){switch(n){case 1:return void D1(this,0);case 2:return void K1(this,0);case 3:return void A1(this,0);case 4:return void R1(this,0);case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),void qmn(this.a);case 6:return void Mbn(this,null);case 7:return void x0(this,null);case 8:return void N0(this,null);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),void qmn(this.g);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),void qmn(this.e);case 11:return void J0(this,null)}Y4(this,n)},Bjn.Ib=function(){return Sfn(this)},Bjn.b=0,Bjn.c=0,Bjn.d=null,Bjn.j=0,Bjn.k=0,TF(CNn,"ElkEdgeSectionImpl",439),Vfn(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Bjn._g=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab):KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e)):Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e)):Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.oh=function(n){return Ekn(this,n)},Bjn.sh=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.uh=function(n){dtn(this,128,n)},Bjn.zh=function(){return Djn(),Cat},Bjn.Bh=function(n){if(0===n)return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){this.Bb|=1},Bjn.Hh=function(n){return gpn(this,n)},Bjn.Bb=0,TF(INn,"EModelElementImpl",150),Vfn(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},xf),Bjn.Ih=function(n,t){return Ryn(this,n,t)},Bjn.Jh=function(n){var t,e,i,r;if(this.a!=r1(n)||0!=(256&n.Bb))throw fp(new Ym(xNn+n.zb+$Nn));for(e=Cq(n);0!=eW(e.a).i;){if(lrn(t=Jx(fyn(e,0,OO(r=Jx(a1(eW(e.a),0),87).c,88)?Jx(r,26):(Djn(),Aat)),26)))return Jx(i=r1(t).Nh().Jh(t),49).th(n),i;e=Cq(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new cR(n):new PD(n)},Bjn.Kh=function(n,t){return ljn(this,n,t)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.a}return KY(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n),t,e)},Bjn.hh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 1:return this.a&&(e=Jx(this.a,49).ih(this,4,act,e)),M8(this,Jx(n,235),e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Sat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Sat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 1:return M8(this,null,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Sat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Sat)),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return DX(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void Xun(this,Jx(t,235))}T7(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n),t)},Bjn.zh=function(){return Djn(),Sat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void Xun(this,null)}c9(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n))},TF(INn,"EFactoryImpl",704),Vfn(RNn,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},ao),Bjn.Ih=function(n,t){switch(n.yj()){case 12:return Jx(t,146).tg();case 13:return C7(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 4:return new uo;case 6:return new Dv;case 7:return new Rv;case 8:return new io;case 9:return new ro;case 10:return new co;case 11:return new so;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(CNn,"ElkGraphFactoryImpl",RNn),Vfn(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}),Bjn.Wg=function(){var n;return null==(n=Vq(hvn(Jx(q3(this,16),26)||this.zh())))?(jT(),jT(),Qat):new H$(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.ne()}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void this.Lh(bL(t))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),Oat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void this.Lh(null)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.ne=function(){return this.zb},Bjn.Lh=function(n){T2(this,n)},Bjn.Ib=function(){return H8(this)},Bjn.zb=null,TF(INn,"ENamedElementImpl",438),Vfn(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},Pq),Bjn.Qg=function(n){return icn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,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 g_(this,rat,this)),this.rb;case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?Jx(this.Cb,235):null:PG(this)}return KY(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 4:return this.sb&&(e=Jx(this.sb,49).ih(this,1,rct,e)),q8(this,Jx(n,471),e);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),dnn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),dnn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?icn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,7,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Nat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Nat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 4:return q8(this,null,e);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),Men(this.rb,n,e);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),Men(this.vb,n,e);case 7:return spn(this,null,7,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Nat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Nat)),n,e)},Bjn.lh=function(n){switch(n){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!!PG(this)}return DX(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n))},Bjn.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(!n.rb&&(n.rb=new g_(n,rat,n)),u=new jE((c=n.rb).i),r=new XO(c);r.e!=r.i.gc();)i=Jx(fen(r),138),(e=Jx(null==(a=i.ne())?Jsn(u.f,null,i):c7(u.g,a,i),138))&&(null==a?Jsn(u.f,null,e):c7(u.g,a,e));n.tb=u}return Jx(uG(n.tb,t),138)}(this,n)||Ekn(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void S2(this,bL(t));case 3:return void M2(this,bL(t));case 4:return void bon(this,Jx(t,471));case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),qmn(this.rb),!this.rb&&(this.rb=new g_(this,rat,this)),void EF(this.rb,Jx(t,14));case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),qmn(this.vb),!this.vb&&(this.vb=new TN(act,this,6,7)),void EF(this.vb,Jx(t,14))}T7(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n),t)},Bjn.vh=function(n){var t,e;if(n&&this.rb)for(e=new XO(this.rb);e.e!=e.i.gc();)OO(t=fen(e),351)&&(Jx(t,351).w=null);dtn(this,64,n)},Bjn.zh=function(){return Djn(),Nat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void S2(this,null);case 3:return void M2(this,null);case 4:return void bon(this,null);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),void qmn(this.rb);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),void qmn(this.vb)}c9(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n))},Bjn.Gh=function(){Prn(this)},Bjn.Mh=function(){return!this.rb&&(this.rb=new g_(this,rat,this)),this.rb},Bjn.Nh=function(){return this.sb},Bjn.Oh=function(){return this.ub},Bjn.Ph=function(){return this.xb},Bjn.Qh=function(){return this.yb},Bjn.Rh=function(n){this.ub=n},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?H8(this):((n=new SA(H8(this))).a+=" (nsURI: ",vI(n,this.yb),n.a+=", nsPrefix: ",vI(n,this.xb),n.a+=")",n.a)},Bjn.xb=null,Bjn.yb=null,TF(INn,"EPackageImpl",179),Vfn(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},zfn),Bjn.q=!1,Bjn.r=!1;var hct=!1;TF(CNn,"ElkGraphPackageImpl",555),Vfn(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},uo),Bjn.Qg=function(n){return Zrn(this,n)},Bjn._g=function(n,t,e){switch(n){case 7:return IG(this);case 8:return this.a}return P7(this,n,t,e)},Bjn.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Zrn(this,e):this.Cb.ih(this,-1-i,null,e)),jK(this,Jx(n,160),e)):hun(this,n,t,e)},Bjn.jh=function(n,t,e){return 7==t?jK(this,null,e):g4(this,n,t,e)},Bjn.lh=function(n){switch(n){case 7:return!!IG(this);case 8:return!FN("",this.a)}return U7(this,n)},Bjn.sh=function(n,t){switch(n){case 7:return void Wbn(this,Jx(t,160));case 8:return void D0(this,bL(t))}Ycn(this,n,t)},Bjn.zh=function(){return ujn(),Krt},Bjn.Bh=function(n){switch(n){case 7:return void Wbn(this,null);case 8:return void D0(this,"")}cnn(this,n)},Bjn.Ib=function(){return Yon(this)},Bjn.a="",TF(CNn,"ElkLabelImpl",354),Vfn(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},Dv),Bjn.Qg=function(n){return scn(this,n)},Bjn._g=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),this.c;case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),this.a;case 11:return CG(this);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),this.b;case 13:return MA(),!this.a&&(this.a=new y_(oct,this,10,11)),this.a.i>0}return win(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),dnn(this.c,n,e);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),dnn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?scn(this,e):this.Cb.ih(this,-1-i,null,e)),mN(this,Jx(n,33),e);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),dnn(this.b,n,e)}return Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),Men(this.c,n,e);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),Men(this.a,n,e);case 11:return mN(this,null,e);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),Men(this.b,n,e)}return xcn(this,n,t,e)},Bjn.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!CG(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new y_(oct,this,10,11)),this.a.i>0}return H5(this,n)},Bjn.sh=function(n,t){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),qmn(this.c),!this.c&&(this.c=new y_(sct,this,9,9)),void EF(this.c,Jx(t,14));case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),qmn(this.a),!this.a&&(this.a=new y_(oct,this,10,11)),void EF(this.a,Jx(t,14));case 11:return void Rbn(this,Jx(t,33));case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),qmn(this.b),!this.b&&(this.b=new y_(tct,this,12,3)),void EF(this.b,Jx(t,14))}sln(this,n,t)},Bjn.zh=function(){return ujn(),_rt},Bjn.Bh=function(n){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),void qmn(this.c);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),void qmn(this.a);case 11:return void Rbn(this,null);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),void qmn(this.b)}ken(this,n)},Bjn.Ib=function(){return ogn(this)},TF(CNn,"ElkNodeImpl",239),Vfn(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},Rv),Bjn.Qg=function(n){return ncn(this,n)},Bjn._g=function(n,t,e){return 9==n?MG(this):win(this,n,t,e)},Bjn.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ncn(this,e):this.Cb.ih(this,-1-i,null,e)),NL(this,Jx(n,33),e)):Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){return 9==t?NL(this,null,e):xcn(this,n,t,e)},Bjn.lh=function(n){return 9==n?!!MG(this):H5(this,n)},Bjn.sh=function(n,t){9!==n?sln(this,n,t):Sbn(this,Jx(t,33))},Bjn.zh=function(){return ujn(),Frt},Bjn.Bh=function(n){9!==n?ken(this,n):Sbn(this,null)},Bjn.Ib=function(){return sgn(this)},TF(CNn,"ElkPortImpl",186);var fct=uR(ixn,"BasicEMap/Entry");Vfn(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},so),Bjn.Fb=function(n){return this===n},Bjn.cd=function(){return this.b},Bjn.Hb=function(){return FA(this)},Bjn.Uh=function(n){R0(this,Jx(n,146))},Bjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Len(this,n,t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return oen(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return void R0(this,Jx(t,146));case 1:return void F0(this,t)}Qsn(this,n,t)},Bjn.zh=function(){return ujn(),Brt},Bjn.Bh=function(n){switch(n){case 0:return void R0(this,null);case 1:return void F0(this,null)}osn(this,n)},Bjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=n?V5(n):0),this.a},Bjn.dd=function(){return this.c},Bjn.Th=function(n){this.a=n},Bjn.ed=function(n){var t;return t=this.c,F0(this,n),t},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):(kI(kI(kI(n=new $y,this.b?this.b.tg():uEn),vIn),DA(this.c)),n.a)},Bjn.a=-1,Bjn.c=null;var lct,bct,wct,dct,gct,pct,vct,mct,yct=TF(CNn,"ElkPropertyToValueMapEntryImpl",1092);Vfn(984,1,{},lo),TF(axn,"JsonAdapter",984),Vfn(210,60,iTn,fy),TF(axn,"JsonImportException",210),Vfn(857,1,{},rcn),TF(axn,"JsonImporter",857),Vfn(891,1,{},jP),TF(axn,"JsonImporter/lambda$0$Type",891),Vfn(892,1,{},EP),TF(axn,"JsonImporter/lambda$1$Type",892),Vfn(900,1,{},eg),TF(axn,"JsonImporter/lambda$10$Type",900),Vfn(902,1,{},TP),TF(axn,"JsonImporter/lambda$11$Type",902),Vfn(903,1,{},MP),TF(axn,"JsonImporter/lambda$12$Type",903),Vfn(909,1,{},LH),TF(axn,"JsonImporter/lambda$13$Type",909),Vfn(908,1,{},$H),TF(axn,"JsonImporter/lambda$14$Type",908),Vfn(904,1,{},SP),TF(axn,"JsonImporter/lambda$15$Type",904),Vfn(905,1,{},PP),TF(axn,"JsonImporter/lambda$16$Type",905),Vfn(906,1,{},IP),TF(axn,"JsonImporter/lambda$17$Type",906),Vfn(907,1,{},CP),TF(axn,"JsonImporter/lambda$18$Type",907),Vfn(912,1,{},ig),TF(axn,"JsonImporter/lambda$19$Type",912),Vfn(893,1,{},rg),TF(axn,"JsonImporter/lambda$2$Type",893),Vfn(910,1,{},cg),TF(axn,"JsonImporter/lambda$20$Type",910),Vfn(911,1,{},ag),TF(axn,"JsonImporter/lambda$21$Type",911),Vfn(915,1,{},ug),TF(axn,"JsonImporter/lambda$22$Type",915),Vfn(913,1,{},og),TF(axn,"JsonImporter/lambda$23$Type",913),Vfn(914,1,{},sg),TF(axn,"JsonImporter/lambda$24$Type",914),Vfn(917,1,{},hg),TF(axn,"JsonImporter/lambda$25$Type",917),Vfn(916,1,{},fg),TF(axn,"JsonImporter/lambda$26$Type",916),Vfn(918,1,IEn,OP),Bjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=EG(n,e))&&(r=ssn(i)),Btn(t,e,r)}(this.b,this.a,bL(n))},TF(axn,"JsonImporter/lambda$27$Type",918),Vfn(919,1,IEn,AP),Bjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=EG(n,e))&&(r=ssn(i)),Btn(t,e,r)}(this.b,this.a,bL(n))},TF(axn,"JsonImporter/lambda$28$Type",919),Vfn(920,1,{},$P),TF(axn,"JsonImporter/lambda$29$Type",920),Vfn(896,1,{},lg),TF(axn,"JsonImporter/lambda$3$Type",896),Vfn(921,1,{},LP),TF(axn,"JsonImporter/lambda$30$Type",921),Vfn(922,1,{},bg),TF(axn,"JsonImporter/lambda$31$Type",922),Vfn(923,1,{},wg),TF(axn,"JsonImporter/lambda$32$Type",923),Vfn(924,1,{},dg),TF(axn,"JsonImporter/lambda$33$Type",924),Vfn(925,1,{},gg),TF(axn,"JsonImporter/lambda$34$Type",925),Vfn(859,1,{},pg),TF(axn,"JsonImporter/lambda$35$Type",859),Vfn(929,1,{},Kx),TF(axn,"JsonImporter/lambda$36$Type",929),Vfn(926,1,IEn,vg),Bjn.td=function(n){!function(n,t){var e;tq(e=new Am,"x",t.a),tq(e,"y",t.b),tB(n,e)}(this.a,Jx(n,469))},TF(axn,"JsonImporter/lambda$37$Type",926),Vfn(927,1,IEn,BP),Bjn.td=function(n){!function(n,t,e){Xcn(t,jsn(n,e))}(this.a,this.b,Jx(n,202))},TF(axn,"JsonImporter/lambda$38$Type",927),Vfn(928,1,IEn,HP),Bjn.td=function(n){!function(n,t,e){Xcn(t,jsn(n,e))}(this.a,this.b,Jx(n,202))},TF(axn,"JsonImporter/lambda$39$Type",928),Vfn(894,1,{},mg),TF(axn,"JsonImporter/lambda$4$Type",894),Vfn(930,1,IEn,yg),Bjn.td=function(n){!function(n,t){var e;tq(e=new Am,"x",t.a),tq(e,"y",t.b),tB(n,e)}(this.a,Jx(n,8))},TF(axn,"JsonImporter/lambda$40$Type",930),Vfn(895,1,{},kg),TF(axn,"JsonImporter/lambda$5$Type",895),Vfn(899,1,{},jg),TF(axn,"JsonImporter/lambda$6$Type",899),Vfn(897,1,{},Eg),TF(axn,"JsonImporter/lambda$7$Type",897),Vfn(898,1,{},Tg),TF(axn,"JsonImporter/lambda$8$Type",898),Vfn(901,1,{},Mg),TF(axn,"JsonImporter/lambda$9$Type",901),Vfn(948,1,IEn,Sg),Bjn.td=function(n){tB(this.a,new UF(bL(n)))},TF(axn,"JsonMetaDataConverter/lambda$0$Type",948),Vfn(949,1,IEn,Pg),Bjn.td=function(n){!function(n,t){tB(n,new UF(null!=t.f?t.f:""+t.g))}(this.a,Jx(n,237))},TF(axn,"JsonMetaDataConverter/lambda$1$Type",949),Vfn(950,1,IEn,Ig),Bjn.td=function(n){!function(n,t){null!=t.c&&tB(n,new UF(t.c))}(this.a,Jx(n,149))},TF(axn,"JsonMetaDataConverter/lambda$2$Type",950),Vfn(951,1,IEn,Cg),Bjn.td=function(n){!function(n,t){tB(n,new UF(null!=t.f?t.f:""+t.g))}(this.a,Jx(n,175))},TF(axn,"JsonMetaDataConverter/lambda$3$Type",951),Vfn(237,22,{3:1,35:1,22:1,237:1},FP);var kct,jct=W1(zSn,"GraphFeature",237,o_n,(function(){return Ufn(),D4(zy(jct,1),WEn,237,0,[mct,gct,pct,dct,vct,bct,lct,wct])}),(function(n){return Ufn(),cZ((y3(),kct),n)}));Vfn(13,1,{35:1,146:1},Ag,FL,BI,RC),Bjn.wd=function(n){return function(n,t){return BV(n.b,t.tg())}(this,Jx(n,146))},Bjn.Fb=function(n){return Aq(this,n)},Bjn.wg=function(){return sen(this)},Bjn.tg=function(){return this.b},Bjn.Hb=function(){return Wen(this.b)},Bjn.Ib=function(){return this.b},TF(zSn,"Property",13),Vfn(818,1,BMn,Og),Bjn.ue=function(n,t){return function(n,t,e){var i,r;return i=Jx(t.We(n.a),35),r=Jx(e.We(n.a),35),null!=i&&null!=r?o3(i,r):null!=i?-1:null!=r?1:0}(this,Jx(n,94),Jx(t,94))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(zSn,"PropertyHolderComparator",818),Vfn(695,1,lEn,Lg),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return function(n){var t;if(!n.a)throw fp(new VB);return t=n.a,n.a=CG(n.a),t}(this)},Bjn.Qb=function(){Hk()},Bjn.Ob=function(){return!!this.a},TF(kxn,"ElkGraphUtil/AncestorIterator",695);var Ect=uR(ixn,"EList");Vfn(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),Bjn.Vc=function(n,t){k9(this,n,t)},Bjn.Fc=function(n){return lY(this,n)},Bjn.Wc=function(n,t){return l5(this,n,t)},Bjn.Gc=function(n){return EF(this,n)},Bjn.Zh=function(){return new o$(this)},Bjn.$h=function(){return new s$(this)},Bjn._h=function(n){return w0(this,n)},Bjn.ai=function(){return!0},Bjn.bi=function(n,t){},Bjn.ci=function(){},Bjn.di=function(n,t){WQ(this,n,t)},Bjn.ei=function(n,t,e){},Bjn.fi=function(n,t){},Bjn.gi=function(n,t,e){},Bjn.Fb=function(n){return Idn(this,n)},Bjn.Hb=function(){return N4(this)},Bjn.hi=function(){return!1},Bjn.Kc=function(){return new XO(this)},Bjn.Yc=function(){return new u$(this)},Bjn.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw fp(new EN(n,t));return new nF(this,n)},Bjn.ji=function(n,t){this.ii(n,this.Xc(t))},Bjn.Mc=function(n){return GJ(this,n)},Bjn.li=function(n,t){return t},Bjn._c=function(n,t){return _en(this,n,t)},Bjn.Ib=function(){return R7(this)},Bjn.ni=function(){return!0},Bjn.oi=function(n,t){return j6(this,t)},TF(ixn,"AbstractEList",67),Vfn(63,67,Sxn,go,BZ,e3),Bjn.Vh=function(n,t){return fun(this,n,t)},Bjn.Wh=function(n){return Lin(this,n)},Bjn.Xh=function(n,t){W8(this,n,t)},Bjn.Yh=function(n){xV(this,n)},Bjn.pi=function(n){return $Y(this,n)},Bjn.$b=function(){DV(this)},Bjn.Hc=function(n){return Bcn(this,n)},Bjn.Xb=function(n){return a1(this,n)},Bjn.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.$c(t),!0)},Bjn.mi=function(n,t){return this.Ui(n,this.oi(n,t))},Bjn.gc=function(){return this.Vi()},Bjn.Pc=function(){return this.Wi()},Bjn.Qc=function(n){return this.Xi(n)},Bjn.Ib=function(){return this.Yi()},TF(ixn,"DelegatingEList",1995),Vfn(1996,1995,gDn),Bjn.Vh=function(n,t){return Rpn(this,n,t)},Bjn.Wh=function(n){return this.Vh(this.Vi(),n)},Bjn.Xh=function(n,t){Ffn(this,n,t)},Bjn.Yh=function(n){kfn(this,n)},Bjn.ai=function(){return!this.bj()},Bjn.$b=function(){Vmn(this)},Bjn.Zi=function(n,t,e,i,r){return new Fq(this,n,t,e,i,r)},Bjn.$i=function(n){_3(this.Ai(),n)},Bjn._i=function(){return null},Bjn.aj=function(){return-1},Bjn.Ai=function(){return null},Bjn.bj=function(){return!1},Bjn.cj=function(n,t){return t},Bjn.dj=function(n,t){return t},Bjn.ej=function(){return!1},Bjn.fj=function(){return!this.Ri()},Bjn.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=qun(this,n,t),this.$i(this.Zi(7,g9(t),e,n,i)),e):qun(this,n,t)},Bjn.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=oR(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t),r):(r=oR(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi(),r)},Bjn.mi=function(n,t){return Kpn(this,n,t)},TF(mNn,"DelegatingNotifyingListImpl",1996),Vfn(143,1,pDn),Bjn.Ei=function(n){return Ian(this,n)},Bjn.Fi=function(){mJ(this)},Bjn.xi=function(){return this.d},Bjn._i=function(){return null},Bjn.gj=function(){return null},Bjn.yi=function(n){return-1},Bjn.zi=function(){return Kwn(this)},Bjn.Ai=function(){return null},Bjn.Bi=function(){return _wn(this)},Bjn.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Bjn.hj=function(){return!1},Bjn.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null))return a=hyn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new BZ(2),c<=i?(lY(o,this.n),lY(o,n.Bi()),this.g=D4(zy(Vot,1),STn,25,15,[this.o=c,i+1])):(lY(o,n.Bi()),lY(o,this.n),this.g=D4(zy(Vot,1),STn,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null)){for(a=hyn(this),i=n.Ci(),u=Jx(this.g,48),e=QQ(Vot,STn,25,u.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:nj(e,this.d)}if(Mgn(this)&&(e.a+=", touch: true"),e.a+=", position: ",nj(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",pI(e,this.Ai()),e.a+=", feature: ",pI(e,this._i()),e.a+=", oldValue: ",pI(e,_wn(this)),e.a+=", newValue: ",6==this.d&&OO(this.g,48)){for(t=Jx(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new jR(this),this.a=this.j),pE(this.b,n)):Bcn(this,n)},Bjn.ni=function(){return!0},Bjn.a=0,TF(ixn,"AbstractEList/1",953),Vfn(295,73,QTn,EN),TF(ixn,"AbstractEList/BasicIndexOutOfBoundsException",295),Vfn(40,1,lEn,XO),Bjn.Nb=function(n){C_(this,n)},Bjn.mj=function(){if(this.i.j!=this.f)throw fp(new Rp)},Bjn.nj=function(){return fen(this)},Bjn.Ob=function(){return this.e!=this.i.gc()},Bjn.Pb=function(){return this.nj()},Bjn.Qb=function(){ean(this)},Bjn.e=0,Bjn.f=0,Bjn.g=-1,TF(ixn,"AbstractEList/EIterator",40),Vfn(278,40,kEn,u$,nF),Bjn.Qb=function(){ean(this)},Bjn.Rb=function(n){Tnn(this,n)},Bjn.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.pj=function(n){Kin(this,n)},Bjn.Sb=function(){return 0!=this.e},Bjn.Tb=function(){return this.e},Bjn.Ub=function(){return this.oj()},Bjn.Vb=function(){return this.e-1},Bjn.Wb=function(n){this.pj(n)},TF(ixn,"AbstractEList/EListIterator",278),Vfn(341,40,lEn,o$),Bjn.nj=function(){return len(this)},Bjn.Qb=function(){throw fp(new Dp)},TF(ixn,"AbstractEList/NonResolvingEIterator",341),Vfn(385,278,kEn,s$,VN),Bjn.Rb=function(n){throw fp(new Dp)},Bjn.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Wb=function(n){throw fp(new Dp)},TF(ixn,"AbstractEList/NonResolvingEListIterator",385),Vfn(1982,67,yDn),Bjn.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=(i=t.gc())){for(e=g6(this,(s=null==(o=Jx(q3(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&hmn(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw fp(new EN(n,e));return new IB(this,n)},Bjn.$b=function(){var n,t;++this.j,t=null==(n=Jx(q3(this.a,4),126))?0:n.length,Dtn(this,null),WQ(this,t,n)},Bjn.Hc=function(n){var t,e,i,r;if(null!=(t=Jx(q3(this.a,4),126)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Jx(q3(this.a,4),126))?0:t.length))throw fp(new EN(n,e));return t[n]},Bjn.Xc=function(n){var t,e,i;if(null!=(t=Jx(q3(this.a,4),126)))if(null!=n){for(e=0,i=t.length;ee)throw fp(new EN(n,e));return new PB(this,n)},Bjn.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=qnn(this))?0:e.length))throw fp(new qm(Exn+n+Txn+r));if(t>=r)throw fp(new qm(Mxn+t+Txn+r));return i=e[t],n!=t&&(n=(a=null==(e=Jx(q3(n.a,4),126))?0:e.length))throw fp(new EN(t,a));return r=e[t],1==a?i=null:(hmn(e,0,i=QQ(Act,mDn,415,a-1,0,1),0,t),(c=a-t-1)>0&&hmn(e,t+1,i,t,c)),Dtn(n,i),Fsn(n,t,r),r}(this,n)},Bjn.mi=function(n,t){var e,i;return i=(e=qnn(this))[n],BC(e,n,j6(this,t)),Dtn(this,e),i},Bjn.gc=function(){var n;return null==(n=Jx(q3(this.a,4),126))?0:n.length},Bjn.Pc=function(){var n,t,e;return e=null==(n=Jx(q3(this.a,4),126))?0:n.length,t=QQ(Act,mDn,415,e,0,1),e>0&&hmn(n,0,t,0,e),t},Bjn.Qc=function(n){var t,e;return(e=null==(t=Jx(q3(this.a,4),126))?0:t.length)>0&&(n.lengthe&&RF(n,e,null),n},TF(ixn,"ArrayDelegatingEList",1982),Vfn(1038,40,lEn,lV),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},Bjn.Qb=function(){ean(this),this.a=Jx(q3(this.b.a,4),126)},TF(ixn,"ArrayDelegatingEList/EIterator",1038),Vfn(706,278,kEn,w_,PB),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},Bjn.pj=function(n){Kin(this,n),this.a=Jx(q3(this.b.a,4),126)},Bjn.Qb=function(){ean(this),this.a=Jx(q3(this.b.a,4),126)},TF(ixn,"ArrayDelegatingEList/EListIterator",706),Vfn(1039,341,lEn,bV),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},TF(ixn,"ArrayDelegatingEList/NonResolvingEIterator",1039),Vfn(707,385,kEn,d_,IB),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},TF(ixn,"ArrayDelegatingEList/NonResolvingEListIterator",707),Vfn(606,295,QTn,HI),TF(ixn,"BasicEList/BasicIndexOutOfBoundsException",606),Vfn(696,63,Sxn,YP),Bjn.Vc=function(n,t){throw fp(new Dp)},Bjn.Fc=function(n){throw fp(new Dp)},Bjn.Wc=function(n,t){throw fp(new Dp)},Bjn.Gc=function(n){throw fp(new Dp)},Bjn.$b=function(){throw fp(new Dp)},Bjn.qi=function(n){throw fp(new Dp)},Bjn.Kc=function(){return this.Zh()},Bjn.Yc=function(){return this.$h()},Bjn.Zc=function(n){return this._h(n)},Bjn.ii=function(n,t){throw fp(new Dp)},Bjn.ji=function(n,t){throw fp(new Dp)},Bjn.$c=function(n){throw fp(new Dp)},Bjn.Mc=function(n){throw fp(new Dp)},Bjn._c=function(n,t){throw fp(new Dp)},TF(ixn,"BasicEList/UnmodifiableEList",696),Vfn(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),Bjn.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Jx(e,133))}(this,n,Jx(t,42))},Bjn.Fc=function(n){return function(n,t){return n.c.Fc(Jx(t,133))}(this,Jx(n,42))},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return Jx(a1(this.c,n),133)},Bjn.ii=function(n,t){return Jx(this.c.ii(n,t),42)},Bjn.ji=function(n,t){!function(n,t,e){n.c.ji(t,Jx(e,133))}(this,n,Jx(t,42))},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return Jx(this.c.$c(n),42)},Bjn._c=function(n,t){return function(n,t,e){return Jx(n.c._c(t,Jx(e,133)),42)}(this,n,Jx(t,42))},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.Wc=function(n,t){return this.c.Wc(n,t)},Bjn.Gc=function(n){return this.c.Gc(n)},Bjn.$b=function(){this.c.$b()},Bjn.Hc=function(n){return this.c.Hc(n)},Bjn.Ic=function(n){return y4(this.c,n)},Bjn.qj=function(){var n,t;if(null==this.d){for(this.d=QQ(Tct,kDn,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)ein(this,Jx(n.nj(),133));this.e=t}},Bjn.Fb=function(n){return XN(this,n)},Bjn.Hb=function(){return N4(this.c)},Bjn.Xc=function(n){return this.c.Xc(n)},Bjn.rj=function(){this.c=new Ng(this)},Bjn.dc=function(){return 0==this.f},Bjn.Kc=function(){return this.c.Kc()},Bjn.Yc=function(){return this.c.Yc()},Bjn.Zc=function(n){return this.c.Zc(n)},Bjn.sj=function(){return XQ(this)},Bjn.tj=function(n,t,e){return new _x(n,t,e)},Bjn.uj=function(){return new vo},Bjn.Mc=function(n){return d0(this,n)},Bjn.gc=function(){return this.f},Bjn.bd=function(n,t){return new Az(this.c,n,t)},Bjn.Pc=function(){return this.c.Pc()},Bjn.Qc=function(n){return this.c.Qc(n)},Bjn.Ib=function(){return R7(this.c)},Bjn.e=0,Bjn.f=0,TF(ixn,"BasicEMap",705),Vfn(1033,63,Sxn,Ng),Bjn.bi=function(n,t){!function(n,t){ein(n.a,t)}(this,Jx(t,133))},Bjn.ei=function(n,t,e){++(this,Jx(t,133),this).a.e},Bjn.fi=function(n,t){!function(n,t){x9(n.a,t)}(this,Jx(t,133))},Bjn.gi=function(n,t,e){!function(n,t,e){x9(n.a,e),ein(n.a,t)}(this,Jx(t,133),Jx(e,133))},Bjn.di=function(n,t){$3(this.a)},TF(ixn,"BasicEMap/1",1033),Vfn(1034,63,Sxn,vo),Bjn.ri=function(n){return QQ(Nct,jDn,612,n,0,1)},TF(ixn,"BasicEMap/2",1034),Vfn(1035,gEn,pEn,xg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){return ynn(this.a,n)},Bjn.Kc=function(){return 0==this.a.f?(rL(),Lct.a):new Mk(this.a)},Bjn.Mc=function(n){var t;return t=this.a.f,etn(this.a,n),this.a.f!=t},Bjn.gc=function(){return this.a.f},TF(ixn,"BasicEMap/3",1035),Vfn(1036,28,dEn,Dg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){return Cdn(this.a,n)},Bjn.Kc=function(){return 0==this.a.f?(rL(),Lct.a):new Sk(this.a)},Bjn.gc=function(){return this.a.f},TF(ixn,"BasicEMap/4",1036),Vfn(1037,gEn,pEn,Rg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&OO(n,42)&&(this.a.qj(),r=null==(u=(o=Jx(n,42)).cd())?0:V5(u),c=_L(this.a,r),t=this.a.d[c]))for(e=Jx(t.g,367),s=t.i,a=0;a"+this.c},Bjn.a=0;var Lct,Nct=TF(ixn,"BasicEMap/EntryImpl",612);Vfn(536,1,{},oo),TF(ixn,"BasicEMap/View",536),Vfn(768,1,{}),Bjn.Fb=function(n){return hln((WH(),MFn),n)},Bjn.Hb=function(){return _5((WH(),MFn))},Bjn.Ib=function(){return zun((WH(),MFn))},TF(ixn,"ECollections/BasicEmptyUnmodifiableEList",768),Vfn(1312,1,kEn,mo),Bjn.Nb=function(n){C_(this,n)},Bjn.Rb=function(n){throw fp(new Dp)},Bjn.Ob=function(){return!1},Bjn.Sb=function(){return!1},Bjn.Pb=function(){throw fp(new _p)},Bjn.Tb=function(){return 0},Bjn.Ub=function(){throw fp(new _p)},Bjn.Vb=function(){return-1},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Wb=function(n){throw fp(new Dp)},TF(ixn,"ECollections/BasicEmptyUnmodifiableEList/1",1312),Vfn(1310,768,{20:1,14:1,15:1,58:1},Kv),Bjn.Vc=function(n,t){dj()},Bjn.Fc=function(n){return gj()},Bjn.Wc=function(n,t){return pj()},Bjn.Gc=function(n){return vj()},Bjn.$b=function(){mj()},Bjn.Hc=function(n){return!1},Bjn.Ic=function(n){return!1},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return OI((WH(),n)),null},Bjn.Xc=function(n){return-1},Bjn.dc=function(){return!0},Bjn.Kc=function(){return this.a},Bjn.Yc=function(){return this.a},Bjn.Zc=function(n){return this.a},Bjn.ii=function(n,t){return yj()},Bjn.ji=function(n,t){kj()},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return jj()},Bjn.Mc=function(n){return Ej()},Bjn._c=function(n,t){return Tj()},Bjn.gc=function(){return 0},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.bd=function(n,t){return WH(),new Az(MFn,n,t)},Bjn.Pc=function(){return OK((WH(),MFn))},Bjn.Qc=function(n){return WH(),Fin(MFn,n)},TF(ixn,"ECollections/EmptyUnmodifiableEList",1310),Vfn(1311,768,{20:1,14:1,15:1,58:1,589:1},_v),Bjn.Vc=function(n,t){dj()},Bjn.Fc=function(n){return gj()},Bjn.Wc=function(n,t){return pj()},Bjn.Gc=function(n){return vj()},Bjn.$b=function(){mj()},Bjn.Hc=function(n){return!1},Bjn.Ic=function(n){return!1},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return OI((WH(),n)),null},Bjn.Xc=function(n){return-1},Bjn.dc=function(){return!0},Bjn.Kc=function(){return this.a},Bjn.Yc=function(){return this.a},Bjn.Zc=function(n){return this.a},Bjn.ii=function(n,t){return yj()},Bjn.ji=function(n,t){kj()},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return jj()},Bjn.Mc=function(n){return Ej()},Bjn._c=function(n,t){return Tj()},Bjn.gc=function(){return 0},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.bd=function(n,t){return WH(),new Az(MFn,n,t)},Bjn.Pc=function(){return OK((WH(),MFn))},Bjn.Qc=function(n){return WH(),Fin(MFn,n)},Bjn.sj=function(){return WH(),WH(),SFn},TF(ixn,"ECollections/EmptyUnmodifiableEMap",1311);var xct,Dct=uR(ixn,"Enumerator");Vfn(281,1,{281:1},Ddn),Bjn.Fb=function(n){var t;return this===n||!!OO(n,281)&&(t=Jx(n,281),this.f==t.f&&function(n,t){return null==n?null==t:mtn(n,t)}(this.i,t.i)&&YR(this.a,0!=(256&this.f)?0!=(256&t.f)?t.a:null:0!=(256&t.f)?null:t.a)&&YR(this.d,t.d)&&YR(this.g,t.g)&&YR(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.Bh(e):Thn(n,t)},TF(INn,"BasicEObjectImpl/4",1027),Vfn(1983,1,{108:1}),Bjn.bk=function(n){this.e=0==n?Bat:QQ(XKn,rEn,1,n,5,1)},Bjn.Ch=function(n){return this.e[n]},Bjn.Dh=function(n,t){this.e[n]=t},Bjn.Eh=function(n){this.e[n]=null},Bjn.ck=function(){return this.c},Bjn.dk=function(){throw fp(new Dp)},Bjn.ek=function(){throw fp(new Dp)},Bjn.fk=function(){return this.d},Bjn.gk=function(){return null!=this.e},Bjn.hk=function(n){this.c=n},Bjn.ik=function(n){throw fp(new Dp)},Bjn.jk=function(n){throw fp(new Dp)},Bjn.kk=function(n){this.d=n},TF(INn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),Vfn(185,1983,{108:1},Df),Bjn.dk=function(){return this.a},Bjn.ek=function(){return this.b},Bjn.ik=function(n){this.a=n},Bjn.jk=function(n){this.b=n},TF(INn,"BasicEObjectImpl/EPropertiesHolderImpl",185),Vfn(506,97,PNn,yo),Bjn.Kg=function(){return this.f},Bjn.Pg=function(){return this.k},Bjn.Rg=function(n,t){this.g=n,this.i=t},Bjn.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},Bjn.Vg=function(){return this.i},Bjn.Mg=function(){return 0!=(1&this.j)},Bjn.eh=function(){return this.g},Bjn.kh=function(){return 0!=(4&this.j)},Bjn.ph=function(){return!this.k&&(this.k=new Df),this.k},Bjn.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},Bjn.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},Bjn.zh=function(){return(JF(),pat).S},Bjn.i=0,Bjn.j=1,TF(INn,"EObjectImpl",506),Vfn(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},PD),Bjn.Ch=function(n){return this.e[n]},Bjn.Dh=function(n,t){this.e[n]=t},Bjn.Eh=function(n){this.e[n]=null},Bjn.Tg=function(){return this.d},Bjn.Yg=function(n){return enn(this.d,n)},Bjn.$g=function(){return this.d},Bjn.dh=function(){return null!=this.e},Bjn.ph=function(){return!this.k&&(this.k=new ko),this.k},Bjn.th=function(n){this.d=n},Bjn.yh=function(){var n;return null==this.e&&(n=mF(this.d),this.e=0==n?Hat:QQ(XKn,rEn,1,n,5,1)),this},Bjn.Ah=function(){return 0},TF(INn,"DynamicEObjectImpl",780),Vfn(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},cR),Bjn.Fb=function(n){return this===n},Bjn.Hb=function(){return FA(this)},Bjn.th=function(n){this.d=n,this.b=Jbn(n,"key"),this.c=Jbn(n,_Nn)},Bjn.Sh=function(){var n;return-1==this.a&&(n=_J(this,this.b),this.a=null==n?0:V5(n)),this.a},Bjn.cd=function(){return _J(this,this.b)},Bjn.dd=function(){return _J(this,this.c)},Bjn.Th=function(n){this.a=n},Bjn.Uh=function(n){wG(this,this.b,n)},Bjn.ed=function(n){var t;return t=_J(this,this.c),wG(this,this.c,n),t},Bjn.a=0,TF(INn,"DynamicEObjectImpl/BasicEMapEntry",1376),Vfn(1377,1,{108:1},ko),Bjn.bk=function(n){throw fp(new Dp)},Bjn.Ch=function(n){throw fp(new Dp)},Bjn.Dh=function(n,t){throw fp(new Dp)},Bjn.Eh=function(n){throw fp(new Dp)},Bjn.ck=function(){throw fp(new Dp)},Bjn.dk=function(){return this.a},Bjn.ek=function(){return this.b},Bjn.fk=function(){return this.c},Bjn.gk=function(){throw fp(new Dp)},Bjn.hk=function(n){throw fp(new Dp)},Bjn.ik=function(n){this.a=n},Bjn.jk=function(n){this.b=n},Bjn.kk=function(n){this.c=n},TF(INn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),Vfn(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},jo),Bjn.Qg=function(n){return ecn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),this.b):(!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),XQ(this.b));case 3:return BG(this);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),this.a;case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),this.c}return KY(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ecn(this,e):this.Cb.ih(this,-1-i,null,e)),EK(this,Jx(n,147),e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),vat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),vat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),JN(this.b,n,e);case 3:return EK(this,null,e);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),vat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),vat)),n,e)},Bjn.lh=function(n){switch(n){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!!BG(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return DX(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void function(n,t){H0(n,null==t?null:(mB(t),t))}(this,bL(t));case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),void I3(this.b,t);case 3:return void Vbn(this,Jx(t,147));case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),qmn(this.a),!this.a&&(this.a=new WO(Vrt,this,4)),void EF(this.a,Jx(t,14));case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),qmn(this.c),!this.c&&(this.c=new ZO(Vrt,this,5)),void EF(this.c,Jx(t,14))}T7(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n),t)},Bjn.zh=function(){return Djn(),vat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void H0(this,null);case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),void this.b.c.$b();case 3:return void Vbn(this,null);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),void qmn(this.a);case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),void qmn(this.c)}c9(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n))},Bjn.Ib=function(){return s9(this)},Bjn.d=null,TF(INn,"EAnnotationImpl",510),Vfn(151,705,KDn,kY),Bjn.Xh=function(n,t){!function(n,t,e){Jx(n.c,69).Xh(t,e)}(this,n,Jx(t,42))},Bjn.lk=function(n,t){return function(n,t,e){return Jx(n.c,69).lk(t,e)}(this,Jx(n,42),t)},Bjn.pi=function(n){return Jx(Jx(this.c,69).pi(n),133)},Bjn.Zh=function(){return Jx(this.c,69).Zh()},Bjn.$h=function(){return Jx(this.c,69).$h()},Bjn._h=function(n){return Jx(this.c,69)._h(n)},Bjn.mk=function(n,t){return JN(this,n,t)},Bjn.Wj=function(n){return Jx(this.c,76).Wj(n)},Bjn.rj=function(){},Bjn.fj=function(){return Jx(this.c,76).fj()},Bjn.tj=function(n,t,e){var i;return(i=Jx(r1(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},Bjn.uj=function(){return new Zg(this)},Bjn.Wb=function(n){I3(this,n)},Bjn.Xj=function(){Jx(this.c,76).Xj()},TF(DDn,"EcoreEMap",151),Vfn(158,151,KDn,U$),Bjn.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=QQ(Tct,kDn,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=Jx(e.nj(),133)).Sh()&Jjn)%r.length])&&(n=r[i]=new Zg(this)),n.Fc(t);this.d=r}},TF(INn,"EAnnotationImpl/1",158),Vfn(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}),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!this.$j();case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i)}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void this.Lh(bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void this.ok(Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi())}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),_at},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void this.Lh(null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void this.ok(1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi())}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){lcn(this),this.Bb|=1},Bjn.Yj=function(){return lcn(this)},Bjn.Zj=function(){return this.t},Bjn.$j=function(){var n;return(n=this.t)>1||-1==n},Bjn.hi=function(){return 0!=(512&this.Bb)},Bjn.nk=function(n,t){return U8(this,n,t)},Bjn.ok=function(n){B1(this,n)},Bjn.Ib=function(){return Pfn(this)},Bjn.s=0,Bjn.t=1,TF(INn,"ETypedElementImpl",284),Vfn(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}),Bjn.Qg=function(n){return $rn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!this.$j();case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this)}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?$rn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,17,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 17:return spn(this,null,17,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this)}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void this.ok(Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),Kat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void this.ok(1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.Gj=function(){return this.f},Bjn.zj=function(){return Ibn(this)},Bjn.Hj=function(){return qG(this)},Bjn.Lj=function(){return null},Bjn.pk=function(){return this.k},Bjn.aj=function(){return this.n},Bjn.Mj=function(){return lan(this)},Bjn.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=qG(this)).i&&hvn(e),e.i).length,(i=this.Lj())&&mF(qG(i)),n=(a=(r=lcn(this)).Bj())?0!=(1&a.i)?a==Qot?R_n:a==Vot?X_n:a==nst?G_n:a==Zot?q_n:a==Yot?Z_n:a==tst?tFn:a==Jot?F_n:H_n:a:null,t=Ibn(this),u=r.zj(),h7(this),0!=(this.Bb&SEn)&&((c=Rcn((dsn(),dut),e))&&c!=this||(c=Hz(IJ(dut,this))))?this.p=new UP(this,c):this.$j()?this.rk()?i?0!=(this.Bb&FDn)?n?this.sk()?this.p=new NH(47,n,this,i):this.p=new NH(5,n,this,i):this.sk()?this.p=new hW(46,this,i):this.p=new hW(4,this,i):n?this.sk()?this.p=new NH(49,n,this,i):this.p=new NH(7,n,this,i):this.sk()?this.p=new hW(48,this,i):this.p=new hW(6,this,i):0!=(this.Bb&FDn)?n?n==r_n?this.p=new Fx(50,fct,this):this.sk()?this.p=new Fx(43,n,this):this.p=new Fx(1,n,this):this.sk()?this.p=new qq(42,this):this.p=new qq(0,this):n?n==r_n?this.p=new Fx(41,fct,this):this.sk()?this.p=new Fx(45,n,this):this.p=new Fx(3,n,this):this.sk()?this.p=new qq(44,this):this.p=new qq(2,this):OO(r,148)?n==Wat?this.p=new qq(40,this):0!=(512&this.Bb)?0!=(this.Bb&FDn)?this.p=n?new Fx(9,n,this):new qq(8,this):this.p=n?new Fx(11,n,this):new qq(10,this):0!=(this.Bb&FDn)?this.p=n?new Fx(13,n,this):new qq(12,this):this.p=n?new Fx(15,n,this):new qq(14,this):i?(o=i.t)>1||-1==o?this.sk()?0!=(this.Bb&FDn)?this.p=n?new NH(25,n,this,i):new hW(24,this,i):this.p=n?new NH(27,n,this,i):new hW(26,this,i):0!=(this.Bb&FDn)?this.p=n?new NH(29,n,this,i):new hW(28,this,i):this.p=n?new NH(31,n,this,i):new hW(30,this,i):this.sk()?0!=(this.Bb&FDn)?this.p=n?new NH(33,n,this,i):new hW(32,this,i):this.p=n?new NH(35,n,this,i):new hW(34,this,i):0!=(this.Bb&FDn)?this.p=n?new NH(37,n,this,i):new hW(36,this,i):this.p=n?new NH(39,n,this,i):new hW(38,this,i):this.sk()?0!=(this.Bb&FDn)?this.p=n?new Fx(17,n,this):new qq(16,this):this.p=n?new Fx(19,n,this):new qq(18,this):0!=(this.Bb&FDn)?this.p=n?new Fx(21,n,this):new qq(20,this):this.p=n?new Fx(23,n,this):new qq(22,this):this.qk()?this.sk()?this.p=new Bx(Jx(r,26),this,i):this.p=new eG(Jx(r,26),this,i):OO(r,148)?n==Wat?this.p=new qq(40,this):0!=(this.Bb&FDn)?this.p=n?new PK(t,u,this,(snn(),a==Vot?cut:a==Qot?nut:a==Yot?aut:a==nst?rut:a==Zot?iut:a==tst?out:a==Jot?tut:a==Wot?eut:uut)):new RH(Jx(r,148),t,u,this):this.p=n?new SK(t,u,this,(snn(),a==Vot?cut:a==Qot?nut:a==Yot?aut:a==nst?rut:a==Zot?iut:a==tst?out:a==Jot?tut:a==Wot?eut:uut)):new DH(Jx(r,148),t,u,this):this.rk()?i?0!=(this.Bb&FDn)?this.sk()?this.p=new Xx(Jx(r,26),this,i):this.p=new Ux(Jx(r,26),this,i):this.sk()?this.p=new zx(Jx(r,26),this,i):this.p=new Hx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.sk()?this.p=new Q$(Jx(r,26),this):this.p=new V$(Jx(r,26),this):this.sk()?this.p=new W$(Jx(r,26),this):this.p=new X$(Jx(r,26),this):this.sk()?i?0!=(this.Bb&FDn)?this.p=new Wx(Jx(r,26),this,i):this.p=new qx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.p=new J$(Jx(r,26),this):this.p=new Y$(Jx(r,26),this):i?0!=(this.Bb&FDn)?this.p=new Vx(Jx(r,26),this,i):this.p=new Gx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.p=new Z$(Jx(r,26),this):this.p=new _R(Jx(r,26),this)),this.p},Bjn.Ij=function(){return 0!=(this.Bb&RNn)},Bjn.qk=function(){return!1},Bjn.rk=function(){return!1},Bjn.Jj=function(){return 0!=(this.Bb&SEn)},Bjn.Oj=function(){return zJ(this)},Bjn.sk=function(){return!1},Bjn.Kj=function(){return 0!=(this.Bb&FDn)},Bjn.tk=function(n){this.k=n},Bjn.Lh=function(n){kz(this,n)},Bjn.Ib=function(){return Ydn(this)},Bjn.e=!1,Bjn.n=0,TF(INn,"EStructuralFeatureImpl",449),Vfn(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},Gv),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!Hhn(this);case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this);case 18:return MA(),0!=(this.Bb&SNn);case 19:return t?m4(this):oQ(this)}return KY(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n),t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Hhn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this);case 18:return 0!=(this.Bb&SNn);case 19:return!!oQ(this)}return DX(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void Ok(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)));case 18:return void G9(this,ty(fL(t)))}T7(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n),t)},Bjn.zh=function(){return Djn(),mat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return this.b=0,void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1);case 18:return void G9(this,!1)}c9(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n))},Bjn.Gh=function(){m4(this),tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.$j=function(){return Hhn(this)},Bjn.nk=function(n,t){return this.b=0,this.a=null,U8(this,n,t)},Bjn.ok=function(n){Ok(this,n)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?Ydn(this):((n=new SA(Ydn(this))).a+=" (iD: ",tj(n,0!=(this.Bb&SNn)),n.a+=")",n.a)},Bjn.b=0,TF(INn,"EAttributeImpl",322),Vfn(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}),Bjn.uk=function(n){return n.Tg()==this},Bjn.Qg=function(n){return vrn(this,n)},Bjn.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return lrn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?r1(this):HG(this);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),this.A}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),kat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.yj=function(){var n;return-1==this.G&&(this.G=(n=r1(this))?Ken(n.Mh(),this):-1),this.G},Bjn.zj=function(){return null},Bjn.Aj=function(){return r1(this)},Bjn.vk=function(){return this.v},Bjn.Bj=function(){return lrn(this)},Bjn.Cj=function(){return null!=this.D?this.D:this.B},Bjn.Dj=function(){return this.F},Bjn.wj=function(n){return Jpn(this,n)},Bjn.wk=function(n){this.v=n},Bjn.xk=function(n){x2(this,n)},Bjn.yk=function(n){this.C=n},Bjn.Lh=function(n){jz(this,n)},Bjn.Ib=function(){return tnn(this)},Bjn.C=null,Bjn.D=null,Bjn.G=-1,TF(INn,"EClassifierImpl",351),Vfn(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},Rf),Bjn.uk=function(n){return function(n,t){return t==n||Bcn(ybn(t),n)}(this,n.Tg())},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return lrn(this);case 4:return null;case 5:return this.F;case 6:return t?r1(this):HG(this);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),this.A;case 8:return MA(),0!=(256&this.Bb);case 9:return MA(),0!=(512&this.Bb);case 10:return Cq(this);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),this.q;case 12:return imn(this);case 13:return Xvn(this);case 14:return Xvn(this),this.r;case 15:return imn(this),this.k;case 16:return Lsn(this);case 17:return $vn(this);case 18:return hvn(this);case 19:return ybn(this);case 20:return imn(this),this.o;case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),this.s;case 22:return eW(this);case 23:return Tdn(this)}return KY(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),dnn(this.q,n,e);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),dnn(this.s,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),yat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),yat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),Men(this.q,n,e);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),Men(this.s,n,e);case 22:return Men(eW(this),n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),yat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),yat)),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==eW(this.u.a).i||this.n&&hin(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=imn(this).i;case 13:return 0!=Xvn(this).i;case 14:return Xvn(this),0!=this.r.i;case 15:return imn(this),0!=this.k.i;case 16:return 0!=Lsn(this).i;case 17:return 0!=$vn(this).i;case 18:return 0!=hvn(this).i;case 19:return 0!=ybn(this).i;case 20:return imn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&hin(this.n);case 23:return 0!=Tdn(this).i}return DX(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n))},Bjn.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:Jbn(this,n))||Ekn(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14));case 8:return void f9(this,ty(fL(t)));case 9:return void w9(this,ty(fL(t)));case 10:return Vmn(Cq(this)),void EF(Cq(this),Jx(t,14));case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),qmn(this.q),!this.q&&(this.q=new y_(lat,this,11,10)),void EF(this.q,Jx(t,14));case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),qmn(this.s),!this.s&&(this.s=new y_(eat,this,21,17)),void EF(this.s,Jx(t,14));case 22:return qmn(eW(this)),void EF(eW(this),Jx(t,14))}T7(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n),t)},Bjn.zh=function(){return Djn(),yat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A);case 8:return void f9(this,!1);case 9:return void w9(this,!1);case 10:return void(this.u&&Vmn(this.u));case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),void qmn(this.q);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),void qmn(this.s);case 22:return void(this.n&&qmn(this.n))}c9(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n))},Bjn.Gh=function(){var n,t;if(imn(this),Xvn(this),Lsn(this),$vn(this),hvn(this),ybn(this),Tdn(this),DV(function(n){return!n.c&&(n.c=new Bo),n.c}(wV(this))),this.s)for(n=0,t=this.s.i;n=0;--t)a1(this,t);return wnn(this,n)},Bjn.Xj=function(){qmn(this)},Bjn.oi=function(n,t){return U1(this,0,t)},TF(DDn,"EcoreEList",622),Vfn(496,622,ZDn,MD),Bjn.ai=function(){return!1},Bjn.aj=function(){return this.c},Bjn.bj=function(){return!1},Bjn.Fk=function(){return!0},Bjn.hi=function(){return!0},Bjn.li=function(n,t){return t},Bjn.ni=function(){return!1},Bjn.c=0,TF(DDn,"EObjectEList",496),Vfn(85,496,ZDn,WO),Bjn.bj=function(){return!0},Bjn.Dk=function(){return!1},Bjn.rk=function(){return!0},TF(DDn,"EObjectContainmentEList",85),Vfn(545,85,ZDn,VO),Bjn.ci=function(){this.b=!0},Bjn.fj=function(){return this.b},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.b,this.b=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.b=!1},Bjn.b=!1,TF(DDn,"EObjectContainmentEList/Unsettable",545),Vfn(1140,545,ZDn,TK),Bjn.ii=function(n,t){var e,i;return e=Jx(N9(this,n,t),87),pC(this.e)&&Wp(this,new EY(this.a,7,(Djn(),jat),g9(t),OO(i=e.c,88)?Jx(i,26):Aat,n)),e},Bjn.jj=function(n,t){return function(n,t,e){var i,r;return i=new kJ(n.e,3,10,null,OO(r=t.c,88)?Jx(r,26):(Djn(),Aat),Ken(n,t),!1),e?e.Ei(i):e=i,e}(this,Jx(n,87),t)},Bjn.kj=function(n,t){return function(n,t,e){var i,r;return i=new kJ(n.e,4,10,OO(r=t.c,88)?Jx(r,26):(Djn(),Aat),null,Ken(n,t),!1),e?e.Ei(i):e=i,e}(this,Jx(n,87),t)},Bjn.lj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new kJ(n.e,1,10,OO(a=t.c,88)?Jx(a,26):(Djn(),Aat),OO(c=e.c,88)?Jx(c,26):(Djn(),Aat),Ken(n,t),!1),i?i.Ei(r):i=r,i}(this,Jx(n,87),Jx(t,87),e)},Bjn.Zi=function(n,t,e,i,r){switch(n){case 3:return UG(this,n,t,e,i,this.i>1);case 5:return UG(this,n,t,e,i,this.i-Jx(e,15).gc()>0);default:return new kJ(this.e,n,this.c,t,e,i,!0)}},Bjn.ij=function(){return!0},Bjn.fj=function(){return hin(this)},Bjn.Xj=function(){qmn(this)},TF(INn,"EClassImpl/1",1140),Vfn(1154,1153,dDn),Bjn.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&(!(t=wV(Jx(u,473))).c&&(t.c=new Bo),GJ(t.c,n.Ai())),null!=(a=n.zi())&&0==(1&(r=Jx(a,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&0==(1&(r=Jx(a,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Jx(a,14).Kc();c.Ob();)0==(1&(r=Jx(c.Pb(),473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&0==(1&(r=Jx(u,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),GJ(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Jx(u,14).Kc();c.Ob();)0==(1&(r=Jx(c.Pb(),473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),GJ(t.c,n.Ai()))}this.Hk(i)}},Bjn.Hk=function(n){zdn(this,n)},Bjn.b=63,TF(INn,"ESuperAdapter",1154),Vfn(1155,1154,dDn,_g),Bjn.Hk=function(n){chn(this,n)},TF(INn,"EClassImpl/10",1155),Vfn(1144,696,ZDn),Bjn.Vh=function(n,t){return fun(this,n,t)},Bjn.Wh=function(n){return Lin(this,n)},Bjn.Xh=function(n,t){W8(this,n,t)},Bjn.Yh=function(n){xV(this,n)},Bjn.pi=function(n){return $Y(this,n)},Bjn.mi=function(n,t){return qJ(this,n,t)},Bjn.lk=function(n,t){throw fp(new Dp)},Bjn.Zh=function(){return new o$(this)},Bjn.$h=function(){return new s$(this)},Bjn._h=function(n){return w0(this,n)},Bjn.mk=function(n,t){throw fp(new Dp)},Bjn.Wj=function(n){return this},Bjn.fj=function(){return 0!=this.i},Bjn.Wb=function(n){throw fp(new Dp)},Bjn.Xj=function(){throw fp(new Dp)},TF(DDn,"EcoreEList/UnmodifiableEList",1144),Vfn(319,1144,ZDn,qI),Bjn.ni=function(){return!1},TF(DDn,"EcoreEList/UnmodifiableEList/FastCompare",319),Vfn(1147,319,ZDn,v5),Bjn.Xc=function(n){var t,e;if(OO(n,170)&&-1!=(t=Jx(n,170).aj()))for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Jx(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Jx(OZ(Oq(this.b),this.aj()).Yj(),26).Bj())==tin(Jx(OZ(Oq(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg())for(i=0;i1||-1==e)},Bjn.Dk=function(){var n;return!!OO(n=OZ(Oq(this.b),this.aj()),99)&&!!tin(Jx(n,18))},Bjn.Ek=function(){var n;return!!OO(n=OZ(Oq(this.b),this.aj()),99)&&0!=(Jx(n,18).Bb&iMn)},Bjn.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk())for(t=0,i=this.Vi();t=0;--n)fyn(this,n,this.Oi(n));return this.Wi()},Bjn.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)fyn(this,t,this.Oi(t));return this.Xi(n)},Bjn.Xj=function(){Vmn(this)},Bjn.oi=function(n,t){return LY(this,0,t)},TF(DDn,"DelegatingEcoreEList",742),Vfn(1150,742,rRn,GL),Bjn.Hi=function(n,t){!function(n,t,e){k9(eW(n.a),t,Tz(e))}(this,n,Jx(t,26))},Bjn.Ii=function(n){!function(n,t){lY(eW(n.a),Tz(t))}(this,Jx(n,26))},Bjn.Oi=function(n){var t;return OO(t=Jx(a1(eW(this.a),n),87).c,88)?Jx(t,26):(Djn(),Aat)},Bjn.Ti=function(n){var t;return OO(t=Jx(edn(eW(this.a),n),87).c,88)?Jx(t,26):(Djn(),Aat)},Bjn.Ui=function(n,t){return function(n,t,e){var i,r,c;return(0!=(64&(c=OO(r=(i=Jx(a1(eW(n.a),t),87)).c,88)?Jx(r,26):(Djn(),Aat)).Db)?I8(n.b,c):c)==e?Hpn(i):w1(i,e),c}(this,n,Jx(t,26))},Bjn.ai=function(){return!1},Bjn.Zi=function(n,t,e,i,r){return null},Bjn.Ji=function(){return new Bg(this)},Bjn.Ki=function(){qmn(eW(this.a))},Bjn.Li=function(n){return u9(this,n)},Bjn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!u9(this,t.Pb()))return!1;return!0},Bjn.Ni=function(n){var t,e,i;if(OO(n,15)&&(i=Jx(n,15)).gc()==eW(this.a).i){for(t=i.Kc(),e=new XO(this);t.Ob();)if(rI(t.Pb())!==rI(fen(e)))return!1;return!0}return!1},Bjn.Pi=function(){var n,t,e,i;for(t=1,n=new XO(eW(this.a));n.e!=n.i.gc();)t=31*t+((e=OO(i=Jx(fen(n),87).c,88)?Jx(i,26):(Djn(),Aat))?FA(e):0);return t},Bjn.Qi=function(n){var t,e,i,r;for(i=0,e=new XO(eW(this.a));e.e!=e.i.gc();){if(t=Jx(fen(e),87),rI(n)===rI(OO(r=t.c,88)?Jx(r,26):(Djn(),Aat)))return i;++i}return-1},Bjn.Ri=function(){return 0==eW(this.a).i},Bjn.Si=function(){return null},Bjn.Vi=function(){return eW(this.a).i},Bjn.Wi=function(){var n,t,e,i,r,c;for(c=eW(this.a).i,r=QQ(XKn,rEn,1,c,5,1),e=0,t=new XO(eW(this.a));t.e!=t.i.gc();)n=Jx(fen(t),87),r[e++]=OO(i=n.c,88)?Jx(i,26):(Djn(),Aat);return r},Bjn.Xi=function(n){var t,e,i,r;for(r=eW(this.a).i,n.lengthr&&RF(n,r,null),e=0,t=new XO(eW(this.a));t.e!=t.i.gc();)RF(n,e++,OO(i=Jx(fen(t),87).c,88)?Jx(i,26):(Djn(),Aat));return n},Bjn.Yi=function(){var n,t,e,i,r;for((r=new Oy).a+="[",n=eW(this.a),t=0,i=eW(this.a).i;t>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),dnn(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Tat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Tat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Tat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Tat)),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return!!D6(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return DX(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14));case 8:return void l9(this,ty(fL(t)));case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),qmn(this.a),!this.a&&(this.a=new y_(hat,this,9,5)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n),t)},Bjn.zh=function(){return Djn(),Tat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A);case 8:return void l9(this,!0);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),void qmn(this.a)}c9(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n))},Bjn.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Jx(this.Cb,671):null}return KY(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?tcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,5,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Mat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Mat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 5:return spn(this,null,5,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Mat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Mat)),n,e)},Bjn.lh=function(n){switch(n){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||!Jx(this.Cb,671))}return DX(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void _1(this,Jx(t,19).a);case 3:return void ffn(this,Jx(t,1940));case 4:return void B0(this,bL(t))}T7(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n),t)},Bjn.zh=function(){return Djn(),Mat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void _1(this,0);case 3:return void ffn(this,null);case 4:return void B0(this,null)}c9(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n))},Bjn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},Bjn.b=null,Bjn.c=null,Bjn.d=0,TF(INn,"EEnumLiteralImpl",573);var Vat,Qat,Yat,Jat=uR(INn,"EFactoryImpl/InternalEDateTimeFormat");Vfn(489,1,{2015:1},Hg),TF(INn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),Vfn(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},op),Bjn.Sg=function(n,t,e){var i;return e=spn(this,n,t,e),this.e&&OO(n,170)&&(i=gbn(this,this.e))!=this.c&&(e=Uyn(this,i,e)),e},Bjn._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new WO(fat,this,1)),this.d;case 2:return t?Hpn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?din(this):this.a}return KY(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return P8(this,null,e);case 1:return!this.d&&(this.d=new WO(fat,this,1)),Men(this.d,n,e);case 3:return S8(this,null,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Pat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Pat)),n,e)},Bjn.lh=function(n){switch(n){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 DX(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n))},Bjn.sh=function(n,t){switch(n){case 0:return void yan(this,Jx(t,87));case 1:return!this.d&&(this.d=new WO(fat,this,1)),qmn(this.d),!this.d&&(this.d=new WO(fat,this,1)),void EF(this.d,Jx(t,14));case 3:return void man(this,Jx(t,87));case 4:return void Wun(this,Jx(t,836));case 5:return void w1(this,Jx(t,138))}T7(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n),t)},Bjn.zh=function(){return Djn(),Pat},Bjn.Bh=function(n){switch(n){case 0:return void yan(this,null);case 1:return!this.d&&(this.d=new WO(fat,this,1)),void qmn(this.d);case 3:return void man(this,null);case 4:return void Wun(this,null);case 5:return void w1(this,null)}c9(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n))},Bjn.Ib=function(){var n;return(n=new PA(_ln(this))).a+=" (expression: ",dmn(this,n),n.a+=")",n.a},TF(INn,"EGenericTypeImpl",241),Vfn(1969,1964,cRn),Bjn.Xh=function(n,t){RL(this,n,t)},Bjn.lk=function(n,t){return RL(this,this.gc(),n),t},Bjn.pi=function(n){return jen(this.Gi(),n)},Bjn.Zh=function(){return this.$h()},Bjn.Gi=function(){return new Yg(this)},Bjn.$h=function(){return this._h(0)},Bjn._h=function(n){return this.Gi().Zc(n)},Bjn.mk=function(n,t){return Q7(this,n,!0),t},Bjn.ii=function(n,t){var e;return e=Xrn(this,t),this.Zc(n).Rb(e),e},Bjn.ji=function(n,t){Q7(this,t,!0),this.Zc(n).Rb(t)},TF(DDn,"AbstractSequentialInternalEList",1969),Vfn(486,1969,cRn,t$),Bjn.pi=function(n){return jen(this.Gi(),n)},Bjn.Zh=function(){return null==this.b?(ET(),ET(),Yat):this.Jk()},Bjn.Gi=function(){return new zI(this.a,this.b)},Bjn.$h=function(){return null==this.b?(ET(),ET(),Yat):this.Jk()},Bjn._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw fp(new qm(vDn+n+", size=0"));return ET(),ET(),Yat}for(e=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=Qrt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(MT(),Jx(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Jx(c,15),this.k=i):(i=Jx(c,69),this.k=this.j=i),OO(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?fsn(this,this.p):Usn(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Jx(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},Bjn.Pb=function(){return W3(this)},Bjn.Tb=function(){return this.a},Bjn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw fp(new _p)},Bjn.Vb=function(){return this.a-1},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Lk=function(){return!1},Bjn.Wb=function(n){throw fp(new Dp)},Bjn.Mk=function(){return!0},Bjn.a=0,Bjn.d=0,Bjn.f=!1,Bjn.g=0,Bjn.n=0,Bjn.o=0,TF(DDn,"EContentsEList/FeatureIteratorImpl",279),Vfn(697,279,aRn,q$),Bjn.Lk=function(){return!0},TF(DDn,"EContentsEList/ResolvingFeatureIteratorImpl",697),Vfn(1157,697,aRn,z$),Bjn.Mk=function(){return!1},TF(INn,"ENamedElementImpl/1/1",1157),Vfn(1158,279,aRn,G$),Bjn.Mk=function(){return!1},TF(INn,"ENamedElementImpl/1/2",1158),Vfn(36,143,pDn,uW,oW,v_,jY,kJ,AV,V1,uU,Q1,oU,IV,sU,Z1,hU,CV,fU,Y1,lU,m_,EY,eq,J1,bU,OV,wU),Bjn._i=function(){return fY(this)},Bjn.gj=function(){var n;return(n=fY(this))?n.zj():null},Bjn.yi=function(n){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},Bjn.Ai=function(){return this.c},Bjn.hj=function(){var n;return!!(n=fY(this))&&n.Kj()},Bjn.b=-1,TF(INn,"ENotificationImpl",36),Vfn(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},Uv),Bjn.Qg=function(n){return hcn(this,n)},Bjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(i=this.t)>1||-1==i;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Jx(this.Cb,26):null;case 11:return!this.d&&(this.d=new QO(Uat,this,11)),this.d;case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),this.c;case 13:return!this.a&&(this.a=new zL(this,this)),this.a;case 14:return CJ(this)}return KY(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?hcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,10,e);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),dnn(this.c,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),$at),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),$at)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 10:return spn(this,null,10,e);case 11:return!this.d&&(this.d=new QO(Uat,this,11)),Men(this.d,n,e);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),Men(this.c,n,e);case 14:return Men(CJ(this),n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),$at),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),$at)),n,e)},Bjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return!(this.Db>>16!=10||!Jx(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==CJ(this.a.a).i||this.b&&fin(this.b));case 14:return!!this.b&&fin(this.b)}return DX(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void B1(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 11:return!this.d&&(this.d=new QO(Uat,this,11)),qmn(this.d),!this.d&&(this.d=new QO(Uat,this,11)),void EF(this.d,Jx(t,14));case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),qmn(this.c),!this.c&&(this.c=new y_(bat,this,12,10)),void EF(this.c,Jx(t,14));case 13:return!this.a&&(this.a=new zL(this,this)),Vmn(this.a),!this.a&&(this.a=new zL(this,this)),void EF(this.a,Jx(t,14));case 14:return qmn(CJ(this)),void EF(CJ(this),Jx(t,14))}T7(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n),t)},Bjn.zh=function(){return Djn(),$at},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 11:return!this.d&&(this.d=new QO(Uat,this,11)),void qmn(this.d);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),void qmn(this.c);case 13:return void(this.a&&Vmn(this.a));case 14:return void(this.b&&qmn(this.b))}c9(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n))},Bjn.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&RF(n,i,null),e=0,t=new XO(CJ(this.a));t.e!=t.i.gc();)RF(n,e++,Jx(fen(t),87).c||(Djn(),Iat));return n},Bjn.Yi=function(){var n,t,e,i;for((i=new Oy).a+="[",n=CJ(this.a),t=0,e=CJ(this.a).i;t1);case 5:return UG(this,n,t,e,i,this.i-Jx(e,15).gc()>0);default:return new kJ(this.e,n,this.c,t,e,i,!0)}},Bjn.ij=function(){return!0},Bjn.fj=function(){return fin(this)},Bjn.Xj=function(){qmn(this)},TF(INn,"EOperationImpl/2",1341),Vfn(498,1,{1938:1,498:1},zP),TF(INn,"EPackageImpl/1",498),Vfn(16,85,ZDn,y_),Bjn.zk=function(){return this.d},Bjn.Ak=function(){return this.b},Bjn.Dk=function(){return!0},Bjn.b=0,TF(DDn,"EObjectContainmentWithInverseEList",16),Vfn(353,16,ZDn,TN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentWithInverseEList/Resolving",353),Vfn(298,353,ZDn,g_),Bjn.ci=function(){this.a.tb=null},TF(INn,"EPackageImpl/2",298),Vfn(1228,1,{},Oo),TF(INn,"EPackageImpl/3",1228),Vfn(718,43,pMn,Wv),Bjn._b=function(n){return uI(n)?fq(this,n):!!Rq(this.f,n)},TF(INn,"EPackageRegistryImpl",718),Vfn(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},Xv),Bjn.Qg=function(n){return fcn(this,n)},Bjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(i=this.t)>1||-1==i;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Jx(this.Cb,59):null}return KY(this,n-mF((Djn(),xat)),OZ(Jx(q3(this,16),26)||xat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?fcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,10,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),xat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),xat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 10:return spn(this,null,10,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),xat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),xat)),n,e)},Bjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return!(this.Db>>16!=10||!Jx(this.Cb,59))}return DX(this,n-mF((Djn(),xat)),OZ(Jx(q3(this,16),26)||xat,n))},Bjn.zh=function(){return Djn(),xat},TF(INn,"EParameterImpl",509),Vfn(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},aL),Bjn._g=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(r=this.t)>1||-1==r;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this);case 18:return MA(),0!=(this.Bb&SNn);case 19:return MA(),!(!(i=tin(this))||0==(i.Bb&SNn));case 20:return MA(),0!=(this.Bb&iMn);case 21:return t?tin(this):this.b;case 22:return t?A5(this):gV(this);case 23:return!this.a&&(this.a=new ZO(iat,this,23)),this.a}return KY(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n),t,e)},Bjn.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this);case 18:return 0!=(this.Bb&SNn);case 19:return!!(t=tin(this))&&0!=(t.Bb&SNn);case 20:return 0==(this.Bb&iMn);case 21:return!!this.b;case 22:return!!gV(this);case 23:return!!this.a&&0!=this.a.i}return DX(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void B1(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)));case 18:return void function(n,t){z9(n,t),OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),2)}(this,ty(fL(t)));case 20:return void U9(this,ty(fL(t)));case 21:return void Y0(this,Jx(t,18));case 23:return!this.a&&(this.a=new ZO(iat,this,23)),qmn(this.a),!this.a&&(this.a=new ZO(iat,this,23)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n),t)},Bjn.zh=function(){return Djn(),Dat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1);case 18:return z9(this,!1),void(OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),2));case 20:return void U9(this,!0);case 21:return void Y0(this,null);case 23:return!this.a&&(this.a=new ZO(iat,this,23)),void qmn(this.a)}c9(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n))},Bjn.Gh=function(){A5(this),tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.Lj=function(){return tin(this)},Bjn.qk=function(){var n;return!!(n=tin(this))&&0!=(n.Bb&SNn)},Bjn.rk=function(){return 0!=(this.Bb&SNn)},Bjn.sk=function(){return 0!=(this.Bb&iMn)},Bjn.nk=function(n,t){return this.c=null,U8(this,n,t)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?Ydn(this):((n=new SA(Ydn(this))).a+=" (containment: ",tj(n,0!=(this.Bb&SNn)),n.a+=", resolveProxies: ",tj(n,0!=(this.Bb&iMn)),n.a+=")",n.a)},TF(INn,"EReferenceImpl",99),Vfn(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},Ao),Bjn.Fb=function(n){return this===n},Bjn.cd=function(){return this.b},Bjn.dd=function(){return this.c},Bjn.Hb=function(){return FA(this)},Bjn.Uh=function(n){!function(n,t){K0(n,null==t?null:(mB(t),t))}(this,bL(n))},Bjn.ed=function(n){return function(n,t){var e;return e=n.c,_0(n,t),e}(this,bL(n))},Bjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return KY(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n),t,e)},Bjn.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return DX(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n))},Bjn.sh=function(n,t){switch(n){case 0:return void function(n,t){K0(n,null==t?null:(mB(t),t))}(this,bL(t));case 1:return void _0(this,bL(t))}T7(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n),t)},Bjn.zh=function(){return Djn(),Rat},Bjn.Bh=function(n){switch(n){case 0:return void K0(this,null);case 1:return void _0(this,null)}c9(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n))},Bjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:Wen(n)),this.a},Bjn.Th=function(n){this.a=n},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new SA(_ln(this))).a+=" (key: ",vI(n,this.b),n.a+=", value: ",vI(n,this.c),n.a+=")",n.a)},Bjn.a=-1,Bjn.b=null,Bjn.c=null;var Zat,nut,tut,eut,iut,rut,cut,aut,uut,out,sut=TF(INn,"EStringToStringMapEntryImpl",548),hut=uR(DDn,"FeatureMap/Entry/Internal");Vfn(565,1,uRn),Bjn.Ok=function(n){return this.Pk(Jx(n,49))},Bjn.Pk=function(n){return this.Ok(n)},Bjn.Fb=function(n){var t,e;return this===n||!!OO(n,72)&&(t=Jx(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():Y8(e,t.dd()))},Bjn.ak=function(){return this.c},Bjn.Hb=function(){var n;return n=this.dd(),V5(this.c)^(null==n?0:V5(n))},Bjn.Ib=function(){var n,t;return t=r1((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},TF(INn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),Vfn(776,565,uRn,BL),Bjn.Pk=function(n){return new BL(this.c,n)},Bjn.dd=function(){return this.a},Bjn.Qk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=enn(t.Tg(),n.c),r=e.gh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},Bjn.Rk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=enn(t.Tg(),n.c),r=e.ih(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},TF(INn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),Vfn(1314,1,{},UP),Bjn.Pj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).nl(this.a).Wj(i)},Bjn.Qj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).el(this.a,i,r)},Bjn.Rj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).fl(this.a,i,r)},Bjn.Sj=function(n,t,e){return Jx(MY(n,this.b),215).nl(this.a).fj()},Bjn.Tj=function(n,t,e,i){Jx(MY(n,this.b),215).nl(this.a).Wb(i)},Bjn.Uj=function(n,t,e){return Jx(MY(n,this.b),215).nl(this.a)},Bjn.Vj=function(n,t,e){Jx(MY(n,this.b),215).nl(this.a).Xj()},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),Vfn(89,1,{},Fx,NH,qq,hW),Bjn.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=Sjn(this,n)),!r)switch(this.e){case 50:case 41:return Jx(c,589).sj();case 40:return Jx(c,215).kl()}return c},Bjn.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=Sjn(this,n)),Jx(c,69).lk(i,r)},Bjn.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Jx(c,69).mk(i,r)),r},Bjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Jx(i,76).fj()},Bjn.Tj=function(n,t,e,i){var r;!(r=Jx(t.Ch(e),76))&&t.Dh(e,r=Sjn(this,n)),r.Wb(i)},Bjn.Uj=function(n,t,e){var i;return null==(i=t.Ch(e))&&t.Dh(e,i=Sjn(this,n)),OO(i,76)?Jx(i,76):new Xg(Jx(t.Ch(e),15))},Bjn.Vj=function(n,t,e){var i;!(i=Jx(t.Ch(e),76))&&t.Dh(e,i=Sjn(this,n)),i.Xj()},Bjn.b=0,Bjn.e=0,TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),Vfn(504,1,{}),Bjn.Qj=function(n,t,e,i,r){throw fp(new Dp)},Bjn.Rj=function(n,t,e,i,r){throw fp(new Dp)},Bjn.Uj=function(n,t,e){return new xH(this,n,t,e)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),Vfn(1331,1,RDn,xH),Bjn.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},Bjn.fj=function(){return this.a.Sj(this.c,this.d,this.b)},Bjn.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},Bjn.Xj=function(){this.a.Vj(this.c,this.d,this.b)},Bjn.b=0,TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),Vfn(769,504,{},eG),Bjn.Pj=function(n,t,e,i,r){return Cgn(n,n.eh(),n.Vg())==this.b?this.sk()&&i?Hfn(n):n.eh():null},Bjn.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=enn(n.Tg(),this.e),n.Sg(i,a,r)},Bjn.Rj=function(n,t,e,i,r){var c;return c=enn(n.Tg(),this.e),n.Sg(null,c,r)},Bjn.Sj=function(n,t,e){var i;return i=enn(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},Bjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Jpn(this.a,i))throw fp(new Qm(oRn+(OO(i,56)?pan(Jx(i,56).Tg()):NZ(Q5(i)))+sRn+this.a+"'"));if(r=n.eh(),a=enn(n.Tg(),this.e),rI(i)!==rI(r)||n.Vg()!=a&&null!=i){if(acn(n,Jx(i,56)))throw fp(new Ym(ONn+n.Ib()));o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Jx(i,49))&&(o=u.gh(n,enn(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&_3(n,new v_(n,1,a,i,i))},Bjn.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=enn(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&_3(n,new m_(n,1,this.e,null,null))},Bjn.sk=function(){return!1},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),Vfn(1315,769,{},Bx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),Vfn(563,504,{}),Bjn.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:rI(c)===rI(Zat)?null:c},Bjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(rI(i)===rI(Zat)||!Y8(i,this.b))},Bjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:rI(c)===rI(Zat)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,Zat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,Zat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},Bjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:rI(r)===rI(Zat)?null:r,t.Eh(e),_3(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},Bjn.Sk=function(n){throw fp(new $p)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),Vfn(hRn,1,{},$o),Bjn.Tk=function(n,t,e,i,r){return new m_(n,t,e,i,r)},Bjn.Uk=function(n,t,e,i,r,c){return new eq(n,t,e,i,r,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",hRn),Vfn(1332,hRn,{},Lo),Bjn.Tk=function(n,t,e,i,r){return new OV(n,t,e,ty(fL(i)),ty(fL(r)))},Bjn.Uk=function(n,t,e,i,r,c){return new wU(n,t,e,ty(fL(i)),ty(fL(r)),c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),Vfn(1333,hRn,{},No),Bjn.Tk=function(n,t,e,i,r){return new V1(n,t,e,Jx(i,217).a,Jx(r,217).a)},Bjn.Uk=function(n,t,e,i,r,c){return new uU(n,t,e,Jx(i,217).a,Jx(r,217).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),Vfn(1334,hRn,{},xo),Bjn.Tk=function(n,t,e,i,r){return new Q1(n,t,e,Jx(i,172).a,Jx(r,172).a)},Bjn.Uk=function(n,t,e,i,r,c){return new oU(n,t,e,Jx(i,172).a,Jx(r,172).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),Vfn(1335,hRn,{},Do),Bjn.Tk=function(n,t,e,i,r){return new IV(n,t,e,ey(lL(i)),ey(lL(r)))},Bjn.Uk=function(n,t,e,i,r,c){return new sU(n,t,e,ey(lL(i)),ey(lL(r)),c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),Vfn(1336,hRn,{},Ro),Bjn.Tk=function(n,t,e,i,r){return new Z1(n,t,e,Jx(i,155).a,Jx(r,155).a)},Bjn.Uk=function(n,t,e,i,r,c){return new hU(n,t,e,Jx(i,155).a,Jx(r,155).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),Vfn(1337,hRn,{},Ko),Bjn.Tk=function(n,t,e,i,r){return new CV(n,t,e,Jx(i,19).a,Jx(r,19).a)},Bjn.Uk=function(n,t,e,i,r,c){return new fU(n,t,e,Jx(i,19).a,Jx(r,19).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),Vfn(1338,hRn,{},_o),Bjn.Tk=function(n,t,e,i,r){return new Y1(n,t,e,Jx(i,162).a,Jx(r,162).a)},Bjn.Uk=function(n,t,e,i,r,c){return new lU(n,t,e,Jx(i,162).a,Jx(r,162).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),Vfn(1339,hRn,{},Fo),Bjn.Tk=function(n,t,e,i,r){return new J1(n,t,e,Jx(i,184).a,Jx(r,184).a)},Bjn.Uk=function(n,t,e,i,r,c){return new bU(n,t,e,Jx(i,184).a,Jx(r,184).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),Vfn(1317,563,{},DH),Bjn.Sk=function(n){if(!this.a.wj(n))throw fp(new Qm(oRn+Q5(n)+sRn+this.a+"'"))},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),Vfn(1318,563,{},SK),Bjn.Sk=function(n){},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),Vfn(770,563,{}),Bjn.Sj=function(n,t,e){return null!=t.Ch(e)},Bjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):rI(c)===rI(Zat)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,Zat):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,Zat):(this.Sk(i),t.Dh(e,i))},Bjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):rI(r)===rI(Zat)&&(r=null),t.Eh(e),_3(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),Vfn(1319,770,{},RH),Bjn.Sk=function(n){if(!this.a.wj(n))throw fp(new Qm(oRn+Q5(n)+sRn+this.a+"'"))},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),Vfn(1320,770,{},PK),Bjn.Sk=function(n){},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),Vfn(398,504,{},_R),Bjn.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&rI(s)===rI(Zat))return null;if(this.sk()&&i&&null!=s){if((u=Jx(s,49)).kh()&&u!=(o=I8(n,u))){if(!Jpn(this.a,o))throw fp(new Qm(oRn+Q5(o)+sRn+this.a+"'"));t.Dh(e,s=o),this.rk()&&(c=Jx(o,49),a=u.ih(n,this.b?enn(u.Tg(),this.b):-1-enn(n.Tg(),this.e),null,null),!c.eh()&&(a=c.gh(n,this.b?enn(c.Tg(),this.b):-1-enn(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&_3(n,new m_(n,9,this.e,u,o))}return s}return s},Bjn.Qj=function(n,t,e,i,r){var c,a;return rI(a=t.Ch(e))===rI(Zat)&&(a=null),t.Dh(e,i),this.bj()?rI(a)!==rI(i)&&null!=a&&(r=(c=Jx(a,49)).ih(n,enn(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Jx(a,49).ih(n,-1-enn(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(!r&&(r=new Tk(4)),r.Ei(new m_(n,1,this.e,a,i))),r},Bjn.Rj=function(n,t,e,i,r){var c;return rI(c=t.Ch(e))===rI(Zat)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(!r&&(r=new Tk(4)),this.Kj()?r.Ei(new m_(n,2,this.e,c,null)):r.Ei(new m_(n,1,this.e,c,null))),r},Bjn.Sj=function(n,t,e){return null!=t.Ch(e)},Bjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Jpn(this.a,i))throw fp(new Qm(oRn+(OO(i,56)?pan(Jx(i,56).Tg()):NZ(Q5(i)))+sRn+this.a+"'"));u=null!=(o=t.Ch(e)),this.Kj()&&rI(o)===rI(Zat)&&(o=null),a=null,this.bj()?rI(o)!==rI(i)&&(null!=o&&(a=(r=Jx(o,49)).ih(n,enn(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Jx(i,49)).gh(n,enn(r.Tg(),this.b),null,a))):this.rk()&&rI(o)!==rI(i)&&(null!=o&&(a=Jx(o,49).ih(n,-1-enn(n.Tg(),this.e),null,a)),null!=i&&(a=Jx(i,49).gh(n,-1-enn(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,Zat):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new eq(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):_3(n,c)):a&&a.Fi()},Bjn.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&rI(u)===rI(Zat)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Jx(u,49)).ih(n,enn(i.Tg(),this.b),null,c):this.rk()&&(c=Jx(u,49).ih(n,-1-enn(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new eq(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):_3(n,r)):c&&c.Fi()},Bjn.bj=function(){return!1},Bjn.rk=function(){return!1},Bjn.sk=function(){return!1},Bjn.Kj=function(){return!1},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),Vfn(564,398,{},X$),Bjn.rk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),Vfn(1323,564,{},W$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),Vfn(772,564,{},V$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),Vfn(1325,772,{},Q$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),Vfn(640,564,{},Hx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),Vfn(1324,640,{},zx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),Vfn(773,640,{},Ux),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),Vfn(1326,773,{},Xx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),Vfn(641,398,{},Y$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),Vfn(1327,641,{},J$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),Vfn(774,641,{},qx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),Vfn(1328,774,{},Wx),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),Vfn(1321,398,{},Z$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),Vfn(771,398,{},Gx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),Vfn(1322,771,{},Vx),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),Vfn(775,565,uRn,aB),Bjn.Pk=function(n){return new aB(this.a,this.c,n)},Bjn.dd=function(){return this.b},Bjn.Qk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.gh(t,enn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},Bjn.Rk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.ih(t,enn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},TF(INn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),Vfn(1329,1,RDn,Xg),Bjn.Wj=function(n){return this.a},Bjn.fj=function(){return OO(this.a,95)?Jx(this.a,95).fj():!this.a.dc()},Bjn.Wb=function(n){this.a.$b(),this.a.Gc(Jx(n,15))},Bjn.Xj=function(){OO(this.a,95)?Jx(this.a,95).Xj():this.a.$b()},TF(INn,"EStructuralFeatureImpl/SettingMany",1329),Vfn(1330,565,uRn,lW),Bjn.Ok=function(n){return new HL((uyn(),eot),this.b.Ih(this.a,n))},Bjn.dd=function(){return null},Bjn.Qk=function(n,t,e){return e},Bjn.Rk=function(n,t,e){return e},TF(INn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),Vfn(642,565,uRn,HL),Bjn.Ok=function(n){return new HL(this.c,n)},Bjn.dd=function(){return this.a},Bjn.Qk=function(n,t,e){return e},Bjn.Rk=function(n,t,e){return e},TF(INn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),Vfn(391,497,Sxn,Bo),Bjn.ri=function(n){return QQ(cat,rEn,26,n,0,1)},Bjn.ni=function(){return!1},TF(INn,"ESuperAdapter/1",391),Vfn(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},Ho),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new FR(this,fat,this)),this.a}return KY(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 2:return!this.a&&(this.a=new FR(this,fat,this)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Fat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Fat)),n,e)},Bjn.lh=function(n){switch(n){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 DX(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return!this.a&&(this.a=new FR(this,fat,this)),qmn(this.a),!this.a&&(this.a=new FR(this,fat,this)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n),t)},Bjn.zh=function(){return Djn(),Fat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return!this.a&&(this.a=new FR(this,fat,this)),void qmn(this.a)}c9(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n))},TF(INn,"ETypeParameterImpl",444),Vfn(445,85,ZDn,FR),Bjn.cj=function(n,t){return function(n,t,e){var i,r;for(e=yen(t,n.e,-1-n.c,e),r=new Vg(new e6(new Ql(TB(n.a).a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,n.a),e);return e}(this,Jx(n,87),t)},Bjn.dj=function(n,t){return function(n,t,e){var i,r;for(e=Xq(t,n.e,-1-n.c,e),r=new Vg(new e6(new Ql(TB(n.a).a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,n.a),e);return e}(this,Jx(n,87),t)},TF(INn,"ETypeParameterImpl/1",445),Vfn(634,43,pMn,Vv),Bjn.ec=function(){return new Wg(this)},TF(INn,"ETypeParameterImpl/2",634),Vfn(556,gEn,pEn,Wg),Bjn.Fc=function(n){return jN(this,Jx(n,87))},Bjn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Jx(e.Pb(),87),null==DB(this.a,t,"")&&(i=!0);return i},Bjn.$b=function(){X_(this.a)},Bjn.Hc=function(n){return I_(this.a,n)},Bjn.Kc=function(){return new Vg(new e6(new Ql(this.a).a))},Bjn.Mc=function(n){return fQ(this,n)},Bjn.gc=function(){return fE(this.a)},TF(INn,"ETypeParameterImpl/2/1",556),Vfn(557,1,lEn,Vg),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(h1(this.a).cd(),87)},Bjn.Ob=function(){return this.a.b},Bjn.Qb=function(){sY(this.a)},TF(INn,"ETypeParameterImpl/2/1/1",557),Vfn(1276,43,pMn,Qv),Bjn._b=function(n){return uI(n)?fq(this,n):!!Rq(this.f,n)},Bjn.xc=function(n){var t;return OO(t=uI(n)?uG(this,n):iI(Rq(this.f,n)),837)?(t=Jx(t,837)._j(),DB(this,Jx(n,235),t),t):null!=t?t:null==n?(TT(),yut):null},TF(INn,"EValidatorRegistryImpl",1276),Vfn(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},qo),Bjn.Ih=function(n,t){switch(n.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==t?null:C7(t);case 25:return c1(t);case 27:case 28:return function(n){return OO(n,172)?""+Jx(n,172).a:null==n?null:C7(n)}(t);case 29:return null==t?null:pO(zrt[0],Jx(t,199));case 41:return null==t?"":xk(Jx(t,290));case 42:return C7(t);case 50:return bL(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 0:return new Gv;case 1:return new jo;case 2:return new Rf;case 4:return new Hp;case 5:return new zv;case 6:return new Bp;case 7:return new xf;case 10:return new yo;case 11:return new Uv;case 12:return new Pq;case 13:return new Xv;case 14:return new aL;case 17:return new Ao;case 18:return new op;case 19:return new Ho;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new Vk(t);case 21:return null==t?null:new CC(t);case 23:case 22:return null==t?null:function(n){if(mtn(jLn,n))return MA(),N_n;if(mtn(ELn,n))return MA(),L_n;throw fp(new Ym("Expecting true or false"))}(t);case 26:case 24:return null==t?null:rZ(rpn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(u=n.length,a=QQ(Jot,NNn,25,r=(u+1)/2|0,15,1),u%2!=0&&(a[--r]=Adn((Nz(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=rpn(n,tTn,Jjn)&lTn}catch(e){if(!OO(e=E4(e),127))throw fp(e);t=DJ(n)[0]}return j4(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=rpn(n,tTn,Jjn)&lTn}catch(e){if(!OO(e=E4(e),127))throw fp(e);t=DJ(n)[0]}return j4(t)}(t);case 29:return function(n){var t,e;if(null==n)return null;for(t=null,e=0;e>16);case 50:return t;default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(INn,"EcoreFactoryImpl",1313),Vfn(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},LB),Bjn.gb=!1,Bjn.hb=!1;var fut,lut=!1;TF(INn,"EcorePackageImpl",547),Vfn(1184,1,{837:1},Go),Bjn._j=function(){return TA(),kut},TF(INn,"EcorePackageImpl/1",1184),Vfn(1193,1,MRn,zo),Bjn.wj=function(n){return OO(n,147)},Bjn.xj=function(n){return QQ(ict,rEn,147,n,0,1)},TF(INn,"EcorePackageImpl/10",1193),Vfn(1194,1,MRn,Uo),Bjn.wj=function(n){return OO(n,191)},Bjn.xj=function(n){return QQ(cct,rEn,191,n,0,1)},TF(INn,"EcorePackageImpl/11",1194),Vfn(1195,1,MRn,Xo),Bjn.wj=function(n){return OO(n,56)},Bjn.xj=function(n){return QQ(Vrt,rEn,56,n,0,1)},TF(INn,"EcorePackageImpl/12",1195),Vfn(1196,1,MRn,Wo),Bjn.wj=function(n){return OO(n,399)},Bjn.xj=function(n){return QQ(lat,YDn,59,n,0,1)},TF(INn,"EcorePackageImpl/13",1196),Vfn(1197,1,MRn,Vo),Bjn.wj=function(n){return OO(n,235)},Bjn.xj=function(n){return QQ(act,rEn,235,n,0,1)},TF(INn,"EcorePackageImpl/14",1197),Vfn(1198,1,MRn,Qo),Bjn.wj=function(n){return OO(n,509)},Bjn.xj=function(n){return QQ(bat,rEn,2017,n,0,1)},TF(INn,"EcorePackageImpl/15",1198),Vfn(1199,1,MRn,Yo),Bjn.wj=function(n){return OO(n,99)},Bjn.xj=function(n){return QQ(wat,QDn,18,n,0,1)},TF(INn,"EcorePackageImpl/16",1199),Vfn(1200,1,MRn,Jo),Bjn.wj=function(n){return OO(n,170)},Bjn.xj=function(n){return QQ(eat,QDn,170,n,0,1)},TF(INn,"EcorePackageImpl/17",1200),Vfn(1201,1,MRn,Zo),Bjn.wj=function(n){return OO(n,472)},Bjn.xj=function(n){return QQ(tat,rEn,472,n,0,1)},TF(INn,"EcorePackageImpl/18",1201),Vfn(1202,1,MRn,ns),Bjn.wj=function(n){return OO(n,548)},Bjn.xj=function(n){return QQ(sut,jDn,548,n,0,1)},TF(INn,"EcorePackageImpl/19",1202),Vfn(1185,1,MRn,ts),Bjn.wj=function(n){return OO(n,322)},Bjn.xj=function(n){return QQ(iat,QDn,34,n,0,1)},TF(INn,"EcorePackageImpl/2",1185),Vfn(1203,1,MRn,es),Bjn.wj=function(n){return OO(n,241)},Bjn.xj=function(n){return QQ(fat,iRn,87,n,0,1)},TF(INn,"EcorePackageImpl/20",1203),Vfn(1204,1,MRn,is),Bjn.wj=function(n){return OO(n,444)},Bjn.xj=function(n){return QQ(Uat,rEn,836,n,0,1)},TF(INn,"EcorePackageImpl/21",1204),Vfn(1205,1,MRn,rs),Bjn.wj=function(n){return cI(n)},Bjn.xj=function(n){return QQ(R_n,MEn,476,n,8,1)},TF(INn,"EcorePackageImpl/22",1205),Vfn(1206,1,MRn,cs),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(INn,"EcorePackageImpl/23",1206),Vfn(1207,1,MRn,as),Bjn.wj=function(n){return OO(n,217)},Bjn.xj=function(n){return QQ(F_n,MEn,217,n,0,1)},TF(INn,"EcorePackageImpl/24",1207),Vfn(1208,1,MRn,us),Bjn.wj=function(n){return OO(n,172)},Bjn.xj=function(n){return QQ(H_n,MEn,172,n,0,1)},TF(INn,"EcorePackageImpl/25",1208),Vfn(1209,1,MRn,os),Bjn.wj=function(n){return OO(n,199)},Bjn.xj=function(n){return QQ(x_n,MEn,199,n,0,1)},TF(INn,"EcorePackageImpl/26",1209),Vfn(1210,1,MRn,ss),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(ist,rEn,2110,n,0,1)},TF(INn,"EcorePackageImpl/27",1210),Vfn(1211,1,MRn,hs),Bjn.wj=function(n){return aI(n)},Bjn.xj=function(n){return QQ(q_n,MEn,333,n,7,1)},TF(INn,"EcorePackageImpl/28",1211),Vfn(1212,1,MRn,fs),Bjn.wj=function(n){return OO(n,58)},Bjn.xj=function(n){return QQ(Ect,gPn,58,n,0,1)},TF(INn,"EcorePackageImpl/29",1212),Vfn(1186,1,MRn,ls),Bjn.wj=function(n){return OO(n,510)},Bjn.xj=function(n){return QQ(nat,{3:1,4:1,5:1,1934:1},590,n,0,1)},TF(INn,"EcorePackageImpl/3",1186),Vfn(1213,1,MRn,bs),Bjn.wj=function(n){return OO(n,573)},Bjn.xj=function(n){return QQ(Dct,rEn,1940,n,0,1)},TF(INn,"EcorePackageImpl/30",1213),Vfn(1214,1,MRn,ws),Bjn.wj=function(n){return OO(n,153)},Bjn.xj=function(n){return QQ(Tut,gPn,153,n,0,1)},TF(INn,"EcorePackageImpl/31",1214),Vfn(1215,1,MRn,ds),Bjn.wj=function(n){return OO(n,72)},Bjn.xj=function(n){return QQ(Wat,SRn,72,n,0,1)},TF(INn,"EcorePackageImpl/32",1215),Vfn(1216,1,MRn,gs),Bjn.wj=function(n){return OO(n,155)},Bjn.xj=function(n){return QQ(G_n,MEn,155,n,0,1)},TF(INn,"EcorePackageImpl/33",1216),Vfn(1217,1,MRn,ps),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(INn,"EcorePackageImpl/34",1217),Vfn(1218,1,MRn,vs),Bjn.wj=function(n){return OO(n,290)},Bjn.xj=function(n){return QQ(WKn,rEn,290,n,0,1)},TF(INn,"EcorePackageImpl/35",1218),Vfn(1219,1,MRn,ms),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(INn,"EcorePackageImpl/36",1219),Vfn(1220,1,MRn,ys),Bjn.wj=function(n){return OO(n,83)},Bjn.xj=function(n){return QQ(QKn,rEn,83,n,0,1)},TF(INn,"EcorePackageImpl/37",1220),Vfn(1221,1,MRn,ks),Bjn.wj=function(n){return OO(n,591)},Bjn.xj=function(n){return QQ(mut,rEn,591,n,0,1)},TF(INn,"EcorePackageImpl/38",1221),Vfn(1222,1,MRn,js),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(rst,rEn,2111,n,0,1)},TF(INn,"EcorePackageImpl/39",1222),Vfn(1187,1,MRn,Es),Bjn.wj=function(n){return OO(n,88)},Bjn.xj=function(n){return QQ(cat,rEn,26,n,0,1)},TF(INn,"EcorePackageImpl/4",1187),Vfn(1223,1,MRn,Ts),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(INn,"EcorePackageImpl/40",1223),Vfn(1224,1,MRn,Ms),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(INn,"EcorePackageImpl/41",1224),Vfn(1225,1,MRn,Ss),Bjn.wj=function(n){return OO(n,588)},Bjn.xj=function(n){return QQ(Mct,rEn,588,n,0,1)},TF(INn,"EcorePackageImpl/42",1225),Vfn(1226,1,MRn,Ps),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(cst,MEn,2112,n,0,1)},TF(INn,"EcorePackageImpl/43",1226),Vfn(1227,1,MRn,Is),Bjn.wj=function(n){return OO(n,42)},Bjn.xj=function(n){return QQ(r_n,REn,42,n,0,1)},TF(INn,"EcorePackageImpl/44",1227),Vfn(1188,1,MRn,Cs),Bjn.wj=function(n){return OO(n,138)},Bjn.xj=function(n){return QQ(rat,rEn,138,n,0,1)},TF(INn,"EcorePackageImpl/5",1188),Vfn(1189,1,MRn,Os),Bjn.wj=function(n){return OO(n,148)},Bjn.xj=function(n){return QQ(aat,rEn,148,n,0,1)},TF(INn,"EcorePackageImpl/6",1189),Vfn(1190,1,MRn,As),Bjn.wj=function(n){return OO(n,457)},Bjn.xj=function(n){return QQ(sat,rEn,671,n,0,1)},TF(INn,"EcorePackageImpl/7",1190),Vfn(1191,1,MRn,$s),Bjn.wj=function(n){return OO(n,573)},Bjn.xj=function(n){return QQ(hat,rEn,678,n,0,1)},TF(INn,"EcorePackageImpl/8",1191),Vfn(1192,1,MRn,Ls),Bjn.wj=function(n){return OO(n,471)},Bjn.xj=function(n){return QQ(rct,rEn,471,n,0,1)},TF(INn,"EcorePackageImpl/9",1192),Vfn(1025,1982,yDn,Xm),Bjn.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Jx(q3(n.a,8),1936)))for(e=0,i=r.length;e0){if(Nz(0,n.length),47==n.charCodeAt(0)){for(c=new vQ(4),r=1,t=1;t0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new j_((!n.a&&(n.a=new Qg(n)),n.a));ofn(r);)if(imn(a=(e=Jx(ubn(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?KN(m4(u),e.ah(u)):null)&&FN(i,t)){c=e;break}return c}(this,n)},Bjn.Xk=function(){return this.c},Bjn.Ib=function(){return xk(this.gm)+"@"+(V5(this)>>>0).toString(16)+" uri='"+this.d+"'"},Bjn.b=!1,TF(CRn,"ResourceImpl",781),Vfn(1379,781,IRn,Jg),TF(CRn,"BinaryResourceImpl",1379),Vfn(1169,694,Pxn),Bjn.si=function(n){return OO(n,56)?function(n,t){return n.a?t.Wg().Kc():Jx(t.Wg(),69).Zh()}(this,Jx(n,56)):OO(n,591)?new XO(Jx(n,591).Vk()):rI(n)===rI(this.f)?Jx(n,14).Kc():(rL(),Lct.a)},Bjn.Ob=function(){return ofn(this)},Bjn.a=!1,TF(DDn,"EcoreUtil/ContentTreeIterator",1169),Vfn(1380,1169,Pxn,j_),Bjn.si=function(n){return rI(n)===rI(this.f)?Jx(n,15).Kc():new fX(Jx(n,56))},TF(CRn,"ResourceImpl/5",1380),Vfn(648,1994,JDn,Qg),Bjn.Hc=function(n){return this.i<=4?Bcn(this,n):OO(n,49)&&Jx(n,49).Zg()==this.a},Bjn.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},Bjn.di=function(n,t){0==n?this.a.b||(this.a.b=!0):WQ(this,n,t)},Bjn.fi=function(n,t){},Bjn.gi=function(n,t,e){},Bjn.aj=function(){return 2},Bjn.Ai=function(){return this.a},Bjn.bj=function(){return!0},Bjn.cj=function(n,t){return Jx(n,49).wh(this.a,t)},Bjn.dj=function(n,t){return Jx(n,49).wh(null,t)},Bjn.ej=function(){return!1},Bjn.hi=function(){return!0},Bjn.ri=function(n){return QQ(Vrt,rEn,56,n,0,1)},Bjn.ni=function(){return!1},TF(CRn,"ResourceImpl/ContentsEList",648),Vfn(957,1964,VEn,Yg),Bjn.Zc=function(n){return this.a._h(n)},Bjn.gc=function(){return this.a.gc()},TF(DDn,"AbstractSequentialInternalEList/1",957),Vfn(624,1,{},AD),TF(DDn,"BasicExtendedMetaData",624),Vfn(1160,1,{},XP),Bjn.$k=function(){return null},Bjn._k=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),eRn)))for(i=1;i<(dsn(),but).length;++i)if(FN(but[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},Bjn.al=function(){return null},Bjn.bl=function(){return WH(),WH(),MFn},Bjn.ne=function(){return this.c==GRn&&(n=this,t=jtn(this.d,this.b),n.c=t),this.c;var n,t},Bjn.cl=function(){return 0},Bjn.a=-2,Bjn.c=GRn,TF(DDn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),Vfn(1161,1,{},yU),Bjn.$k=function(){return this.a==(dV(),put)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.Hh(n.a))&&(!i.b&&(i.b=new U$((Djn(),Rat),sut,i)),null!=(e=bL(knn(i.b,wRn)))&&OO(c=-1==(r=e.lastIndexOf("#"))?nL(n,t.Aj(),e):0==r?TY(n,null,e.substr(1)):TY(n,e.substr(0,r),e.substr(r+1)),148))?Jx(c,148):null)),this.a;var n,t,e,i,r,c},Bjn._k=function(){return 0},Bjn.al=function(){return this.c==(dV(),put)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.Hh(n.a))&&(!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),null!=(r=bL(knn(e.b,RRn)))&&OO(c=-1==(i=r.lastIndexOf("#"))?nL(n,t.Aj(),r):0==i?TY(n,null,r.substr(1)):TY(n,r.substr(0,i),r.substr(i+1)),148))?Jx(c,148):null)),this.c;var n,t,e,i,r,c},Bjn.bl=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),"memberTypes")))){for(s=new rp,a=0,u=(c=Agn(o,"\\w")).length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Jx(N9(n,t,e),72),u!=o&&Wp(n,new EY(n.e,7,a,g9(u),b.dd(),o)),l}return Jx(N9(n,t,e),72)}(this,n,t)},Bjn.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(OO(a=e.ak(),99)&&0!=(Jx(a,18).Bb&iMn)&&(l=Jx(e.dd(),49),(d=I8(n.e,l))!=l)){if(FO(n,t,Uan(n,0,h=QX(a,d))),f=null,pC(n.e)&&(i=ryn((dsn(),dut),n.e.Tg(),a))!=OZ(n.e.Tg(),n.c)){for(g=gwn(n.e.Tg(),a),u=0,c=Jx(n.g,119),o=0;o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},TF(DDn,"BasicFeatureMap/FeatureEIterator",410),Vfn(662,410,kEn,GI),Bjn.Lk=function(){return!0},TF(DDn,"BasicFeatureMap/ResolvingFeatureEIterator",662),Vfn(955,486,cRn,mO),Bjn.Gi=function(){return this},TF(DDn,"EContentsEList/1",955),Vfn(956,486,cRn,zI),Bjn.Lk=function(){return!1},TF(DDn,"EContentsEList/2",956),Vfn(954,279,aRn,yO),Bjn.Nk=function(n){},Bjn.Ob=function(){return!1},Bjn.Sb=function(){return!1},TF(DDn,"EContentsEList/FeatureIteratorImpl/1",954),Vfn(825,585,ZDn,nA),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EDataTypeEList/Unsettable",825),Vfn(1849,585,ZDn,tA),Bjn.hi=function(){return!0},TF(DDn,"EDataTypeUniqueEList",1849),Vfn(1850,825,ZDn,eA),Bjn.hi=function(){return!0},TF(DDn,"EDataTypeUniqueEList/Unsettable",1850),Vfn(139,85,ZDn,QO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentEList/Resolving",139),Vfn(1163,545,ZDn,YO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentEList/Unsettable/Resolving",1163),Vfn(748,16,ZDn,MN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectContainmentWithInverseEList/Unsettable",748),Vfn(1173,748,ZDn,SN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),Vfn(743,496,ZDn,JO),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectEList/Unsettable",743),Vfn(328,496,ZDn,ZO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectResolvingEList",328),Vfn(1641,743,ZDn,iA),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectResolvingEList/Unsettable",1641),Vfn(1381,1,{},Ns),TF(DDn,"EObjectValidator",1381),Vfn(546,496,ZDn,k_),Bjn.zk=function(){return this.d},Bjn.Ak=function(){return this.b},Bjn.bj=function(){return!0},Bjn.Dk=function(){return!0},Bjn.b=0,TF(DDn,"EObjectWithInverseEList",546),Vfn(1176,546,ZDn,PN),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseEList/ManyInverse",1176),Vfn(625,546,ZDn,IN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectWithInverseEList/Unsettable",625),Vfn(1175,625,ZDn,ON),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),Vfn(749,546,ZDn,CN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectWithInverseResolvingEList",749),Vfn(31,749,ZDn,$N),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseResolvingEList/ManyInverse",31),Vfn(750,625,ZDn,AN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectWithInverseResolvingEList/Unsettable",750),Vfn(1174,750,ZDn,LN),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),Vfn(1164,622,ZDn),Bjn.ai=function(){return 0==(1792&this.b)},Bjn.ci=function(){this.b|=1},Bjn.Bk=function(){return 0!=(4&this.b)},Bjn.bj=function(){return 0!=(40&this.b)},Bjn.Ck=function(){return 0!=(16&this.b)},Bjn.Dk=function(){return 0!=(8&this.b)},Bjn.Ek=function(){return 0!=(this.b&BDn)},Bjn.rk=function(){return 0!=(32&this.b)},Bjn.Fk=function(){return 0!=(this.b&RNn)},Bjn.wj=function(n){return this.d?FX(this.d,n):this.ak().Yj().wj(n)},Bjn.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Bjn.hi=function(){return 0!=(128&this.b)},Bjn.Xj=function(){var n;qmn(this),0!=(2&this.b)&&(pC(this.e)?(n=0!=(1&this.b),this.b&=-2,Wp(this,new AV(this.e,2,enn(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},Bjn.ni=function(){return 0==(1536&this.b)},Bjn.b=0,TF(DDn,"EcoreEList/Generic",1164),Vfn(1165,1164,ZDn,iq),Bjn.ak=function(){return this.a},TF(DDn,"EcoreEList/Dynamic",1165),Vfn(747,63,Sxn,Zg),Bjn.ri=function(n){return q1(this.a.a,n)},TF(DDn,"EcoreEMap/1",747),Vfn(746,85,ZDn,p_),Bjn.bi=function(n,t){ein(this.b,Jx(t,133))},Bjn.di=function(n,t){$3(this.b)},Bjn.ei=function(n,t,e){var i;++(i=this.b,Jx(t,133),i).e},Bjn.fi=function(n,t){x9(this.b,Jx(t,133))},Bjn.gi=function(n,t,e){x9(this.b,Jx(e,133)),rI(e)===rI(t)&&Jx(e,133).Th(function(n){return null==n?0:V5(n)}(Jx(t,133).cd())),ein(this.b,Jx(t,133))},TF(DDn,"EcoreEMap/DelegateEObjectContainmentEList",746),Vfn(1171,151,KDn,E0),TF(DDn,"EcoreEMap/Unsettable",1171),Vfn(1172,746,ZDn,NN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),Vfn(1168,228,pMn,vF),Bjn.a=!1,Bjn.b=!1,TF(DDn,"EcoreUtil/Copier",1168),Vfn(745,1,lEn,fX),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return Enn(this)},Bjn.Pb=function(){var n;return Enn(this),n=this.b,this.b=null,n},Bjn.Qb=function(){this.a.Qb()},TF(DDn,"EcoreUtil/ProperContentIterator",745),Vfn(1382,1381,{},Kf),TF(DDn,"EcoreValidator",1382),uR(DDn,"FeatureMapUtil/Validator"),Vfn(1260,1,{1942:1},xs),Bjn.rl=function(n){return!0},TF(DDn,"FeatureMapUtil/1",1260),Vfn(757,1,{1942:1},kkn),Bjn.rl=function(n){var t;return this.c==n||(null==(t=fL(HF(this.a,n)))?function(n,t){var e;return n.f==Eut?(e=MB(IJ((dsn(),dut),t)),n.e?4==e&&t!=(gfn(),Iut)&&t!=(gfn(),Mut)&&t!=(gfn(),Sut)&&t!=(gfn(),Put):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Hz(IJ((dsn(),dut),t)))||n.d.Hc(ryn((dsn(),dut),n.b,t))))||!(!n.f||!_bn((dsn(),n.f),eH(IJ(dut,t))))&&(e=MB(IJ(dut,t)),n.e?4==e:2==e)}(this,n)?(NV(this.a,n,(MA(),N_n)),!0):(NV(this.a,n,(MA(),L_n)),!1):t==(MA(),N_n))},Bjn.e=!1,TF(DDn,"FeatureMapUtil/BasicValidator",757),Vfn(758,43,pMn,kO),TF(DDn,"FeatureMapUtil/BasicValidator/Cache",758),Vfn(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},QP),Bjn.Vc=function(n,t){Lwn(this.c,this.b,n,t)},Bjn.Fc=function(n){return Kgn(this.c,this.b,n)},Bjn.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(MT(),a=(o=Jx(t,66).Oj())?i:new BZ(i.gc()),Nwn(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)lvn(n,t,s=h.Pb(),OO(t,99)&&0!=(Jx(t,18).Bb&iMn))||(c=QX(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=QX(t,s=h.Pb()),a.Fc(c)}else{for(f=gwn(n.e.Tg(),t),r=Jx(n.g,119),u=0;u1)throw fp(new Ym(zRn));o||(c=QX(t,i.Kc().Pb()),a.Fc(c))}return l5(n,lsn(n,t,e),a)}(this.c,this.b,n,t)},Bjn.Gc=function(n){return MO(this,n)},Bjn.Xh=function(n,t){!function(n,t,e,i){n.j=-1,$fn(n,lsn(n,t,e),(MT(),Jx(t,66).Mj().Ok(i)))}(this.c,this.b,n,t)},Bjn.lk=function(n,t){return Jdn(this.c,this.b,n,t)},Bjn.pi=function(n){return umn(this.c,this.b,n,!1)},Bjn.Zh=function(){return yC(this.c,this.b)},Bjn.$h=function(){return n=this.c,new J3(this.b,n);var n},Bjn._h=function(n){return function(n,t,e){var i,r;for(r=new J3(t,n),i=0;i0)if((i-=r.length-t)>=0){for(c.a+="0.";i>cFn.length;i-=cFn.length)TR(c,cFn);YL(c,cFn,sG(i)),kI(c,r.substr(t))}else kI(c,b$(r,t,sG(i=t-i))),c.a+=".",kI(c,bI(r,sG(i)));else{for(kI(c,r.substr(t));i<-cFn.length;i+=cFn.length)TR(c,cFn);YL(c,cFn,sG(-i))}return c.a}(Jx(t,240));case 15:case 14:return null==t?null:function(n){return n==ZTn?YRn:n==nMn?"-INF":""+n}(ey(lL(t)));case 17:return kan((uyn(),t));case 18:return kan(t);case 21:case 20:return null==t?null:function(n){return n==ZTn?YRn:n==nMn?"-INF":""+n}(Jx(t,155).a);case 27:return sL(Jx(t,190));case 30:return Jin((uyn(),Jx(t,15)));case 31:return Jin(Jx(t,15));case 40:case 59:case 48:return function(n){return null==n?null:C7(n)}((uyn(),t));case 42:return jan((uyn(),t));case 43:return jan(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 0:return new Yv;case 1:return new Rs;case 2:return new Zv;case 3:return new Jv;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return hen(t);case 8:case 7:return null==t?null:function(n){if(n=Qvn(n,!0),FN(jLn,n)||FN("1",n))return MA(),N_n;if(FN(ELn,n)||FN("0",n))return MA(),L_n;throw fp(new ly("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:rZ(rpn((i=Qvn(t,!0)).length>0&&(Nz(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:rZ(rpn((r=Qvn(t,!0)).length>0&&(Nz(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return bL(ljn(this,(uyn(),Rut),t));case 12:return bL(ljn(this,(uyn(),Kut),t));case 13:return null==t?null:new Vk(Qvn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=Qvn(n,!0),r=YRn.length,FN(i.substr(i.length-r,r),YRn))if(4==(e=i.length)){if(Nz(0,i.length),43==(t=i.charCodeAt(0)))return rot;if(45==t)return iot}else if(3==e)return rot;return pon(i)}(t);case 16:return bL(ljn(this,(uyn(),_ut),t));case 17:return Ynn((uyn(),t));case 18:return Ynn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Qvn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=Qvn(n,!0),r=YRn.length,FN(i.substr(i.length-r,r),YRn))if(4==(e=i.length)){if(Nz(0,i.length),43==(t=i.charCodeAt(0)))return aot;if(45==t)return cot}else if(3==e)return aot;return new Qp(i)}(t);case 22:return bL(ljn(this,(uyn(),Fut),t));case 23:return bL(ljn(this,(uyn(),But),t));case 24:return bL(ljn(this,(uyn(),Hut),t));case 25:return bL(ljn(this,(uyn(),qut),t));case 26:return bL(ljn(this,(uyn(),Gut),t));case 27:return Utn(t);case 30:return Jnn((uyn(),t));case 31:return Jnn(t);case 32:return null==t?null:g9(rpn((h=Qvn(t,!0)).length>0&&(Nz(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,tTn,Jjn));case 33:return null==t?null:new CC((f=Qvn(t,!0)).length>0&&(Nz(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:g9(rpn((l=Qvn(t,!0)).length>0&&(Nz(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,tTn,Jjn));case 36:return null==t?null:ktn(ykn((b=Qvn(t,!0)).length>0&&(Nz(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:ktn(ykn((w=Qvn(t,!0)).length>0&&(Nz(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new CC((t=Qvn(n,!0)).length>0&&(Nz(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}((uyn(),t));case 42:return Znn((uyn(),t));case 43:return Znn(t);case 44:return null==t?null:new CC((d=Qvn(t,!0)).length>0&&(Nz(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new CC((g=Qvn(t,!0)).length>0&&(Nz(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return Qvn(t,!1);case 47:return bL(ljn(this,(uyn(),zut),t));case 49:return bL(ljn(this,(uyn(),Xut),t));case 50:return null==t?null:p9(rpn((p=Qvn(t,!0)).length>0&&(Nz(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,lRn,32767)<<16>>16);case 51:return null==t?null:p9(rpn((c=Qvn(t,!0)).length>0&&(Nz(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,lRn,32767)<<16>>16);case 53:return bL(ljn(this,(uyn(),Qut),t));case 55:return null==t?null:p9(rpn((a=Qvn(t,!0)).length>0&&(Nz(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,lRn,32767)<<16>>16);case 56:return null==t?null:p9(rpn((u=Qvn(t,!0)).length>0&&(Nz(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,lRn,32767)<<16>>16);case 57:return null==t?null:ktn(ykn((o=Qvn(t,!0)).length>0&&(Nz(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:ktn(ykn((s=Qvn(t,!0)).length>0&&(Nz(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:g9(rpn((e=Qvn(t,!0)).length>0&&(Nz(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,tTn,Jjn));case 61:return null==t?null:g9(rpn(Qvn(t,!0),tTn,Jjn));default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(QRn,"XMLTypeFactoryImpl",1919),Vfn(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},$B),Bjn.N=!1,Bjn.O=!1;var hot,fot,lot,bot,wot,dot=!1;TF(QRn,"XMLTypePackageImpl",586),Vfn(1852,1,{837:1},Ks),Bjn._j=function(){return Bpn(),Fot},TF(QRn,"XMLTypePackageImpl/1",1852),Vfn(1861,1,MRn,_s),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/10",1861),Vfn(1862,1,MRn,Fs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/11",1862),Vfn(1863,1,MRn,Bs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/12",1863),Vfn(1864,1,MRn,Hs),Bjn.wj=function(n){return aI(n)},Bjn.xj=function(n){return QQ(q_n,MEn,333,n,7,1)},TF(QRn,"XMLTypePackageImpl/13",1864),Vfn(1865,1,MRn,qs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/14",1865),Vfn(1866,1,MRn,Gs),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/15",1866),Vfn(1867,1,MRn,zs),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/16",1867),Vfn(1868,1,MRn,Us),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/17",1868),Vfn(1869,1,MRn,Xs),Bjn.wj=function(n){return OO(n,155)},Bjn.xj=function(n){return QQ(G_n,MEn,155,n,0,1)},TF(QRn,"XMLTypePackageImpl/18",1869),Vfn(1870,1,MRn,Ws),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/19",1870),Vfn(1853,1,MRn,Vs),Bjn.wj=function(n){return OO(n,843)},Bjn.xj=function(n){return QQ(Out,rEn,843,n,0,1)},TF(QRn,"XMLTypePackageImpl/2",1853),Vfn(1871,1,MRn,Qs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/20",1871),Vfn(1872,1,MRn,Ys),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/21",1872),Vfn(1873,1,MRn,Js),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/22",1873),Vfn(1874,1,MRn,Zs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/23",1874),Vfn(1875,1,MRn,nh),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(QRn,"XMLTypePackageImpl/24",1875),Vfn(1876,1,MRn,th),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/25",1876),Vfn(1877,1,MRn,eh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/26",1877),Vfn(1878,1,MRn,ih),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/27",1878),Vfn(1879,1,MRn,rh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/28",1879),Vfn(1880,1,MRn,ch),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/29",1880),Vfn(1854,1,MRn,ah),Bjn.wj=function(n){return OO(n,667)},Bjn.xj=function(n){return QQ(uot,rEn,2021,n,0,1)},TF(QRn,"XMLTypePackageImpl/3",1854),Vfn(1881,1,MRn,uh),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(QRn,"XMLTypePackageImpl/30",1881),Vfn(1882,1,MRn,oh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/31",1882),Vfn(1883,1,MRn,sh),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(QRn,"XMLTypePackageImpl/32",1883),Vfn(1884,1,MRn,hh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/33",1884),Vfn(1885,1,MRn,fh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/34",1885),Vfn(1886,1,MRn,lh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/35",1886),Vfn(1887,1,MRn,bh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/36",1887),Vfn(1888,1,MRn,wh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/37",1888),Vfn(1889,1,MRn,dh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/38",1889),Vfn(1890,1,MRn,gh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/39",1890),Vfn(1855,1,MRn,ph),Bjn.wj=function(n){return OO(n,668)},Bjn.xj=function(n){return QQ(oot,rEn,2022,n,0,1)},TF(QRn,"XMLTypePackageImpl/4",1855),Vfn(1891,1,MRn,vh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/40",1891),Vfn(1892,1,MRn,mh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/41",1892),Vfn(1893,1,MRn,yh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/42",1893),Vfn(1894,1,MRn,kh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/43",1894),Vfn(1895,1,MRn,jh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/44",1895),Vfn(1896,1,MRn,Eh),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(QRn,"XMLTypePackageImpl/45",1896),Vfn(1897,1,MRn,Th),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/46",1897),Vfn(1898,1,MRn,Mh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/47",1898),Vfn(1899,1,MRn,Sh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/48",1899),Vfn(MTn,1,MRn,Ph),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(QRn,"XMLTypePackageImpl/49",MTn),Vfn(1856,1,MRn,Ih),Bjn.wj=function(n){return OO(n,669)},Bjn.xj=function(n){return QQ(sot,rEn,2023,n,0,1)},TF(QRn,"XMLTypePackageImpl/5",1856),Vfn(1901,1,MRn,Ch),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(QRn,"XMLTypePackageImpl/50",1901),Vfn(1902,1,MRn,Oh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/51",1902),Vfn(1903,1,MRn,Ah),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(QRn,"XMLTypePackageImpl/52",1903),Vfn(1857,1,MRn,$h),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/6",1857),Vfn(1858,1,MRn,Lh),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(QRn,"XMLTypePackageImpl/7",1858),Vfn(1859,1,MRn,Nh),Bjn.wj=function(n){return cI(n)},Bjn.xj=function(n){return QQ(R_n,MEn,476,n,8,1)},TF(QRn,"XMLTypePackageImpl/8",1859),Vfn(1860,1,MRn,xh),Bjn.wj=function(n){return OO(n,217)},Bjn.xj=function(n){return QQ(F_n,MEn,217,n,0,1)},TF(QRn,"XMLTypePackageImpl/9",1860),Vfn(50,60,iTn,dy),TF(jKn,"RegEx/ParseException",50),Vfn(820,1,{},Dh),Bjn.sl=function(n){return n16*e)throw fp(new dy(_jn((zC(),rDn))));e=16*e+r}if(125!=this.a)throw fp(new dy(_jn((zC(),cDn))));if(e>EKn)throw fp(new dy(_jn((zC(),aDn))));n=e}else{if(r=0,0!=this.c||(r=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(e=r,jjn(this),0!=this.c||(r=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));n=e=16*e+r}break;case 117:if(i=0,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));n=t=16*t+i;break;case 118:if(jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if((t=16*t+i)>EKn)throw fp(new dy(_jn((zC(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw fp(new dy(_jn((zC(),uDn))))}return n},Bjn.ul=function(n){var t;switch(n){case 100:t=32==(32&this.e)?zkn("Nd",!0):(Njn(),Eot);break;case 68:t=32==(32&this.e)?zkn("Nd",!1):(Njn(),Iot);break;case 119:t=32==(32&this.e)?zkn("IsWord",!0):(Njn(),Rot);break;case 87:t=32==(32&this.e)?zkn("IsWord",!1):(Njn(),Oot);break;case 115:t=32==(32&this.e)?zkn("IsSpace",!0):(Njn(),$ot);break;case 83:t=32==(32&this.e)?zkn("IsSpace",!1):(Njn(),Cot);break;default:throw fp(new Cm(TKn+n.toString(16)))}return t},Bjn.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,jjn(this),t=null,0==this.c&&94==this.a?(jjn(this),n?(Njn(),Njn(),s=new aU(5)):(Njn(),Njn(),Uwn(t=new aU(4),0,EKn),s=new aU(4))):(Njn(),Njn(),s=new aU(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:lmn(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=qhn(this,e)))throw fp(new dy(_jn((zC(),Uxn))));lmn(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=w$(this.i,58,this.d))<0)throw fp(new dy(_jn((zC(),Xxn))));if(a=!0,94==WB(this.i,this.d)&&(++this.d,a=!1),!(u=wY(b$(this.i,this.d,c),a,512==(512&this.e))))throw fp(new dy(_jn((zC(),Vxn))));if(lmn(s,u),i=!0,c+1>=this.j||93!=WB(this.i,c+1))throw fp(new dy(_jn((zC(),Xxn))));this.d=c+2}if(jjn(this),!i)if(0!=this.c||45!=this.a)Uwn(s,e,e);else{if(jjn(this),1==(f=this.c))throw fp(new dy(_jn((zC(),Wxn))));0==f&&93==this.a?(Uwn(s,e,e),Uwn(s,45,45)):(o=this.a,10==f&&(o=this.tl()),jjn(this),Uwn(s,e,o))}(this.e&RNn)==RNn&&0==this.c&&44==this.a&&jjn(this)}if(1==this.c)throw fp(new dy(_jn((zC(),Wxn))));return t&&(Fyn(t,s),s=t),Dln(s),Nmn(s),this.b=0,jjn(this),s},Bjn.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw fp(new dy(_jn((zC(),tDn))));if(jjn(this),9!=this.c)throw fp(new dy(_jn((zC(),nDn))));if(t=this.vl(!1),4==i)lmn(e,t);else if(45==n)Fyn(e,t);else{if(38!=n)throw fp(new Cm("ASSERT"));Tyn(e,t)}}return jjn(this),e},Bjn.xl=function(){var n,t;return n=this.a-48,Njn(),Njn(),t=new tG(12,null,n),!this.g&&(this.g=new Zp),Xp(this.g,new np(n)),jjn(this),t},Bjn.yl=function(){return jjn(this),Njn(),Lot},Bjn.zl=function(){return jjn(this),Njn(),Aot},Bjn.Al=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Bl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Cl=function(){return jjn(this),c6()},Bjn.Dl=function(){return jjn(this),Njn(),xot},Bjn.El=function(){return jjn(this),Njn(),Kot},Bjn.Fl=function(){var n;if(this.d>=this.j||64!=(65504&(n=WB(this.i,this.d++))))throw fp(new dy(_jn((zC(),Hxn))));return jjn(this),Njn(),Njn(),new HR(0,n-64)},Bjn.Gl=function(){return jjn(this),function(){var n,t,e,i,r,c;if(Njn(),Got)return Got;for(lmn(n=new aU(4),zkn(LKn,!0)),Fyn(n,zkn("M",!0)),Fyn(n,zkn("C",!0)),c=new aU(4),i=0;i<11;i++)Uwn(c,i,i);return lmn(t=new aU(4),zkn("M",!0)),Uwn(t,4448,4607),Uwn(t,65438,65439),Kmn(r=new qC(2),n),Kmn(r,Mot),(e=new qC(2)).$l(QR(c,zkn("L",!0))),e.$l(t),e=new eF(r,e=new aW(3,e)),Got=e}()},Bjn.Hl=function(){return jjn(this),Njn(),_ot},Bjn.Il=function(){var n;return Njn(),Njn(),n=new HR(0,105),jjn(this),n},Bjn.Jl=function(){return jjn(this),Njn(),Dot},Bjn.Kl=function(){return jjn(this),Njn(),Not},Bjn.Ll=function(n,t){return this.tl()},Bjn.Ml=function(){return jjn(this),Njn(),Sot},Bjn.Nl=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw fp(new dy(_jn((zC(),_xn))));if(i=-1,t=null,49<=(n=WB(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new Zp),Xp(this.g,new np(i)),++this.d,41!=WB(this.i,this.d))throw fp(new dy(_jn((zC(),Dxn))));++this.d}else switch(63==n&&--this.d,jjn(this),(t=ojn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));break;default:throw fp(new dy(_jn((zC(),Fxn))))}if(jjn(this),e=null,2==(r=itn(this)).e){if(2!=r.em())throw fp(new dy(_jn((zC(),Bxn))));e=r.am(1),r=r.am(0)}if(7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),Njn(),Njn(),new tZ(i,t,r,e)},Bjn.Ol=function(){return jjn(this),Njn(),Pot},Bjn.Pl=function(){var n;if(jjn(this),n=M_(24,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Ql=function(){var n;if(jjn(this),n=M_(20,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Rl=function(){var n;if(jjn(this),n=M_(22,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw fp(new dy(_jn((zC(),Rxn))));if(45==t){for(++this.d;this.d=this.j)throw fp(new dy(_jn((zC(),Rxn))))}if(58==t){if(++this.d,jjn(this),i=DF(itn(this),n,e),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));jjn(this)}else{if(41!=t)throw fp(new dy(_jn((zC(),Kxn))));++this.d,jjn(this),i=DF(itn(this),n,e)}return i},Bjn.Tl=function(){var n;if(jjn(this),n=M_(21,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Ul=function(){var n;if(jjn(this),n=M_(23,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Vl=function(){var n,t;if(jjn(this),n=this.f++,t=S_(itn(this),n),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),t},Bjn.Wl=function(){var n;if(jjn(this),n=S_(itn(this),0),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Xl=function(n){return jjn(this),5==this.c?(jjn(this),QR(n,(Njn(),Njn(),new aW(9,n)))):QR(n,(Njn(),Njn(),new aW(3,n)))},Bjn.Yl=function(n){var t;return jjn(this),Njn(),Njn(),t=new qC(2),5==this.c?(jjn(this),Kmn(t,Mot),Kmn(t,n)):(Kmn(t,n),Kmn(t,Mot)),t},Bjn.Zl=function(n){return jjn(this),5==this.c?(jjn(this),Njn(),Njn(),new aW(9,n)):(Njn(),Njn(),new aW(3,n))},Bjn.a=0,Bjn.b=0,Bjn.c=0,Bjn.d=0,Bjn.e=0,Bjn.f=1,Bjn.g=null,Bjn.j=0,TF(jKn,"RegEx/RegexParser",820),Vfn(1824,820,{},nm),Bjn.sl=function(n){return!1},Bjn.tl=function(){return Mdn(this)},Bjn.ul=function(n){return cpn(n)},Bjn.vl=function(n){return Tjn(this)},Bjn.wl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.xl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.yl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.zl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Al=function(){return jjn(this),cpn(67)},Bjn.Bl=function(){return jjn(this),cpn(73)},Bjn.Cl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Dl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.El=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Fl=function(){return jjn(this),cpn(99)},Bjn.Gl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Hl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Il=function(){return jjn(this),cpn(105)},Bjn.Jl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Kl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ll=function(n,t){return lmn(n,cpn(t)),-1},Bjn.Ml=function(){return jjn(this),Njn(),Njn(),new HR(0,94)},Bjn.Nl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ol=function(){return jjn(this),Njn(),Njn(),new HR(0,36)},Bjn.Pl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ql=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Rl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Sl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Tl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ul=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Vl=function(){var n;if(jjn(this),n=S_(itn(this),0),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Wl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Xl=function(n){return jjn(this),QR(n,(Njn(),Njn(),new aW(3,n)))},Bjn.Yl=function(n){var t;return jjn(this),Njn(),Njn(),Kmn(t=new qC(2),n),Kmn(t,Mot),t},Bjn.Zl=function(n){return jjn(this),Njn(),Njn(),new aW(3,n)};var got=null,pot=null;TF(jKn,"RegEx/ParserForXMLSchema",1824),Vfn(117,1,DKn,tp),Bjn.$l=function(n){throw fp(new Cm("Not supported."))},Bjn._l=function(){return-1},Bjn.am=function(n){return null},Bjn.bm=function(){return null},Bjn.cm=function(n){},Bjn.dm=function(n){},Bjn.em=function(){return 0},Bjn.Ib=function(){return this.fm(0)},Bjn.fm=function(n){return 11==this.e?".":""},Bjn.e=0;var vot,mot,yot,kot,jot,Eot,Tot,Mot,Sot,Pot,Iot,Cot,Oot,Aot,$ot,Lot,Not,xot,Dot,Rot,Kot,_ot,Fot,Bot,Hot=null,qot=null,Got=null,zot=TF(jKn,"RegEx/Token",117);Vfn(136,117,{3:1,136:1,117:1},aU),Bjn.fm=function(n){var t,e,i;if(4==this.e)if(this==Tot)e=".";else if(this==Eot)e="\\d";else if(this==Rot)e="\\w";else if(this==$ot)e="\\s";else{for((i=new Oy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?vI(i,Evn(this.b[t])):(vI(i,Evn(this.b[t])),i.a+="-",vI(i,Evn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Iot)e="\\D";else if(this==Oot)e="\\W";else if(this==Cot)e="\\S";else{for((i=new Oy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?vI(i,Evn(this.b[t])):(vI(i,Evn(this.b[t])),i.a+="-",vI(i,Evn(this.b[t+1])));i.a+="]",e=i.a}return e},Bjn.a=!1,Bjn.c=!1,TF(jKn,"RegEx/RangeToken",136),Vfn(584,1,{584:1},np),Bjn.a=0,TF(jKn,"RegEx/RegexParser/ReferencePosition",584),Vfn(583,1,{3:1,583:1},Sj),Bjn.Fb=function(n){var t;return null!=n&&!!OO(n,583)&&(t=Jx(n,583),FN(this.b,t.b)&&this.a==t.a)},Bjn.Hb=function(){return Wen(this.b+"/"+lwn(this.a))},Bjn.Ib=function(){return this.c.fm(this.a)},Bjn.a=0,TF(jKn,"RegEx/RegularExpression",583),Vfn(223,117,DKn,HR),Bjn._l=function(){return this.a},Bjn.fm=function(n){var t,e;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:e="\\"+rN(this.a&lTn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=iMn?"\\v"+b$(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+rN(this.a&lTn)}break;case 8:e=this==Sot||this==Pot?""+rN(this.a&lTn):"\\"+rN(this.a&lTn);break;default:e=null}return e},Bjn.a=0,TF(jKn,"RegEx/Token/CharToken",223),Vfn(309,117,DKn,aW),Bjn.am=function(n){return this.a},Bjn.cm=function(n){this.b=n},Bjn.dm=function(n){this.c=n},Bjn.em=function(){return 1},Bjn.fm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw fp(new Cm("Token#toString(): CLOSURE "+this.c+eEn+this.b));t=this.a.fm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw fp(new Cm("Token#toString(): NONGREEDYCLOSURE "+this.c+eEn+this.b));t=this.a.fm(n)+"{"+this.c+",}?"}return t},Bjn.b=0,Bjn.c=0,TF(jKn,"RegEx/Token/ClosureToken",309),Vfn(821,117,DKn,eF),Bjn.am=function(n){return 0==n?this.a:this.b},Bjn.em=function(){return 2},Bjn.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},TF(jKn,"RegEx/Token/ConcatToken",821),Vfn(1822,117,DKn,tZ),Bjn.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw fp(new Cm("Internal Error: "+n))},Bjn.em=function(){return this.b?2:1},Bjn.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},Bjn.c=0,TF(jKn,"RegEx/Token/ConditionToken",1822),Vfn(1823,117,DKn,cU),Bjn.am=function(n){return this.b},Bjn.em=function(){return 1},Bjn.fm=function(n){return"(?"+(0==this.a?"":lwn(this.a))+(0==this.c?"":lwn(this.c))+":"+this.b.fm(n)+")"},Bjn.a=0,Bjn.c=0,TF(jKn,"RegEx/Token/ModifierToken",1823),Vfn(822,117,DKn,cB),Bjn.am=function(n){return this.a},Bjn.em=function(){return 1},Bjn.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},Bjn.b=0,TF(jKn,"RegEx/Token/ParenToken",822),Vfn(521,117,{3:1,117:1,521:1},tG),Bjn.bm=function(){return this.b},Bjn.fm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(r=n.length,t=null,i=0;i=0?(t||(t=new Ay,i>0&&vI(t,n.substr(0,i))),t.a+="\\",_F(t,e&lTn)):t&&_F(t,e&lTn);return t?t.a:n}(this.b)},Bjn.a=0,TF(jKn,"RegEx/Token/StringToken",521),Vfn(465,117,DKn,qC),Bjn.$l=function(n){Kmn(this,n)},Bjn.am=function(n){return Jx(bB(this.a,n),117)},Bjn.em=function(){return this.a?this.a.a.c.length:0},Bjn.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Jx(bB(this.a,0),117),r=3==(e=Jx(bB(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(c=new Oy,i=0;i=n.c.b:n.a<=n.c.b))throw fp(new _p);return t=n.a,n.a+=n.c.c,++n.b,g9(t)}(this)},Bjn.Ub=function(){return function(n){if(n.b<=0)throw fp(new _p);return--n.b,n.a-=n.c.c,g9(n.a)}(this)},Bjn.Wb=function(n){Jx(n,19),function(){throw fp(new hy(BKn))}()},Bjn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Bjn.Sb=function(){return this.b>0},Bjn.Tb=function(){return this.b},Bjn.Vb=function(){return this.b-1},Bjn.Qb=function(){throw fp(new hy(HKn))},Bjn.a=0,Bjn.b=0,TF(_Kn,"ExclusiveRange/RangeIterator",254);var Uot,Xot,Wot=SB(qDn,"C"),Vot=SB(UDn,"I"),Qot=SB(Wjn,"Z"),Yot=SB(XDn,"J"),Jot=SB(HDn,"B"),Zot=SB(GDn,"D"),nst=SB(zDn,"F"),tst=SB(WDn,"S"),est=uR("org.eclipse.elk.core.labels","ILabelManager"),ist=uR(ixn,"DiagnosticChain"),rst=uR(PRn,"ResourceSet"),cst=TF(ixn,"InvocationTargetException",null),ast=(Fy(),function(n){return Fy(),function(){return hX(n,this,arguments)}}),ust=ust=function(n,t,e,i){Oj();var r=qjn;function c(){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl)if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}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(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},4216:(n,t,e)=>{e.d(t,{diagram:()=>m});var i=e(9863),r=e(4309),c=e(8099),a=e(3110),u=e(1188),o=e(7295);e(7856),e(1898),e(7484),e(7967);const s=new o;let h={};const f={};let l={};const b=(n,t,e)=>{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,a.l.info("abc88",e,t,n),i[e][t][n]},w=(n,t,e)=>{if(a.l.info("getNextPort abc88",{node:n,edgeDirection:t,graphDirection:e}),!h[n])switch(e){case"TB":case"TD":h[n]={inPosition:"north",outPosition:"south"};break;case"BT":h[n]={inPosition:"south",outPosition:"north"};break;case"RL":h[n]={inPosition:"east",outPosition:"west"};break;case"LR":h[n]={inPosition:"west",outPosition:"east"}}const i="in"===t?h[n].inPosition:h[n].outPosition;return"in"===t?h[n].inPosition=b(h[n].inPosition,t,e):h[n].outPosition=b(h[n].outPosition,t,e),i},d=function(n,t,e,i,c){const a=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=l[i].offset;return{x:r.posX,y:r.posY}}(t.sourceId,t.targetId,c),u=t.sections[0].startPoint,o=t.sections[0].endPoint,s=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+a.x,n.y+a.y])),h=[[u.x+a.x,u.y+a.y],...s,[o.x+a.x,o.y+a.y]],f=(0,r.jvg)().curve(r.c_6),b=n.insert("path").attr("d",f(h)).attr("class","path").attr("fill","none"),w=n.insert("g").attr("class","edgeLabel"),d=(0,r.Ys)(w.node().appendChild(t.labelEl)),g=d.node().firstChild.getBoundingClientRect();d.attr("width",g.width),d.attr("height",g.height),w.attr("transform",`translate(${t.labels[0].x+a.x}, ${t.labels[0].y+a.y})`),function(n,t,e,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,"\\)")),t.arrowTypeStart){case"arrow_cross":n.attr("marker-start","url("+r+"#"+e+"-crossStart)");break;case"arrow_point":n.attr("marker-start","url("+r+"#"+e+"-pointStart)");break;case"arrow_barb":n.attr("marker-start","url("+r+"#"+e+"-barbStart)");break;case"arrow_circle":n.attr("marker-start","url("+r+"#"+e+"-circleStart)");break;case"aggregation":n.attr("marker-start","url("+r+"#"+e+"-aggregationStart)");break;case"extension":n.attr("marker-start","url("+r+"#"+e+"-extensionStart)");break;case"composition":n.attr("marker-start","url("+r+"#"+e+"-compositionStart)");break;case"dependency":n.attr("marker-start","url("+r+"#"+e+"-dependencyStart)");break;case"lollipop":n.attr("marker-start","url("+r+"#"+e+"-lollipopStart)")}switch(t.arrowTypeEnd){case"arrow_cross":n.attr("marker-end","url("+r+"#"+e+"-crossEnd)");break;case"arrow_point":n.attr("marker-end","url("+r+"#"+e+"-pointEnd)");break;case"arrow_barb":n.attr("marker-end","url("+r+"#"+e+"-barbEnd)");break;case"arrow_circle":n.attr("marker-end","url("+r+"#"+e+"-circleEnd)");break;case"aggregation":n.attr("marker-end","url("+r+"#"+e+"-aggregationEnd)");break;case"extension":n.attr("marker-end","url("+r+"#"+e+"-extensionEnd)");break;case"composition":n.attr("marker-end","url("+r+"#"+e+"-compositionEnd)");break;case"dependency":n.attr("marker-end","url("+r+"#"+e+"-dependencyEnd)");break;case"lollipop":n.attr("marker-end","url("+r+"#"+e+"-lollipopEnd)")}}(b,e,i.type,i.arrowMarkerAbsolute)},g=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(l[t])})),g(n.children,t)}))},p=(n,t,e,i,r,c,u)=>{e.forEach((function(e){if(e)if(l[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:u,width:e.width,height:e.height},"group"===e.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+u%5+" node").attr("x",e.x+n).attr("y",e.y+t).attr("width",e.width).attr("height",e.height);const c=i.insert("g").attr("class","label"),o=(0,a.g)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+o}, ${e.labels[0].y+t+e.y+3})`),c.node().appendChild(e.labelData.labelNode),a.l.info("Id (UGH)= ",e.type,e.labels)}else a.l.info("Id (UGH)= ",e.id),e.el.attr("transform",`translate(${e.x+n+e.width/2}, ${e.y+t+e.height/2})`)})),e.forEach((function(e){e&&"group"===e.type&&p(n+e.x,t+e.y,e.children,i,r,c,u+1)}))},v={getClasses:function(n,t){a.l.info("Extracting classes"),t.db.clear("ver-2");try{return t.parse(n),t.db.getClasses()}catch(n){return{}}},draw:async function(n,t,e,i){var o;i.db.clear(),l={},h={},i.db.setGen("gen-2"),i.parser.parse(n);const b=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let v={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(a.l.info("Drawing flowchart using v3 renderer",s),i.db.getDirection()){case"BT":v.layoutOptions["elk.direction"]="UP";break;case"TB":v.layoutOptions["elk.direction"]="DOWN";break;case"LR":v.layoutOptions["elk.direction"]="RIGHT";break;case"RL":v.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:m,flowchart:y}=(0,a.g)();let k;"sandbox"===m&&(k=(0,r.Ys)("#i"+t));const j="sandbox"===m?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),E="sandbox"===m?k.nodes()[0].contentDocument:document,T=j.select(`[id="${t}"]`);(0,c.a)(T,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const M=i.db.getVertices();let S;const P=i.db.getSubGraphs();a.l.info("Subgraphs - ",P);for(let n=P.length-1;n>=0;n--)S=P[n],i.db.addVertex(S.id,{text:S.title,type:S.labelType},"group",void 0,S.classes,S.dir);const I=T.insert("g").attr("class","subgraphs"),C=function(n){const t={parentById:{},childrenById:{}},e=n.getSubGraphs();return a.l.info("Subgraphs - ",e),e.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),e.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(i.db);v=function(n,t,e,i,r,o,s){const h=e.select(`[id="${t}"]`).insert("g").attr("class","nodes");return Object.keys(n).forEach((function(t){const e=n[t];let s="default";e.classes.length>0&&(s=e.classes.join(" ")),s+=" flowchart-label";const f=(0,u.n)(e.styles);let b=void 0!==e.text?e.text:e.id;const w={width:0,height:0},d=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let g=0,p="",v={};switch(e.type){case"round":g=5,p="rect";break;case"square":case"group":default:p="rect";break;case"diamond":p="question",v={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 m={labelStyle:f.labelStyle,shape:p,labelText:b,labelType:e.labelType,rx:g,ry:g,class:s,style:f.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:r.db.getTooltip(e.id)||"",domId:r.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:(0,a.g)().flowchart.padding};let y,k;if("group"!==m.type)k=(0,c.e)(h,m,e.dir),y=k.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=(0,c.l)(h,m,void 0,!0);w.width=t.width,w.wrappingWidth=(0,a.g)().flowchart.wrappingWidth,w.height=t.height,w.labelNode=n.node(),m.labelData=w}const j={id:e.id,ports:"diamond"===e.type?d:[],layoutOptions:v,labelText:b,labelData:w,domId:r.db.lookUpDomId(e.id),width:null==y?void 0:y.width,height:null==y?void 0:y.height,type:e.type,el:k,parent:o.parentById[e.id]};l[m.id]=j})),s}(M,t,j,E,i,C,v);const O=T.insert("g").attr("class","edges edgePath"),A=i.db.getEdges();v=function(n,t,e,i){a.l.info("abc78 edges = ",n);const o=i.insert("g").attr("class","edgeLabels");let s,h,b={},d=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,u.n)(n.defaultStyle);s=t.style,h=t.labelStyle}return n.forEach((function(t){var i="L-"+t.start+"-"+t.end;void 0===b[i]?(b[i]=0,a.l.info("abc78 new entry",i,b[i])):(b[i]++,a.l.info("abc78 new entry",i,b[i]));let g=i+"-"+b[i];a.l.info("abc78 new link id to be used is",i,g,b[i]);var p="LS-"+t.start,v="LE-"+t.end;const m={style:"",labelStyle:""};switch(m.minlen=t.length||1,"arrow_open"===t.type?m.arrowhead="none":m.arrowhead="normal",m.arrowTypeStart="arrow_open",m.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":m.arrowTypeStart="arrow_cross";case"arrow_cross":m.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":m.arrowTypeStart="arrow_point";case"arrow_point":m.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":m.arrowTypeStart="arrow_circle";case"arrow_circle":m.arrowTypeEnd="arrow_circle"}let y="",k="";switch(t.stroke){case"normal":y="fill:none;",void 0!==s&&(y=s),void 0!==h&&(k=h),m.thickness="normal",m.pattern="solid";break;case"dotted":m.thickness="normal",m.pattern="dotted",m.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":m.thickness="thick",m.pattern="solid",m.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,u.n)(t.style);y=n.style,k=n.labelStyle}m.style=m.style+=y,m.labelStyle=m.labelStyle+=k,void 0!==t.interpolate?m.curve=(0,u.o)(t.interpolate,r.c_6):void 0!==n.defaultInterpolate?m.curve=(0,u.o)(n.defaultInterpolate,r.c_6):m.curve=(0,u.o)(f.curve,r.c_6),void 0===t.text?void 0!==t.style&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c"),m.labelType=t.labelType,m.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),m.labelStyle=m.labelStyle.replace("color:","fill:"),m.id=g,m.classes="flowchart-link "+p+" "+v;const j=(0,c.f)(o,m),{source:E,target:T,sourceId:M,targetId:S}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=l[e],u=l[i];return a&&u?("diamond"===a.type&&(e=`${e}-${w(e,"out",t)}`),"diamond"===u.type&&(i=`${i}-${w(i,"in",t)}`),{source:e,target:i,sourceId:r,targetId:c}):{source:e,target:i}})(t,d);a.l.debug("abc78 source and target",E,T),e.edges.push({id:"e"+t.start+t.end,sources:[E],targets:[T],sourceId:M,targetId:S,labelEl:j,labels:[{width:m.width,height:m.height,orgWidth:m.width,orgHeight:m.height,text:m.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:m})})),e}(A,i,v,T),Object.keys(l).forEach((n=>{const t=l[n];t.parent||v.children.push(t),void 0!==C.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),g(v.children,C),a.l.info("after layout",JSON.stringify(v,null,2));const $=await s.layout(v);p(0,0,$.children,T,I,i,0),a.l.info("after layout",$),null==(o=$.edges)||o.map((n=>{d(O,n,n.edgeData,i,C)})),(0,u.s)({},T,y.diagramPadding,y.useMaxWidth),b.remove()}},m={db:i.d,renderer:v,parser:i.p,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.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: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.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: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`}}}; \ No newline at end of file +export const id=809;export const ids=[809];export const modules={7295:(n,t,e)=>{n.exports=function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var o=new Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var s=e[a]={exports:{}};t[a][0].call(s.exports,(function(n){return r(t[a][1][n]||n)}),s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,u=e.algorithms,o=void 0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:o}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,u=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):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()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){var e;function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function L(){}function N(){}function x(){}function D(){}function R(){}function K(){}function _(){}function F(){}function B(){}function H(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function Y(){}function J(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function un(){}function on(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function vn(){}function mn(){}function yn(){}function kn(){}function jn(){}function En(){}function Tn(){}function Mn(){}function Sn(){}function Pn(){}function In(){}function Cn(){}function On(){}function An(){}function $n(){}function Ln(){}function Nn(){}function xn(){}function Dn(){}function Rn(){}function Kn(){}function _n(){}function Fn(){}function Bn(){}function Hn(){}function qn(){}function Gn(){}function zn(){}function Un(){}function Xn(){}function Wn(){}function Vn(){}function Qn(){}function Yn(){}function Jn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ut(){}function ot(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function vt(){}function mt(){}function yt(){}function kt(){}function jt(){}function Et(){}function Tt(){}function Mt(){}function St(){}function Pt(){}function It(){}function Ct(){}function Ot(){}function At(){}function $t(){}function Lt(){}function Nt(){}function xt(){}function Dt(){}function Rt(){}function Kt(){}function _t(){}function Ft(){}function Bt(){}function Ht(){}function qt(){}function Gt(){}function zt(){}function Ut(){}function Xt(){}function Wt(){}function Vt(){}function Qt(){}function Yt(){}function Jt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function ue(){}function oe(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function ve(){}function me(){}function ye(){}function ke(){}function je(){}function Ee(){}function Te(){}function Me(){}function Se(){}function Pe(){}function Ie(){}function Ce(){}function Oe(){}function Ae(){}function $e(){}function Le(){}function Ne(){}function xe(){}function De(){}function Re(){}function Ke(){}function _e(){}function Fe(){}function Be(){}function He(){}function qe(){}function Ge(){}function ze(){}function Ue(){}function Xe(){}function We(){}function Ve(){}function Qe(){}function Ye(){}function Je(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function ui(){}function oi(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function vi(){}function mi(){}function yi(){}function ki(){}function ji(){}function Ei(){}function Ti(){}function Mi(){}function Si(){}function Pi(){}function Ii(){}function Ci(){}function Oi(){}function Ai(){}function $i(){}function Li(){}function Ni(){}function xi(){}function Di(){}function Ri(){}function Ki(){}function _i(){}function Fi(){}function Bi(){}function Hi(){}function qi(){}function Gi(){}function zi(){}function Ui(){}function Xi(){}function Wi(){}function Vi(){}function Qi(){}function Yi(){}function Ji(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function ur(){}function or(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function vr(){}function mr(){}function yr(){}function kr(){}function jr(){}function Er(){}function Tr(){}function Mr(){}function Sr(){}function Pr(){}function Ir(){}function Cr(){}function Or(){}function Ar(){}function $r(){}function Lr(){}function Nr(){}function xr(){}function Dr(){}function Rr(){}function Kr(){}function _r(){}function Fr(){}function Br(){}function Hr(){}function qr(){}function Gr(){}function zr(){}function Ur(){}function Xr(){}function Wr(){}function Vr(){}function Qr(){}function Yr(){}function Jr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function uc(){}function oc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function vc(){}function mc(){}function yc(){}function kc(){}function jc(){}function Ec(){}function Tc(){}function Mc(){}function Sc(){}function Pc(){}function Ic(){}function Cc(){}function Oc(){}function Ac(){}function $c(){}function Lc(){}function Nc(){}function xc(){}function Dc(){}function Rc(){}function Kc(){}function _c(){}function Fc(){}function Bc(){}function Hc(){}function qc(){}function Gc(){}function zc(){}function Uc(){}function Xc(){}function Wc(){}function Vc(){}function Qc(){}function Yc(){}function Jc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function ua(){}function oa(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function va(){}function ma(){}function ya(){}function ka(){}function ja(){}function Ea(){}function Ta(){}function Ma(){}function Sa(){}function Pa(){}function Ia(){}function Ca(){}function Oa(){}function Aa(){}function $a(){}function La(){}function Na(){}function xa(){}function Da(){}function Ra(){}function Ka(){}function _a(){}function Fa(){}function Ba(){}function Ha(){}function qa(){}function Ga(){}function za(){}function Ua(){}function Xa(){}function Wa(){}function Va(){}function Qa(){}function Ya(){}function Ja(){}function Za(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function uu(){}function ou(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function vu(){}function mu(){}function yu(){}function ku(){}function ju(){}function Eu(){}function Tu(){}function Mu(){}function Su(){}function Pu(){}function Iu(){}function Cu(){}function Ou(){}function Au(){}function $u(){}function Lu(){}function Nu(){}function xu(){}function Du(){}function Ru(){}function Ku(){}function _u(){}function Fu(){}function Bu(){}function Hu(){}function qu(){}function Gu(){}function zu(){}function Uu(){}function Xu(){}function Wu(){}function Vu(){}function Qu(){}function Yu(){}function Ju(){}function Zu(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function uo(){}function oo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function vo(){}function mo(){}function yo(){}function ko(){}function jo(){}function Eo(){}function To(){}function Mo(){}function So(){}function Po(){}function Io(){}function Co(){}function Oo(){}function Ao(){}function $o(){}function Lo(){}function No(){}function xo(){}function Do(){}function Ro(){}function Ko(){}function _o(){}function Fo(){}function Bo(){}function Ho(){}function qo(){}function Go(){}function zo(){}function Uo(){}function Xo(){}function Wo(){}function Vo(){}function Qo(){}function Yo(){}function Jo(){}function Zo(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function us(){}function os(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function vs(){}function ms(){}function ys(){}function ks(){}function js(){}function Es(){}function Ts(){}function Ms(){}function Ss(){}function Ps(){}function Is(){}function Cs(){}function Os(){}function As(){}function $s(){}function Ls(){}function Ns(){}function xs(){}function Ds(){}function Rs(){}function Ks(){}function _s(){}function Fs(){}function Bs(){}function Hs(){}function qs(){}function Gs(){}function zs(){}function Us(){}function Xs(){}function Ws(){}function Vs(){}function Qs(){}function Ys(){}function Js(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function uh(){}function oh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function vh(){}function mh(){}function yh(){}function kh(){}function jh(){}function Eh(){}function Th(){}function Mh(){}function Sh(){}function Ph(){}function Ih(){}function Ch(){}function Oh(){}function Ah(){}function $h(){}function Lh(){}function Nh(){}function xh(){}function Dh(){}function Rh(){}function Kh(){}function _h(){pm()}function Fh(){A6()}function Bh(){ben()}function Hh(){vcn()}function qh(){Ton()}function Gh(){Hdn()}function zh(){Nrn()}function Uh(){Vrn()}function Xh(){YE()}function Wh(){XE()}function Vh(){$x()}function Qh(){JE()}function Yh(){y2()}function Jh(){nT()}function Zh(){iQ()}function nf(){I0()}function tf(){oY()}function ef(){sz()}function rf(){$6()}function cf(){Yun()}function af(){C0()}function uf(){pX()}function of(){$jn()}function sf(){Krn()}function hf(){hz()}function ff(){pjn()}function lf(){uz()}function bf(){O0()}function wf(){i5()}function df(){wz()}function gf(){SY()}function pf(){tT()}function vf(){bln()}function mf(){Frn()}function yf(){w3()}function kf(){Run()}function jf(){qdn()}function Ef(){bin()}function Tf(){aln()}function Mf(){r4()}function Sf(){lz()}function Pf(){ipn()}function If(){oln()}function Cf(){Zln()}function Of(){CY()}function Af(){Kun()}function $f(){Ojn()}function Lf(){N6()}function Nf(){Ann()}function xf(){Zvn()}function Df(){gx()}function Rf(){V2()}function Kf(){Bpn()}function _f(n){mB(n)}function Ff(n){this.a=n}function Bf(n){this.a=n}function Hf(n){this.a=n}function qf(n){this.a=n}function Gf(n){this.a=n}function zf(n){this.a=n}function Uf(n){this.a=n}function Xf(n){this.a=n}function Wf(n){this.a=n}function Vf(n){this.a=n}function Qf(n){this.a=n}function Yf(n){this.a=n}function Jf(n){this.a=n}function Zf(n){this.a=n}function nl(n){this.a=n}function tl(n){this.a=n}function el(n){this.a=n}function il(n){this.a=n}function rl(n){this.a=n}function cl(n){this.a=n}function al(n){this.a=n}function ul(n){this.b=n}function ol(n){this.c=n}function sl(n){this.a=n}function hl(n){this.a=n}function fl(n){this.a=n}function ll(n){this.a=n}function bl(n){this.a=n}function wl(n){this.a=n}function dl(n){this.a=n}function gl(n){this.a=n}function pl(n){this.a=n}function vl(n){this.a=n}function ml(n){this.a=n}function yl(n){this.a=n}function kl(n){this.a=n}function jl(n){this.a=n}function El(n){this.a=n}function Tl(n){this.a=n}function Ml(n){this.a=n}function Sl(){this.a=[]}function Pl(n,t){n.a=t}function Il(n,t){n.j=t}function Cl(n,t){n.c=t}function Ol(n,t){n.d=t}function Al(n,t){n.k=t}function $l(n,t){n.c=t}function Ll(n,t){n.a=t}function Nl(n,t){n.a=t}function xl(n,t){n.f=t}function Dl(n,t){n.a=t}function Rl(n,t){n.b=t}function Kl(n,t){n.d=t}function _l(n,t){n.i=t}function Fl(n,t){n.o=t}function Bl(n,t){n.e=t}function Hl(n,t){n.g=t}function ql(n,t){n.e=t}function Gl(n,t){n.f=t}function zl(n,t){n.f=t}function Ul(n,t){n.n=t}function Xl(n){n.b=n.a}function Wl(n){n.c=n.d.d}function Vl(n){this.d=n}function Ql(n){this.a=n}function Yl(n){this.a=n}function Jl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ub(n){this.a=n}function ob(n){this.a=n}function sb(n){this.a=n}function hb(n){this.b=n}function fb(n){this.b=n}function lb(n){this.b=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.c=n}function pb(n){this.c=n}function vb(n){this.c=n}function mb(n){this.a=n}function yb(n){this.a=n}function kb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Tb(n){this.a=n}function Mb(n){this.a=n}function Sb(n){this.a=n}function Pb(n){this.a=n}function Ib(n){this.a=n}function Cb(n){this.a=n}function Ob(n){this.a=n}function Ab(n){this.a=n}function $b(n){this.a=n}function Lb(n){this.a=n}function Nb(n){this.a=n}function xb(n){this.a=n}function Db(n){this.a=n}function Rb(n){this.a=n}function Kb(n){this.a=n}function _b(n){this.a=n}function Fb(n){this.a=n}function Bb(n){this.a=n}function Hb(n){this.a=n}function qb(n){this.a=n}function Gb(n){this.a=n}function zb(n){this.a=n}function Ub(n){this.a=n}function Xb(n){this.a=n}function Wb(n){this.a=n}function Vb(n){this.a=n}function Qb(n){this.a=n}function Yb(n){this.a=n}function Jb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function uw(n){this.a=n}function ow(n){this.a=n}function sw(n){this.a=n}function hw(n){this.e=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function ww(n){this.a=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function vw(n){this.a=n}function mw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Tw(n){this.a=n}function Mw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Iw(n){this.a=n}function Cw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function $w(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function xw(n){this.a=n}function Dw(n){this.a=n}function Rw(n){this.a=n}function Kw(n){this.a=n}function _w(n){this.a=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function qw(n){this.a=n}function Gw(n){this.a=n}function zw(n){this.a=n}function Uw(n){this.a=n}function Xw(n){this.a=n}function Ww(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Yw(n){this.a=n}function Jw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function ud(n){this.a=n}function od(n){this.a=n}function sd(n){this.a=n}function hd(n){this.a=n}function fd(n){this.c=n}function ld(n){this.b=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.a=n}function gd(n){this.a=n}function pd(n){this.a=n}function vd(n){this.a=n}function md(n){this.a=n}function yd(n){this.a=n}function kd(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Td(n){this.a=n}function Md(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Id(n){this.a=n}function Cd(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function $d(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function xd(n){this.a=n}function Dd(n){this.a=n}function Rd(n){this.a=n}function Kd(n){this.a=n}function _d(n){this.a=n}function Fd(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function qd(n){this.a=n}function Gd(n){this.a=n}function zd(n){this.a=n}function Ud(n){this.a=n}function Xd(n){this.a=n}function Wd(n){this.a=n}function Vd(n){this.a=n}function Qd(n){this.a=n}function Yd(n){this.a=n}function Jd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function ug(n){this.a=n}function og(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.a=n}function vg(n){this.a=n}function mg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Tg(n){this.a=n}function Mg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Ig(n){this.a=n}function Cg(n){this.a=n}function Og(n){this.a=n}function Ag(n){this.b=n}function $g(n){this.f=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function xg(n){this.a=n}function Dg(n){this.a=n}function Rg(n){this.a=n}function Kg(n){this.a=n}function _g(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function qg(n){this.a=n}function Gg(n){this.b=n}function zg(n){this.c=n}function Ug(n){this.e=n}function Xg(n){this.a=n}function Wg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Yg(n){this.a=n}function Jg(n){this.d=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.e=n}function ep(){this.a=0}function ip(){LC(this)}function rp(){$C(this)}function cp(){X_(this)}function ap(){YB(this)}function up(){}function op(){this.c=Vat}function sp(n,t){n.b+=t}function hp(n){n.b=new py}function fp(n){return n.e}function lp(n){return n.a}function bp(n){return n.a}function wp(n){return n.a}function dp(n){return n.a}function gp(n){return n.a}function pp(){return null}function vp(){return null}function mp(n,t){n.b=t-n.b}function yp(n,t){n.a=t-n.a}function kp(n,t){t.ad(n.a)}function jp(n,t){n.e=t,t.b=n}function Ep(n){vx(),this.a=n}function Tp(n){vx(),this.a=n}function Mp(n){vx(),this.a=n}function Sp(n){QF(),this.a=n}function Pp(n){Lq(),v_n.be(n)}function Ip(){AA.call(this)}function Cp(){AA.call(this)}function Op(){Ip.call(this)}function Ap(){Ip.call(this)}function $p(){Ip.call(this)}function Lp(){Ip.call(this)}function Np(){Ip.call(this)}function xp(){Ip.call(this)}function Dp(){Ip.call(this)}function Rp(){Ip.call(this)}function Kp(){Ip.call(this)}function _p(){Ip.call(this)}function Fp(){Ip.call(this)}function Bp(){this.a=this}function Hp(){this.Bb|=256}function qp(){this.b=new DI}function Gp(){Gp=O,new cp}function zp(){Op.call(this)}function Up(n,t){n.length=t}function Xp(n,t){iD(n.a,t)}function Wp(n,t){_3(n.e,t)}function Vp(n){jfn(n.c,n.b)}function Qp(n){this.a=function(n){var t;return(t=pon(n))>34028234663852886e22?ZTn:t<-34028234663852886e22?nMn:t}(n)}function Yp(){this.a=new cp}function Jp(){this.a=new cp}function Zp(){this.a=new rp}function nv(){this.a=new rp}function tv(){this.a=new rp}function ev(){this.a=new kn}function iv(){this.a=new VV}function rv(){this.a=new bt}function cv(){this.a=new EE}function av(){this.a=new pU}function uv(){this.a=new xG}function ov(){this.a=new uN}function sv(){this.a=new rp}function hv(){this.a=new rp}function fv(){this.a=new rp}function lv(){this.a=new rp}function bv(){this.d=new rp}function wv(){this.a=new Yp}function dv(){this.a=new cp}function gv(){this.b=new cp}function pv(){this.b=new rp}function vv(){this.e=new rp}function mv(){this.d=new rp}function yv(){this.a=new cf}function kv(){rp.call(this)}function jv(){Zp.call(this)}function Ev(){hN.call(this)}function Tv(){hv.call(this)}function Mv(){Sv.call(this)}function Sv(){up.call(this)}function Pv(){up.call(this)}function Iv(){Pv.call(this)}function Cv(){Tq.call(this)}function Ov(){Tq.call(this)}function Av(){om.call(this)}function $v(){om.call(this)}function Lv(){om.call(this)}function Nv(){sm.call(this)}function xv(){SE.call(this)}function Dv(){eo.call(this)}function Rv(){eo.call(this)}function Kv(){wm.call(this)}function _v(){wm.call(this)}function Fv(){cp.call(this)}function Bv(){cp.call(this)}function Hv(){cp.call(this)}function qv(){Yp.call(this)}function Gv(){M0.call(this)}function zv(){Hp.call(this)}function Uv(){UO.call(this)}function Xv(){UO.call(this)}function Wv(){cp.call(this)}function Vv(){cp.call(this)}function Qv(){cp.call(this)}function Yv(){yo.call(this)}function Jv(){yo.call(this)}function Zv(){Yv.call(this)}function nm(){Dh.call(this)}function tm(n){FZ.call(this,n)}function em(n){FZ.call(this,n)}function im(n){Wf.call(this,n)}function rm(n){eE.call(this,n)}function cm(n){rm.call(this,n)}function am(n){eE.call(this,n)}function um(){this.a=new SE}function om(){this.a=new Yp}function sm(){this.a=new cp}function hm(){this.a=new rp}function fm(){this.j=new rp}function lm(){this.a=new Xa}function bm(){this.a=new wj}function wm(){this.a=new mo}function dm(){dm=O,t_n=new _y}function gm(){gm=O,n_n=new Ky}function pm(){pm=O,UKn=new c}function vm(){vm=O,u_n=new yA}function mm(n){rm.call(this,n)}function ym(n){rm.call(this,n)}function km(n){fW.call(this,n)}function jm(n){fW.call(this,n)}function Em(n){rx.call(this,n)}function Tm(n){jon.call(this,n)}function Mm(n){cE.call(this,n)}function Sm(n){uE.call(this,n)}function Pm(n){uE.call(this,n)}function Im(n){uE.call(this,n)}function Cm(n){DK.call(this,n)}function Om(n){Cm.call(this,n)}function Am(){Ml.call(this,{})}function $m(n){GO(),this.a=n}function Lm(n){n.b=null,n.c=0}function Nm(n,t){n.a=t,function(n){var t,i,r;for(function(n){var t,i,r;for(i=new pb(n.a.a.b);i.a0&&((!bC(n.a.c)||!t.n.d)&&(!wC(n.a.c)||!t.n.b)&&(t.g.d-=e.Math.max(0,r/2-.5)),(!bC(n.a.c)||!t.n.a)&&(!wC(n.a.c)||!t.n.c)&&(t.g.a+=e.Math.max(0,r-1)))}(n),r=new rp,i=new pb(n.a.a.b);i.a0&&((!bC(n.a.c)||!t.n.d)&&(!wC(n.a.c)||!t.n.b)&&(t.g.d+=e.Math.max(0,r/2-.5)),(!bC(n.a.c)||!t.n.a)&&(!wC(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function xm(n,t,e){n.a[t.g]=e}function Dm(n,t,e){!function(n,t,e){var i,r;for(MC(n,n.j+t,n.k+e),r=new XO((!n.a&&(n.a=new WO(Yrt,n,5)),n.a));r.e!=r.i.gc();)kC(i=Jx(fen(r),469),i.a+t,i.b+e);TC(n,n.b+t,n.c+e)}(e,n,t)}function Rm(n,t){!function(n,t){bC(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new pb(n.d);i.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[mMn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}()}function Hy(n){return n.a?n.b:0}function qy(n){return n.a?n.b:0}function Gy(n,t){return uJ(n,t)}function zy(n,t){return GG(n,t)}function Uy(n,t){return n.f=t,n}function Xy(n,t){return n.c=t,n}function Wy(n,t){return n.a=t,n}function Vy(n,t){return n.f=t,n}function Qy(n,t){return n.k=t,n}function Yy(n,t){return n.a=t,n}function Jy(n,t){return n.e=t,n}function Zy(n,t){n.b=!0,n.d=t}function nk(n,t){return n?0:t-1}function tk(n,t){return n.b=t,n}function ek(n,t){return n.a=t,n}function ik(n,t){return n.c=t,n}function rk(n,t){return n.d=t,n}function ck(n,t){return n.e=t,n}function ak(n,t){return n.f=t,n}function uk(n,t){return n.a=t,n}function ok(n,t){return n.b=t,n}function sk(n,t){return n.c=t,n}function hk(n,t){return n.c=t,n}function fk(n,t){return n.b=t,n}function lk(n,t){return n.d=t,n}function bk(n,t){return n.e=t,n}function wk(n,t){return n.g=t,n}function dk(n,t){return n.a=t,n}function gk(n,t){return n.i=t,n}function pk(n,t){return n.j=t,n}function vk(n,t){return n.k=t,n}function mk(n,t,e){!function(n,t,e){F_(n,new nM(t.a,e.a))}(n.a,t,e)}function yk(n){dH.call(this,n)}function kk(n){dH.call(this,n)}function jk(n){sx.call(this,n)}function Ek(n){A7.call(this,n)}function Tk(n){BZ.call(this,n)}function Mk(n){_H.call(this,n)}function Sk(n){_H.call(this,n)}function Pk(){hO.call(this,"")}function Ik(){this.a=0,this.b=0}function Ck(){this.b=0,this.a=0}function Ok(n,t){n.b=0,B1(n,t)}function Ak(n,t){return n.c._b(t)}function $k(n){return n.e&&n.e()}function Lk(n){return n?n.d:null}function Nk(n,t){return K8(n.b,t)}function xk(n){return hL(n),n.o}function Dk(){Dk=O,Art=function(){var n,t;Zvn();try{if(t=Jx(Zcn((yT(),uat),DNn),2014))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new ao}()}function Rk(){var n;Rk=O,$rt=hct?Jx(qln((yT(),uat),DNn),2016):(n=Jx(OO(uG((yT(),uat),DNn),555)?uG(uat,DNn):new zfn,555),hct=!0,function(n){n.q||(n.q=!0,n.p=G3(n,0),n.a=G3(n,1),I2(n.a,0),n.f=G3(n,2),I2(n.f,1),P2(n.f,2),n.n=G3(n,3),P2(n.n,3),P2(n.n,4),P2(n.n,5),P2(n.n,6),n.g=G3(n,4),I2(n.g,7),P2(n.g,8),n.c=G3(n,5),I2(n.c,7),I2(n.c,8),n.i=G3(n,6),I2(n.i,9),I2(n.i,10),I2(n.i,11),I2(n.i,12),P2(n.i,13),n.j=G3(n,7),I2(n.j,9),n.d=G3(n,8),I2(n.d,3),I2(n.d,4),I2(n.d,5),I2(n.d,6),P2(n.d,7),P2(n.d,8),P2(n.d,9),P2(n.d,10),n.b=G3(n,9),P2(n.b,0),P2(n.b,1),n.e=G3(n,10),P2(n.e,1),P2(n.e,2),P2(n.e,3),P2(n.e,4),I2(n.e,5),I2(n.e,6),I2(n.e,7),I2(n.e,8),I2(n.e,9),I2(n.e,10),P2(n.e,11),n.k=G3(n,11),P2(n.k,0),P2(n.k,1),n.o=z3(n,12),n.s=z3(n,13))}(n),function(n){var t,e,i,r,c,a,u;n.r||(n.r=!0,T2(n,"graph"),M2(n,"graph"),S2(n,DNn),p4(n.o,"T"),lY(Cq(n.a),n.p),lY(Cq(n.f),n.a),lY(Cq(n.n),n.f),lY(Cq(n.g),n.n),lY(Cq(n.c),n.n),lY(Cq(n.i),n.c),lY(Cq(n.j),n.c),lY(Cq(n.d),n.f),lY(Cq(n.e),n.a),MU(n.p,oqn,USn,!0,!0,!1),u=L4(a=s6(n.p,n.p,"setProperty")),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),man(e,i=IH(u)),Jcn(a,t,KNn),Jcn(a,t=IH(u),_Nn),u=L4(a=s6(n.p,null,"getProperty")),t=PH(n.o),e=IH(u),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Jcn(a,t,KNn),(c=lun(a,t=IH(u),null))&&c.Fi(),a=s6(n.p,n.wb.e,"hasProperty"),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Jcn(a,t,KNn),Orn(a=s6(n.p,n.p,"copyProperties"),n.p,FNn),a=s6(n.p,null,"getAllProperties"),t=PH(n.wb.P),e=PH(n.o),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),i=new op,lY((!e.d&&(e.d=new WO(fat,e,1)),e.d),i),e=PH(n.wb.M),lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),(r=lun(a,t,null))&&r.Fi(),MU(n.a,Qrt,uNn,!0,!1,!0),Irn(Jx(a1(uq(n.a),0),18),n.k,null,BNn,0,-1,Qrt,!1,!1,!0,!0,!1,!1,!1),MU(n.f,Jrt,sNn,!0,!1,!0),Irn(Jx(a1(uq(n.f),0),18),n.g,Jx(a1(uq(n.g),0),18),"labels",0,-1,Jrt,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.f),1),34),n.wb._,HNn,null,0,1,Jrt,!1,!1,!0,!1,!0,!1),MU(n.n,Zrt,"ElkShape",!0,!1,!0),U2(Jx(a1(uq(n.n),0),34),n.wb.t,qNn,hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),1),34),n.wb.t,GNn,hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),2),34),n.wb.t,"x",hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.n),3),34),n.wb.t,"y",hMn,1,1,Zrt,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.n,null,"setDimensions"),n.wb.t,GNn),Orn(a,n.wb.t,qNn),Orn(a=s6(n.n,null,"setLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.g,uct,dNn,!1,!1,!0),Irn(Jx(a1(uq(n.g),0),18),n.f,Jx(a1(uq(n.f),0),18),zNn,0,1,uct,!1,!1,!0,!1,!1,!1,!1),U2(Jx(a1(uq(n.g),1),34),n.wb._,UNn,"",0,1,uct,!1,!1,!0,!1,!0,!1),MU(n.c,nct,hNn,!0,!1,!0),Irn(Jx(a1(uq(n.c),0),18),n.d,Jx(a1(uq(n.d),1),18),"outgoingEdges",0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.c),1),18),n.d,Jx(a1(uq(n.d),2),18),"incomingEdges",0,-1,nct,!1,!1,!0,!1,!0,!1,!1),MU(n.i,oct,gNn,!1,!1,!0),Irn(Jx(a1(uq(n.i),0),18),n.j,Jx(a1(uq(n.j),0),18),"ports",0,-1,oct,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.i),1),18),n.i,Jx(a1(uq(n.i),2),18),XNn,0,-1,oct,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.i),2),18),n.i,Jx(a1(uq(n.i),1),18),zNn,0,1,oct,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.i),3),18),n.d,Jx(a1(uq(n.d),0),18),"containedEdges",0,-1,oct,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.i),4),34),n.wb.e,WNn,null,0,1,oct,!0,!0,!1,!1,!0,!0),MU(n.j,sct,pNn,!1,!1,!0),Irn(Jx(a1(uq(n.j),0),18),n.i,Jx(a1(uq(n.i),0),18),zNn,0,1,sct,!1,!1,!0,!1,!1,!1,!1),MU(n.d,tct,fNn,!1,!1,!0),Irn(Jx(a1(uq(n.d),0),18),n.i,Jx(a1(uq(n.i),3),18),"containingNode",0,1,tct,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.d),1),18),n.c,Jx(a1(uq(n.c),0),18),VNn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.d),2),18),n.c,Jx(a1(uq(n.c),1),18),QNn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.d),3),18),n.e,Jx(a1(uq(n.e),5),18),YNn,0,-1,tct,!1,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.d),4),34),n.wb.e,"hyperedge",null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),5),34),n.wb.e,WNn,null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),6),34),n.wb.e,"selfloop",null,0,1,tct,!0,!0,!1,!1,!0,!0),U2(Jx(a1(uq(n.d),7),34),n.wb.e,"connected",null,0,1,tct,!0,!0,!1,!1,!0,!0),MU(n.b,Yrt,oNn,!1,!1,!0),U2(Jx(a1(uq(n.b),0),34),n.wb.t,"x",hMn,1,1,Yrt,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.b),1),34),n.wb.t,"y",hMn,1,1,Yrt,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.b,null,"set"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.e,ect,lNn,!1,!1,!0),U2(Jx(a1(uq(n.e),0),34),n.wb.t,"startX",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),1),34),n.wb.t,"startY",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),2),34),n.wb.t,"endX",null,0,1,ect,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.e),3),34),n.wb.t,"endY",null,0,1,ect,!1,!1,!0,!1,!0,!1),Irn(Jx(a1(uq(n.e),4),18),n.b,null,JNn,0,-1,ect,!1,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.e),5),18),n.d,Jx(a1(uq(n.d),3),18),zNn,0,1,ect,!1,!1,!0,!1,!1,!1,!1),Irn(Jx(a1(uq(n.e),6),18),n.c,null,ZNn,0,1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),7),18),n.c,null,nxn,0,1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),8),18),n.e,Jx(a1(uq(n.e),9),18),txn,0,-1,ect,!1,!1,!0,!1,!0,!1,!1),Irn(Jx(a1(uq(n.e),9),18),n.e,Jx(a1(uq(n.e),8),18),exn,0,-1,ect,!1,!1,!0,!1,!0,!1,!1),U2(Jx(a1(uq(n.e),10),34),n.wb._,HNn,null,0,1,ect,!1,!1,!0,!1,!0,!1),Orn(a=s6(n.e,null,"setStartLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),Orn(a=s6(n.e,null,"setEndLocation"),n.wb.t,"x"),Orn(a,n.wb.t,"y"),MU(n.k,r_n,"ElkPropertyToValueMapEntry",!1,!1,!1),t=PH(n.o),e=new op,lY((!t.d&&(t.d=new WO(fat,t,1)),t.d),e),Ifn(Jx(a1(uq(n.k),0),34),t,"key",r_n,!1,!1,!0,!1),U2(Jx(a1(uq(n.k),1),34),n.s,_Nn,null,0,1,r_n,!1,!1,!0,!1,!0,!1),JB(n.o,P7n,"IProperty",!0),JB(n.s,XKn,"PropertyValue",!0),h8(n,DNn))}(n),Prn(n),zG(uat,DNn,n),n)}function Kk(){Kk=O,gat=function(){var n,t;Zvn();try{if(t=Jx(Zcn((yT(),uat),fRn),1941))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new qo}()}function _k(){_k=O,Aut=function(){var n,t;cJ();try{if(t=Jx(Zcn((yT(),uat),HRn),2024))return t}catch(t){if(!OO(t=E4(t),102))throw fp(t);n=t,$K((zC(),n))}return new Ds}()}function Fk(){var n;Fk=O,$ut=dot?Jx(qln((yT(),uat),HRn),1945):(UI(Out,new Vs),UI(uot,new ah),UI(oot,new ph),UI(sot,new Ih),UI(lFn,new $h),UI(zy(Jot,1),new Lh),UI(R_n,new Nh),UI(F_n,new xh),UI(lFn,new _s),UI(lFn,new Fs),UI(lFn,new Bs),UI(q_n,new Hs),UI(lFn,new qs),UI(ZKn,new Gs),UI(ZKn,new zs),UI(lFn,new Us),UI(G_n,new Xs),UI(lFn,new Ws),UI(lFn,new Qs),UI(lFn,new Ys),UI(lFn,new Js),UI(lFn,new Zs),UI(zy(Jot,1),new nh),UI(lFn,new th),UI(lFn,new eh),UI(ZKn,new ih),UI(ZKn,new rh),UI(lFn,new ch),UI(X_n,new uh),UI(lFn,new oh),UI(Z_n,new sh),UI(lFn,new hh),UI(lFn,new fh),UI(lFn,new lh),UI(lFn,new bh),UI(ZKn,new wh),UI(ZKn,new dh),UI(lFn,new gh),UI(lFn,new vh),UI(lFn,new mh),UI(lFn,new yh),UI(lFn,new kh),UI(lFn,new jh),UI(tFn,new Eh),UI(lFn,new Th),UI(lFn,new Mh),UI(lFn,new Sh),UI(tFn,new Ph),UI(Z_n,new Ch),UI(lFn,new Oh),UI(X_n,new Ah),n=Jx(OO(uG((yT(),uat),HRn),586)?uG(uat,HRn):new $B,586),dot=!0,function(n){n.N||(n.N=!0,n.b=G3(n,0),P2(n.b,0),P2(n.b,1),P2(n.b,2),n.bb=G3(n,1),P2(n.bb,0),P2(n.bb,1),n.fb=G3(n,2),P2(n.fb,3),P2(n.fb,4),I2(n.fb,5),n.qb=G3(n,3),P2(n.qb,0),I2(n.qb,1),I2(n.qb,2),P2(n.qb,3),P2(n.qb,4),I2(n.qb,5),P2(n.qb,6),n.a=z3(n,4),n.c=z3(n,5),n.d=z3(n,6),n.e=z3(n,7),n.f=z3(n,8),n.g=z3(n,9),n.i=z3(n,10),n.j=z3(n,11),n.k=z3(n,12),n.n=z3(n,13),n.o=z3(n,14),n.p=z3(n,15),n.q=z3(n,16),n.s=z3(n,17),n.r=z3(n,18),n.t=z3(n,19),n.u=z3(n,20),n.v=z3(n,21),n.w=z3(n,22),n.B=z3(n,23),n.A=z3(n,24),n.C=z3(n,25),n.D=z3(n,26),n.F=z3(n,27),n.G=z3(n,28),n.H=z3(n,29),n.J=z3(n,30),n.I=z3(n,31),n.K=z3(n,32),n.M=z3(n,33),n.L=z3(n,34),n.P=z3(n,35),n.Q=z3(n,36),n.R=z3(n,37),n.S=z3(n,38),n.T=z3(n,39),n.U=z3(n,40),n.V=z3(n,41),n.X=z3(n,42),n.W=z3(n,43),n.Y=z3(n,44),n.Z=z3(n,45),n.$=z3(n,46),n._=z3(n,47),n.ab=z3(n,48),n.cb=z3(n,49),n.db=z3(n,50),n.eb=z3(n,51),n.gb=z3(n,52),n.hb=z3(n,53),n.ib=z3(n,54),n.jb=z3(n,55),n.kb=z3(n,56),n.lb=z3(n,57),n.mb=z3(n,58),n.nb=z3(n,59),n.ob=z3(n,60),n.pb=z3(n,61))}(n),function(n){var t;n.O||(n.O=!0,T2(n,"type"),M2(n,"ecore.xml.type"),S2(n,HRn),t=Jx(qln((yT(),uat),HRn),1945),lY(Cq(n.fb),n.b),MU(n.b,Out,"AnyType",!1,!1,!0),U2(Jx(a1(uq(n.b),0),34),n.wb.D,nRn,null,0,-1,Out,!1,!1,!0,!1,!1,!1),U2(Jx(a1(uq(n.b),1),34),n.wb.D,"any",null,0,-1,Out,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,Out,!1,!1,!0,!1,!1,!1),MU(n.bb,uot,XRn,!1,!1,!0),U2(Jx(a1(uq(n.bb),0),34),n.gb,"data",null,0,1,uot,!1,!1,!0,!1,!0,!1),U2(Jx(a1(uq(n.bb),1),34),n.gb,bxn,null,1,1,uot,!1,!1,!0,!1,!0,!1),MU(n.fb,oot,WRn,!1,!1,!0),U2(Jx(a1(uq(n.fb),0),34),t.gb,"rawValue",null,0,1,oot,!0,!0,!0,!1,!0,!0),U2(Jx(a1(uq(n.fb),1),34),t.a,_Nn,null,0,1,oot,!0,!0,!0,!1,!0,!0),Irn(Jx(a1(uq(n.fb),2),18),n.wb.q,null,"instanceType",1,1,oot,!1,!1,!0,!1,!1,!1,!1),MU(n.qb,sot,VRn,!1,!1,!0),U2(Jx(a1(uq(n.qb),0),34),n.wb.D,nRn,null,0,-1,null,!1,!1,!0,!1,!1,!1),Irn(Jx(a1(uq(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Irn(Jx(a1(uq(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),U2(Jx(a1(uq(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Irn(Jx(a1(uq(n.qb),5),18),n.bb,null,kKn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),U2(Jx(a1(uq(n.qb),6),34),n.gb,UNn,null,0,-2,null,!0,!0,!0,!1,!1,!0),JB(n.a,XKn,"AnySimpleType",!0),JB(n.c,lFn,"AnyURI",!0),JB(n.d,zy(Jot,1),"Base64Binary",!0),JB(n.e,Qot,"Boolean",!0),JB(n.f,R_n,"BooleanObject",!0),JB(n.g,Jot,"Byte",!0),JB(n.i,F_n,"ByteObject",!0),JB(n.j,lFn,"Date",!0),JB(n.k,lFn,"DateTime",!0),JB(n.n,mFn,"Decimal",!0),JB(n.o,Zot,"Double",!0),JB(n.p,q_n,"DoubleObject",!0),JB(n.q,lFn,"Duration",!0),JB(n.s,ZKn,"ENTITIES",!0),JB(n.r,ZKn,"ENTITIESBase",!0),JB(n.t,lFn,tKn,!0),JB(n.u,nst,"Float",!0),JB(n.v,G_n,"FloatObject",!0),JB(n.w,lFn,"GDay",!0),JB(n.B,lFn,"GMonth",!0),JB(n.A,lFn,"GMonthDay",!0),JB(n.C,lFn,"GYear",!0),JB(n.D,lFn,"GYearMonth",!0),JB(n.F,zy(Jot,1),"HexBinary",!0),JB(n.G,lFn,"ID",!0),JB(n.H,lFn,"IDREF",!0),JB(n.J,ZKn,"IDREFS",!0),JB(n.I,ZKn,"IDREFSBase",!0),JB(n.K,Vot,"Int",!0),JB(n.M,TFn,"Integer",!0),JB(n.L,X_n,"IntObject",!0),JB(n.P,lFn,"Language",!0),JB(n.Q,Yot,"Long",!0),JB(n.R,Z_n,"LongObject",!0),JB(n.S,lFn,"Name",!0),JB(n.T,lFn,eKn,!0),JB(n.U,TFn,"NegativeInteger",!0),JB(n.V,lFn,lKn,!0),JB(n.X,ZKn,"NMTOKENS",!0),JB(n.W,ZKn,"NMTOKENSBase",!0),JB(n.Y,TFn,"NonNegativeInteger",!0),JB(n.Z,TFn,"NonPositiveInteger",!0),JB(n.$,lFn,"NormalizedString",!0),JB(n._,lFn,"NOTATION",!0),JB(n.ab,lFn,"PositiveInteger",!0),JB(n.cb,lFn,"QName",!0),JB(n.db,tst,"Short",!0),JB(n.eb,tFn,"ShortObject",!0),JB(n.gb,lFn,cTn,!0),JB(n.hb,lFn,"Time",!0),JB(n.ib,lFn,"Token",!0),JB(n.jb,tst,"UnsignedByte",!0),JB(n.kb,tFn,"UnsignedByteObject",!0),JB(n.lb,Yot,"UnsignedInt",!0),JB(n.mb,Z_n,"UnsignedIntObject",!0),JB(n.nb,TFn,"UnsignedLong",!0),JB(n.ob,Vot,"UnsignedShort",!0),JB(n.pb,X_n,"UnsignedShortObject",!0),h8(n,HRn),function(n){nbn(n.a,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anySimpleType"])),nbn(n.b,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anyType",eRn,nRn])),nbn(Jx(a1(uq(n.b),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,pxn,":mixed"])),nbn(Jx(a1(uq(n.b),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,BRn,qRn,pxn,":1",JRn,"lax"])),nbn(Jx(a1(uq(n.b),2),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,LRn,BRn,qRn,pxn,":2",JRn,"lax"])),nbn(n.c,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"anyURI",FRn,DRn])),nbn(n.d,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"base64Binary",FRn,DRn])),nbn(n.e,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,Wjn,FRn,DRn])),nbn(n.f,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"boolean:Object",wRn,Wjn])),nbn(n.g,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,HDn])),nbn(n.i,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"byte:Object",wRn,HDn])),nbn(n.j,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"date",FRn,DRn])),nbn(n.k,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"dateTime",FRn,DRn])),nbn(n.n,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"decimal",FRn,DRn])),nbn(n.o,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,GDn,FRn,DRn])),nbn(n.p,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"double:Object",wRn,GDn])),nbn(n.q,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"duration",FRn,DRn])),nbn(n.s,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"ENTITIES",wRn,ZRn,nKn,"1"])),nbn(n.r,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,ZRn,RRn,tKn])),nbn(n.t,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,tKn,wRn,eKn])),nbn(n.u,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,zDn,FRn,DRn])),nbn(n.v,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"float:Object",wRn,zDn])),nbn(n.w,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gDay",FRn,DRn])),nbn(n.B,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gMonth",FRn,DRn])),nbn(n.A,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gMonthDay",FRn,DRn])),nbn(n.C,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gYear",FRn,DRn])),nbn(n.D,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"gYearMonth",FRn,DRn])),nbn(n.F,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"hexBinary",FRn,DRn])),nbn(n.G,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"ID",wRn,eKn])),nbn(n.H,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"IDREF",wRn,eKn])),nbn(n.J,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"IDREFS",wRn,iKn,nKn,"1"])),nbn(n.I,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,iKn,RRn,"IDREF"])),nbn(n.K,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,UDn])),nbn(n.M,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,rKn])),nbn(n.L,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"int:Object",wRn,UDn])),nbn(n.P,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"language",wRn,cKn,aKn,uKn])),nbn(n.Q,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,XDn])),nbn(n.R,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"long:Object",wRn,XDn])),nbn(n.S,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"Name",wRn,cKn,aKn,oKn])),nbn(n.T,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,eKn,wRn,"Name",aKn,sKn])),nbn(n.U,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"negativeInteger",wRn,hKn,fKn,"-1"])),nbn(n.V,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,lKn,wRn,cKn,aKn,"\\c+"])),nbn(n.X,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"NMTOKENS",wRn,bKn,nKn,"1"])),nbn(n.W,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,bKn,RRn,lKn])),nbn(n.Y,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,wKn,wRn,rKn,dKn,"0"])),nbn(n.Z,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,hKn,wRn,rKn,fKn,"0"])),nbn(n.$,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,gKn,wRn,Qjn,FRn,"replace"])),nbn(n._,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"NOTATION",FRn,DRn])),nbn(n.ab,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"positiveInteger",wRn,wKn,dKn,"1"])),nbn(n.bb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"processingInstruction_._type",eRn,"empty"])),nbn(Jx(a1(uq(n.bb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"data"])),nbn(Jx(a1(uq(n.bb),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,bxn])),nbn(n.cb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"QName",FRn,DRn])),nbn(n.db,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,WDn])),nbn(n.eb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"short:Object",wRn,WDn])),nbn(n.fb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"simpleAnyType",eRn,ARn])),nbn(Jx(a1(uq(n.fb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":3",eRn,ARn])),nbn(Jx(a1(uq(n.fb),1),34),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":4",eRn,ARn])),nbn(Jx(a1(uq(n.fb),2),18),tRn,D4(zy(lFn,1),MEn,2,6,[pxn,":5",eRn,ARn])),nbn(n.gb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,Qjn,FRn,"preserve"])),nbn(n.hb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"time",FRn,DRn])),nbn(n.ib,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,cKn,wRn,gKn,FRn,DRn])),nbn(n.jb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,pKn,fKn,"255",dKn,"0"])),nbn(n.kb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedByte:Object",wRn,pKn])),nbn(n.lb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,vKn,fKn,"4294967295",dKn,"0"])),nbn(n.mb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedInt:Object",wRn,vKn])),nbn(n.nb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedLong",wRn,wKn,fKn,mKn,dKn,"0"])),nbn(n.ob,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,yKn,fKn,"65535",dKn,"0"])),nbn(n.pb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"unsignedShort:Object",wRn,yKn])),nbn(n.qb,tRn,D4(zy(lFn,1),MEn,2,6,[pxn,"",eRn,nRn])),nbn(Jx(a1(uq(n.qb),0),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,xRn,pxn,":mixed"])),nbn(Jx(a1(uq(n.qb),1),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"xmlns:prefix"])),nbn(Jx(a1(uq(n.qb),2),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,$Rn,pxn,"xsi:schemaLocation"])),nbn(Jx(a1(uq(n.qb),3),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,"cDATA",KRn,_Rn])),nbn(Jx(a1(uq(n.qb),4),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,"comment",KRn,_Rn])),nbn(Jx(a1(uq(n.qb),5),18),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,kKn,KRn,_Rn])),nbn(Jx(a1(uq(n.qb),6),34),tRn,D4(zy(lFn,1),MEn,2,6,[eRn,NRn,pxn,UNn,KRn,_Rn]))}(n))}(n),DB((kT(),dat),n,new Ks),Prn(n),zG(uat,HRn,n),n)}function Bk(){Bk=O,Ict=h0()}function Hk(){throw fp(new Dp)}function qk(){throw fp(new Dp)}function Gk(){throw fp(new Dp)}function zk(){throw fp(new Dp)}function Uk(){throw fp(new Dp)}function Xk(){throw fp(new Dp)}function Wk(n){this.a=new jE(n)}function Vk(n){Tkn(),function(n,t){var e,i,r,c,a,u,o,s;if(e=0,a=0,c=t.length,u=null,s=new Ly,a1?Uz(zK(t.a[1],32),zz(t.a[0],oMn)):zz(t.a[0],oMn),QU(i7(t.e,e))))}(n,new CC(o));for(n.d=s.a.length,r=0;r0}(Jx(n,33))?_A(i,(Ytn(),T7n))||_A(i,M7n):_A(i,(Ytn(),T7n));if(OO(n,352))return _A(i,(Ytn(),j7n));if(OO(n,186))return _A(i,(Ytn(),S7n));if(OO(n,354))return _A(i,(Ytn(),E7n))}return!0}(n,t)}function oj(n,t,e){n.splice(t,e)}function sj(n){n.c?vdn(n):mdn(n)}function hj(n){this.a=0,this.b=n}function fj(){this.a=new Xbn(v6n)}function lj(){this.b=new Xbn(r5n)}function bj(){this.b=new Xbn(s9n)}function wj(){this.b=new Xbn(s9n)}function dj(){throw fp(new Dp)}function gj(){throw fp(new Dp)}function pj(){throw fp(new Dp)}function vj(){throw fp(new Dp)}function mj(){throw fp(new Dp)}function yj(){throw fp(new Dp)}function kj(){throw fp(new Dp)}function jj(){throw fp(new Dp)}function Ej(){throw fp(new Dp)}function Tj(){throw fp(new Dp)}function Mj(n){this.a=new Sj(n)}function Sj(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512==(512&n.a)?new nm:new Dh,n.c=function(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,16==(16&n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Ay,c=0;ct&&t0)){if(c=-1,32==WB(f.c,0)){if(l=h[0],ZJ(t,h),h[0]>l)continue}else if(Kq(t,f.c,h[0])){h[0]+=f.c.length;continue}return 0}if(c<0&&f.a&&(c=s,a=h[0],r=0),c>=0){if(o=f.b,s==c&&0==(o-=r++))return 0;if(!Nkn(t,h,f,o,u)){s=c-1,h[0]=a;continue}}else if(c=-1,!Nkn(t,h,f,0,u))return 0}return function(n,t){var i,r,c,a,u,o;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>tTn&&ZX(t,n.p-MTn),u=t.q.getDate(),yG(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Cvn(n,e)}(t,n.k),n.c>=0?yG(t,n.c):n.k>=0?(r=35-new k5(t.q.getFullYear()-MTn,t.q.getMonth(),35).q.getDate(),yG(t,e.Math.min(r,u))):yG(t,u),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),Cvn(n,t)}(t,24==n.f&&n.g?0:n.f),n.j>=0&&function(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),Cvn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),Cvn(n,e)}(t,n.n),n.i>=0&&MI(t,e7(i7(Hcn(R3(t.q.getTime()),fTn),fTn),n.i)),n.a&&(ZX(c=new oE,c.q.getFullYear()-MTn-80),NT(R3(t.q.getTime()),R3(c.q.getTime()))&&ZX(t,c.q.getFullYear()-MTn+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-t.q.getDay())%7)>3&&(i-=7),o=t.q.getMonth(),yG(t,t.q.getDate()+i),t.q.getMonth()!=o&&yG(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>tTn&&(a=t.q.getTimezoneOffset(),MI(t,e7(R3(t.q.getTime()),60*(n.o-a)*fTn))),!0}(u,i)?h[0]:0}(n,t,c=new k5((r=new oE).q.getFullYear()-MTn,r.q.getMonth(),r.q.getDate())))||i0}function NT(n,t){return j8(n,t)<0}function xT(n,t){return n.a.get(t)}function DT(n,t){return I_(n.e,t)}function RT(n){return mB(n),!1}function KT(n){xz.call(this,n,21)}function _T(n,t){mG.call(this,n,t)}function FT(n,t){Xj.call(this,n,t)}function BT(n,t){Xj.call(this,n,t)}function HT(n){YF(),rx.call(this,n)}function qT(n,t){tK(n,n.length,t)}function GT(n,t){aF(n,n.length,t)}function zT(n,t,e){n.splice(t,0,e)}function UT(n,t){this.d=n,this.e=t}function XT(n,t){this.b=n,this.a=t}function WT(n,t){this.b=n,this.a=t}function VT(n,t){this.b=n,this.a=t}function QT(n,t){this.a=n,this.b=t}function YT(n,t){this.a=n,this.b=t}function JT(n,t){this.a=n,this.b=t}function ZT(n,t){this.a=n,this.b=t}function nM(n,t){this.a=n,this.b=t}function tM(n,t){this.b=n,this.a=t}function eM(n,t){this.b=n,this.a=t}function iM(n,t){Xj.call(this,n,t)}function rM(n,t){Xj.call(this,n,t)}function cM(n,t){Xj.call(this,n,t)}function aM(n,t){Xj.call(this,n,t)}function uM(n,t){Xj.call(this,n,t)}function oM(n,t){Xj.call(this,n,t)}function sM(n,t){Xj.call(this,n,t)}function hM(n,t){Xj.call(this,n,t)}function fM(n,t){Xj.call(this,n,t)}function lM(n,t){Xj.call(this,n,t)}function bM(n,t){Xj.call(this,n,t)}function wM(n,t){Xj.call(this,n,t)}function dM(n,t){Xj.call(this,n,t)}function gM(n,t){Xj.call(this,n,t)}function pM(n,t){Xj.call(this,n,t)}function vM(n,t){Xj.call(this,n,t)}function mM(n,t){Xj.call(this,n,t)}function yM(n,t){Xj.call(this,n,t)}function kM(n,t){this.a=n,this.b=t}function jM(n,t){this.a=n,this.b=t}function EM(n,t){this.a=n,this.b=t}function TM(n,t){this.a=n,this.b=t}function MM(n,t){this.a=n,this.b=t}function SM(n,t){this.a=n,this.b=t}function PM(n,t){this.a=n,this.b=t}function IM(n,t){this.a=n,this.b=t}function CM(n,t){this.a=n,this.b=t}function OM(n,t){this.b=n,this.a=t}function AM(n,t){this.b=n,this.a=t}function $M(n,t){this.b=n,this.a=t}function LM(n,t){this.b=n,this.a=t}function NM(n,t){this.c=n,this.d=t}function xM(n,t){this.e=n,this.d=t}function DM(n,t){this.a=n,this.b=t}function RM(n,t){this.b=t,this.c=n}function KM(n,t){Xj.call(this,n,t)}function _M(n,t){Xj.call(this,n,t)}function FM(n,t){Xj.call(this,n,t)}function BM(n,t){Xj.call(this,n,t)}function HM(n,t){Xj.call(this,n,t)}function qM(n,t){Xj.call(this,n,t)}function GM(n,t){Xj.call(this,n,t)}function zM(n,t){Xj.call(this,n,t)}function UM(n,t){Xj.call(this,n,t)}function XM(n,t){Xj.call(this,n,t)}function WM(n,t){Xj.call(this,n,t)}function VM(n,t){Xj.call(this,n,t)}function QM(n,t){Xj.call(this,n,t)}function YM(n,t){Xj.call(this,n,t)}function JM(n,t){Xj.call(this,n,t)}function ZM(n,t){Xj.call(this,n,t)}function nS(n,t){Xj.call(this,n,t)}function tS(n,t){Xj.call(this,n,t)}function eS(n,t){Xj.call(this,n,t)}function iS(n,t){Xj.call(this,n,t)}function rS(n,t){Xj.call(this,n,t)}function cS(n,t){Xj.call(this,n,t)}function aS(n,t){Xj.call(this,n,t)}function uS(n,t){Xj.call(this,n,t)}function oS(n,t){Xj.call(this,n,t)}function sS(n,t){Xj.call(this,n,t)}function hS(n,t){Xj.call(this,n,t)}function fS(n,t){Xj.call(this,n,t)}function lS(n,t){Xj.call(this,n,t)}function bS(n,t){Xj.call(this,n,t)}function wS(n,t){Xj.call(this,n,t)}function dS(n,t){Xj.call(this,n,t)}function gS(n,t){Xj.call(this,n,t)}function pS(n,t){Xj.call(this,n,t)}function vS(n,t){this.b=n,this.a=t}function mS(n,t){this.a=n,this.b=t}function yS(n,t){this.a=n,this.b=t}function kS(n,t){this.a=n,this.b=t}function jS(n,t){this.a=n,this.b=t}function ES(n,t){Xj.call(this,n,t)}function TS(n,t){Xj.call(this,n,t)}function MS(n,t){this.b=n,this.d=t}function SS(n,t){Xj.call(this,n,t)}function PS(n,t){Xj.call(this,n,t)}function IS(n,t){this.a=n,this.b=t}function CS(n,t){this.a=n,this.b=t}function OS(n,t){Xj.call(this,n,t)}function AS(n,t){Xj.call(this,n,t)}function $S(n,t){Xj.call(this,n,t)}function LS(n,t){Xj.call(this,n,t)}function NS(n,t){Xj.call(this,n,t)}function xS(n,t){Xj.call(this,n,t)}function DS(n,t){Xj.call(this,n,t)}function RS(n,t){Xj.call(this,n,t)}function KS(n,t){Xj.call(this,n,t)}function _S(n,t){Xj.call(this,n,t)}function FS(n,t){Xj.call(this,n,t)}function BS(n,t){Xj.call(this,n,t)}function HS(n,t){Xj.call(this,n,t)}function qS(n,t){Xj.call(this,n,t)}function GS(n,t){Xj.call(this,n,t)}function zS(n,t){Xj.call(this,n,t)}function US(n,t){return _A(n.g,t)}function XS(n,t){Xj.call(this,n,t)}function WS(n,t){Xj.call(this,n,t)}function VS(n,t){this.a=n,this.b=t}function QS(n,t){this.a=n,this.b=t}function YS(n,t){this.a=n,this.b=t}function JS(n,t){Xj.call(this,n,t)}function ZS(n,t){Xj.call(this,n,t)}function nP(n,t){Xj.call(this,n,t)}function tP(n,t){Xj.call(this,n,t)}function eP(n,t){Xj.call(this,n,t)}function iP(n,t){Xj.call(this,n,t)}function rP(n,t){Xj.call(this,n,t)}function cP(n,t){Xj.call(this,n,t)}function aP(n,t){Xj.call(this,n,t)}function uP(n,t){Xj.call(this,n,t)}function oP(n,t){Xj.call(this,n,t)}function sP(n,t){Xj.call(this,n,t)}function hP(n,t){Xj.call(this,n,t)}function fP(n,t){Xj.call(this,n,t)}function lP(n,t){Xj.call(this,n,t)}function bP(n,t){Xj.call(this,n,t)}function wP(n,t){this.a=n,this.b=t}function dP(n,t){this.a=n,this.b=t}function gP(n,t){this.a=n,this.b=t}function pP(n,t){this.a=n,this.b=t}function vP(n,t){this.a=n,this.b=t}function mP(n,t){this.a=n,this.b=t}function yP(n,t){this.a=n,this.b=t}function kP(n,t){Xj.call(this,n,t)}function jP(n,t){this.a=n,this.b=t}function EP(n,t){this.a=n,this.b=t}function TP(n,t){this.a=n,this.b=t}function MP(n,t){this.a=n,this.b=t}function SP(n,t){this.a=n,this.b=t}function PP(n,t){this.a=n,this.b=t}function IP(n,t){this.b=n,this.a=t}function CP(n,t){this.b=n,this.a=t}function OP(n,t){this.b=n,this.a=t}function AP(n,t){this.b=n,this.a=t}function $P(n,t){this.a=n,this.b=t}function LP(n,t){this.a=n,this.b=t}function NP(n,t){!function(n,t){if(OO(t,239))return function(n,t){var e;if(null==(e=p1(n.i,t)))throw fp(new fy("Node did not exist in input."));return l3(t,e),null}(n,Jx(t,33));if(OO(t,186))return function(n,t){var e;if(null==(e=HF(n.k,t)))throw fp(new fy("Port did not exist in input."));return l3(t,e),null}(n,Jx(t,118));if(OO(t,354))return function(n,t){return l3(t,HF(n.f,t)),null}(n,Jx(t,137));if(OO(t,352))return function(n,t){var e,i,r,c,a,u;if(!(a=Jx(HF(n.c,t),183)))throw fp(new fy("Edge did not exist in input."));return i=rtn(a),!Pj((!t.a&&(t.a=new y_(ect,t,6,6)),t.a))&&(e=new Kx(n,i,u=new Sl),function(n,t){!function(n,t){var e;for(e=0;n.e!=n.i.gc();)hR(t,fen(n),g9(e)),e!=Jjn&&++e}(new XO(n),t)}((!t.a&&(t.a=new y_(ect,t,6,6)),t.a),e),AZ(a,YNn,u)),UQ(t,(Ojn(),znt))&&!(!(r=Jx(Eln(t,znt),74))||dB(r))&&(WW(r,new yg(c=new Sl)),AZ(a,"junctionPoints",c)),xD(a,"container",TG(t).k),null}(n,Jx(t,79));if(t)return null;throw fp(new Ym(uxn+zun(new uy(D4(zy(XKn,1),rEn,1,5,[t])))))}(n.a,Jx(t,56))}function xP(n,t){!function(n,t){gD(),iD(n,new yP(t,g9(t.e.c.length+t.g.c.length)))}(n.a,Jx(t,11))}function DP(){return By(),new DFn}function RP(){bz(),this.b=new Yp}function KP(){kwn(),this.a=new Yp}function _P(){oz(),dK.call(this)}function FP(n,t){Xj.call(this,n,t)}function BP(n,t){this.a=n,this.b=t}function HP(n,t){this.a=n,this.b=t}function qP(n,t){this.a=n,this.b=t}function GP(n,t){this.a=n,this.b=t}function zP(n,t){this.a=n,this.b=t}function UP(n,t){this.a=n,this.b=t}function XP(n,t){this.d=n,this.b=t}function WP(n,t){this.d=n,this.e=t}function VP(n,t){this.f=n,this.c=t}function QP(n,t){this.b=n,this.c=t}function YP(n,t){this.i=n,this.g=t}function JP(n,t){this.e=n,this.a=t}function ZP(n,t){this.a=n,this.b=t}function nI(n,t){n.i=null,Z0(n,t)}function tI(n,t){return ynn(n.a,t)}function eI(n){return jnn(n.c,n.b)}function iI(n){return n?n.dd():null}function rI(n){return null==n?null:n}function cI(n){return typeof n===Wjn}function aI(n){return typeof n===Vjn}function uI(n){return typeof n===Qjn}function oI(n,t){return n.Hd().Xb(t)}function sI(n,t){return function(n,t){for(SF(t);n.Ob();)if(!l4(Jx(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function hI(n,t){return 0==j8(n,t)}function fI(n,t){return 0!=j8(n,t)}function lI(n){return""+(mB(n),n)}function bI(n,t){return n.substr(t)}function wI(n){return $7(n),n.d.gc()}function dI(n){return function(n,t){var e,i,r;for(e=new pb(n.a.a);e.at?1:0}function rO(n,t){return j8(n,t)>0?n:t}function cO(n,t,e){return{l:n,m:t,h:e}}function aO(n,t){null!=n.a&&xP(t,n.a)}function uO(n){n.a=new $,n.c=new $}function oO(n){this.b=n,this.a=new rp}function sO(n){this.b=new et,this.a=n}function hO(n){sN.call(this),this.a=n}function fO(){FT.call(this,"Range",2)}function lO(){Scn(),this.a=new Xbn(uzn)}function bO(n,t,e){return Bnn(t,e,n.c)}function wO(n){return new YS(n.c,n.d)}function dO(n){return new YS(n.c,n.d)}function gO(n){return new YS(n.a,n.b)}function pO(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f;for(!e&&(e=function(n){var t;return(t=new p).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+WJ(n))}(n),t.c=QQ(lFn,MEn,2,2,6,1),t.c[0]=$2(n),t.c[1]=$2(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),o=u=new wL(e7(R3(t.q.getTime()),r)),u.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,o=new wL(e7(R3(t.q.getTime()),r))),h=new Ly,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw fp(new Ym("Missing trailing '"));a+11)throw fp(new Ym(zRn));for(h=gwn(n.e.Tg(),t),i=Jx(n.g,119),a=0;a0),c=Jx(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,P$(s.b>0),c=Jx(s.a.Xb(s.c=--s.b),17);s.b>0&&fB(s)}}(n,t,e),e}function LO(n,t,e){n.a=1502^t,n.b=e^jMn}function NO(n,t,e){return n.a[t.g][e.g]}function xO(n,t){return n.a[t.c.p][t.p]}function DO(n,t){return n.e[t.c.p][t.p]}function RO(n,t){return n.c[t.c.p][t.p]}function KO(n,t){return n.j[t.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new pb(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(t)}function _O(n,t){return n.a*=t,n.b*=t,n}function FO(n,t,e){return RF(n.g,t,e),e}function BO(n){n.a=Jx(q3(n.b.a,4),126)}function HO(n){n.a=Jx(q3(n.b.a,4),126)}function qO(n){Dq(n,mxn),Pbn(n,function(n){var t,e,i,r,c;switch(Dq(n,mxn),(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i+(!n.c&&(n.c=new $N(nct,n,5,8)),n.c).i){case 0:throw fp(new Ym("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i?CG(run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))):CG(run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new $N(nct,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new $N(nct,n,5,8)),n.c).i){if(r=run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)),c=run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82)),CG(r)==CG(c))return CG(r);if(r==CG(c))return r;if(c==CG(r))return c}for(t=run(Jx(jV(i=V_(t0(D4(zy(YKn,1),rEn,20,0,[(!n.b&&(n.b=new $N(nct,n,4,7)),n.b),(!n.c&&(n.c=new $N(nct,n,5,8)),n.c)])))),82));Qfn(i);)if((e=run(Jx(jV(i),82)))!=t&&!WZ(e,t))if(CG(e)==CG(t))t=CG(e);else if(!(t=Xln(t,e)))return null;return t}(n))}function GO(){GO=O,BFn=new $m(null)}function zO(){(zO=O)(),XFn=new z}function UO(){this.Bb|=256,this.Bb|=512}function XO(n){this.i=n,this.f=this.i.j}function WO(n,t,e){MD.call(this,n,t,e)}function VO(n,t,e){WO.call(this,n,t,e)}function QO(n,t,e){WO.call(this,n,t,e)}function YO(n,t,e){VO.call(this,n,t,e)}function JO(n,t,e){MD.call(this,n,t,e)}function ZO(n,t,e){MD.call(this,n,t,e)}function nA(n,t,e){OD.call(this,n,t,e)}function tA(n,t,e){OD.call(this,n,t,e)}function eA(n,t,e){nA.call(this,n,t,e)}function iA(n,t,e){JO.call(this,n,t,e)}function rA(n,t){this.a=n,iE.call(this,t)}function cA(n,t){this.a=n,gy.call(this,t)}function aA(n,t){this.a=n,gy.call(this,t)}function uA(n,t){this.a=n,gy.call(this,t)}function oA(n){this.a=n,ol.call(this,n.d)}function sA(n){this.c=n,this.a=this.c.a}function hA(n,t){this.a=t,gy.call(this,n)}function fA(n,t){this.a=t,fW.call(this,n)}function lA(n,t){this.a=n,fW.call(this,t)}function bA(n,t){return function(n,t,e){try{!function(n,t,e){if(SF(t),e.Ob())for(jI(t,LF(e.Pb()));e.Ob();)jI(t,n.a),jI(t,LF(e.Pb()))}(n,t,e)}catch(n){throw OO(n=E4(n),597)?fp(new iV(n)):fp(n)}return t}(n,new $y,t).a}function wA(n,t){return SF(t),new dA(n,t)}function dA(n,t){this.a=t,uE.call(this,n)}function gA(n){this.b=n,this.a=this.b.a.e}function pA(n){n.b.Qb(),--n.d.f.d,sK(n.d)}function vA(n){Zf.call(this,Jx(SF(n),35))}function mA(n){Zf.call(this,Jx(SF(n),35))}function yA(){Xj.call(this,"INSTANCE",0)}function kA(n){if(!n)throw fp(new Lp)}function jA(n){if(!n)throw fp(new Np)}function EA(n){if(!n)throw fp(new _p)}function TA(){TA=O,TT(),kut=new Kf}function MA(){MA=O,L_n=!1,N_n=!0}function SA(n){nb.call(this,(mB(n),n))}function PA(n){nb.call(this,(mB(n),n))}function IA(n){fb.call(this,n),this.a=n}function CA(n){lb.call(this,n),this.a=n}function OA(n){xy.call(this,n),this.a=n}function AA(){EO(this),GH(this),this._d()}function $A(n,t){this.a=t,uE.call(this,n)}function LA(n,t){return new Esn(n.a,n.b,t)}function NA(n,t){return n.lastIndexOf(t)}function xA(n,t,e){return n.indexOf(t,e)}function DA(n){return null==n?uEn:C7(n)}function RA(n){return null!=n.a?n.a:null}function KA(n,t){return null!=lG(n.a,t)}function _A(n,t){return!!t&&n.b[t.g]==t}function FA(n){return n.$H||(n.$H=++yBn)}function BA(n,t){return iD(t.a,n.a),n.a}function HA(n,t){return iD(t.b,n.a),n.a}function qA(n,t){return iD(t.a,n.a),n.a}function GA(n){return P$(null!=n.a),n.a}function zA(n){Mb.call(this,new eY(n))}function UA(n,t){Ttn.call(this,n,t,null)}function XA(n){this.a=n,hb.call(this,n)}function WA(){WA=O,WHn=new FL(ASn,0)}function VA(n,t){return++n.b,iD(n.a,t)}function QA(n,t){return++n.b,oJ(n.a,t)}function YA(n,t){return Jx(FV(n.b,t),15)}function JA(n){return nO(n.a)||nO(n.b)}function ZA(n,t,e){return LX(n,t,e,n.c)}function n$(n,t,e){Jx(EJ(n,t),21).Fc(e)}function t$(n,t){jT(),this.a=n,this.b=t}function e$(n,t){ET(),this.b=n,this.c=t}function i$(n,t){pK(),this.f=t,this.d=n}function r$(n,t){GV(t,n),this.d=n,this.c=t}function c$(n){var t;t=n.a,n.a=n.b,n.b=t}function a$(n,t){return new xN(n,n.gc(),t)}function u$(n){this.d=n,XO.call(this,n)}function o$(n){this.c=n,XO.call(this,n)}function s$(n){this.c=n,u$.call(this,n)}function h$(){ZE(),this.b=new qw(this)}function f$(n){return p0(n,XEn),new vQ(n)}function l$(n){return Lq(),parseInt(n)||-1}function b$(n,t,e){return n.substr(t,e-t)}function w$(n,t,e){return xA(n,pun(t),e)}function d$(n){return cF(n.c,n.c.length)}function g$(n){return null!=n.f?n.f:""+n.g}function p$(n){return P$(0!=n.b),n.a.a.c}function v$(n){return P$(0!=n.b),n.c.b.c}function m$(n){OO(n,150)&&Jx(n,150).Gh()}function y$(n){return n.b=Jx(BH(n.a),42)}function k$(n){KE(),this.b=n,this.a=!0}function j$(n){_E(),this.b=n,this.a=!0}function E$(n){n.d=new I$(n),n.e=new cp}function T$(n){if(!n)throw fp(new Rp)}function M$(n){if(!n)throw fp(new Lp)}function S$(n){if(!n)throw fp(new Np)}function P$(n){if(!n)throw fp(new _p)}function I$(n){sD.call(this,n,null,null)}function C$(){Xj.call(this,"POLYOMINO",0)}function O$(n,t,e,i){NK.call(this,n,t,e,i)}function A$(n,t){return!!n.q&&I_(n.q,t)}function $$(n,t,e){n.Zc(t).Rb(e)}function L$(n,t,e){return n.a+=t,n.b+=e,n}function N$(n,t,e){return n.a*=t,n.b*=e,n}function x$(n,t,e){return n.a-=t,n.b-=e,n}function D$(n,t){return n.a=t.a,n.b=t.b,n}function R$(n){return n.a=-n.a,n.b=-n.b,n}function K$(n){this.c=n,this.a=1,this.b=1}function _$(n){this.c=n,N1(n,0),x1(n,0)}function F$(n){SE.call(this),c0(this,n)}function B$(n){bjn(),hp(this),this.mf(n)}function H$(n,t){jT(),t$.call(this,n,t)}function q$(n,t){ET(),e$.call(this,n,t)}function G$(n,t){ET(),e$.call(this,n,t)}function z$(n,t){ET(),q$.call(this,n,t)}function U$(n,t,e){kY.call(this,n,t,e,2)}function X$(n,t){VC(),_R.call(this,n,t)}function W$(n,t){VC(),X$.call(this,n,t)}function V$(n,t){VC(),X$.call(this,n,t)}function Q$(n,t){VC(),V$.call(this,n,t)}function Y$(n,t){VC(),_R.call(this,n,t)}function J$(n,t){VC(),Y$.call(this,n,t)}function Z$(n,t){VC(),_R.call(this,n,t)}function nL(n,t,e){return Cmn(PJ(n,t),e)}function tL(n,t){return I8(n.e,Jx(t,49))}function eL(n,t){t.$modCount=n.$modCount}function iL(){iL=O,h6n=new Ag("root")}function rL(){rL=O,Lct=new Kv,new _v}function cL(){this.a=new nG,this.b=new nG}function aL(){M0.call(this),this.Bb|=iMn}function uL(){Xj.call(this,"GROW_TREE",0)}function oL(n){return null==n?null:function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(Zpn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=QQ(Wot,hTn,25,4*(0!=(u=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,o=0;o>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,d=0==(-128&(i=n[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=fot[b],c[a++]=fot[w|s<<4],c[a++]=fot[h<<2|d],c[a++]=fot[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=fot[b],c[a++]=fot[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=fot[b],c[a++]=fot[w|s<<4],c[a++]=fot[h<<2],c[a++]=61),Qnn(c,0,c.length)}(n)}function sL(n){return null==n?null:function(n){var t,e,i,r;if(jdn(),null==n)return null;for(i=n.length,t=QQ(Wot,hTn,25,2*i,15,1),e=0;e>4],t[2*e+1]=bot[15&r];return Qnn(t,0,t.length)}(n)}function hL(n){null==n.o&&function(n){if(n.pe()){var t=n.c;return t.qe()?n.o="["+t.n:t.pe()?n.o="["+t.ne():n.o="[L"+t.ne()+";",n.b=t.me()+"[]",void(n.k=t.oe()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=Vnn(".",[e,Vnn("$",i)]),n.b=Vnn(".",[e,Vnn(".",i)]),n.k=i[i.length-1]}(n)}function fL(n){return YD(null==n||cI(n)),n}function lL(n){return YD(null==n||aI(n)),n}function bL(n){return YD(null==n||uI(n)),n}function wL(n){this.q=new e.Date(QU(n))}function dL(n,t){this.c=n,Wj.call(this,n,t)}function gL(n,t){this.a=n,dL.call(this,n,t)}function pL(n,t){this.d=n,Wl(this),this.b=t}function vL(n,t){nY.call(this,n),this.a=t}function mL(n,t){nY.call(this,n),this.a=t}function yL(n){fnn.call(this,0,0),this.f=n}function kL(n,t,e){gQ.call(this,n,t,e,null)}function jL(n,t,e){gQ.call(this,n,t,e,null)}function EL(n,t){return Jx(XJ(n.b,t),149)}function TL(n,t){return Jx(XJ(n.c,t),229)}function ML(n){return Jx(MR(n.a,n.b),287)}function SL(n){return new YS(n.c,n.d+n.a)}function PL(n){return fz(),dC(Jx(n,197))}function IL(){IL=O,XHn=Z9(($nn(),trt))}function CL(n,t){t.a?function(n,t){var e,i,r;if(!oF(n.a,t.b))throw fp(new Jm("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new sb(new pN(new XA(new ob(n.a.a).a).b));AT(i.a.a);)if(e=Jx(y$(i.a).cd(),65),o5(t.b,e))mk(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):KA(n.a,t.b)}function OL(n,t){fBn||iD(n.a,t)}function AL(n,t){return Dq(t,ESn),n.f=t,n}function $L(n,t,e){return spn(n,t,3,e)}function LL(n,t,e){return spn(n,t,6,e)}function NL(n,t,e){return spn(n,t,9,e)}function xL(n,t,e){++n.j,n.Ki(),WQ(n,t,e)}function DL(n,t,e){++n.j,n.Hi(t,n.oi(t,e))}function RL(n,t,e){n.Zc(t).Rb(e)}function KL(n,t,e){return cmn(n.c,n.b,t,e)}function _L(n,t){return(t&Jjn)%n.d.length}function FL(n,t){Ag.call(this,n),this.a=t}function BL(n,t){zg.call(this,n),this.a=t}function HL(n,t){zg.call(this,n),this.a=t}function qL(n,t){this.c=n,BZ.call(this,t)}function GL(n,t){this.a=n,Gg.call(this,t)}function zL(n,t){this.a=n,Gg.call(this,t)}function UL(n){this.a=(p0(n,XEn),new vQ(n))}function XL(n){this.a=(p0(n,XEn),new vQ(n))}function WL(n){return!n.a&&(n.a=new w),n.a}function VL(n){return n>8?0:n+1}function QL(n,t,e){return JR(n,Jx(t,22),e)}function YL(n,t,e){return n.a+=Qnn(t,0,e),n}function JL(n,t){var e;return e=n.e,n.e=t,e}function ZL(n,t){n[mMn].call(n,t)}function nN(n,t){n.a.Vc(n.b,t),++n.b,n.c=-1}function tN(n){X_(n.e),n.d.b=n.d,n.d.a=n.d}function eN(n){n.b?eN(n.b):n.f.c.zc(n.e,n.d)}function iN(n,t){return Gy(new Array(t),n)}function rN(n){return String.fromCharCode(n)}function cN(){this.a=new rp,this.b=new rp}function aN(){this.a=new bt,this.b=new qp}function uN(){this.b=new Ik,this.c=new rp}function oN(){this.d=new Ik,this.e=new Ik}function sN(){this.n=new Ik,this.o=new Ik}function hN(){this.n=new Pv,this.i=new fC}function fN(){this.a=new Jh,this.b=new uc}function lN(){this.a=new rp,this.d=new rp}function bN(){this.b=new Yp,this.a=new Yp}function wN(){this.b=new cp,this.a=new cp}function dN(){this.b=new lj,this.a=new da}function gN(){hN.call(this),this.a=new Ik}function pN(n){Y3.call(this,n,(qY(),VFn))}function vN(n,t,e,i){BR.call(this,n,t,e,i)}function mN(n,t,e){return spn(n,t,11,e)}function yN(n,t){return n.a+=t.a,n.b+=t.b,n}function kN(n,t){return n.a-=t.a,n.b-=t.b,n}function jN(n,t){return null==DB(n.a,t,"")}function EN(n,t){qm.call(this,vDn+n+Txn+t)}function TN(n,t,e,i){y_.call(this,n,t,e,i)}function MN(n,t,e,i){y_.call(this,n,t,e,i)}function SN(n,t,e,i){MN.call(this,n,t,e,i)}function PN(n,t,e,i){k_.call(this,n,t,e,i)}function IN(n,t,e,i){k_.call(this,n,t,e,i)}function CN(n,t,e,i){k_.call(this,n,t,e,i)}function ON(n,t,e,i){IN.call(this,n,t,e,i)}function AN(n,t,e,i){IN.call(this,n,t,e,i)}function $N(n,t,e,i){CN.call(this,n,t,e,i)}function LN(n,t,e,i){AN.call(this,n,t,e,i)}function NN(n,t,e,i){p_.call(this,n,t,e,i)}function xN(n,t,e){this.a=n,r$.call(this,t,e)}function DN(n,t,e){this.c=t,this.b=e,this.a=n}function RN(n,t){return n.Aj().Nh().Kh(n,t)}function KN(n,t){return n.Aj().Nh().Ih(n,t)}function _N(n,t){return mB(n),rI(n)===rI(t)}function FN(n,t){return mB(n),rI(n)===rI(t)}function BN(n,t){return Lk(Rnn(n.a,t,!1))}function HN(n,t){return Lk(Knn(n.a,t,!1))}function qN(n,t){return n.b.sd(new ZT(n,t))}function GN(n,t,e){return n.lastIndexOf(t,e)}function zN(n){return n.c?fJ(n.c.a,n,0):-1}function UN(n){return n==oit||n==hit||n==sit}function XN(n,t){return OO(t,15)&&Idn(n.c,t)}function WN(n,t){return!!a6(n,t)}function VN(n,t){this.c=n,nF.call(this,n,t)}function QN(n){this.c=n,II.call(this,CEn,0)}function YN(n,t){uD.call(this,n,n.length,t)}function JN(n,t,e){return Jx(n.c,69).mk(t,e)}function ZN(n,t,e){return function(n,t,e){return t.Rk(n.e,n.c,e)}(n,Jx(t,332),e)}function nx(n,t,e){return function(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?_q(n,4,i,c,null,Lvn(n,i,c,OO(i,99)&&0!=(Jx(i,18).Bb&iMn)),!0):_q(n,i.Kj()?2:1,i,c,i.zj(),-1,!0),e?e.Ei(r):e=r,e}(n,Jx(t,332),e)}function tx(n,t){return null==t?null:D8(n.b,t)}function ex(n){return aI(n)?(mB(n),n):n.ke()}function ix(n){return!isNaN(n)&&!isFinite(n)}function rx(n){vx(),this.a=(WH(),new xy(n))}function cx(n){gD(),this.d=n,this.a=new ip}function ax(n,t,e){this.a=n,this.b=t,this.c=e}function ux(n,t,e){this.a=n,this.b=t,this.c=e}function ox(n,t,e){this.d=n,this.b=e,this.a=t}function sx(n){uO(this),HH(this),O2(this,n)}function hx(n){$C(this),hD(this.c,0,n.Pc())}function fx(n){fB(n.a),rY(n.c,n.b),n.b=null}function lx(n){this.a=n,sE(),R3(Date.now())}function bx(){bx=O,vBn=new r,mBn=new r}function wx(){wx=O,_Fn=new L,FFn=new N}function dx(){dx=O,Oct=QQ(XKn,rEn,1,0,5,1)}function gx(){gx=O,Bat=QQ(XKn,rEn,1,0,5,1)}function px(){px=O,Hat=QQ(XKn,rEn,1,0,5,1)}function vx(){vx=O,new Ep((WH(),WH(),MFn))}function mx(n,t){if(!n)throw fp(new Ym(t))}function yx(n){BR.call(this,n.d,n.c,n.a,n.b)}function kx(n){BR.call(this,n.d,n.c,n.a,n.b)}function jx(n,t,e){this.b=n,this.c=t,this.a=e}function Ex(n,t,e){this.b=n,this.a=t,this.c=e}function Tx(n,t,e){this.a=n,this.b=t,this.c=e}function Mx(n,t,e){this.a=n,this.b=t,this.c=e}function Sx(n,t,e){this.a=n,this.b=t,this.c=e}function Px(n,t,e){this.a=n,this.b=t,this.c=e}function Ix(n,t,e){this.b=n,this.a=t,this.c=e}function Cx(n,t,e){this.e=t,this.b=n,this.d=e}function Ox(n){var t;return(t=new jn).e=n,t}function Ax(n){var t;return(t=new bv).b=n,t}function $x(){$x=O,uUn=new Ne,oUn=new xe}function Lx(){Lx=O,OXn=new vr,AXn=new mr}function Nx(n,t){this.c=n,this.a=t,this.b=t-n}function xx(n,t,e){this.a=n,this.b=t,this.c=e}function Dx(n,t,e){this.a=n,this.b=t,this.c=e}function Rx(n,t,e){this.a=n,this.b=t,this.c=e}function Kx(n,t,e){this.a=n,this.b=t,this.c=e}function _x(n,t,e){this.a=n,this.b=t,this.c=e}function Fx(n,t,e){this.e=n,this.a=t,this.c=e}function Bx(n,t,e){VC(),eG.call(this,n,t,e)}function Hx(n,t,e){VC(),rB.call(this,n,t,e)}function qx(n,t,e){VC(),rB.call(this,n,t,e)}function Gx(n,t,e){VC(),rB.call(this,n,t,e)}function zx(n,t,e){VC(),Hx.call(this,n,t,e)}function Ux(n,t,e){VC(),Hx.call(this,n,t,e)}function Xx(n,t,e){VC(),Ux.call(this,n,t,e)}function Wx(n,t,e){VC(),qx.call(this,n,t,e)}function Vx(n,t,e){VC(),Gx.call(this,n,t,e)}function Qx(n,t){return SF(n),SF(t),new Bj(n,t)}function Yx(n,t){return SF(n),SF(t),new HD(n,t)}function Jx(n,t){return YD(null==n||Aen(n,t)),n}function Zx(n){var t;return UJ(t=new rp,n),t}function nD(n){var t;return L2(t=new cv,n),t}function tD(n){var t;return L2(t=new SE,n),t}function eD(n){return!n.e&&(n.e=new rp),n.e}function iD(n,t){return n.c[n.c.length]=t,!0}function rD(n,t){this.c=n,this.b=t,this.a=!1}function cD(n){this.d=n,Wl(this),this.b=function(n){return OO(n,15)?Jx(n,15).Yc():n.Kc()}(n.d)}function aD(){this.a=";,;",this.b="",this.c=""}function uD(n,t,e){h_.call(this,t,e),this.a=n}function oD(n,t,e){this.b=n,SI.call(this,t,e)}function sD(n,t,e){this.c=n,UT.call(this,t,e)}function hD(n,t,e){fhn(e,0,n,t,e.length,!1)}function fD(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function lD(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function bD(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function wD(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function dD(n){return L3(function(n){return cO(~n.l&HTn,~n.m&HTn,~n.h&qTn)}(eC(n)?V3(n):n))}function gD(){gD=O,Ckn(),J3n=Git,Z3n=Tit}function pD(){this.b=ey(lL(sen((Hdn(),kGn))))}function vD(n){return qE(),QQ(XKn,rEn,1,n,5,1)}function mD(n){return new YS(n.c+n.b,n.d+n.a)}function yD(n){return P$(0!=n.b),QZ(n,n.a.a)}function kD(n){return P$(0!=n.b),QZ(n,n.c.b)}function jD(n,t){if(!n)throw fp(new Gm(t))}function ED(n,t){if(!n)throw fp(new Ym(t))}function TD(n,t,e){NM.call(this,n,t),this.b=e}function MD(n,t,e){WP.call(this,n,t),this.c=e}function SD(n,t,e){KZ.call(this,t,e),this.d=n}function PD(n){px(),yo.call(this),this.th(n)}function ID(n,t,e){this.a=n,qI.call(this,t,e)}function CD(n,t,e){this.a=n,qI.call(this,t,e)}function OD(n,t,e){WP.call(this,n,t),this.c=e}function AD(){dV(),oB.call(this,(yT(),uat))}function $D(n){return null!=n&&!L7(n,Vct,Qct)}function LD(n,t){return(o9(n)<<4|o9(t))&lTn}function ND(n,t){var e;n.n&&(e=t,iD(n.f,e))}function xD(n,t,e){AZ(n,t,new UF(e))}function DD(n,t){return n.g=t<0?-1:t,n}function RD(n,t){return function(n){var t;(t=e.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t)}(n),n.a*=t,n.b*=t,n}function KD(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function _D(n,t){return QW(n,t,n.c.b,n.c),!0}function FD(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function BD(n){this.b=n,this.a=RK(this.b.a).Ed()}function HD(n,t){this.b=n,this.a=t,_h.call(this)}function qD(n,t){this.a=n,this.b=t,_h.call(this)}function GD(n,t){h_.call(this,t,1040),this.a=n}function zD(n){return 0==n||isNaN(n)?n:n<0?-1:1}function UD(n,t){return ian(n,new NM(t.a,t.b))}function XD(n){var t;return t=n.n,n.a.b+t.d+t.a}function WD(n){var t;return t=n.n,n.e.b+t.d+t.a}function VD(n){var t;return t=n.n,n.e.a+t.b+t.c}function QD(n){return Njn(),new HR(0,n)}function YD(n){if(!n)throw fp(new Qm(null))}function JD(){JD=O,WH(),Eut=new bb(qRn)}function ZD(){ZD=O,new Fen((dm(),t_n),(gm(),n_n))}function nR(){nR=O,z_n=QQ(X_n,MEn,19,256,0,1)}function tR(n,t,e,i){B7.call(this,n,t,e,i,0,0)}function eR(n){return n.e.c.length+n.g.c.length}function iR(n){return n.e.c.length-n.g.c.length}function rR(n){return n.b.c.length-n.e.c.length}function cR(n){px(),PD.call(this,n),this.a=-1}function aR(n,t){QP.call(this,n,t),this.a=this}function uR(n,t){var e;return(e=MF(n,t)).i=2,e}function oR(n,t){return++n.j,n.Ti(t)}function sR(n,t,e){return n.a=-1,n$(n,t.g,e),n}function hR(n,t,e){!function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;null==(w=HF(n.e,i))&&(s=Jx(w=new Am,183),o=new UF(t+"_s"+r),AZ(s,cxn,o)),tB(e,b=Jx(w,183)),tq(g=new Am,"x",i.j),tq(g,"y",i.k),AZ(b,oxn,g),tq(f=new Am,"x",i.b),tq(f,"y",i.c),AZ(b,"endPoint",f),!Pj((!i.a&&(i.a=new WO(Yrt,i,5)),i.a))&&(c=new vg(h=new Sl),WW((!i.a&&(i.a=new WO(Yrt,i,5)),i.a),c),AZ(b,JNn,h)),!!Zen(i)&&Eun(n.a,b,nxn,jsn(n,Zen(i))),!!nin(i)&&Eun(n.a,b,ZNn,jsn(n,nin(i))),!(0==(!i.e&&(i.e=new $N(ect,i,10,9)),i.e).i)&&(a=new BP(n,l=new Sl),WW((!i.e&&(i.e=new $N(ect,i,10,9)),i.e),a),AZ(b,exn,l)),0!=(!i.g&&(i.g=new $N(ect,i,9,10)),i.g).i&&(u=new HP(n,d=new Sl),WW((!i.g&&(i.g=new $N(ect,i,9,10)),i.g),u),AZ(b,txn,d))}(n.a,n.b,n.c,Jx(t,202),e)}function fR(n,t,e){return new DN(function(n){return 0>=n?new TE:function(n){return 0>n?new TE:new mL(null,new aV(n+1,n))}(n-1)}(n).Ie(),e,t)}function lR(n,t,e,i,r,c){return tan(n,t,e,i,r,0,c)}function bR(){bR=O,K_n=QQ(F_n,MEn,217,256,0,1)}function wR(){wR=O,W_n=QQ(Z_n,MEn,162,256,0,1)}function dR(){dR=O,nFn=QQ(tFn,MEn,184,256,0,1)}function gR(){gR=O,B_n=QQ(H_n,MEn,172,128,0,1)}function pR(){fD(this,!1,!1,!1,!1)}function vR(n){QF(),this.a=(WH(),new bb(SF(n)))}function mR(n){for(SF(n);n.Ob();)n.Pb(),n.Qb()}function yR(n){this.c=n,this.b=this.c.d.vc().Kc()}function kR(n){this.c=n,this.a=new ME(this.c.a)}function jR(n){this.a=new jE(n.gc()),O2(this,n)}function ER(n){Mb.call(this,new wW),O2(this,n)}function TR(n,t){return n.a+=Qnn(t,0,t.length),n}function MR(n,t){return Lz(t,n.c.length),n.c[t]}function SR(n,t){return Lz(t,n.a.length),n.a[t]}function PR(n,t){qE(),nY.call(this,n),this.a=t}function IR(n,t){return function(n,t){return ktn(e7(ktn(n.a).a,t.a))}(Jx(n,162),Jx(t,162))}function CR(n){return n.c-Jx(MR(n.a,n.b),287).b}function OR(n){return n.q?n.q:(WH(),WH(),SFn)}function AR(n){return n.e.Hd().gc()*n.c.Hd().gc()}function $R(n,t,i){return e.Math.min(i/n,1/t)}function LR(n,t){return n?0:e.Math.max(0,t-1)}function NR(n){var t;return(t=fan(n))?NR(t):n}function xR(n,t){return null==n.a&&Gdn(n),n.a[t]}function DR(n){return n.c?n.c.f:n.e.b}function RR(n){return n.c?n.c.g:n.e.a}function KR(n){BZ.call(this,n.gc()),EF(this,n)}function _R(n,t){VC(),Ug.call(this,t),this.a=n}function FR(n,t,e){this.a=n,WO.call(this,t,e,2)}function BR(n,t,e,i){lD(this,n,t,e,i)}function HR(n,t){Njn(),tp.call(this,n),this.a=t}function qR(n){this.b=new SE,this.a=n,this.c=-1}function GR(){this.d=new YS(0,0),this.e=new Yp}function zR(n){r$.call(this,0,0),this.a=n,this.b=0}function UR(n){this.a=n,this.c=new cp,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),cO(i&HTn,r&HTn,c&qTn)}(eC(n)?V3(n):n,t))}function WK(n,t){return function(n,t){return MA(),n==t?0:n?1:-1}((mB(n),n),(mB(t),t))}function VK(n,t){return L9((mB(n),n),(mB(t),t))}function QK(n,t){return SF(t),n.a.Ad(t)&&!n.b.Ad(t)}function YK(n,t){return V8(n,(mB(t),new Pb(t)))}function JK(n,t){return V8(n,(mB(t),new Ib(t)))}function ZK(n){return Y2(),0!=Jx(n,11).e.c.length}function n_(n){return Y2(),0!=Jx(n,11).g.c.length}function t_(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Jx(MR(t.e,0),17).c.i)==(a=Jx(MR(e.e,0),17).c.i))return iO(Jx($un(Jx(MR(t.e,0),17),(Ajn(),CQn)),19).a,Jx($un(Jx(MR(e.e,0),17),CQn),19).a);for(f=0,l=(h=n.a).length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Jx(n.b.xc(c),19).a),n.b._b(o)&&(u=Jx(n.b.xc(o),19).a)),ru?1:0)):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Jx(t,11),Jx(e,11))}function e_(n){return n.e?sQ(n.e):null}function i_(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function r_(n,t){if(n<0||n>=t)throw fp(new zp)}function c_(n,t,e){return odn(),h3(n,t)&&h3(n,e)}function a_(n){return Ohn(),!n.Hc(vit)&&!n.Hc(yit)}function u_(n){return new YS(n.c+n.b/2,n.d+n.a/2)}function o_(n,t){return t.kh()?I8(n.b,Jx(t,49)):t}function s_(n,t){this.e=n,this.d=0!=(64&t)?t|SEn:t}function h_(n,t){this.c=0,this.d=n,this.b=64|t|SEn}function f_(n){this.b=new vQ(11),this.a=(VH(),n)}function l_(n){this.b=null,this.a=(VH(),n||CFn)}function b_(n){this.a=Den(n.a),this.b=new hx(n.b)}function w_(n){this.b=n,u$.call(this,n),BO(this)}function d_(n){this.b=n,s$.call(this,n),HO(this)}function g_(n,t,e){this.a=n,TN.call(this,t,e,5,6)}function p_(n,t,e,i){this.b=n,WO.call(this,t,e,i)}function v_(n,t,e,i,r){jY.call(this,n,t,e,i,r,-1)}function m_(n,t,e,i,r){EY.call(this,n,t,e,i,r,-1)}function y_(n,t,e,i){WO.call(this,n,t,e),this.b=i}function k_(n,t,e,i){MD.call(this,n,t,e),this.b=i}function j_(n){VP.call(this,n,!1),this.a=!1}function E_(n,t){this.b=n,ol.call(this,n.b),this.a=t}function T_(n,t){QF(),Zj.call(this,n,L8(new uy(t)))}function M_(n,t){return Njn(),new cB(n,t,0)}function S_(n,t){return Njn(),new cB(6,n,t)}function P_(n,t){return FN(n.substr(0,t.length),t)}function I_(n,t){return uI(t)?fq(n,t):!!Rq(n.f,t)}function C_(n,t){for(mB(t);n.Ob();)t.td(n.Pb())}function O_(n,t,e){wdn(),this.e=n,this.d=t,this.a=e}function A_(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function $_(n){var t;for(t=n;t.f;)t=t.f;return t}function L_(n){var t;return P$(null!=(t=M5(n))),t}function N_(n){var t;return P$(null!=(t=function(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,RF(n.a,n.c,null),t)}(n))),t}function x_(n,t){var e;return GV(t,e=n.a.gc()),e-t}function D_(n,t){var e;for(e=0;en||n>t)throw fp(new Iy("fromIndex: 0, toIndex: "+n+SMn+t))}(t,n.length),new GD(n,t)}(n,n.length))}function V_(n){return new LK(new hA(n.a.length,n.a))}function Q_(n){return typeof n===Xjn||typeof n===Yjn}function Y_(n,t){return j8(n,t)<0?-1:j8(n,t)>0?1:0}function J_(n,t,e){return Emn(n,Jx(t,46),Jx(e,167))}function Z_(n,t){return Jx(_K(RK(n.a)).Xb(t),42).cd()}function nF(n,t){this.d=n,XO.call(this,n),this.e=t}function tF(n){this.d=(mB(n),n),this.a=0,this.c=CEn}function eF(n,t){tp.call(this,1),this.a=n,this.b=t}function iF(n,t){return n.c?iF(n.c,t):iD(n.b,t),n}function rF(n,t,e){var i;return i=QJ(n,t),nW(n,t,e),i}function cF(n,t){return uJ(n.slice(0,t),n)}function aF(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===Yjn;case 12:return null!=t&&(typeof t===Xjn||typeof t==Yjn);case 0:return Aen(t,n.__elementTypeId$);case 2:return Q_(t)&&!(t.im===C);case 1:return Q_(t)&&!(t.im===C)||Aen(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function KF(n,t){var e;return qU(t,e=n.a.gc()),e-1-t}function _F(n,t){return n.a+=String.fromCharCode(t),n}function FF(n,t){return n.a+=String.fromCharCode(t),n}function BF(n,t){for(mB(t);n.c0?(gen(n,e,0),e.a+=String.fromCharCode(i),gen(n,e,r=ftn(t,c)),c+=r-1):39==i?c+1=n.g}function nB(n,t,e){return egn(n,f2(n,t,e))}function tB(n,t){var e;QJ(n,e=n.a.length),nW(n,e,t)}function eB(n,t){console[n].call(console,t)}function iB(n,t){var e;++n.j,e=n.Vi(),n.Ii(n.oi(e,t))}function rB(n,t,e){Ug.call(this,t),this.a=n,this.b=e}function cB(n,t,e){tp.call(this,n),this.a=t,this.b=e}function aB(n,t,e){this.a=n,zg.call(this,t),this.b=e}function uB(n,t,e){this.a=n,bX.call(this,8,t,null,e)}function oB(n){this.a=(mB(tRn),tRn),this.b=n,new Wv}function sB(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function hB(n){this.c=n,this.b=n.a.d.a,eL(n.a.e,this)}function fB(n){S$(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function lB(n){return e.Math.sqrt(n.a*n.a+n.b*n.b)}function bB(n,t){return r_(t,n.a.c.length),MR(n.a,t)}function wB(n,t){return rI(n)===rI(t)||null!=n&&Y8(n,t)}function dB(n){return n?n.dc():!n.Kc().Ob()}function gB(n){return!n.a&&n.c?n.c.b:n.a}function pB(n){return!n.a&&(n.a=new WO(Vrt,n,4)),n.a}function vB(n){return!n.d&&(n.d=new WO(fat,n,1)),n.d}function mB(n){if(null==n)throw fp(new xp);return n}function yB(n){n.c?n.c.He():(n.d=!0,function(n){var t,e,i,r,c;if(c=new rp,VZ(n.b,new Gb(c)),n.b.c=QQ(XKn,rEn,1,0,5,1),0!=c.c.length){for(Lz(0,c.c.length),t=Jx(c.c[0],78),e=1,i=c.c.length;e0;)n=n<<1|(n<0?1:0);return n}function GB(n,t){return rI(n)===rI(t)||null!=n&&Y8(n,t)}function zB(n,t){return cK(n.a,t)?n.b[Jx(t,22).g]:null}function UB(n,t,e,i){n.a=b$(n.a,0,t)+""+i+bI(n.a,e)}function XB(n,t){n.u.Hc((Ohn(),vit))&&function(n,t){var i,r,c,a;for(i=(a=Jx(zB(n.b,t),124)).a,c=Jx(Jx(FV(n.r,t),21),84).Kc();c.Ob();)(r=Jx(c.Pb(),111)).c&&(i.a=e.Math.max(i.a,VD(r.c)));if(i.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}(n,t),function(n,t){var e;n.C&&((e=Jx(zB(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}(n,t)}function WB(n,t){return Nz(t,n.length),n.charCodeAt(t)}function VB(){Cm.call(this,"There is no more element.")}function QB(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function YB(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function JB(n,t,e,i){return f3(n,t,e,!1),l9(n,i),n}function ZB(n){return!n.n&&(n.n=new y_(uct,n,1,7)),n.n}function nH(n){return!n.c&&(n.c=new y_(sct,n,9,9)),n.c}function tH(n){return n.e==GRn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),pxn)))?i:t.ne()}(n.g,n.b)),n.e}function eH(n){return n.f==GRn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))?(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),KRn)),FN(_Rn,i)?AK(n,r1(t.Hj())):i):null}(n.g,n.b)),n.f}function iH(n){var t;return!(t=n.b)&&(n.b=t=new Qf(n)),t}function rH(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function cH(n){if($7(n.d),n.d.d!=n.c)throw fp(new Rp)}function aH(n,t){this.b=n,this.c=t,this.a=new ME(this.b)}function uH(n,t,e){this.a=sTn,this.d=n,this.b=t,this.c=e}function oH(n,t){this.d=(mB(n),n),this.a=16449,this.c=t}function sH(n,t){Y9(n,ey(G1(t,"x")),ey(G1(t,"y")))}function hH(n,t){Y9(n,ey(G1(t,"x")),ey(G1(t,"y")))}function fH(n,t){return V9(n),new PR(n,new FY(t,n.a))}function lH(n,t){return V9(n),new PR(n,new ZV(t,n.a))}function bH(n,t){return V9(n),new vL(n,new YV(t,n.a))}function wH(n,t){return V9(n),new mL(n,new JV(t,n.a))}function dH(n){this.a=new rp,this.e=QQ(Vot,MEn,48,n,0,2)}function gH(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function pH(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function vH(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function mH(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function yH(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function kH(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function jH(n,t,e,i){Xj.call(this,n,t),this.a=e,this.b=i}function EH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function TH(n,t,i){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t(i=sG(e))&&++i,i}function PH(n){var t;return w1(t=new op,n),t}function IH(n){var t;return Wun(t=new op,n),t}function CH(n){return function(n){var t;return OO(t=$un(n,(Ajn(),OQn)),160)?V7(Jx(t,160)):null}(n)||null}function OH(n){return!n.b&&(n.b=new y_(tct,n,12,3)),n.b}function AH(n,t,e){e.a?x1(n,t.b-n.f/2):N1(n,t.a-n.g/2)}function $H(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function LH(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function NH(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function xH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function DH(n,t,e,i){VC(),$V.call(this,t,e,i),this.a=n}function RH(n,t,e,i){VC(),$V.call(this,t,e,i),this.a=n}function KH(n,t){this.a=n,pL.call(this,n,Jx(n.d,15).Zc(t))}function _H(n){this.f=n,this.c=this.f.e,n.f>0&&Ccn(this)}function FH(n,t,e,i){this.b=n,this.c=i,II.call(this,t,e)}function BH(n){return P$(n.b0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new d,v_n=t?new E:n}function Nq(n,t){var e;return e=xk(n.gm),null==t?e:e+": "+t}function xq(n,t){var e;return vW(e=n.b.Qc(t),n.b.gc()),e}function Dq(n,t){if(null==n)throw fp(new ny(t));return n}function Rq(n,t){return G6(n,t,function(n,t){var e;return null==(e=n.a.get(t))?new Array:e}(n,null==t?0:n.b.se(t)))}function Kq(n,t,e){return e>=0&&FN(n.substr(e,t.length),t)}function _q(n,t,e,i,r,c,a){return new sW(n.e,t,e,i,r,c,a)}function Fq(n,t,e,i,r,c){this.a=n,T0.call(this,t,e,i,r,c)}function Bq(n,t,e,i,r,c){this.a=n,T0.call(this,t,e,i,r,c)}function Hq(n,t){this.g=n,this.d=D4(zy(zzn,1),jIn,10,0,[t])}function qq(n,t){this.e=n,this.a=XKn,this.b=ngn(t),this.c=t}function Gq(n,t){hN.call(this),JZ(this),this.a=n,this.c=t}function zq(n,t,e,i){RF(n.c[t.g],e.g,i),RF(n.c[e.g],t.g,i)}function Uq(n,t,e,i){RF(n.c[t.g],t.g,e),RF(n.b[t.g],t.g,i)}function Xq(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function Wq(n){return 0==n.b.b?n.a.$e():yD(n.b)}function Vq(n){return rI(n.a)===rI((V2(),zat))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(t=new To,e=new To,s=FN(nRn,(r=gpn(n.b,tRn))?bL(knn((!r.b&&(r.b=new U$((Djn(),Rat),sut,r)),r.b),eRn)):null),o=0;o=0?n.sh(i,e):vbn(n,t,e)}function dG(n,t,e){FG(),n&&DB(Pct,n,t),n&&DB(Sct,n,e)}function gG(n,t,e){this.i=new rp,this.b=n,this.g=t,this.a=e}function pG(n,t,e){this.c=new rp,this.e=n,this.f=t,this.b=e}function vG(n,t,e){this.a=new rp,this.e=n,this.f=t,this.c=e}function mG(n,t){EO(this),this.f=t,this.g=n,GH(this),this._d()}function yG(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Cvn(n,e)}function kG(n,t){var e;for(SF(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function jG(n){var t;return N5(t=new Wk(CZ(n.length)),n),t}function EG(n,t){if(null==t)throw fp(new xp);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(c5(),P_n)[typeof e];return r?r(e):n8(typeof e)}(n,t)}function TG(n){return n.Db>>16!=3?null:Jx(n.Cb,33)}function MG(n){return n.Db>>16!=9?null:Jx(n.Cb,33)}function SG(n){return n.Db>>16!=6?null:Jx(n.Cb,79)}function PG(n){return n.Db>>16!=7?null:Jx(n.Cb,235)}function IG(n){return n.Db>>16!=7?null:Jx(n.Cb,160)}function CG(n){return n.Db>>16!=11?null:Jx(n.Cb,33)}function OG(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):Uhn(n,t)}function AG(n,t){var e;return Tun(e=new ER(t),n),new hx(e)}function $G(n){var t;return t=n.d,t=n.si(n.f),lY(n,t),t.Ob()}function LG(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function NG(n,t){return e.Math.abs(n)>16!=3?null:Jx(n.Cb,147)}function HG(n){return n.Db>>16!=6?null:Jx(n.Cb,235)}function qG(n){return n.Db>>16!=17?null:Jx(n.Cb,26)}function GG(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function zG(n,t,e){return null==t?Jsn(n.f,null,e):c7(n.g,t,e)}function UG(n,t,e,i,r,c){return new kJ(n.e,t,n.aj(),e,i,r,c)}function XG(n,t,e){return n.a=b$(n.a,0,t)+""+e+bI(n.a,t),n}function WG(n,t,e){return iD(n.a,(_B(),pin(t,e),new Vj(t,e))),n}function VG(n){return EA(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function QG(n){return EA(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function YG(n,t){n.d&&oJ(n.d.e,n),n.d=t,n.d&&iD(n.d.e,n)}function JG(n,t){n.c&&oJ(n.c.g,n),n.c=t,n.c&&iD(n.c.g,n)}function ZG(n,t){n.c&&oJ(n.c.a,n),n.c=t,n.c&&iD(n.c.a,n)}function nz(n,t){n.i&&oJ(n.i.j,n),n.i=t,n.i&&iD(n.i.j,n)}function tz(n,t,e){this.a=t,this.c=n,this.b=(SF(e),new hx(e))}function ez(n,t,e){this.a=t,this.c=n,this.b=(SF(e),new hx(e))}function iz(n,t){this.a=n,this.c=gO(this.a),this.b=new Mq(t)}function rz(n,t){if(n<0||n>t)throw fp(new qm(KMn+n+_Mn+t))}function cz(n,t){return aK(n.a,t)?__(n,Jx(t,22).g,null):null}function az(){az=O,s_n=U6((vm(),D4(zy(h_n,1),WEn,538,0,[u_n])))}function uz(){uz=O,$3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function oz(){oz=O,L3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function sz(){sz=O,x3n=kK(new lX,(Lun(),ezn),(Ljn(),rXn))}function hz(){hz=O,a4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function fz(){fz=O,f4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function lz(){lz=O,w4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function bz(){bz=O,E4n=sR(new lX,(Lun(),ezn),(Ljn(),OUn))}function wz(){wz=O,a6n=kK(new lX,(_rn(),t5n),(ksn(),a5n))}function dz(n,t,e,i){this.c=n,this.d=i,vz(this,t),mz(this,e)}function gz(n){this.c=new SE,this.b=n.b,this.d=n.c,this.a=n.a}function pz(n){this.a=e.Math.cos(n),this.b=e.Math.sin(n)}function vz(n,t){n.a&&oJ(n.a.k,n),n.a=t,n.a&&iD(n.a.k,n)}function mz(n,t){n.b&&oJ(n.b.f,n),n.b=t,n.b&&iD(n.b.f,n)}function yz(n,t){(function(n,t,e){Jx(t.b,65),VZ(t.a,new Dx(n,e,t))})(n,n.b,n.c),Jx(n.b.b,65),t&&Jx(t.b,65).b}function kz(n,t){OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),4),T2(n,t)}function jz(n,t){OO(n.Cb,179)&&(Jx(n.Cb,179).tb=null),T2(n,t)}function Ez(n,t){return MT(),zJ(t)?new aR(t,n):new QP(t,n)}function Tz(n){var t;return Kk(),w1(t=new op,n),t}function Mz(n){var t;return Kk(),w1(t=new op,n),t}function Sz(n,t){var e;return e=new GF(n),t.c[t.c.length]=e,e}function Pz(n,t){var e;return(e=Jx(D8(YH(n.a),t),14))?e.gc():0}function Iz(n){return V9(n),VH(),VH(),qZ(n,OFn)}function Cz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function Oz(n,t){am.call(this,new jE(CZ(n))),p0(t,TEn),this.a=t}function Az(n,t,e){r9(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function $z(n,t,e){var i;r9(t,e,n.c.length),i=e-t,oj(n.c,t,i)}function Lz(n,t){if(n<0||n>=t)throw fp(new qm(KMn+n+_Mn+t))}function Nz(n,t){if(n<0||n>=t)throw fp(new Ny(KMn+n+_Mn+t))}function xz(n,t){this.b=(mB(n),n),this.a=0==(t&tMn)?64|t|SEn:t}function Dz(n){LC(this),Up(this.a,E5(e.Math.max(8,n))<<1)}function Rz(n){return L5(D4(zy(H7n,1),MEn,8,0,[n.i.n,n.n,n.a]))}function Kz(n,t){return function(n,t,e){var i,r,c,a,u,o;if(a=new go,u=gwn(n.e.Tg(),t),i=Jx(n.g,119),MT(),Jx(t,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function IU(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function CU(n){return fR(n.e.Hd().gc()*n.c.Hd().gc(),16,new qf(n))}function OU(n){return Jx(qtn(n,QQ(xzn,kIn,17,n.c.length,0,1)),474)}function AU(n){return Jx(qtn(n,QQ(zzn,jIn,10,n.c.length,0,1)),193)}function $U(n,t,e){SF(n),function(n){var t,e,i;for(WH(),ZC(n.c,n.a),i=new pb(n.c);i.a=0&&d=t)throw fp(new qm(function(n,t){if(n<0)return tgn(iEn,D4(zy(XKn,1),rEn,1,5,["index",g9(n)]));if(t<0)throw fp(new Ym(cEn+t));return tgn("%s (%s) must be less than size (%s)",D4(zy(XKn,1),rEn,1,5,["index",g9(n),g9(t)]))}(n,t)));return n}function GU(n,t,e){if(n<0||te)throw fp(new qm(function(n,t,e){return n<0||n>e?Xsn(n,e,"start index"):t<0||t>e?Xsn(t,e,"end index"):tgn("end index (%s) must not be less than start index (%s)",D4(zy(XKn,1),rEn,1,5,[g9(t),g9(n)]))}(n,t,e)))}function zU(n,t){if(F_(n.a,t),t.d)throw fp(new Cm(zMn));t.d=n}function UU(n,t){if(t.$modCount!=n.$modCount)throw fp(new Rp)}function XU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function WU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function VU(n,t){return!!OO(t,42)&&Bin(n.a,Jx(t,42))}function QU(n){var t;return eC(n)?-0==(t=n)?0:t:function(n){return pcn(n,(NJ(),$_n))<0?-function(n){return n.l+n.m*zTn+n.h*UTn}(f5(n)):n.l+n.m*zTn+n.h*UTn}(n)}function YU(n){var t;return kB(n),t=new F,Yk(n.a,new _b(t)),t}function JU(n){var t;return kB(n),t=new _,Yk(n.a,new Kb(t)),t}function ZU(n,t){this.a=n,Vl.call(this,n),rz(t,n.gc()),this.b=t}function nX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function tX(n){return new vQ((p0(n,QEn),IZ(e7(e7(5,n),n/10|0))))}function eX(n){return Jx(qtn(n,QQ(cUn,EIn,11,n.c.length,0,1)),1943)}function iX(n,t,e){n.d&&oJ(n.d.e,n),n.d=t,n.d&&nK(n.d.e,e,n)}function rX(n,t){(function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.b)for(p=new pb(n);p.a2e3&&(j_n=n,E_n=e.setTimeout(Cj,10)),0==k_n++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=nsn(t,e)}while(n.a);n.a=e}}((vy(),p_n)),!0)}();try{return function(n,t,e){return n.apply(t,e)}(n,t,i)}finally{!function(n){n&&function(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=nsn(t,e)}while(n.b);n.b=e}}((vy(),p_n)),--k_n,n&&-1!=E_n&&(function(n){e.clearTimeout(n)}(E_n),E_n=-1)}(r)}}function fX(n){var t;t=n.Wg(),this.a=OO(t,69)?Jx(t,69).Zh():t.Kc()}function lX(){fm.call(this),this.j.c=QQ(XKn,rEn,1,0,5,1),this.a=-1}function bX(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function wX(n,t,e,i){this.e=i,this.d=null,this.c=n,this.a=t,this.b=e}function dX(n,t,e){this.d=new hd(this),this.e=n,this.i=t,this.f=e}function gX(){gX=O,UVn=new tS(vSn,0),XVn=new tS("TOP_LEFT",1)}function pX(){pX=O,_3n=KB(g9(1),g9(4)),K3n=KB(g9(1),g9(2))}function vX(){vX=O,b9n=U6((iT(),D4(zy(g9n,1),WEn,551,0,[f9n])))}function mX(){mX=O,h9n=U6((eT(),D4(zy(l9n,1),WEn,482,0,[o9n])))}function yX(){yX=O,u7n=U6((rT(),D4(zy(h7n,1),WEn,530,0,[c7n])))}function kX(){kX=O,kqn=U6((HE(),D4(zy(Hqn,1),WEn,481,0,[mqn])))}function jX(n,t,e,i){return OO(e,54)?new O$(n,t,e,i):new NK(n,t,e,i)}function EX(n,t){return Jx(GA(YK(Jx(FV(n.k,t),15).Oc(),fWn)),113)}function TX(n,t){return Jx(GA(JK(Jx(FV(n.k,t),15).Oc(),fWn)),113)}function MX(n){return new xz(function(n,t){var e,i;for(WH(),i=new rp,e=0;e0}function CX(n){return P$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function OX(n,t){mB(t),RF(n.a,n.c,t),n.c=n.c+1&n.a.length-1,mrn(n)}function AX(n,t){mB(t),n.b=n.b-1&n.a.length-1,RF(n.a,n.b,t),mrn(n)}function $X(n,t){var e;for(e=n.j.c.length;e0&&hmn(n.g,0,t,0,n.i),t}function FX(n,t){var e;return ST(),!(e=Jx(HF(xct,n),55))||e.wj(t)}function BX(n){var t;for(t=0;n.Ob();)n.Pb(),t=e7(t,1);return IZ(t)}function HX(n,t){var e;return e=new Ly,n.xd(e),e.a+="..",t.yd(e),e.a}function qX(n,t,e){return lvn(n,t,e,OO(t,99)&&0!=(Jx(t,18).Bb&iMn))}function GX(n,t,e){return function(n,t,e,i){var r,c,a,u,o,s;if(u=new go,o=gwn(n.e.Tg(),t),r=Jx(n.g,119),MT(),Jx(t,66).Oj())for(a=0;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=function(n){return(n.c+n.a)/2}((Lz(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(o=(u.c+u.a)/2)-e,u.c<=o-e&&nK(n,i++,new Nx(u.c,c)),(a=o+e)<=u.a&&(r=new Nx(a,u.a),rz(i,n.c.length),zT(n.c,i,r)))}(t,i,e)),o}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new dz((rQ(),_4n),t,c,1),new dz(_4n,c,a,1),r=new pb(e);r.a0;)i+=n.a[e],e-=e&-e;return i}function XW(n,t){var e;for(e=t;e;)L$(n,-e.i,-e.j),e=CG(e);return n}function WW(n,t){var e,i;for(mB(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function VW(n,t){var e;return new Vj(e=t.cd(),n.e.pc(e,Jx(t.dd(),14)))}function QW(n,t,e,i){var r;(r=new $).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function YW(n,t,e){var i;return Lz(t,n.c.length),i=n.c[t],n.c[t]=e,i}function JW(n){return n.c&&n.d?Jz(n.c)+"->"+Jz(n.d):"e_"+FA(n)}function ZW(n,t){return(V9(n),ij(new PR(n,new FY(t,n.a)))).sd(gBn)}function nV(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function tV(n){if(!n.c.Sb())throw fp(new _p);return n.a=!0,n.c.Ub()}function eV(n){n.i=0,GT(n.b,null),GT(n.c,null),n.a=null,n.e=null,++n.g}function iV(n){_T.call(this,null==n?uEn:C7(n),OO(n,78)?Jx(n,78):null)}function rV(n){Mjn(),hp(this),this.a=new SE,u6(this,n),_D(this.a,n)}function cV(){$C(this),this.b=new YS(ZTn,ZTn),this.a=new YS(nMn,nMn)}function aV(n,t){this.c=0,this.b=t,PI.call(this,n,17493),this.a=this.c}function uV(n){oV(),fBn||(this.c=n,this.e=!0,this.a=new rp)}function oV(){oV=O,fBn=!0,sBn=!1,hBn=!1,bBn=!1,lBn=!1}function sV(n,t){return!!OO(t,149)&&FN(n.c,Jx(t,149).c)}function hV(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function fV(n,t){return Jx(XJ(n.d,t),23)||Jx(XJ(n.e,t),23)}function lV(n){this.b=n,XO.call(this,n),this.a=Jx(q3(this.b.a,4),126)}function bV(n){this.b=n,o$.call(this,n),this.a=Jx(q3(this.b.a,4),126)}function wV(n){return n.t||(n.t=new _g(n),k9(new Xm(n),0,n.t)),n.t}function dV(){var n,t;dV=O,Kk(),t=new Hp,put=t,n=new Gv,vut=n}function gV(n){var t;return n.c||OO(t=n.r,88)&&(n.c=Jx(t,26)),n.c}function pV(n){return cO(n&HTn,n>>22&HTn,n<0?qTn:0)}function vV(n,t){var e,i;(e=Jx(function(n,t){SF(n);try{return n.Bc(t)}catch(n){if(OO(n=E4(n),205)||OO(n,173))return null;throw fp(n)}}(n.c,t),14))&&(i=e.gc(),e.$b(),n.d-=i)}function mV(n,t){var e;return!!(e=a6(n,t.cd()))&&GB(e.e,t.dd())}function yV(n,t){return 0==t||0==n.e?n:t>0?xnn(n,t):Awn(n,-t)}function kV(n,t){return 0==t||0==n.e?n:t>0?Awn(n,t):xnn(n,-t)}function jV(n){if(Qfn(n))return n.c=n.a,n.a.Pb();throw fp(new _p)}function EV(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(won(),Fzn)&&e.k==Fzn}function TV(n){var t;return s4(t=new Eq,n),w5(t,(pjn(),L1n),null),t}function MV(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):efn(n,t,e)}function SV(n,t,e,i){var r;for(r=0;rt)throw fp(new qm(Xsn(n,t,"index")));return n}function zV(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(c=0,a=0;an.d[r.p]&&(e+=UW(n.b,i)*Jx(a.b,19).a,AX(n.a,g9(i)));for(;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}(n,e)}function oQ(n){var t;return n.a||OO(t=n.r,148)&&(n.a=Jx(t,148)),n.a}function sQ(n){return n.a?n.e?sQ(n.e):null:n}function hQ(n,t){return mB(t),n.c=0,"Initial capacity must not be negative")}function mQ(){mQ=O,sHn=U6((ZZ(),D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])))}function yQ(){yQ=O,gHn=U6((HY(),D4(zy(pHn,1),WEn,461,0,[lHn,fHn,bHn])))}function kQ(){kQ=O,jHn=U6((AJ(),D4(zy(zHn,1),WEn,462,0,[yHn,mHn,vHn])))}function jQ(){jQ=O,wBn=U6((O6(),D4(zy(dBn,1),WEn,132,0,[aBn,uBn,oBn])))}function EQ(){EQ=O,WGn=U6((OJ(),D4(zy(izn,1),WEn,379,0,[zGn,GGn,UGn])))}function TQ(){TQ=O,Azn=U6((i9(),D4(zy(Nzn,1),WEn,423,0,[Czn,Izn,Pzn])))}function MQ(){MQ=O,IWn=U6((A0(),D4(zy($Wn,1),WEn,314,0,[MWn,TWn,SWn])))}function SQ(){SQ=O,LWn=U6((l0(),D4(zy(_Wn,1),WEn,337,0,[CWn,AWn,OWn])))}function PQ(){PQ=O,VWn=U6((r5(),D4(zy(eVn,1),WEn,450,0,[UWn,zWn,XWn])))}function IQ(){IQ=O,nWn=U6((m2(),D4(zy(sWn,1),WEn,361,0,[JXn,YXn,QXn])))}function CQ(){CQ=O,zVn=U6(($J(),D4(zy(WVn,1),WEn,303,0,[HVn,qVn,BVn])))}function OQ(){OQ=O,FVn=U6((c4(),D4(zy(GVn,1),WEn,292,0,[RVn,KVn,DVn])))}function AQ(){AQ=O,T2n=U6((r8(),D4(zy(C2n,1),WEn,378,0,[y2n,k2n,j2n])))}function $Q(){$Q=O,l3n=U6((g3(),D4(zy(d3n,1),WEn,375,0,[o3n,s3n,h3n])))}function LQ(){LQ=O,J2n=U6((j5(),D4(zy(t3n,1),WEn,339,0,[V2n,W2n,Q2n])))}function NQ(){NQ=O,u3n=U6((f0(),D4(zy(f3n,1),WEn,452,0,[c3n,i3n,r3n])))}function xQ(){xQ=O,A3n=U6((B4(),D4(zy(B3n,1),WEn,377,0,[I3n,C3n,P3n])))}function DQ(){DQ=O,k3n=U6((L6(),D4(zy(M3n,1),WEn,336,0,[p3n,v3n,m3n])))}function RQ(){RQ=O,S3n=U6((Q2(),D4(zy(O3n,1),WEn,338,0,[T3n,j3n,E3n])))}function KQ(){KQ=O,V3n=U6((b0(),D4(zy(Q3n,1),WEn,454,0,[z3n,U3n,X3n])))}function _Q(){_Q=O,m6n=U6((y7(),D4(zy(j6n,1),WEn,442,0,[p6n,d6n,g6n])))}function FQ(){FQ=O,I6n=U6((C6(),D4(zy(c8n,1),WEn,380,0,[T6n,M6n,S6n])))}function BQ(){BQ=O,p8n=U6((v7(),D4(zy(V8n,1),WEn,381,0,[w8n,d8n,b8n])))}function HQ(){HQ=O,f8n=U6((d3(),D4(zy(l8n,1),WEn,293,0,[o8n,s8n,u8n])))}function qQ(){qQ=O,u9n=U6((m7(),D4(zy(s9n,1),WEn,437,0,[i9n,r9n,c9n])))}function GQ(){GQ=O,Ret=U6((A8(),D4(zy(Het,1),WEn,334,0,[Net,Let,xet])))}function zQ(){zQ=O,het=U6((n1(),D4(zy(get,1),WEn,272,0,[aet,uet,oet])))}function UQ(n,t){return!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),ynn(n.o,t)}function XQ(n){return!n.g&&(n.g=new oo),!n.g.c&&(n.g.c=new Kg(n)),n.g.c}function WQ(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):efn(n,t,!0)}function SY(){SY=O,u6n=btn(btn(wT(new lX,(_rn(),Z4n)),(ksn(),f5n)),u5n)}function PY(n){for(;!n.a;)if(!qN(n.c,new Fb(n)))return!1;return!0}function IY(n){return SF(n),OO(n,198)?Jx(n,198):new al(n)}function CY(){var n,t,e,i;CY=O,g7n=new bu,v7n=new wu,Ojn(),n=Mtt,t=g7n,e=rtt,i=v7n,_B(),p7n=new Tm(D4(zy(r_n,1),REn,42,0,[(pin(n,t),new Vj(n,t)),(pin(e,i),new Vj(e,i))]))}function OY(){OY=O,y6n=new DS("LEAF_NUMBER",0),k6n=new DS("NODE_SIZE",1)}function AY(n){n.a=QQ(Vot,STn,25,n.b+1,15,1),n.c=QQ(Vot,STn,25,n.b,15,1),n.d=0}function $Y(n,t){if(null==n.g||t>=n.i)throw fp(new HI(t,n.i));return n.g[t]}function LY(n,t,e){if(j6(n,e),null!=e&&!n.wj(e))throw fp(new Ap);return e}function NY(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)a1(n,t);return _X(n)}function xY(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function DY(n,t){var e;return tW(t),(e=uJ(n.slice(0,t),n)).length=t,e}function RY(n,t,e,i){VH(),i=i||CFn,Wsn(n.slice(t,e),n,t,e,-t,i)}function KY(n,t,e,i,r){return t<0?efn(n,e,i):Jx(e,66).Nj().Pj(n,n.yh(),t,i,r)}function _Y(n,t){if(t.a)throw fp(new Cm(zMn));F_(n.a,t),t.a=n,!n.j&&(n.j=t)}function FY(n,t){II.call(this,t.rd(),-16449&t.qd()),mB(n),this.a=n,this.c=t}function BY(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),wQ(n,i,e)}function HY(){HY=O,lHn=new sM(kSn,0),fHn=new sM(vSn,1),bHn=new sM(jSn,2)}function qY(){qY=O,VFn=new FT("All",0),QFn=new OC,YFn=new fO,JFn=new AC}function GY(){GY=O,nBn=U6((qY(),D4(zy(tBn,1),WEn,297,0,[VFn,QFn,YFn,JFn])))}function zY(){zY=O,mzn=U6((F4(),D4(zy(Ozn,1),WEn,405,0,[wzn,pzn,dzn,gzn])))}function UY(){UY=O,nqn=U6((i4(),D4(zy(cqn,1),WEn,406,0,[JHn,VHn,QHn,YHn])))}function XY(){XY=O,aqn=U6((Pen(),D4(zy(uqn,1),WEn,323,0,[eqn,tqn,iqn,rqn])))}function WY(){WY=O,vqn=U6((Ien(),D4(zy(yqn,1),WEn,394,0,[wqn,bqn,dqn,gqn])))}function VY(){VY=O,i5n=U6((_rn(),D4(zy(r5n,1),WEn,393,0,[J4n,Z4n,n5n,t5n])))}function QY(){QY=O,EXn=U6((K4(),D4(zy($Xn,1),WEn,360,0,[kXn,mXn,yXn,vXn])))}function YY(){YY=O,a8n=U6((qin(),D4(zy(h8n,1),WEn,340,0,[r8n,e8n,i8n,t8n])))}function JY(){JY=O,KXn=U6((_4(),D4(zy(GXn,1),WEn,411,0,[LXn,NXn,xXn,DXn])))}function ZY(){ZY=O,O2n=U6((qen(),D4(zy(D2n,1),WEn,197,0,[P2n,I2n,S2n,M2n])))}function nJ(){nJ=O,Prt=U6((I6(),D4(zy(Ort,1),WEn,396,0,[Ert,Trt,jrt,Mrt])))}function tJ(){tJ=O,qet=U6((Brn(),D4(zy(Zet,1),WEn,285,0,[Bet,Ket,_et,Fet])))}function eJ(){eJ=O,pet=U6((p7(),D4(zy(Tet,1),WEn,218,0,[det,bet,fet,wet])))}function iJ(){iJ=O,yrt=U6((onn(),D4(zy(krt,1),WEn,311,0,[vrt,drt,prt,grt])))}function rJ(){rJ=O,irt=U6(($nn(),D4(zy(brt,1),WEn,374,0,[nrt,trt,Zit,Jit])))}function cJ(){cJ=O,Zvn(),rot=ZTn,iot=nMn,aot=new ib(ZTn),cot=new ib(nMn)}function aJ(){aJ=O,cVn=new VM(lIn,0),rVn=new VM("IMPROVE_STRAIGHTNESS",1)}function uJ(n,t){return 10!=YJ(t)&&D4(Q5(t),t.hm,t.__elementTypeId$,YJ(t),n),n}function oJ(n,t){var e;return-1!=(e=fJ(n,t,0))&&(_V(n,e),!0)}function sJ(n,t){var e;return(e=Jx(UV(n.e,t),387))?(FD(e),e.e):null}function hJ(n){var t;return eC(n)&&(t=0-n,!isNaN(t))?t:L3(f5(n))}function fJ(n,t,e){for(;e0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=e.Math.min(n.c,n.f[s.p]),n.b=e.Math.max(n.b,n.f[s.p])):u&&(n.f[s.p]=l)}}(n,t,i),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new pb(n.a);u.a=0?Len(n,e,!0,!0):efn(n,t,!0)}function FJ(n,t){var e,i;return ZE(),e=PX(n),i=PX(t),!!e&&!!i&&!Ten(e.k,i.k)}function BJ(n){(this.q?this.q:(WH(),WH(),SFn)).Ac(n.q?n.q:(WH(),WH(),SFn))}function HJ(n,t){hqn=new it,pqn=t,Jx((sqn=n).b,65),YQ(sqn,hqn,null),Hmn(sqn)}function qJ(n,t,e){var i;return i=n.g[t],FO(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function GJ(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function zJ(n){var t;return n.d!=n.r&&(t=lcn(n),n.e=!!t&&t.Cj()==_Dn,n.d=t),n.e}function UJ(n,t){var e;for(SF(n),SF(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function XJ(n,t){var e;return(e=Jx(HF(n.e,t),387))?(AO(n,e),e.e):null}function WJ(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function VJ(n,t){return V9(n),new PR(n,new QN(new ZV(t,n.a)))}function QJ(n,t){var e=n.a[t],i=(c5(),P_n)[typeof e];return i?i(e):n8(typeof e)}function YJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function JJ(n){var t;return null!=(t=0==n.b.c.length?null:MR(n.b,0))&&i2(n,0),t}function ZJ(n,t){for(;t[0]=0;)++t[0]}function nZ(n,t){this.e=t,this.a=f4(n),this.a<54?this.f=QU(n):this.c=Xtn(n)}function tZ(n,t,e,i){Njn(),tp.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function eZ(n,t,e){var i,r;for(i=10,r=0;rn.a[i]&&(i=e);return i}function oZ(n,t){return 0==t.e||0==n.e?vFn:(Efn(),Qbn(n,t))}function sZ(){sZ=O,jzn=new St,Ezn=new Tt,yzn=new At,kzn=new $t,Tzn=new Lt}function hZ(){hZ=O,LBn=new aM("BY_SIZE",0),NBn=new aM("BY_SIZE_AND_SHAPE",1)}function fZ(){fZ=O,Yqn=new lM("EADES",0),Jqn=new lM("FRUCHTERMAN_REINGOLD",1)}function lZ(){lZ=O,BWn=new UM("READING_DIRECTION",0),HWn=new UM("ROTATION",1)}function bZ(){bZ=O,FWn=U6((yin(),D4(zy(qWn,1),WEn,335,0,[xWn,NWn,RWn,KWn,DWn])))}function wZ(){wZ=O,R2n=U6((uin(),D4(zy(U2n,1),WEn,315,0,[x2n,$2n,L2n,A2n,N2n])))}function dZ(){dZ=O,zXn=U6((Man(),D4(zy(ZXn,1),WEn,363,0,[FXn,HXn,qXn,BXn,_Xn])))}function gZ(){gZ=O,aYn=U6((g7(),D4(zy(v2n,1),WEn,163,0,[rYn,nYn,tYn,eYn,iYn])))}function pZ(){pZ=O,T9n=U6(($on(),D4(zy(a7n,1),WEn,316,0,[v9n,m9n,j9n,y9n,k9n])))}function vZ(){vZ=O,I7n=U6((Ytn(),D4(zy(R7n,1),WEn,175,0,[M7n,T7n,j7n,S7n,E7n])))}function mZ(){mZ=O,e9n=U6((Dbn(),D4(zy(a9n,1),WEn,355,0,[Y8n,Q8n,Z8n,J8n,n9n])))}function yZ(){yZ=O,rzn=U6((Lun(),D4(zy(uzn,1),WEn,356,0,[JGn,ZGn,nzn,tzn,ezn])))}function kZ(){kZ=O,cet=U6((e9(),D4(zy(set,1),WEn,103,0,[eet,tet,net,Ztt,iet])))}function jZ(){jZ=O,uit=U6((Jtn(),D4(zy(wit,1),WEn,249,0,[iit,cit,tit,eit,rit])))}function EZ(){EZ=O,Uit=U6((Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])))}function TZ(n,t){var e;return(e=Jx(HF(n.a,t),134))||(e=new Zn,DB(n.a,t,e)),e}function MZ(n){var t;return!!(t=Jx($un(n,(Ajn(),JVn)),305))&&t.a==n}function SZ(n){var t;return!!(t=Jx($un(n,(Ajn(),JVn)),305))&&t.i==n}function PZ(n,t){return mB(t),i_(n),!!n.d.Ob()&&(t.td(n.d.Pb()),!0)}function IZ(n){return j8(n,Jjn)>0?Jjn:j8(n,tTn)<0?tTn:VR(n)}function CZ(n){return n<3?(p0(n,zEn),n+1):n=0&&t=-.01&&n.a<=PSn&&(n.a=0),n.b>=-.01&&n.b<=PSn&&(n.b=0),n}function LZ(n,t){return t==(wx(),wx(),FFn)?n.toLocaleLowerCase():n.toLowerCase()}function NZ(n){return(0!=(2&n.i)?"interface ":0!=(1&n.i)?"":"class ")+(hL(n),n.o)}function xZ(n){var t;t=new Uv,lY((!n.q&&(n.q=new y_(lat,n,11,10)),n.q),t)}function DZ(n){this.g=n,this.f=new rp,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function RZ(n){this.b=new rp,this.a=new rp,this.c=new rp,this.d=new rp,this.e=n}function KZ(n,t){this.a=new cp,this.e=new cp,this.b=(r8(),j2n),this.c=n,this.b=t}function _Z(n,t,e){hN.call(this),JZ(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function FZ(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(vm(),u_n)}function BZ(n){if(n<0)throw fp(new Ym("Illegal Capacity: "+n));this.g=this.ri(n)}function HZ(n){var t;S$(!!n.c),t=n.c.a,QZ(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function qZ(n,t){var e;return V9(n),e=new FH(n,n.a.rd(),4|n.a.qd(),t),new PR(n,e)}function GZ(n,t){var e;for(e=n.Kc();e.Ob();)w5(Jx(e.Pb(),70),(Ajn(),jQn),t)}function zZ(n){var t;return(t=ey(lL($un(n,(pjn(),k1n)))))<0&&w5(n,k1n,t=0),t}function UZ(n,t,e,i,r,c){var a;JG(a=TV(i),r),YG(a,c),Yhn(n.a,i,new Ex(a,t,e.f))}function XZ(n,t){var e;if(!(e=Jbn(n.Tg(),t)))throw fp(new Ym(yNn+t+ENn));return e}function WZ(n,t){var e;for(e=n;CG(e);)if((e=CG(e))==t)return!0;return!1}function VZ(n,t){var e,i,r,c;for(mB(t),r=0,c=(i=n.c).length;r>16!=6?null:Jx(Hfn(n),235)}(n))&&!t.kh()&&(n.w=t),t)}function c1(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=QQ(Wot,hTn,25,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=Urt[e],a[r++]=Urt[c];return Qnn(a,0,a.length)}(t=Jx(n,190),t.length)}function a1(n,t){if(null==n.g||t>=n.i)throw fp(new HI(t,n.i));return n.li(t,n.g[t])}function u1(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)t2(n.b,t),t=$9(t);t2(n.b,t)}function o1(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r=14&&t<=16)),n}function l1(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function b1(n,t,e){var i,r;i=t;do{r=ey(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function w1(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,5,r,n.a),e?Ian(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=Uyn(n,t,e)),e&&e.Fi()}function d1(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)}function g1(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)}function p1(n,t){return function(n){return n?n.i:null}(_2(n,t,VR(i7(HEn,qB(VR(i7(null==t?0:V5(t),qEn)),15)))))}function v1(){v1=O,Uzn=U6((won(),D4(zy(Xzn,1),WEn,267,0,[qzn,Hzn,Fzn,Gzn,Bzn,_zn])))}function m1(){m1=O,gnt=U6((gan(),D4(zy(ret,1),WEn,291,0,[wnt,bnt,lnt,hnt,snt,fnt])))}function y1(){y1=O,Q7n=U6((Gen(),D4(zy(dnt,1),WEn,248,0,[q7n,U7n,X7n,W7n,G7n,z7n])))}function k1(){k1=O,mWn=U6((vsn(),D4(zy(jWn,1),WEn,227,0,[wWn,gWn,bWn,dWn,pWn,lWn])))}function j1(){j1=O,EVn=U6((oon(),D4(zy(NVn,1),WEn,275,0,[yVn,pVn,kVn,mVn,vVn,gVn])))}function E1(){E1=O,dVn=U6((Vcn(),D4(zy(jVn,1),WEn,274,0,[fVn,hVn,bVn,sVn,lVn,oVn])))}function T1(){T1=O,m2n=U6((tun(),D4(zy(E2n,1),WEn,313,0,[g2n,w2n,l2n,b2n,p2n,d2n])))}function M1(){M1=O,iVn=U6((von(),D4(zy(aVn,1),WEn,276,0,[YWn,QWn,ZWn,JWn,tVn,nVn])))}function S1(){S1=O,b5n=U6((ksn(),D4(zy(n6n,1),WEn,327,0,[f5n,u5n,s5n,o5n,h5n,a5n])))}function P1(){P1=O,Eit=U6((Ohn(),D4(zy(zit,1),WEn,273,0,[yit,vit,mit,pit,git,kit])))}function I1(){I1=O,Met=U6((mun(),D4(zy(Det,1),WEn,312,0,[jet,yet,Eet,vet,ket,met])))}function C1(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,0,e,n.a))}function O1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,1,e,n.b))}function A1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,3,e,n.b))}function $1(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,3,e,n.f))}function L1(n,t){var e;e=n.g,n.g=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,4,e,n.g))}function N1(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,5,e,n.i))}function x1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,6,e,n.j))}function D1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,1,e,n.j))}function R1(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,4,e,n.c))}function K1(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new uW(n,2,e,n.k))}function _1(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,2,e,n.d))}function F1(n,t){var e;e=n.s,n.s=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,4,e,n.s))}function B1(n,t){var e;e=n.t,n.t=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new oW(n,5,e,n.t))}function H1(n,t){var e;e=n.F,n.F=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,5,e,t))}function q1(n,t){var e;return(e=Jx(HF((ST(),xct),n),55))?e.xj(t):QQ(XKn,rEn,1,t,5,1)}function G1(n,t){var e;return t in n.a&&(e=EG(n,t).he())?e.a:null}function z1(n,t){var e,i;return Dk(),i=new uo,!!t&&Wbn(i,t),D0(e=i,n),e}function U1(n,t,e){if(j6(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw fp(new Ap);return e}function X1(n,t){return n.n=t,n.n?(n.f=new rp,n.e=new rp):(n.f=null,n.e=null),n}function W1(n,t,e,i,r,c){var a;return i0(e,a=MF(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function V1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function Q1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function Y1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function J1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function Z1(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function n0(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,T$(e<(n.c-n.b&i)),e>=r?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,RF(n.a,t,n.a[i]),t=i;RF(n.a,n.c,null)}(n,t),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,RF(n.a,t,n.a[i]),t=i;RF(n.a,n.b,null),n.b=n.b+1&e}(n,t),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function o0(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=Z6(n.f)),n.c).e}function s0(n){if(!(n>=0))throw fp(new Ym("tolerance ("+n+") must be >= 0"));return n}function h0(){return y7n||f6(y7n=new Zdn,D4(zy(nHn,1),rEn,130,0,[new $f])),y7n}function f0(){f0=O,c3n=new hS(SSn,0),i3n=new hS("INPUT",1),r3n=new hS("OUTPUT",2)}function l0(){l0=O,CWn=new GM("ARD",0),AWn=new GM("MSD",1),OWn=new GM("MANUAL",2)}function b0(){b0=O,z3n=new gS("BARYCENTER",0),U3n=new gS(_In,1),X3n=new gS(FIn,2)}function w0(n,t){var e;if(e=n.gc(),t<0||t>e)throw fp(new EN(t,e));return new VN(n,t)}function d0(n,t){var e;return OO(t,42)?n.c.Mc(t):(e=ynn(n,t),etn(n,t),e)}function g0(n,t,e){return u8(n,t),T2(n,e),F1(n,0),B1(n,1),b9(n,!0),h9(n,!0),n}function p0(n,t){if(n<0)throw fp(new Ym(t+" cannot be negative but was: "+n));return n}function v0(n,t){var e,i;for(e=0,i=n.gc();e0?Jx(MR(e.a,i-1),10):null}function L0(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,2,e,n.k))}function N0(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,8,e,n.f))}function x0(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,7,e,n.i))}function D0(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,8,e,n.a))}function R0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,0,e,n.b))}function K0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,0,e,n.b))}function _0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.c))}function F0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.c))}function B0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,4,e,n.c))}function H0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,1,e,n.d))}function q0(n,t){var e;e=n.D,n.D=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,2,e,n.D))}function G0(n,t){n.r>0&&n.c0&&0!=n.g&&G0(n.i,t/n.r*n.i.d))}function z0(n,t){return Nwn(n.e,t)?(MT(),zJ(t)?new aR(t,n):new QP(t,n)):new ZP(t,n)}function U0(n,t){return function(n){return n?n.g:null}(F2(n.a,t,VR(i7(HEn,qB(VR(i7(null==t?0:V5(t),qEn)),15)))))}function X0(n){var t;return(n=e.Math.max(n,2))>(t=E5(n))?(t<<=1)>0?t:UEn:t}function W0(n){switch(jA(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function V0(n,t){var e;return!!OO(t,8)&&(e=Jx(t,8),n.a==e.a&&n.b==e.b)}function Q0(n,t,e){var i,r;return r=t>>5,i=31&t,zz(XK(n.n[e][r],VR(zK(i,1))),3)}function Y0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,21,e,n.b))}function J0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,11,e,n.d))}function Z0(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,13,e,n.j))}function n2(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?t-1:t,vk(function(n,t){return n.j=t,n}(X1(DD(new um,e),n.n),n.j),n.k)}(n,n.g),_D(n.a,e),e.i=n,n.d=t,e)}function n3(n,t,e){cun(e,"DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new SE,n.b=QQ(Vot,STn,25,r,15,1),e=0,i=nen(t.b,0);i.b!=i.d.c;)Jx(CX(i),86).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=Jx($un(t,(aln(),W5n)),425),c=nen(t.b,0);c.b!=c.d.c;)if(r=Jx(CX(c),86),0==n.b[r.g]){switch(a.g){case 0:kin(n,r);break;case 1:pln(n,r)}n.b[r.g]=2}for(i=nen(n.a,0);i.b!=i.d.c;)Q7((e=Jx(CX(i),188)).b.d,e,!0),Q7(e.c.b,e,!0);w5(t,(cyn(),P5n),n.a)}(n,t),n.a=null,n.b=null,Kon(e)}function t3(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new rp,function(n){var t,e,i,r;for(r=Q8(n.d,n.e).Kc();r.Ob();)for(i=Jx(r.Pb(),11),e=new pb(n.e==(Ckn(),Git)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function i3(n,t){OD.call(this,hut,n,t),this.b=this,this.a=gwn(n.Tg(),OZ(this.e.Tg(),this.c))}function r3(n,t){var e,i;for(mB(t),i=t.vc().Kc();i.Ob();)e=Jx(i.Pb(),42),n.zc(e.cd(),e.dd())}function c3(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function a3(n){switch(n.g){case 2:return Ckn(),Git;case 4:return Ckn(),Tit;default:return n}}function u3(n){switch(n.g){case 1:return Ckn(),Hit;case 3:return Ckn(),Mit;default:return n}}function o3(n,t){return MA(),uI(n)?BV(n,bL(t)):aI(n)?VK(n,lL(t)):cI(n)?WK(n,fL(t)):n.wd(t)}function s3(n,t){t.q=n,n.d=e.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),iD(n.a,t)}function h3(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b0||h.j==Git&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new pb(h.g);r.a=0x8000000000000000?(NJ(),C_n):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=UTn&&(n-=(e=sG(n/UTn))*UTn),t=0,n>=zTn&&(n-=(t=sG(n/zTn))*zTn),r=cO(sG(n),t,e),i&&$5(r),r)}(n))}function K3(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}function _3(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw fp(new _p)}function V3(n){var t,e,i;return e=0,(i=n)<0&&(i+=UTn,e=qTn),t=sG(i/zTn),cO(sG(i-t*zTn),t,e)}function Q3(n){var t,e,i;for(i=0,e=new ME(n.a);e.a>22),r=n.h-t.h+(i>>22),cO(e&HTn,i&HTn,r&qTn)}function j4(n){var t;return n<128?(!(t=(gR(),B_n)[n])&&(t=B_n[n]=new eb(n)),t):new eb(n)}function E4(n){var t;return OO(n,78)?n:((t=n&&n.__java$exception)||Pp(t=new t8(n)),t)}function T4(n){if(OO(n,186))return Jx(n,118);if(n)return null;throw fp(new ny(vxn))}function M4(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Y8(t,d8(n)))return!0;return!1}function S4(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new nX(n.e.f),n.a.Ob())}function P4(n,t){var e;return 0!=(e=t.Pc()).length&&(hD(n.c,n.c.length,e),!0)}function I4(n,t){var e;for(e=new pb(n.b);e.a=0,"Negative initial capacity"),ED(t>=0,"Non-positive load factor"),X_(this)}function u5(n,t,e){return!(n>=128)&&fI(n<64?zz(zK(1,n),e):zz(zK(1,n-64),t),0)}function o5(n,t){return!(!n||!t||n==t)&&k7(n.b.c,t.b.c+t.b.b)<0&&k7(t.b.c,n.b.c+n.b.b)<0}function s5(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new yH(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function h5(n){var t,i;for(null==n.j&&(n.j=(Lq(),function(n){var t,i,r;for(t="Sz",i="ez",r=e.Math.min(n.length,5)-1;r>=0;r--)if(FN(n[r].d,t)||FN(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}(v_n.ce(n)))),t=0,i=n.j.length;t(i=n.gc()))throw fp(new EN(t,i));return n.hi()&&(e=AG(n,e)),n.Vh(t,e)}function b5(n,t,e){return null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e)),n}function w5(n,t,e){return null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e)),n}function d5(n){var t,i;return s4(i=new WV,n),w5(i,(g2(),TGn),n),function(n,t,i){var r,c,a,u,o;for(r=0,a=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));a.e!=a.i.gc();)u="",0==(!(c=Jx(fen(a),33)).n&&(c.n=new y_(uct,c,1,7)),c.n).i||(u=Jx(a1((!c.n&&(c.n=new y_(uct,c,1,7)),c.n),0),137).a),s4(o=new zF(u),c),w5(o,(g2(),TGn),c),o.b=r++,o.d.a=c.i+c.g/2,o.d.b=c.j+c.f/2,o.e.a=e.Math.max(c.g,1),o.e.b=e.Math.max(c.f,1),iD(t.e,o),Jsn(i.f,c,o),Jx(Eln(c,(Hdn(),lGn)),98),Kan()}(n,i,t=new cp),function(n,t,i){var r,c,a,u,o,s,f,l;for(s=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new LK(wA(bbn(o=Jx(fen(s),33)).a.Kc(),new h));Qfn(c);){if(!(r=Jx(jV(c),79)).b&&(r.b=new $N(nct,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new $N(nct,r,5,8)),r.c.i<=1)))throw fp(new wy("Graph must not contain hyperedges."));if(!Kfn(r)&&o!=run(Jx(a1((!r.c&&(r.c=new $N(nct,r,5,8)),r.c),0),82)))for(s4(f=new cN,r),w5(f,(g2(),TGn),r),Cl(f,Jx(iI(Rq(i.f,o)),144)),Ol(f,Jx(HF(i,run(Jx(a1((!r.c&&(r.c=new $N(nct,r,5,8)),r.c),0),82))),144)),iD(t.c,f),u=new XO((!r.n&&(r.n=new y_(uct,r,1,7)),r.n));u.e!=u.i.gc();)s4(l=new dW(f,(a=Jx(fen(u),137)).a),a),w5(l,TGn,a),l.e.a=e.Math.max(a.g,1),l.e.b=e.Math.max(a.f,1),Vvn(l),iD(t.d,l)}}(n,i,t),i}function g5(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r>=1);return t}function T5(n){var t,e;return 32==(e=Jhn(n.h))?32==(t=Jhn(n.m))?Jhn(n.l)+32:t+20-10:e-12}function M5(n){var t;return null==(t=n.a[n.b])?null:(RF(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function S5(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function P5(n,t,e){var i,r;return i=new tY(t,e),r=new q,n.b=qwn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function I5(n,t,e){var i,r,c;for(c=0,r=Q8(t,e).Kc();r.Ob();)i=Jx(r.Pb(),11),DB(n.c,i,g9(c++))}function C5(n){var t,e;for(e=new pb(n.a.b);e.ae&&(e=n[t]);return e}function D5(n,t,e){var i;return Pwn(n,t,i=new rp,(Ckn(),Tit),!0,!1),Pwn(n,e,i,Git,!1,!1),i}function R5(n,t,e){var i,r;return r=aX(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new xK(e.a.length)).b-i.a)*i.c<0?(IT(),Bot):new sA(i);r.Ob();)(c=uX(e,Jx(r.Pb(),19).a))&&(a=z1(sX(c,UNn),t),DB(n.f,a,c),cxn in c.a&&L0(a,sX(c,cxn)),iun(c,a),rhn(c,a))}((i=new $P(n,e)).a,i.b,r),r}function K5(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function X5(n){var t,e;for(t=new xv,e=nen(n,0);e.b!=e.d.c;)$$(t,0,new lC(Jx(CX(e),8)));return t}function W5(n){var t;for(t=new pb(n.a.b);t.a=n.b.c.length||(b6(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:NT(zz(n[i],oMn),zz(t[i],oMn))?-1:1}function g6(n,t){var e,i;return i=Jx(q3(n.a,4),126),e=QQ(Act,mDn,415,t,0,1),null!=i&&hmn(i,0,e,0,i.length),e}function p6(n,t){var e;return e=new Ddn(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function v6(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(xin(n,c,a))return!0;return!1}function m6(n,t,e){var i,r,c,a;for(mB(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function y6(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Jx(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function k6(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){if(n.e)switch(n.b){case 1:!function(n,t,e){n.i=0,n.e=0,t!=e&&q5(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&G5(n,t,e)}(n.c,t,e)}else JX(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function j6(n,t){if(!n.ai()&&null==t)throw fp(new Ym("The 'no null' constraint is violated"));return t}function E6(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),q0(n,null==t?null:(mB(t),t)),n.C&&n.yk(null)}function T6(n,t){return!(!n||n==t||!A$(t,(Ajn(),mQn)))&&Jx($un(t,(Ajn(),mQn)),10)!=n}function M6(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function S6(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function P6(n){mG.call(this,"The given string does not match the expected format for individual spacings.",n)}function I6(){I6=O,Ert=new kP("ELK",0),Trt=new kP("JSON",1),jrt=new kP("DOT",2),Mrt=new kP("SVG",3)}function C6(){C6=O,T6n=new RS(lIn,0),M6n=new RS("RADIAL_COMPACTION",1),S6n=new RS("WEDGE_COMPACTION",2)}function O6(){O6=O,aBn=new BT("CONCURRENT",0),uBn=new BT("IDENTITY_FINISH",1),oBn=new BT("UNORDERED",2)}function A6(){A6=O,HE(),Eqn=new BI(iPn,Tqn=mqn),jqn=new Ag(rPn),Mqn=new Ag(cPn),Sqn=new Ag(aPn)}function $6(){$6=O,PXn=new ji,IXn=new Ei,SXn=new Ti,MXn=new Mi,mB(new Si),TXn=new D}function L6(){L6=O,p3n=new bS("CONSERVATIVE",0),v3n=new bS("CONSERVATIVE_SOFT",1),m3n=new bS("SLOPPY",2)}function N6(){N6=O,Aet=new KC(15),Oet=new RC((Ojn(),ott),Aet),$et=Att,Set=knt,Pet=Znt,Cet=ett,Iet=ttt}function x6(n,t,e){var i,r;for(i=new SE,r=nen(e,0);r.b!=r.d.c;)_D(i,new lC(Jx(CX(r),8)));m6(n,t,i)}function D6(n){var t;return!n.a&&(n.a=new y_(hat,n,9,5)),0!=(t=n.a).i?function(n){return n.b?n.b:n.a}(Jx(a1(t,0),678)):null}function R6(n,t){var e;return e=e7(n,t),NT(Xz(n,t),0)|function(n,t){return j8(n,t)>=0}(Xz(n,e),0)?e:e7(CEn,Xz(XK(e,63),1))}function K6(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return r_(t-1,n.a.c.length),_V(n.a,t-1);throw fp(new Kp)}function F6(n,t,e){if(n>t)throw fp(new Ym(xMn+n+DMn+t));if(n<0||t>e)throw fp(new Iy(xMn+n+RMn+t+SMn+e))}function B6(n){if(!n.a||0==(8&n.a.i))throw fp(new Jm("Enumeration class expected for layout option "+n.f))}function H6(n){var t;++n.j,0==n.i?n.g=null:n.it$n?n-i>t$n:i-n>t$n)}function Y6(n,t){return n?t&&!n.j||OO(n,124)&&0==Jx(n,124).a.b?0:n.Re():0}function J6(n,t){return n?t&&!n.k||OO(n,124)&&0==Jx(n,124).a.a?0:n.Se():0}function Z6(n){return wdn(),n<0?-1!=n?new Een(-1,-n):bFn:n<=10?dFn[sG(n)]:new Een(1,n)}function n8(n){throw c5(),fp(new Om("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function t8(n){my(),EO(this),GH(this),this.e=n,Own(this,n),this.g=null==n?uEn:C7(n),this.a="",this.b=n,this.a=""}function e8(){this.a=new nu,this.f=new _d(this),this.b=new Fd(this),this.i=new Bd(this),this.e=new Hd(this)}function i8(){mm.call(this,new eY(CZ(16))),p0(2,TEn),this.b=2,this.a=new CB(null,null,0,null),jp(this.a,this.a)}function r8(){r8=O,y2n=new iS("DUMMY_NODE_OVER",0),k2n=new iS("DUMMY_NODE_UNDER",1),j2n=new iS("EQUAL",2)}function c8(){c8=O,ozn=jG(D4(zy(set,1),WEn,103,0,[(e9(),net),tet])),szn=jG(D4(zy(set,1),WEn,103,0,[iet,Ztt]))}function a8(n){return(Ckn(),Dit).Hc(n.j)?ey(lL($un(n,(Ajn(),WQn)))):L5(D4(zy(H7n,1),MEn,8,0,[n.i.n,n.n,n.a])).b}function u8(n,t){var e,i;e=n.nk(t,null),i=null,t&&(Kk(),w1(i=new op,n.r)),(e=lun(n,i,e))&&e.Fi()}function o8(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(han(t.q,r),i=e!=t.q.d)),i}function s8(n,t){var i,r,c,a,u;return a=t.i,u=t.j,r=a-(i=n.f).i,c=u-i.j,e.Math.sqrt(r*r+c*c)}function h8(n,t){var e;return(e=ctn(n))||(!Wrt&&(Wrt=new Oo),Omn(),lY((e=new Jg(Dsn(t))).Vk(),n)),e}function f8(n,t){var e,i;return(e=Jx(n.c.Bc(t),14))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function l8(n,t){var e;for(e=0;e=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function O8(n){var t,e,i,r;if(null!=n)for(e=0;e0&&u6(Jx(MR(n.a,n.a.c.length-1),570),t)||iD(n.a,new rV(t))}function F8(n){var t;return(t=new $y).a+="VerticalSegment ",yI(t,n.e),t.a+=" ",kI(t,bA(new My,new pb(n.k))),t.a}function B8(n){var t;return(t=Jx(XJ(n.c.c,""),229))||(t=new gz(sk(ok(new pu,""),"Other")),ztn(n.c.c,"",t)),t}function H8(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (name: ",vI(t,n.zb),t.a+=")",t.a)}function q8(n,t,e){var i,r;return r=n.sb,n.sb=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,4,r,t),e?e.Ei(i):e=i),e}function G8(n,t){var e,i;for(e=0,i=r7(n,t).Kc();i.Ob();)e+=null!=$un(Jx(i.Pb(),11),(Ajn(),KQn))?1:0;return e}function z8(n,t,e){var i,r,c;for(i=0,c=nen(n,0);c.b!=c.d.c&&!((r=ey(lL(CX(c))))>e);)r>=t&&++i;return i}function U8(n,t,e){var i,r;return r=n.r,n.r=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new v_(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function X8(n,t){var e,i;return!(i=(e=Jx(t,676)).vk())&&e.wk(i=OO(t,88)?new XP(n,Jx(t,26)):new yU(n,Jx(t,148))),i}function W8(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&hmn(n.g,t,n.g,t+1,n.i-t),RF(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function V8(n,t){var e;return e=new sn,n.a.sd(e)?(GO(),new $m(mB(lJ(n,e.a,t)))):(kB(n),GO(),GO(),BFn)}function Q8(n,t){switch(t.g){case 2:case 1:return r7(n,t);case 3:case 4:return C3(r7(n,t))}return WH(),WH(),MFn}function Y8(n,t){return uI(n)?FN(n,t):aI(n)?_N(n,t):cI(n)?(mB(n),rI(n)===rI(t)):CK(n)?n.Fb(t):oK(n)?VI(n,t):Zz(n,t)}function J8(n,t,e,i,r){0!=t&&0!=i&&(1==t?r[i]=zen(r,e,i,n[0]):1==i?r[t]=zen(r,n,t,e[0]):function(n,t,e,i,r){var c,a,u,o;if(rI(n)!==rI(t)||i!=r)for(u=0;ue)throw fp(new qm(xMn+n+RMn+t+", size: "+e));if(n>t)throw fp(new Ym(xMn+n+DMn+t))}function c9(n,t,e){if(t<0)Thn(n,e);else{if(!e.Ij())throw fp(new Ym(yNn+e.ne()+kNn));Jx(e,66).Nj().Vj(n,n.yh(),t)}}function a9(n,t,e,i,r,c){this.e=new rp,this.f=(f0(),c3n),iD(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function u9(n,t){var e,i;for(i=new XO(n);i.e!=i.i.gc();)if(e=Jx(fen(i),26),rI(t)===rI(e))return!0;return!1}function o9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function s9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (source: ",vI(t,n.d),t.a+=")",t.a)}function h9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,2,e,t))}function f9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,8,e,t))}function l9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,8,e,t))}function b9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,3,e,t))}function w9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,9,e,t))}function d9(n,t){var e;return-1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):enn(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function g9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(nR(),z_n)[t])&&(e=z_n[t]=new rb(n)),e):new rb(n)}function p9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(dR(),nFn)[t])&&(e=nFn[t]=new ab(n)),e):new ab(n)}function v9(n){var t;return n.k==(won(),Fzn)&&((t=Jx($un(n,(Ajn(),fQn)),61))==(Ckn(),Mit)||t==Hit)}function m9(n,t,e){var i,r;return(r=qln(n.b,t))&&(i=Jx(Cmn(PJ(n,r),""),26))?Nln(n,i,t,e):null}function y9(n,t){var e,i;for(i=new XO(n);i.e!=i.i.gc();)if(e=Jx(fen(i),138),rI(t)===rI(e))return!0;return!1}function k9(n,t,e){var i;if(t>(i=n.gc()))throw fp(new EN(t,i));if(n.hi()&&n.Hc(e))throw fp(new Ym(jxn));n.Xh(t,e)}function j9(n,t){var e;if(OO(e=Jbn(n,t),322))return Jx(e,34);throw fp(new Ym(yNn+t+"' is not a valid attribute"))}function E9(n){var t,e,i;for(t=new rp,i=new pb(n.b);i.at?1:n==t?0==n?L9(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function N9(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=Qhn(n,t,e),n.$i(n.Zi(7,g9(e),i,t,r)),i):Qhn(n,t,e)}function x9(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.cd(),function(n,t,e){++n.e,--n.f,Jx(n.d[t].$c(e),133).dd()}(n,i=((e=t.Sh())&Jjn)%n.d.length,Hln(n,i,e,r)))}function D9(n,t){var e;e=0!=(n.Bb&RNn),t?n.Bb|=RNn:n.Bb&=-1025,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,10,e,t))}function R9(n,t){var e;e=0!=(n.Bb&tMn),t?n.Bb|=tMn:n.Bb&=-4097,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,12,e,t))}function K9(n,t){var e;e=0!=(n.Bb&FDn),t?n.Bb|=FDn:n.Bb&=-8193,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,15,e,t))}function _9(n,t){var e;e=0!=(n.Bb&BDn),t?n.Bb|=BDn:n.Bb&=-2049,0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new AV(n,1,11,e,t))}function F9(n){var t,e;for(e=Qln(r1(n)).Kc();e.Ob();)if(gpn(n,t=bL(e.Pb())))return gW((vT(),Zct),t);return null}function B9(n,t,e){var i;if(n.c)Iun(n.c,t,e);else for(i=new pb(n.b);i.a>10)+rMn&lTn,t[1]=56320+(1023&n)&lTn,Qnn(t,0,t.length)}function W9(n){var t;return(t=Jx($un(n,(pjn(),u1n)),103))==(e9(),eet)?ey(lL($un(n,KZn)))>=1?tet:Ztt:t}function V9(n){if(n.c)V9(n.c);else if(n.d)throw fp(new Jm("Stream already terminated, can't be modified or used"))}function Q9(n){var t;return 0!=(64&n.Db)?_ln(n):((t=new SA(_ln(n))).a+=" (identifier: ",vI(t,n.k),t.a+=")",t.a)}function Y9(n,t,e){var i;return Dk(),C1(i=new ro,t),O1(i,e),n&&lY((!n.a&&(n.a=new WO(Yrt,n,5)),n.a),i),i}function J9(n,t,e,i){var r,c;return mB(i),mB(e),null==(c=null==(r=n.xc(t))?e:IE(Jx(r,15),Jx(e,14)))?n.Bc(t):n.zc(t,c),c}function Z9(n){var t,e,i,r;return t2(e=new ax(t=Jx($k((r=(i=n.gm).f)==o_n?i:r),9),Jx(iN(t,t.length),9),0),n),e}function n7(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=Jx(r.Pb(),10),y4(e,Jx(MR(t,i.p),14)))return i;return null}function t7(n,t){var e;return eC(n)&&eC(t)&&WTn<(e=n-t)&&e>22),r=n.h+t.h+(i>>22),cO(e&HTn,i&HTn,r&qTn)}(eC(n)?V3(n):n,eC(t)?V3(t):t))}function i7(n,t){var e;return eC(n)&&eC(t)&&WTn<(e=n*t)&&e>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(u=8191&t.l),p=r*u,v=c*u,m=a*u,0!=(o=t.l>>13|(15&t.m)<<9)&&(g+=e*o,p+=i*o,v+=r*o,m+=c*o),0!=(s=t.m>>4&8191)&&(p+=e*s,v+=i*s,m+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(v+=e*h,m+=i*h),0!=(f=(1048320&t.h)>>8)&&(m+=e*f),b=((d=e*u)>>22)+(g>>9)+((262143&p)<<4)+((31&v)<<17),w=(p>>18)+(v>>5)+((4095&m)<<8),w+=(b+=(l=(d&HTn)+((511&g)<<13))>>22)>>22,cO(l&=HTn,b&=HTn,w&=qTn)}(eC(n)?V3(n):n,eC(t)?V3(t):t))}function r7(n,t){var e;return n.i||khn(n),(e=Jx(zB(n.g,t),46))?new Az(n.j,Jx(e.a,19).a,Jx(e.b,19).a):(WH(),WH(),MFn)}function c7(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,pq(n.b)):++n.d,i}function a7(){var n,t,i;Yan(),i=WFn+++Date.now(),n=sG(e.Math.floor(i*EMn))&MMn,t=sG(i-n*TMn),this.a=1502^n,this.b=t^jMn}function u7(n){var t,e;for(t=new rp,e=new pb(n.j);e.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function l7(n){var t,e,i;for(t=new XL(n.Hd().gc()),i=0,e=IY(n.Hd().Kc());e.Ob();)WG(t,e.Pb(),g9(i++));return function(n){var t;switch(_B(),n.c.length){case 0:return i_n;case 1:return function(n,t){return _B(),pin(n,t),new AB(n,t)}((t=Jx(mhn(new pb(n)),42)).cd(),t.dd());default:return new Tm(Jx(qtn(n,QQ(r_n,REn,42,n.c.length,0,1)),165))}}(t.a)}function b7(n,t){0==n.n.c.length&&iD(n.n,new pG(n.s,n.t,n.i)),iD(n.b,t),Oin(Jx(MR(n.n,n.n.c.length-1),211),t),ovn(n,t)}function w7(n){return n.c==n.b.b&&n.i==n.g.b||(n.a.c=QQ(XKn,rEn,1,0,5,1),P4(n.a,n.b),P4(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function d7(n,t){var e,i;for(i=0,e=Jx(t.Kb(n),20).Kc();e.Ob();)ty(fL($un(Jx(e.Pb(),17),(Ajn(),qQn))))||++i;return i}function g7(){g7=O,rYn=new aS(lIn,0),nYn=new aS("FIRST",1),tYn=new aS(GIn,2),eYn=new aS("LAST",3),iYn=new aS(zIn,4)}function p7(){p7=O,det=new eP(SSn,0),bet=new eP("POLYLINE",1),fet=new eP("ORTHOGONAL",2),wet=new eP("SPLINES",3)}function v7(){v7=O,w8n=new FS("ASPECT_RATIO_DRIVEN",0),d8n=new FS("MAX_SCALE_DRIVEN",1),b8n=new FS("AREA_DRIVEN",2)}function m7(){m7=O,i9n=new HS("P1_STRUCTURE",0),r9n=new HS("P2_PROCESSING_ORDER",1),c9n=new HS("P3_EXECUTION",2)}function y7(){y7=O,p6n=new xS("OVERLAP_REMOVAL",0),d6n=new xS("COMPACTION",1),g6n=new xS("GRAPH_SIZE_CALCULATION",2)}function k7(n,t){return WC(),s0(nTn),e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t))}function j7(n,t){var e,i;for(e=nen(n,0);e.b!=e.d.c;){if((i=iy(lL(CX(e))))==t)return;if(i>t){SU(e);break}}sF(e,t)}function E7(n,t){var e,i,r,c,a;if(e=t.f,ztn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;c>>0).toString(16):n.toString()}function O7(n){var t;this.a=new ax(t=Jx(n.e&&n.e(),9),Jx(iN(t,t.length),9),0),this.b=QQ(XKn,rEn,1,this.a.a.length,5,1)}function A7(n){var t,e,i;for(this.a=new sC,i=new pb(n);i.a=c)return t.c+i;return t.c+t.b.gc()}function D7(n,t){var e,i,r,c,a,u;for(i=0,e=0,a=0,u=(c=t).length;a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function R7(n){var t,e,i;for((i=new Oy).a+="[",t=0,e=n.gc();tIPn,S=e.Math.abs(b.b-d.b)>IPn,(!i&&M&&S||i&&(M||S))&&_D(p.a,k)),O2(p.a,r),0==r.b?b=k:(P$(0!=r.b),b=Jx(r.c.b.c,8)),b4(w,l,g),z2(c)==T&&(gB(T.i)!=c.a&&gsn(g=new Ik,gB(T.i),m),w5(p,JQn,g)),Son(w,p,m),f.a.zc(w,f);JG(p,j),YG(p,T)}for(h=f.a.ec().Kc();h.Ob();)JG(s=Jx(h.Pb(),17),null),YG(s,null);Kon(t)}(t,Z2(r,1)),Kon(r)}function B7(n,t,e,i,r,c){this.a=n,this.c=t,this.b=e,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&$R(this.c,this.b,this.a)}function H7(n){ann(),this.c=RV(D4(zy(m7n,1),rEn,831,0,[s2n])),this.b=new cp,this.a=n,DB(this.b,h2n,1),VZ(f2n,new Yd(this))}function q7(n,t){var e;return n.d?I_(n.b,t)?Jx(HF(n.b,t),51):(e=t.Kf(),DB(n.b,t,e),e):t.Kf()}function G7(n,t){var e;return rI(n)===rI(t)||!!OO(t,91)&&(e=Jx(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function z7(n){switch(Ckn(),n.g){case 4:return Mit;case 1:return Tit;case 3:return Hit;case 2:return Git;default:return qit}}function U7(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return U3(n,t)}function X7(n){switch(n.g){case 0:return new qa;case 1:return new Ua;default:throw fp(new Ym(BIn+(null!=n.f?n.f:""+n.g)))}}function W7(n){switch(n.g){case 0:return new sm;case 1:return new Nv;default:throw fp(new Ym(Q$n+(null!=n.f?n.f:""+n.g)))}}function V7(n){var t,e,i;return(e=n.zg())?OO(t=n.Ug(),160)&&null!=(i=V7(Jx(t,160)))?i+"."+e:e:null}function Q7(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),rI(t)===rI(i)||null!=t&&Y8(t,i))return e&&r.Qb(),!0;return!1}function Y7(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function J7(n,t){var e;if(t){for(e=0;eo.d&&(f=o.d+o.a+h));i.c.d=f,t.a.zc(i,t),s=e.Math.max(s,i.c.d+i.c.a)}return s}(n),PE(new PR(null,new xz(n.d,16)),new Jb(n)),t}function tnn(n){var t;return 0!=(64&n.Db)?H8(n):((t=new SA(H8(n))).a+=" (instanceClassName: ",vI(t,n.D),t.a+=")",t.a)}function enn(n,t){var e,i,r;if(null==n.i&&hvn(n),e=n.i,-1!=(i=t.aj()))for(r=e.length;i>1,this.k=t-1>>1}function lnn(n,t,e){var i,r;for(i=zz(e,oMn),r=0;0!=j8(i,0)&&r0&&(t.lengthn.i&&RF(t,n.i,null),t}function dnn(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),W8(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):W8(n,n.i,t),e}function gnn(n){var t;return IL(),t=new lC(Jx(n.e.We((Ojn(),ett)),8)),n.B.Hc((Qgn(),art))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function pnn(n){return qen(),(n.q?n.q:(WH(),WH(),SFn))._b((pjn(),J1n))?Jx($un(n,J1n),197):Jx($un(gB(n),Z1n),197)}function vnn(n,t){var e,i;return i=null,A$(n,(pjn(),F0n))&&(e=Jx($un(n,F0n),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=$un(gB(n),t)),i}function mnn(n,t){var e,i,r;return!!OO(t,42)&&(i=(e=Jx(t,42)).cd(),wB(r=D8(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function ynn(n,t){var e;return n.f>0&&(n.qj(),-1!=Hln(n,((e=null==t?0:V5(t))&Jjn)%n.d.length,e,t))}function knn(n,t){var e,i;return n.f>0&&(n.qj(),e=ifn(n,((i=null==t?0:V5(t))&Jjn)%n.d.length,i,t))?e.dd():null}function jnn(n,t){var e,i,r,c;for(c=gwn(n.e.Tg(),t),e=Jx(n.g,119),r=0;r>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)hmn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Knn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function _nn(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;return l=n.c[t],b=n.c[e],!((w=Jx($un(l,(Ajn(),yQn)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(won(),Hzn)&&b.k!=Hzn,v=(g=Jx($un(l,mQn),10))!=(p=Jx($un(b,mQn),10)),m=!!g&&g!=l||!!p&&p!=b,y=Cin(l,(Ckn(),Mit)),k=Cin(b,Hit),m|=Cin(l,Hit)||Cin(b,Mit),d&&(m&&v||y||k))||l.k==(won(),Gzn)&&b.k==qzn||b.k==(won(),Gzn)&&l.k==qzn)&&(h=n.c[t],c=n.c[e],r=$cn(n.e,h,c,(Ckn(),Git)),o=$cn(n.i,h,c,Tit),function(n,t,e){n.d=0,n.b=0,t.k==(won(),Gzn)&&e.k==Gzn&&Jx($un(t,(Ajn(),OQn)),10)==Jx($un(e,OQn),10)&&(bJ(t).j==(Ckn(),Mit)?Vln(n,t,e):Vln(n,e,t)),t.k==Gzn&&e.k==Hzn?bJ(t).j==(Ckn(),Mit)?n.d=1:n.b=1:e.k==Gzn&&t.k==Hzn&&(bJ(e).j==(Ckn(),Mit)?n.b=1:n.d=1),function(n,t,e){t.k==(won(),qzn)&&e.k==Hzn&&(n.d=G8(t,(Ckn(),Hit)),n.b=G8(t,Mit)),e.k==qzn&&t.k==Hzn&&(n.d=G8(e,(Ckn(),Mit)),n.b=G8(e,Hit))}(n,t,e)}(n.f,h,c),s=k6(n.b,h,c)+Jx(r.a,19).a+Jx(o.a,19).a+n.f.d,u=k6(n.b,c,h)+Jx(r.b,19).a+Jx(o.b,19).a+n.f.b,n.a&&(f=Jx($un(h,OQn),11),a=Jx($un(c,OQn),11),s+=Jx((i=Rrn(n.g,f,a)).a,19).a,u+=Jx(i.b,19).a),s>u)}(n.f,e,i)&&(function(n,t,e){var i,r;Pun(n.e,t,e,(Ckn(),Git)),Pun(n.i,t,e,Tit),n.a&&(r=Jx($un(t,(Ajn(),OQn)),11),i=Jx($un(e,OQn),11),eU(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function Fnn(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Jx(L_(t),10),u=Jx(r7(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Bnn(n,t,i){var r,c,a,u,o;return u=n.k,o=t.k,c=lL(vnn(n,r=i[u.g][o.g])),a=lL(vnn(t,r)),e.Math.max((mB(c),c),(mB(a),a))}function Hnn(n,t,e){var i,r,c;for(r=Jx(HF(n.b,e),177),i=0,c=new pb(t.j);c.at?1:YI(isNaN(n),isNaN(t)))>0}function Xnn(n,t){return WC(),WC(),s0(nTn),(e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t)))<0}function Wnn(n,t){return WC(),WC(),s0(nTn),(e.Math.abs(n-t)<=nTn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:YI(isNaN(n),isNaN(t)))<=0}function Vnn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];eaMn)return e.fh();if((i=e.Zg())||e==n)break}return i}function atn(n){return FG(),OO(n,156)?Jx(HF(Sct,xFn),288).vg(n):I_(Sct,Q5(n))?Jx(HF(Sct,Q5(n)),288).vg(n):null}function utn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw fp(new Ym("Input edge is not connected to the input port."))}function otn(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+e.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function htn(n,t){var e;return rI(t)===rI(n)||!!OO(t,21)&&(e=Jx(t,21)).gc()==n.gc()&&n.Ic(e)}function ftn(n,t){var e,i;for(Nz(t,n.length),e=n.charCodeAt(t),i=t+1;i=2*t&&iD(e,new Nx(a[i-1]+t,a[i]-t));return e}(e,i),PE(qZ(new PR(null,new xz(function(n){var t,e,i,r,c,a,u;for(c=new sC,e=new pb(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ja),new kH(n,e,r,i)))}function dtn(n,t,e){var i;0!=(n.Db&t)?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=f7(254&n.Db)))n.Eb=null;else if(c=f1(n.Eb),2==i)r=Qin(n,t),n.Eb=c[0==r?1:0];else{for(a=QQ(XKn,rEn,1,i-1,5,1),e=2,u=0,o=0;e<=128;e<<=1)e==t?++u:0!=(n.Db&e)&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Qin(n,t))?n.Eb=e:RF(f1(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=f7(254&n.Db)))n.Eb=e;else{if(1==r)a=QQ(XKn,rEn,1,2,5,1),0==Qin(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=QQ(XKn,rEn,1,r+1,5,1),c=f1(n.Eb),i=2,u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:0!=(n.Db&i)&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function gtn(n){var t;return 0==(32&n.Db)&&0!=(t=mF(Jx(q3(n,16),26)||n.zh())-mF(n.zh()))&&dtn(n,32,QQ(XKn,rEn,1,t,5,1)),n}function ptn(n){var t,e;for(t=new pb(n.g);t.a0&&j8(n,128)<0?(t=VR(n)+128,!(e=(wR(),W_n)[t])&&(e=W_n[t]=new cb(n)),e):new cb(n)}function jtn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),pxn)))?i:t.ne()}function Etn(n,t){var e,i;for(bz(),i=new LK(wA(u7(n).a.Kc(),new h));Qfn(i);)if((e=Jx(jV(i),17)).d.i==t||e.c.i==t)return e;return null}function Ttn(n,t,e){this.c=n,this.f=new rp,this.e=new Ik,this.j=new pR,this.n=new pR,this.b=t,this.g=new yH(t.c,t.d,t.b,t.a),this.a=e}function Mtn(n){var t,e,i,r;for(this.a=new sC,this.d=new Yp,this.e=0,i=0,r=(e=n).length;iE&&(d.c=E-d.b),iD(u.d,new lK(d,I9(u,d))),m=t==Mit?e.Math.max(m,g.b+h.b.rf().b):e.Math.min(m,g.b));for(m+=t==Mit?n.t:-n.t,(y=nnn((u.e=m,u)))>0&&(Jx(zB(n.b,t),124).a.b=y),f=b.Kc();f.Ob();)!(h=Jx(f.Pb(),111)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else jkn(n,t)}(n,t):jkn(n,t):n.u.Hc(yit)&&(i?function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=Jx(Jx(FV(n.r,t),21),84)).gc()<=2||t==(Ckn(),Tit)||t==(Ckn(),Git))Gkn(n,t);else{for(g=n.u.Hc((Ohn(),kit)),i=t==(Ckn(),Mit)?(i4(),JHn):(i4(),VHn),v=t==Mit?(AJ(),vHn):(AJ(),yHn),r=Yy(Ax(i),n.s),p=t==Mit?ZTn:nMn,h=f.Kc();h.Ob();)!(o=Jx(h.Pb(),111)).c||o.c.d.c.length<=0||(d=o.b.rf(),w=o.e,(b=(l=o.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(u=l.n,l.e.b+u.d+u.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,Dq(v,ESn),l.f=v,bY(l,(HY(),bHn)),iD(r.d,new lK(b,I9(r,b))),p=t==Mit?e.Math.min(p,w.b):e.Math.max(p,w.b+o.b.rf().b));for(p+=t==Mit?-n.t:n.t,nnn((r.e=p,r)),s=f.Kc();s.Ob();)!(o=Jx(s.Pb(),111)).c||o.c.d.c.length<=0||((b=o.c.i).c-=o.e.a,b.d-=o.e.b)}}(n,t):Gkn(n,t))}function Dtn(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(rI(n)===rI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&RF(t,i,null),t}function Gtn(n,t){var e,i;for(i=n.a.length,t.lengthi&&RF(t,i,null),t}function ztn(n,t,e){var i,r,c;return(r=Jx(HF(n.e,t),387))?(c=JL(r,e),AO(n,r),c):(i=new sD(n,t,e),DB(n.e,t,i),rG(i),null)}function Utn(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(jdn(),null==n)return null;if((r=n.length)%2!=0)return null;for(t=DJ(n),e=QQ(Jot,NNn,25,c=r/2|0,15,1),i=0;i>24}return e}(Qvn(n,!0))))throw fp(new ly("Invalid hexBinary value: '"+n+"'"));return t}function Xtn(n){return wdn(),j8(n,0)<0?0!=j8(n,-1)?new van(-1,hJ(n)):bFn:j8(n,10)<=0?dFn[VR(n)]:new van(1,n)}function Wtn(){return xjn(),D4(zy(ZHn,1),WEn,159,0,[HHn,BHn,qHn,LHn,$Hn,NHn,RHn,DHn,xHn,FHn,_Hn,KHn,OHn,CHn,AHn,PHn,SHn,IHn,THn,EHn,MHn,GHn])}function Vtn(n){var t;this.d=new rp,this.j=new Ik,this.g=new Ik,t=n.g.b,this.f=Jx($un(gB(t),(pjn(),u1n)),103),this.e=ey(lL(aen(t,B0n)))}function Qtn(n){this.b=new rp,this.e=new rp,this.d=n,this.a=!ij(fH(new PR(null,new tF(new XV(n.b))),new Cb(new Gr))).sd((qE(),gBn))}function Ytn(){Ytn=O,M7n=new XS("PARENTS",0),T7n=new XS("NODES",1),j7n=new XS("EDGES",2),S7n=new XS("PORTS",3),E7n=new XS("LABELS",4)}function Jtn(){Jtn=O,iit=new uP("DISTRIBUTED",0),cit=new uP("JUSTIFIED",1),tit=new uP("BEGIN",2),eit=new uP(vSn,3),rit=new uP("END",4)}function Ztn(n){switch(n.g){case 1:return e9(),iet;case 4:return e9(),net;case 2:return e9(),tet;case 3:return e9(),Ztt}return e9(),eet}function nen(n,t){var e,i;if(rz(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=64&&t<128&&(r=Uz(r,zK(1,t-64)));return r}function aen(n,t){var e,i;return i=null,A$(n,(Ojn(),qtt))&&(e=Jx($un(n,qtt),94)).Xe(t)&&(i=e.We(t)),null==i&&gB(n)&&(i=$un(gB(n),t)),i}function uen(n,t){var e,i,r;(i=(r=t.d.i).k)!=(won(),qzn)&&i!=_zn&&Qfn(e=new LK(wA(s7(r).a.Kc(),new h)))&&DB(n.k,t,Jx(jV(e),17))}function oen(n,t){var e,i,r;return i=OZ(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):Uhn(n,i):e<0?Uhn(n,i):Jx(i,66).Nj().Sj(n,n.yh(),e)}function sen(n){var t;if(OO(n.a,4)){if(null==(t=atn(n.a)))throw fp(new Jm(TLn+n.b+"'. "+yLn+(hL(Cct),Cct.k)+kLn));return t}return n.a}function hen(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Zpn(),null==n)return null;if((w=function(n){var t,e,i;for(i=0,e=n.length,t=0;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return Ij(a=c[h++])&&Ij(u=c[h++])?(t=hot[a],e=hot[u],o=c[h++],s=c[h++],-1==hot[o]||-1==hot[s]?61==o&&61==s?0!=(15&e)?null:(hmn(f,0,g=QQ(Jot,NNn,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=o&&61==s?0!=(3&(i=hot[o]))?null:(hmn(f,0,g=QQ(Jot,NNn,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=hot[o],r=hot[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}(Qvn(n,!0))))throw fp(new ly("Invalid base64Binary value: '"+n+"'"));return t}function fen(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){throw OO(t=E4(t),73)?(n.mj(),fp(new _p)):fp(t)}}function len(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){throw OO(t=E4(t),73)?(n.mj(),fp(new _p)):fp(t)}}function ben(){ben=O,Ojn(),Kqn=_tt,$qn=xnt,Pqn=ynt,Lqn=ott,vcn(),Dqn=FBn,xqn=KBn,Rqn=HBn,Nqn=RBn,A6(),Cqn=Eqn,Iqn=jqn,Oqn=Mqn,Aqn=Sqn}function wen(n){switch(QE(),this.c=new rp,this.d=n,n.g){case 0:case 2:this.a=RB(Mzn),this.b=ZTn;break;case 3:case 1:this.a=Mzn,this.b=nMn}}function den(n,t,e){var i;if(n.c)N1(n.c,n.c.i+t),x1(n.c,n.c.j+e);else for(i=new pb(n.b);i.a0&&(iD(n.b,new rD(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=CO(QQ(Wot,hTn,25,-i,15,1))))}function pen(n,t){var e,i,r;for(e=n.o,r=Jx(Jx(FV(n.r,t),21),84).Kc();r.Ob();)(i=Jx(r.Pb(),111)).e.a=yrn(i,e.a),i.e.b=e.b*ey(lL(i.b.We(WHn)))}function ven(n,t){var e;return e=Jx($un(n,(pjn(),L1n)),74),SO(t,Lzn)?e?HH(e):(e=new xv,w5(n,L1n,e)):e&&w5(n,L1n,null),e}function men(n){var t;return(t=new $y).a+="n",n.k!=(won(),qzn)&&kI(kI((t.a+="(",t),g$(n.k).toLowerCase()),")"),kI((t.a+="_",t),krn(n)),t.a}function yen(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function ken(n,t){switch(t){case 7:return!n.e&&(n.e=new $N(tct,n,7,4)),void qmn(n.e);case 8:return!n.d&&(n.d=new $N(tct,n,8,5)),void qmn(n.d)}cnn(n,t)}function jen(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){throw OO(n=E4(n),109)?fp(new qm("Can't get element "+t)):fp(n)}}function Een(n,t){this.e=n,t=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Pen(){Pen=O,eqn=new rM(xSn,0),tqn=new rM(DSn,1),iqn=new rM(RSn,2),rqn=new rM(KSn,3),eqn.a=!1,tqn.a=!0,iqn.a=!1,rqn.a=!0}function Ien(){Ien=O,wqn=new iM(xSn,0),bqn=new iM(DSn,1),dqn=new iM(RSn,2),gqn=new iM(KSn,3),wqn.a=!1,bqn.a=!0,dqn.a=!1,gqn.a=!0}function Cen(n){var t,e,i;if(e=0,0==(i=rdn(n)).c.length)return 1;for(t=new pb(i);t.ae.b)return!0}return!1}function Aen(n,t){return uI(n)?!!Ujn[t]:n.hm?!!n.hm[t]:aI(n)?!!zjn[t]:!!cI(n)&&!!Gjn[t]}function $en(n,t,e){return null==e?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),etn(n.o,t)):(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),Dcn(n.o,t,e)),n}function Len(n,t,e,i){var r,c,a;return c=OZ(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):efn(n,c,e):Jx(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Nen(n,t,e,i){var r,c;e.mh(t)&&(MT(),zJ(t)?function(n,t){var e,i,r,c;for(i=0,r=t.gc();i=0)return i;if(n.Fk())for(e=0;e=(r=n.gc()))throw fp(new EN(t,r));if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw fp(new Ym(jxn));return n.mi(t,e)}function Fen(n,t){if(this.a=Jx(SF(n),245),this.b=Jx(SF(t),245),n.vd(t)>0||n==(gm(),n_n)||t==(dm(),t_n))throw fp(new Ym("Invalid range: "+HX(n,t)))}function Ben(n){var t,e;for(this.b=new rp,this.c=n,this.a=!1,e=new pb(n.a);e.a0),(t&-t)==t)return sG(t*Wln(n,31)*4.656612873077393e-10);do{i=(e=Wln(n,31))%t}while(e-i+(t-1)<0);return sG(i)}function Wen(n){var t,e,i;return bx(),null!=(i=mBn[e=":"+n])?sG((mB(i),i)):(t=null==(i=vBn[e])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new hx(Jx(FV(n.a,c),21)),WH(),ZC(i,new ow(t)),r=new ZU(c.b,0);r.b1&&(r=function(n,t){var e,i,r;for(e=qA(new iv,n),r=new pb(t);r.a(o=null==n.d?0:n.d.length)){for(h=n.d,n.d=QQ(Tct,kDn,63,2*o+4,0,1),c=0;cJAn;){for(a=t,u=0;e.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),cvn(n,n.b-u,a,r,c),P$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function pin(n,t){if(null==n)throw fp(new ny("null key in entry: null="+t));if(null==t)throw fp(new ny("null value in entry: "+n+"=null"))}function vin(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[Y6(n.a[0],t),Y6(n.a[1],t),Y6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function min(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[J6(n.a[0],t),J6(n.a[1],t),J6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function yin(){yin=O,xWn=new zM("GREEDY",0),NWn=new zM(rCn,1),RWn=new zM(iCn,2),KWn=new zM("MODEL_ORDER",3),DWn=new zM("GREEDY_MODEL_ORDER",4)}function kin(n,t){var e,i,r;for(n.b[t.g]=1,i=nen(t.d,0);i.b!=i.d.c;)r=(e=Jx(CX(i),188)).c,1==n.b[r.g]?_D(n.a,e):2==n.b[r.g]?n.b[r.g]=1:kin(n,r)}function jin(n,t,e){var i,r,c,a;for(a=n.r+t,n.r+=t,n.d+=e,i=e/n.n.c.length,r=0,c=new pb(n.n);c.a0||!a&&0==u))}(n,e,i.d,r,c,a,u)&&t.Fc(i),(s=i.a[1])&&Nin(n,t,e,s,r,c,a,u))}function xin(n,t,e){try{return hI(Q0(n,t,e),1)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Din(n,t,e){try{return hI(Q0(n,t,e),0)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Rin(n,t,e){try{return hI(Q0(n,t,e),2)}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function Kin(n,t){if(-1==n.g)throw fp(new Np);n.mj();try{n.d._c(n.g,t),n.f=n.d.j}catch(n){throw OO(n=E4(n),73)?fp(new Rp):fp(n)}}function _in(n,t,i){cun(i,"Linear segments node placement",1),n.b=Jx($un(t,(Ajn(),UQn)),304),function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(O=new rp,w=new pb(t.b);w.a=0){for(o=null,u=new ZU(h.a,s+1);u.b0&&s[r]&&(d=bO(n.b,s[r],c)),g=e.Math.max(g,c.c.c.b+d);for(a=new pb(f.e);a.ak)?(s=2,u=Jjn):0==s?(s=1,u=E):(s=0,u=E):(b=E>=u||u-E0?(f=Jx(MR(l.c.a,a-1),10),T=bO(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+T)):g=l.n.b-l.d.d,s=e.Math.min(g,s),ac&&RF(t,c,null),t}function Bin(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!(!(rI(r)===rI(i)||null!=r&&Y8(r,i))||null==i&&!n._b(e))}function Hin(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new YS(-(r=n.a).c,-r.d)),yN(this.b,e),c=i/2,t.a?x$(this.b,0,c):x$(this.b,c,0),iD(n.c,this)}function qin(){qin=O,r8n=new KS(lIn,0),e8n=new KS(cCn,1),i8n=new KS("EDGE_LENGTH_BY_POSITION",2),t8n=new KS("CROSSING_MINIMIZATION_BY_POSITION",3)}function Gin(n,t){var e,i;if(e=Jx(p1(n.g,t),33))return e;if(i=Jx(p1(n.j,t),118))return i;throw fp(new fy("Referenced shape does not exist: "+t))}function zin(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw fp(new Ym("Node 'one' must be either source or target of edge 'edge'."))}function Uin(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw fp(new Ym("Node "+t+" is neither source nor target of edge "+n))}function Xin(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(o+=r),s[h]=a,a+=u*(o+i)}function Vin(n){var t,e,i;for(i=n.f,n.n=QQ(Zot,cMn,25,i,15,1),n.d=QQ(Zot,cMn,25,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function rrn(n,t){var i;return i=D4(zy(Zot,1),cMn,25,15,[Uen(n,(ZZ(),cHn),t),Uen(n,aHn,t),Uen(n,uHn,t)]),n.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function crn(n,t,e){try{agn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw OO(n=E4(n),73)?fp(new qm(n.g+GSn+t+eEn+e+").")):fp(n)}}function arn(n,t,e){try{agn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw OO(n=E4(n),73)?fp(new qm(n.g+GSn+t+eEn+e+").")):fp(n)}}function urn(n){var t;A$(n,(pjn(),X1n))&&((t=Jx($un(n,X1n),21)).Hc((Tln(),zet))?(t.Mc(zet),t.Fc(Xet)):t.Hc(Xet)&&(t.Mc(Xet),t.Fc(zet)))}function orn(n){var t;A$(n,(pjn(),X1n))&&((t=Jx($un(n,X1n),21)).Hc((Tln(),Jet))?(t.Mc(Jet),t.Fc(Qet)):t.Hc(Qet)&&(t.Mc(Qet),t.Fc(Jet)))}function srn(n,t,e,i){var r,c;for(r=t;r0&&(c.b+=t),c}function wrn(n,t){var i,r,c;for(c=new Ik,r=n.Kc();r.Ob();)wgn(i=Jx(r.Pb(),37),0,c.b),c.b+=i.f.b+t,c.a=e.Math.max(c.a,i.f.a);return c.a>0&&(c.a+=t),c}function drn(n){var t,i,r;for(r=Jjn,i=new pb(n.a);i.a>16==6?n.Cb.ih(n,5,act,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function mrn(n){var t,i,r;n.b==n.c&&(r=n.a.length,i=E5(e.Math.max(8,r))<<1,0!=n.b?(n2(n,t=iN(n.a,i),r),n.a=t,n.b=0):Up(n.a,i),n.c=r)}function yrn(n,t){var e;return(e=n.b).Xe((Ojn(),ktt))?e.Hf()==(Ckn(),Git)?-e.rf().a-ey(lL(e.We(ktt))):t+ey(lL(e.We(ktt))):e.Hf()==(Ckn(),Git)?-e.rf().a:t}function krn(n){var t;return 0!=n.b.c.length&&Jx(MR(n.b,0),70).a?Jx(MR(n.b,0),70).a:null!=(t=CH(n))?t:""+(n.c?fJ(n.c.a,n,0):-1)}function jrn(n){var t;return 0!=n.f.c.length&&Jx(MR(n.f,0),70).a?Jx(MR(n.f,0),70).a:null!=(t=CH(n))?t:""+(n.i?fJ(n.i.j,n,0):-1)}function Ern(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=e.Math.max(c,t.d),++r;n.e=a,n.b=c}function Srn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),n.o):(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),XQ(n.o)):Len(n,t,e,i)}function Prn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&HTn,n.m=i&HTn,n.h=r&qTn,0)))}function Orn(n,t,e){var i,r;return u8(r=new Xv,t),T2(r,e),lY((!n.c&&(n.c=new y_(bat,n,12,10)),n.c),r),F1(i=r,0),B1(i,1),b9(i,!0),h9(i,!0),i}function Arn(n,t){var e,i;if(t>=n.i)throw fp(new HI(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&hmn(n.g,t+1,n.g,t,i),RF(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function $rn(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,cat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Lrn(n){var t,e,i,r,c;for(r=Jjn,c=null,i=new pb(n.d);i.ae.a.c.length))throw fp(new Ym("index must be >= 0 and <= layer node count"));n.c&&oJ(n.c.a,n),n.c=e,e&&nK(e.a,t,n)}function Grn(n,t){var e,i,r;for(i=new LK(wA(u7(n).a.Kc(),new h));Qfn(i);)return e=Jx(jV(i),17),new Bf(SF((r=Jx(t.Kb(e),10)).n.b+r.o.b/2));return pm(),pm(),UKn}function zrn(n,t){this.c=new cp,this.a=n,this.b=t,this.d=Jx($un(n,(Ajn(),UQn)),304),rI($un(n,(pjn(),W1n)))===rI((aJ(),rVn))?this.e=new Ov:this.e=new Cv}function Urn(n,t){var e,i;return i=null,n.Xe((Ojn(),qtt))&&(e=Jx(n.We(qtt),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=sen(t)),i}function Xrn(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw OO(n=E4(n),109)?fp(new qm("Can't remove element "+t)):fp(n)}}function Wrn(n,t){var e,i,r;for(mB(t),M$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),iD(n.b,mB(e));return r!=n.b.c.length&&(b6(n,0),!0)}function Vrn(){Vrn=O,Ojn(),DGn=qnt,new RC(Ont,(MA(),!0)),_Gn=Znt,FGn=ett,BGn=rtt,KGn=Ynt,HGn=utt,qGn=Stt,Nrn(),xGn=OGn,LGn=PGn,NGn=CGn,RGn=AGn,$Gn=SGn}function Qrn(n,t,e,i){var r,c,a;for(ZG(t,Jx(i.Xb(0),29)),a=i.bd(1,i.gc()),c=Jx(e.Kb(t),20).Kc();c.Ob();)Qrn(n,(r=Jx(c.Pb(),17)).c.i==t?r.d.i:r.c.i,e,a)}function Yrn(n){var t;return t=new cp,A$(n,(Ajn(),YQn))?Jx($un(n,YQn),83):(PE(fH(new PR(null,new xz(n.j,16)),new tr),new _w(t)),w5(n,YQn,t),t)}function Jrn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,6,tct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Drt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zrn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,Jrt,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Krt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ncn(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),Frt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function tcn(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,sat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),Mat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ecn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,ict,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),vat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function icn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,act,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),Nat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function rcn(){this.a=new lo,this.g=new rin,this.j=new rin,this.b=new cp,this.d=new rin,this.i=new rin,this.k=new cp,this.c=new cp,this.e=new cp,this.f=new cp}function ccn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;raMn)return acn(n,i);if(i==n)return!0}}return!1}function ucn(n,t){var i,r,c;for(oJ(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=g$n,r=new pb(n.a);r.a>16==3?n.Cb.ih(n,12,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),xrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function scn(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,oct,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(ujn(),_rt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,cat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),$at),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function fcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,lat,t):(e=tin(Jx(OZ(Jx(q3(n,16),26)||(Djn(),xat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function lcn(n){var t;return 0==(1&n.Bb)&&n.r&&n.r.kh()&&(t=Jx(n.r,49),n.r=Jx(I8(n,t),138),n.r!=t&&0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,9,8,t,n.r))),n.r}function bcn(n,t,i){var r;return r=D4(zy(Zot,1),cMn,25,15,[kun(n,(ZZ(),cHn),t,i),kun(n,aHn,t,i),kun(n,uHn,t,i)]),n.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function wcn(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new vQ(t.gc()),i=t.Kc();i.Ob();)(e=Jx(i.Pb(),286)).c==e.f?tsn(n,e,e.c):Qon(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(ZC(r,new ti),e=r.c.length,i=0;i>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function vcn(){vcn=O,Ldn(),HBn=new BI(oSn,qBn=QBn),hZ(),FBn=new BI(sSn,BBn=NBn),ten(),KBn=new BI(hSn,_Bn=OBn),RBn=new BI(fSn,(MA(),!0))}function mcn(n,t,e){var i,r;i=t*e,OO(n.g,145)?(r=PX(n)).f.d?r.f.a||(n.d.a+=i+PSn):(n.d.d-=i+PSn,n.d.a+=i+PSn):OO(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function ycn(n,t,i){var r,c,a,u,o;for(c=n[i.g],o=new pb(t.d);o.a0?n.g:0),++i;t.b=r,t.e=c}function jcn(n){var t,e,i;if(i=n.b,yE(n.i,i.length)){for(e=2*i.length,n.b=QQ(a_n,GEn,317,e,0,1),n.c=QQ(a_n,GEn,317,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)vhn(n,t,t);++n.g}}function Ecn(n,t,e){var i;(i=t.c.i).k==(won(),Hzn)?(w5(n,(Ajn(),MQn),Jx($un(i,MQn),11)),w5(n,SQn,Jx($un(i,SQn),11))):(w5(n,(Ajn(),MQn),t.c),w5(n,SQn,e.d))}function Tcn(n,t,i){var r,c,a,u,o,s;return odn(),u=t/2,a=i/2,o=1,s=1,(r=e.Math.abs(n.a))>u&&(o=u/r),(c=e.Math.abs(n.b))>a&&(s=a/c),_O(n,e.Math.min(o,s)),n}function Mcn(){oE.call(this),this.e=-1,this.a=!1,this.p=tTn,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=tTn}function Scn(){Scn=O,VGn=kK(sR(sR(sR(new lX,(Lun(),tzn),(Ljn(),xUn)),tzn,_Un),ezn,UUn),ezn,EUn),YGn=sR(sR(new lX,tzn,bUn),tzn,TUn),QGn=kK(new lX,ezn,SUn)}function Pcn(n,t){var e,i,r,c;for(c=new cp,t.e=null,t.f=null,i=new pb(t.i);i.a0)try{i=rpn(t,tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}return!n.a&&(n.a=new Qg(n)),i<(e=n.a).i&&i>=0?Jx(a1(e,i),56):null}(n,0==(r=t.c.length)?"":(Lz(0,t.c.length),bL(t.c[0]))),i=1;i0&&(r=ifn(n,(c&Jjn)%n.d.length,c,t))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function Rcn(n,t){var e,i,r,c;switch(X8(n,t)._k()){case 3:case 2:for(r=0,c=(e=imn(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/C8(2.718281828459045,n))}function Bcn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=e.Math.min(r,c))}function Xcn(n,t){var e;if(e=!1,uI(t)&&(e=!0,tB(n,new UF(bL(t)))),e||OO(t,236)&&(e=!0,tB(n,new Tl(ex(Jx(t,236))))),!e)throw fp(new zm(rxn))}function Wcn(n){var t,e;switch(Jx($un(gB(n),(pjn(),$1n)),420).g){case 0:return t=n.n,e=n.o,new YS(t.a+e.a/2,t.b+e.b/2);case 1:return new lC(n.n);default:return null}}function Vcn(){Vcn=O,fVn=new QM(lIn,0),hVn=new QM("LEFTUP",1),bVn=new QM("RIGHTUP",2),sVn=new QM("LEFTDOWN",3),lVn=new QM("RIGHTDOWN",4),oVn=new QM("BALANCED",5)}function Qcn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new y_(uct,n,1,7)),qmn(n.n),!n.n&&(n.n=new y_(uct,n,1,7)),void EF(n.n,Jx(e,14));case 2:return void L0(n,bL(e))}Z5(n,t,e)}function Ycn(n,t,e){switch(t){case 3:return void $1(n,ey(lL(e)));case 4:return void L1(n,ey(lL(e)));case 5:return void N1(n,ey(lL(e)));case 6:return void x1(n,ey(lL(e)))}Qcn(n,t,e)}function Jcn(n,t,e){var i,r;(i=lun(r=new Xv,t,null))&&i.Fi(),T2(r,e),lY((!n.c&&(n.c=new y_(bat,n,12,10)),n.c),r),F1(r,0),B1(r,1),b9(r,!0),h9(r,!0)}function Zcn(n,t){var e,i;return OO(e=xT(n.g,t),235)?((i=Jx(e,235)).Qh(),i.Nh()):OO(e,498)?i=Jx(e,1938).b:null}function nan(n,t,e,i){var r,c;return SF(t),SF(e),TJ(!!(c=Jx(tx(n.d,t),19)),"Row %s not in %s",t,n.e),TJ(!!(r=Jx(tx(n.b,e),19)),"Column %s not in %s",e,n.c),x4(n,c.a,r.a,i)}function tan(n,t,e,i,r,c,a){var u,o,s,h,f;if(f=nrn(u=(s=c==a-1)?i:0,h=r[c]),10!=i&&D4(zy(n,a-c),t[c],e[c],u,f),!s)for(++c,o=0;o0?n.i:0)),++t;for(function(n,t){var e,i;for(mB(t),e=!1,i=new pb(n);i.a1||-1==u?(c=Jx(o,15),r.Wb(function(n,t){var e,i,r;for(i=new vQ(t.gc()),e=t.Kc();e.Ob();)(r=Ygn(n,Jx(e.Pb(),56)))&&(i.c[i.c.length]=r);return i}(n,c))):r.Wb(Ygn(n,Jx(o,56))))}function wan(n){switch(Jx($un(n.b,(pjn(),p1n)),375).g){case 1:PE(lH(VJ(new PR(null,new xz(n.d,16)),new _r),new Fr),new Br);break;case 2:!function(n){var t,e,i,r,c,a,u;for(i=0,u=0,a=new pb(n.d);a.a0&&xrn(this,this.c-1,(Ckn(),Tit)),this.c0&&n[0].length>0&&(this.c=ty(fL($un(gB(n[0][0]),(Ajn(),kQn))))),this.a=QQ(H3n,MEn,2018,n.length,0,2),this.b=QQ(W3n,MEn,2019,n.length,0,2),this.d=new i8}function xan(n){return 0!=n.c.length&&((Lz(0,n.c.length),Jx(n.c[0],17)).c.i.k==(won(),Hzn)||ZW(lH(new PR(null,new xz(n,16)),new Kc),new _c))}function Dan(n,t,e){return cun(e,"Tree layout",1),FU(n.b),G_(n.b,(_rn(),J4n),J4n),G_(n.b,Z4n,Z4n),G_(n.b,n5n,n5n),G_(n.b,t5n,t5n),n.a=nyn(n.b,t),function(n,t,e){var i,r,c;if(!(r=e)&&(r=new um),cun(r,"Layout",n.a.c.length),ty(fL($un(t,(aln(),K5n)))))for(sE(),i=0;i=0?(e=Hcn(n,XTn),i=Pnn(n,XTn)):(e=Hcn(t=XK(n,1),5e8),i=e7(zK(i=Pnn(t,5e8),1),zz(n,1))),Uz(zK(i,32),zz(e,oMn))}function Wan(n,t,e){var i;switch(P$(0!=t.b),i=Jx(QZ(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return sF(nen(t,0),i),t}function Van(n,t,e,i){var r,c,a,u,o;switch(o=n.b,u=_tn(a=(c=t.d).j,o.d[a.g],e),r=yN(gO(c.n),c.a),c.j.g){case 1:case 3:u.a+=r.a;break;case 2:case 4:u.b+=r.b}QW(i,u,i.c.b,i.c)}function Qan(n,t,e){var i,r,c,a;for(a=fJ(n.e,t,0),(c=new vv).b=e,i=new ZU(n.e,a);i.b=0;t--)UFn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)zFn[n]=e,e*=.5}function Jan(n){var t,e;if(ty(fL(Eln(n,(pjn(),C1n)))))for(e=new LK(wA(bbn(n).a.Kc(),new h));Qfn(e);)if(Vhn(t=Jx(jV(e),79))&&ty(fL(Eln(t,O1n))))return!0;return!1}function Zan(n,t){var e,i,r;F_(n.f,t)&&(t.b=n,i=t.c,-1!=fJ(n.j,i,0)||iD(n.j,i),r=t.d,-1!=fJ(n.j,r,0)||iD(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new Vtn(n)),function(n,t){var e,i;for(i=new pb(t);i.a=n.f)break;c.c[c.c.length]=e}return c}function sun(n){var t,e,i,r;for(t=null,r=new pb(n.wf());r.a0&&hmn(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&P_(s,LZ(e[u],_Fn))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function gun(n,t,e){cun(e,"Grow Tree",1),n.b=t.f,ty(fL($un(t,(k3(),fqn))))?(n.c=new it,yz(n,null)):n.c=new it,n.a=!1,rwn(n,t.f),w5(t,lqn,(MA(),!!n.a)),Kon(e)}function pun(n){var t,e;return n>=iMn?(t=rMn+(n-iMn>>10&1023)&lTn,e=56320+(n-iMn&1023)&lTn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&lTn)}function vun(n,t,e,i,r){var c,a,u;for(c=Qwn(n,t,e,i,r),u=!1;!c;)xln(n,r,!0),u=!0,c=Qwn(n,t,e,i,r);u&&xln(n,r,!1),0!=(a=z4(r)).c.length&&(n.d&&n.d.lg(a),vun(n,r,e,i,a))}function mun(){mun=O,jet=new iP(lIn,0),yet=new iP("DIRECTED",1),Eet=new iP("UNDIRECTED",2),vet=new iP("ASSOCIATION",3),ket=new iP("GENERALIZATION",4),met=new iP("DEPENDENCY",5)}function yun(n,t){var e,i;for(mB(t),i=n.b.c.length,iD(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.ue(MR(n.b,i),t)<=0)return YW(n.b,e,t),!0;YW(n.b,e,MR(n.b,i))}return YW(n.b,i,t),!0}function kun(n,t,i,r){var c,a;if(c=0,i)c=J6(n.a[i.g][t.g],r);else for(a=0;a=a)}function Eun(n,t,e,i){var r;if(r=!1,uI(i)&&(r=!0,xD(t,e,bL(i))),r||cI(i)&&(r=!0,Eun(n,t,e,i)),r||OO(i,236)&&(r=!0,tq(t,e,Jx(i,236))),!r)throw fp(new zm(rxn))}function Tun(n,t){var e,i,r,c;if(mB(t),(c=n.a.gc())=fTn?"error":"warn",n.a),n.b&&Zbn(t,e,n.b,"Exception: ",!0))}function $un(n,t){var e,i;return!n.q&&(n.q=new cp),null!=(i=HF(n.q,t))?i:(OO(e=t.wg(),4)&&(null==e?(!n.q&&(n.q=new cp),UV(n.q,t)):(!n.q&&(n.q=new cp),DB(n.q,t,e))),e)}function Lun(){Lun=O,JGn=new wM("P1_CYCLE_BREAKING",0),ZGn=new wM("P2_LAYERING",1),nzn=new wM("P3_NODE_ORDERING",2),tzn=new wM("P4_NODE_PLACEMENT",3),ezn=new wM("P5_EDGE_ROUTING",4)}function Nun(n,t){var e,i,r,c;for(i=(1==t?szn:ozn).a.ec().Kc();i.Ob();)for(e=Jx(i.Pb(),103),c=Jx(FV(n.f.c,e),21).Kc();c.Ob();)r=Jx(c.Pb(),46),oJ(n.b.b,r.b),oJ(n.b.a,Jx(r.b,81).d)}function xun(n,t){var e;if(sZ(),n.c==t.c){if(n.b==t.b||function(n,t){return F4(),n==wzn&&t==pzn||n==pzn&&t==wzn||n==gzn&&t==dzn||n==dzn&&t==gzn}(n.b,t.b)){if(e=function(n){return n==wzn||n==pzn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return iO(n.b.g,t.b.g)}return L9(n.c,t.c)}function Dun(n,t){var e,i;if(Uun(n,t))return!0;for(i=new pb(t);i.a=(r=n.Vi())||t<0)throw fp(new qm(Exn+t+Txn+r));if(e>=r||e<0)throw fp(new qm(Mxn+e+Txn+r));return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function Gun(n){var t,e,i;if(i=n,n)for(t=0,e=n.Ug();e;e=e.Ug()){if(++t>aMn)return Gun(e);if(i=e,e==n)throw fp(new Jm("There is a cycle in the containment hierarchy of "+n))}return i}function zun(n){var t,e,i;for(i=new Z3(eEn,"[","]"),e=n.Kc();e.Ob();)qV(i,rI(t=e.Pb())===rI(n)?"(this Collection)":null==t?uEn:C7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Uun(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;ei&&(Nz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||t1&&(n.j.b+=n.e)):(n.j.a+=i.a,n.j.b=e.Math.max(n.j.b,i.b),n.d.c.length>1&&(n.j.a+=n.e))}function Yun(){Yun=O,XXn=D4(zy(ert,1),bIn,61,0,[(Ckn(),Mit),Tit,Hit]),UXn=D4(zy(ert,1),bIn,61,0,[Tit,Hit,Git]),WXn=D4(zy(ert,1),bIn,61,0,[Hit,Git,Mit]),VXn=D4(zy(ert,1),bIn,61,0,[Git,Mit,Tit])}function Jun(n,t,e,i){var r,c,a,u,o;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(o=n.b,r=c.j,u=null;r!=a.j;)u=0==t?$9(r):O9(r),_D(i,yN(_tn(r,o.d[r.g],e),_tn(u,o.d[u.g],e))),r=u}function Zun(n,t,e,i){var r,c,a,u,o;return u=Jx((a=Rrn(n.a,t,e)).a,19).a,c=Jx(a.b,19).a,i&&(o=Jx($un(t,(Ajn(),KQn)),10),r=Jx($un(e,KQn),10),o&&r&&(JX(n.b,o,r),u+=n.b.i,c+=n.b.e)),u>c}function non(n){var t,e,i,r,c,a,u,o;for(this.a=Den(n),this.b=new rp,i=0,r=(e=n).length;i0&&(n.a[q.p]=J++)}for(rn=0,N=0,R=(A=i).length;N0;){for(P$(X.b>0),U=0,o=new pb((q=Jx(X.a.Xb(X.c=--X.b),11)).e);o.a0&&(q.j==(Ckn(),Mit)?(n.a[q.p]=rn,++rn):(n.a[q.p]=rn+K+F,++F))}rn+=F}for(z=new cp,d=new sC,$=0,x=(C=t).length;$h.b&&(h.b=W)):q.i.c==Y&&(Wh.c&&(h.c=W));for(RY(g,0,g.length,null),en=QQ(Vot,STn,25,g.length,15,1),r=QQ(Vot,STn,25,rn+1,15,1),v=0;v0;)T%2>0&&(c+=un[T+1]),++un[T=(T-1)/2|0];for(S=QQ(r4n,rEn,362,2*g.length,0,1),k=0;kML(n.d).c?(n.i+=n.g.c,Onn(n.d)):ML(n.d).c>ML(n.g).c?(n.e+=n.d.c,Onn(n.g)):(n.i+=CR(n.g),n.e+=CR(n.d),Onn(n.g),Onn(n.d))}function ron(n,t,i,r){n.a.d=e.Math.min(t,i),n.a.a=e.Math.max(t,r)-n.a.d,to&&(s=o/r),(c=e.Math.abs(t.b-n.b))>a&&(h=a/c),u=e.Math.min(s,h),n.a+=u*(t.a-n.a),n.b+=u*(t.b-n.b)}function hon(n,t,e,i,r){var c,a;for(a=!1,c=Jx(MR(e.b,0),33);Pvn(n,t,c,i,r)&&(a=!0,san(e,c),0!=e.b.c.length);)c=Jx(MR(e.b,0),33);return 0==e.b.c.length&&ucn(e.j,e),a&&irn(t.q),a}function fon(n,t){var e,i,r,c;if(odn(),t.b<2)return!1;for(i=e=Jx(CX(c=nen(t,0)),8);c.b!=c.d.c;){if(Kbn(n,i,r=Jx(CX(c),8)))return!0;i=r}return!!Kbn(n,i,e)}function lon(n,t,e,i){return 0==e?(!n.o&&(n.o=new kY((ujn(),Brt),yct,n,0)),JN(n.o,t,i)):Jx(OZ(Jx(q3(n,16),26)||n.zh(),e),66).Nj().Rj(n,gtn(n),e-mF(n.zh()),t,i)}function bon(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Jx(n.sb,49).ih(n,1,rct,e)),t&&(e=Jx(t,49).gh(n,1,rct,e)),(e=q8(n,t,e))&&e.Fi()):0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,4,t,t))}function won(){won=O,qzn=new pM("NORMAL",0),Hzn=new pM("LONG_EDGE",1),Fzn=new pM("EXTERNAL_PORT",2),Gzn=new pM("NORTH_SOUTH_PORT",3),Bzn=new pM("LABEL",4),_zn=new pM("BREAKING_POINT",5)}function don(n,t,e){var i;cun(e,"Self-Loop routing",1),i=function(n){switch(Jx($un(n,(pjn(),w1n)),218).g){case 1:return new ic;case 3:return new oc;default:return new ec}}(t),gI($un(t,(eQ(),_7n))),PE(lH(fH(fH(VJ(new PR(null,new xz(t.b,16)),new zi),new Ui),new Xi),new Wi),new kM(n,i)),Kon(e)}function gon(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw fp(new Ym("k must be smaller than n"));return 0==t||t==n?1:0==n?0:Fcn(n)/(Fcn(t)*Fcn(n-t))}function yon(n,t){var e,i,r,c;for(e=new PC(n);null!=e.g||e.c?null==e.g||0!=e.i&&Jx(e.g[e.i-1],47).Ob():$G(e);)if(OO(c=Jx(ubn(e),56),160))for(i=Jx(c,160),r=0;r0&&kgn(n,e,t),r):function(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=VK(i.a,r.a))<0?kgn(n,t,e):c>0&&kgn(n,e,t),c):null!=i.a?(kgn(n,t,e),-1):null!=r.a?(kgn(n,e,t),1):0}(n,t,e)}function Don(n,t,e){var i,r,c,a;if(0!=t.b){for(i=new SE,a=nen(t,0);a.b!=a.d.c;)O2(i,G4(c=Jx(CX(a),86))),(r=c.e).a=Jx($un(c,(cyn(),A5n)),19).a,r.b=Jx($un(c,$5n),19).a;Don(n,i,Z2(e,i.b/n.a|0))}}function Ron(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=smn(n,t,!1)).b<=t&&i.a<=e}(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=i.a,n.e.b=e.Math.max(n.e.b,i.b),n.d.c.length>1&&(n.e.a+=n.a))}function Hon(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function qon(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function Gon(n){if(OO(n,149))return function(n){var t,e,i,r,c;return c=aun(n),null!=n.a&&xD(c,"category",n.a),!Pj(new Yl(n.d))&&(AZ(c,"knownOptions",i=new Sl),t=new Sg(i),WW(new Yl(n.d),t)),!Pj(n.g)&&(AZ(c,"supportedFeatures",r=new Sl),e=new Pg(r),WW(n.g,e)),c}(Jx(n,149));if(OO(n,229))return function(n){var t,e,i;return i=aun(n),!Pj(n.c)&&(AZ(i,"knownLayouters",e=new Sl),t=new Ig(e),WW(n.c,t)),i}(Jx(n,229));if(OO(n,23))return function(n){var t,e,i;return i=aun(n),null!=n.e&&xD(i,gxn,n.e),!!n.k&&xD(i,"type",g$(n.k)),!Pj(n.j)&&(e=new Sl,AZ(i,QNn,e),t=new Cg(e),WW(n.j,t)),i}(Jx(n,23));throw fp(new Ym(uxn+zun(new uy(D4(zy(XKn,1),rEn,1,5,[n])))))}function zon(n,t,e,i){var r,c;if(t.k==(won(),Hzn))for(c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)if((r=Jx(jV(c),17)).c.i.k==Hzn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function Uon(n,t,e,i){var r;this.b=i,this.e=n==(b0(),U3n),r=t[e],this.d=lR(Qot,[MEn,dSn],[177,25],16,[r.length,r.length],2),this.a=lR(Vot,[MEn,STn],[48,25],15,[r.length,r.length],2),this.c=new Lan(t,e)}function Xon(n){var t,e,i;for(n.k=new Oz((Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])).length,n.j.c.length),i=new pb(n.j);i.a=e)return tsn(n,t,i.p),!0;return!1}function Yon(n){var t;return 0!=(64&n.Db)?kon(n):(t=new PA(dNn),!n.a||kI(kI((t.a+=' "',t),n.a),'"'),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Jon(n,t,e){var i,r,c,a,u;for(u=gwn(n.e.Tg(),t),r=Jx(n.g,119),i=0,a=0;a0&&isn(n,c,e));t.p=0}function rsn(n){var t;this.c=new SE,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new ax(t=Jx($k(R7n),9),Jx(iN(t,t.length),9),0),this.g=n.f}function csn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.Bh(r):Thn(n,i)}else c9(n,e,i)}function ssn(n){var t,e;if(e=null,t=!1,OO(n,204)&&(t=!0,e=Jx(n,204).a),t||OO(n,258)&&(t=!0,e=""+Jx(n,258).a),t||OO(n,483)&&(t=!0,e=""+Jx(n,483).a),!t)throw fp(new zm(rxn));return e}function hsn(n,t){var e,i;if(n.f){for(;t.Ob();)if(OO(i=(e=Jx(t.Pb(),72)).ak(),99)&&0!=(Jx(i,18).Bb&SNn)&&(!n.e||i.Gj()!=Qrt||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}return t.Ob()}function fsn(n,t){var e,i;if(n.f){for(;t.Sb();)if(OO(i=(e=Jx(t.Ub(),72)).ak(),99)&&0!=(Jx(i,18).Bb&SNn)&&(!n.e||i.Gj()!=Qrt||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}return t.Sb()}function lsn(n,t,e){var i,r,c,a,u,o;for(o=gwn(n.e.Tg(),t),i=0,u=n.i,r=Jx(n.g,119),a=0;a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)VG(this);this.b=t,this.a=null}function Tsn(n,t){var e,i;t.a?function(n,t){var e;if(!oF(n.b,t.b))throw fp(new Jm("Invalid hitboxes for scanline constraint calculation."));(O4(t.b,Jx(function(n,t){return Lk(Knn(n.a,t,!0))}(n.b,t.b),57))||O4(t.b,Jx(function(n,t){return Lk(Rnn(n.a,t,!0))}(n.b,t.b),57)))&&(sE(),t.b),n.a[t.b.f]=Jx(HN(n.b,t.b),57),(e=Jx(BN(n.b,t.b),57))&&(n.a[e.f]=t.b)}(n,t):(!!(e=Jx(HN(n.b,t.b),57))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=Jx(BN(n.b,t.b),57))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),KA(n.b,t.b))}function Msn(n,t){var e,i;if(e=Jx(zB(n.b,t),124),Jx(Jx(FV(n.r,t),21),84).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc(($nn(),trt))&&Wdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Jx(Jx(FV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Jx(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),fdn(n,t)==(Jtn(),iit)&&(i+=2*n.w),e.a.a=i}function Ssn(n,t){var e,i;if(e=Jx(zB(n.b,t),124),Jx(Jx(FV(n.r,t),21),84).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc(($nn(),trt))&&Vdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Jx(Jx(FV(n.r,t),21),84).Kc();i.Ob();)r+=(e=Jx(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),fdn(n,t)==(Jtn(),iit)&&(i+=2*n.w),e.a.b=i}function Psn(n,t){var e,i,r,c;for(c=new rp,i=new pb(t);i.a=0&&FN(n.substr(u,2),"//")?(o=Htn(n,u+=2,Vct,Qct),i=n.substr(u,o-u),u=o):null==f||u!=n.length&&(Nz(u,n.length),47==n.charCodeAt(u))||(a=!1,-1==(o=xA(n,pun(35),u))&&(o=n.length),i=n.substr(u,o-u),u=o);if(!e&&u0&&58==WB(h,h.length-1)&&(r=h,u=o)),u0&&(Nz(0,e.length),47!=e.charCodeAt(0))))throw fp(new Ym("invalid opaquePart: "+e));if(n&&(null==t||!lE(Kct,t.toLowerCase()))&&null!=e&&L7(e,Vct,Qct))throw fp(new Ym(TDn+e));if(n&&null!=t&&lE(Kct,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==WB(n,n.length-1))try{return null==Dsn(b$(n,0,n.length-1)).e}catch(n){if(!OO(n=E4(n),32))throw fp(n)}return!1}(e))throw fp(new Ym(TDn+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Nz(t-1,n.length),58==n.charCodeAt(t-1))&&!L7(n,Vct,Qct)}(i))throw fp(new Ym("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;te.a&&(i.Hc((gan(),snt))?r=(t.a-e.a)/2:i.Hc(fnt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((gan(),bnt))?c=(t.b-e.b)/2:i.Hc(lnt)&&(c=t.b-e.b)),Iun(n,r,c)}function zsn(n,t,e,i,r,c,a,u,o,s,h,f,l){OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),4),T2(n,e),n.f=a,R9(n,u),_9(n,o),D9(n,s),K9(n,h),b9(n,f),q9(n,l),h9(n,!0),F1(n,r),n.ok(c),u8(n,t),null!=i&&(n.i=null,Z0(n,i))}function Usn(n){var t,e;if(n.f){for(;n.n>0;){if(OO(e=(t=Jx(n.k.Xb(n.n-1),72)).ak(),99)&&0!=(Jx(e,18).Bb&SNn)&&(!n.e||e.Gj()!=Qrt||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}return n.n>0}function Xsn(n,t,e){if(n<0)return tgn(iEn,D4(zy(XKn,1),rEn,1,5,[e,g9(n)]));if(t<0)throw fp(new Ym(cEn+t));return tgn("%s (%s) must not be greater than size (%s)",D4(zy(XKn,1),rEn,1,5,[e,g9(n),g9(t)]))}function Wsn(n,t,e,i,r,c){var a,u,o;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],RF(n,c,n[c-1]),RF(n,c-1,a)}(t,e,i,c);else if(Wsn(t,n,u=e+r,o=u+((a=i+r)-u>>1),-r,c),Wsn(t,n,o,a,-r,c),c.ue(n[o-1],n[o])<=0)for(;e=i||t=0?n.sh(c,e):vbn(n,r,e)}else T7(n,i,r,e)}function Ysn(n){var t,e,i,r,c;if(e=Jx(n,49).qh())try{if(i=null,(t=qln((yT(),uat),hpn(null==(c=e).e?c:(!c.c&&(c.c=new Ddn(0!=(256&c.f),c.i,c.a,c.d,0!=(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.rh())&&(i=r.Wk(function(n){return mB(n),n}(e.e))),i&&i!=n)return Ysn(i)}catch(c){if(!OO(c=E4(c),60))throw fp(c)}return n}function Jsn(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?new Array:i).length)n.a.set(a,r);else if(c=G6(n,t,r))return c.ed(e);return RF(r,r.length,new UT(t,e)),++n.c,pq(n.b),null}function Zsn(n,t){var e;return FU(n.a),G_(n.a,(v2(),f6n),f6n),G_(n.a,l6n,l6n),sR(e=new lX,l6n,(y7(),p6n)),rI(Eln(t,(Frn(),B6n)))!==rI((C6(),T6n))&&sR(e,l6n,d6n),sR(e,l6n,g6n),uC(n.a,e),nyn(n.a,t)}function nhn(n){if(!n)return ky(),S_n;var t=n.valueOf?n.valueOf():n;if(t!==n){var i=P_n[typeof t];return i?i(t):n8(typeof t)}return n instanceof Array||n instanceof e.Array?new jl(n):new Ml(n)}function thn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Jx(zB(n.p,i),244)).i).b=Khn(r),c.a=Rhn(r),c.b=e.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,i.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}avn(r),fvn(r)}function ehn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Jx(zB(n.p,i),244)).i).b=Khn(r),c.a=Rhn(r),c.a=e.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,i.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}avn(r),fvn(r)}function ihn(n,t){var e,i,r,c;if(odn(),t.b<2)return!1;for(i=e=Jx(CX(c=nen(t,0)),8);c.b!=c.d.c;){if(r=Jx(CX(c),8),!h3(n,i)||!h3(n,r))return!1;i=r}return!(!h3(n,i)||!h3(n,e))}function rhn(n,t){var e,i,r,c,a;return e=G1(a=n,"x"),function(n,t){N1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new bg(t).a,e),i=G1(a,"y"),function(n,t){x1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new wg(t).a,i),r=G1(a,GNn),function(n,t){L1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new dg(t).a,r),c=G1(a,qNn),function(n,t){$1(n,null==t||ix((mB(t),t))||isNaN((mB(t),t))?0:(mB(t),t))}(new gg(t).a,c),c}function chn(n,t){zdn(n,t),0!=(1&n.b)&&(n.a.a=null),0!=(2&n.b)&&(n.a.f=null),0!=(4&n.b)&&(n.a.g=null,n.a.i=null),0!=(16&n.b)&&(n.a.d=null,n.a.e=null),0!=(8&n.b)&&(n.a.b=null),0!=(32&n.b)&&(n.a.j=null,n.a.c=null)}function ahn(n){var t,e,i,r,c;if(null==n)return uEn;for(c=new Z3(eEn,"[","]"),i=0,r=(e=n).length;i0)for(a=n.c.d,r=_O(kN(new YS((u=n.d.d).a,u.b),a),1/(i+1)),c=new YS(a.a,a.b),e=new pb(n.a);e.a(Lz(c+1,t.c.length),Jx(t.c[c+1],19)).a-i&&++u,iD(r,(Lz(c+u,t.c.length),Jx(t.c[c+u],19))),a+=(Lz(c+u,t.c.length),Jx(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):efn(n,r,!0),153),Jx(i,215).ol(t)}function Mhn(n){var t,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),i=sG(e.Math.floor(e.Math.log(n)/.6931471805599453)),(!t||n!=e.Math.pow(2,i))&&++i,i):f4(R3(n))}function Shn(n,t){var e,i,r;return s4(i=new cin(n),t),w5(i,(Ajn(),hQn),t),w5(i,(pjn(),p0n),(Kan(),sit)),w5(i,DZn,(Gen(),z7n)),Al(i,(won(),Fzn)),nz(e=new Con,i),dhn(e,(Ckn(),Git)),nz(r=new Con,i),dhn(r,Tit),i}function Phn(n){switch(n.g){case 0:return new Um((b0(),z3n));case 1:return new bf;case 2:return new yf;default:throw fp(new Ym("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function Ihn(n,t){var e,i,r,c;for(n.c[t.p]=!0,iD(n.a,t),c=new pb(t.j);c.a=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=Hy(B2(bH(fH(W_(n.a),new Mn),new Sn)));return a>0?a+n.n.d+n.n.a:0}function Khn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=Hy(B2(bH(fH(W_(n.a),new En),new Tn)));else{for(t=0,r=0,c=(i=min(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function _hn(n){var t,e;return(e=new $y).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&Jx(MR(n.b,0),70).a?Jx(MR(n.b,0),70).a:CH(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(kI((e.a+=" ",e),jrn(n.c)),kI(yI((e.a+="[",e),n.c.i),"]"),kI((e.a+=vIn,e),jrn(n.d)),kI(yI((e.a+="[",e),n.d.i),"]")),e.a}function Fhn(n){switch(n.g){case 0:return new df;case 1:return new gf;case 2:return new wf;case 3:return new pf;default:throw fp(new Ym("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Bhn(n,t,i,r,c){var a;switch(a=0,c.g){case 1:a=e.Math.max(0,t.b+n.b-(i.b+r));break;case 3:a=e.Math.max(0,-n.b-r);break;case 2:a=e.Math.max(0,-n.a-r);break;case 4:a=e.Math.max(0,t.a+n.a-(i.a+r))}return a}function Hhn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=lcn(n))&&(MT(),t.Cj()==_Dn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function qhn(n,t){var e,i,r,c;if(jjn(n),0!=n.c||123!=n.a)throw fp(new dy(_jn((zC(),qxn))));if(c=112==t,i=n.d,(e=w$(n.i,125,i))<0)throw fp(new dy(_jn((zC(),Gxn))));return r=b$(n.i,i,e),n.d=e+1,wY(r,c,512==(512&n.e))}function Ghn(n,t,e,i,r){var c,a,u,o;return rI(o=tL(n,Jx(r,56)))!==rI(r)?(u=Jx(n.g[e],72),FO(n,e,Uan(n,0,c=QX(t,o))),pC(n.e)&&(Ian(a=_q(n,9,c.ak(),r,o,i,!1),new kJ(n.e,9,n.c,u,c,i,!1)),mJ(a)),o):r}function zhn(n,t){var e,i;try{return function(n,t){var e;return M$(!!(e=(mB(n),n).g)),mB(t),e(t)}(n.a,t)}catch(r){if(OO(r=E4(r),32)){try{if(i=rpn(t,tTn,Jjn),e=$k(n.a),i>=0&&i=0?n._g(e,!0,!0):efn(n,r,!0),153),Jx(i,215).ll(t);throw fp(new Ym(yNn+t.ne()+ENn))}function Xhn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Nz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Nz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function Whn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=(L5(D4(zy(H7n,1),MEn,8,0,[c.i.n,c.n,c.a])).b+L5(D4(zy(H7n,1),MEn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==(Ckn(),Tit)?new YS(t+c.i.c.c.a+e,r):new YS(t-e,r),$$(n.a,0,i)}function Vhn(n){var t,e,i;for(t=null,e=V_(t0(D4(zy(YKn,1),rEn,20,0,[(!n.b&&(n.b=new $N(nct,n,4,7)),n.b),(!n.c&&(n.c=new $N(nct,n,5,8)),n.c)])));Qfn(e);)if(i=run(Jx(jV(e),82)),t){if(t!=i)return!1}else t=i;return!0}function Qhn(n,t,e){var i;if(++n.j,t>=n.i)throw fp(new qm(Exn+t+Txn+n.i));if(e>=n.i)throw fp(new qm(Mxn+e+Txn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-tMn>>16&4,(e+=t=(n<<=t)-SEn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function Zhn(n){var t,e,i,r;for(XH(),Bqn=new rp,Fqn=new cp,_qn=new rp,!n.a&&(n.a=new y_(oct,n,10,11)),function(n){var t,e,i,r,c,a,u,o,s,f;for(t=new cp,a=new XO(n);a.e!=a.i.gc();){for(c=Jx(fen(a),33),e=new Yp,DB(Fqn,c,e),f=new ut,i=Jx(jW(new PR(null,new tF(new LK(wA(lbn(c).a.Kc(),new h)))),rK(f,yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)])))),83),r0(e,Jx(i.xc((MA(),!0)),14),new ot),r=Jx(jW(fH(Jx(i.xc(!1),15).Lc(),new st),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn]))),15).Kc();r.Ob();)(s=Fun(Jx(r.Pb(),79)))&&((u=Jx(iI(Rq(t.f,s)),21))||(u=$wn(s),Jsn(t.f,s,u)),O2(e,u));for(i=Jx(jW(new PR(null,new tF(new LK(wA(bbn(c).a.Kc(),new h)))),rK(f,yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn])))),83),r0(e,Jx(i.xc(!0),14),new ht),o=Jx(jW(fH(Jx(i.xc(!1),15).Lc(),new ft),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[uBn]))),15).Kc();o.Ob();)(s=Bun(Jx(o.Pb(),79)))&&((u=Jx(iI(Rq(t.f,s)),21))||(u=$wn(s),Jsn(t.f,s,u)),O2(e,u))}}(t=n.a),r=new XO(t);r.e!=r.i.gc();)i=Jx(fen(r),33),-1==fJ(Bqn,i,0)&&(e=new rp,iD(_qn,e),Ltn(i,e));return _qn}function nfn(n,t){var i,r,c,a,u,o,s,h;for(h=ey(lL($un(t,(pjn(),V0n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,o=1;o0?1:YI(isNaN(r),isNaN(0)))>=0^(s0(XAn),(e.Math.abs(o)<=XAn||0==o||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:YI(isNaN(o),isNaN(0)))>=0)?e.Math.max(o,r):(s0(XAn),(e.Math.abs(r)<=XAn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:YI(isNaN(r),isNaN(0)))>0?e.Math.sqrt(o*o+r*r):-e.Math.sqrt(o*o+r*r))}(a=r.b,u=c.b))>=0?i:(o=lB(kN(new YS(u.c+u.b/2,u.d+u.a/2),new YS(a.c+a.b/2,a.d+a.a/2))),-(Ipn(a,u)-1)*o)}function efn(n,t,e){var i,r,c;if(c=ryn((dsn(),dut),n.Tg(),t))return MT(),Jx(c,66).Oj()||(c=Hz(IJ(dut,c))),r=Jx((i=n.Yg(c))>=0?n._g(i,!0,!0):efn(n,c,!0),153),Jx(r,215).hl(t,e);throw fp(new Ym(yNn+t.ne()+ENn))}function ifn(n,t,e,i){var r,c,a,u,o;if(r=n.d[t])if(c=r.g,o=r.i,null!=i){for(u=0;u>5),15,1))[e]=1<1;t>>=1)0!=(1&t)&&(i=oZ(i,e)),e=1==e.d?oZ(e,e):new Stn(lpn(e.a,e.d,QQ(Vot,STn,25,e.d<<1,15,1)));return oZ(i,e)}(n,t)}function cfn(n){var t,e,i;for(VE(),this.b=hzn,this.c=(e9(),eet),this.f=(WE(),azn),this.a=n,Jy(this,new It),Gbn(this),i=new pb(n.b);i.a=null.jm()?(ubn(n),ofn(n)):t.Ob()}function sfn(n,t,i){var r,c,a,u;if(!(u=i)&&(u=DD(new um,0)),cun(u,cIn,1),Lyn(n.c,t),1==(a=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(n.c=n.d,l=null==(b=fL($un(t,(pjn(),O0n))))||(mB(b),b),c=Jx($un(t,(Ajn(),wQn)),21).Hc((idn(),PVn)),e=!((r=Jx($un(t,p0n),98))==(Kan(),oit)||r==hit||r==sit),!l||!e&&c)f=new uy(D4(zy(Rzn,1),wIn,37,0,[t]));else{for(h=new pb(t.a);h.at.a&&(i.Hc((gan(),snt))?n.c.a+=(e.a-t.a)/2:i.Hc(fnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((gan(),bnt))?n.c.b+=(e.b-t.b)/2:i.Hc(lnt)&&(n.c.b+=e.b-t.b)),Jx($un(n,(Ajn(),wQn)),21).Hc((idn(),PVn))&&(e.a>t.a||e.b>t.b))for(u=new pb(n.a);u.a0?z7(e):A9(z7(e)),$en(t,j0n,r)}function yfn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&ZC(a,new Ur),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.rl(i.ak())&&lY(r,i);!Wkn(n,r)&&pC(n.e)&&Wp(n,t.$j()?_q(n,6,t,(WH(),MFn),null,-1,!1):_q(n,t.Kj()?2:1,t,null,null,-1,!1))}function Efn(){var n,t;for(Efn=O,jFn=QQ(TFn,MEn,91,32,0,1),EFn=QQ(TFn,MEn,91,32,0,1),n=1,t=0;t<=18;t++)jFn[t]=Xtn(n),EFn[t]=Xtn(zK(n,t)),n=i7(n,5);for(;tc)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function Mfn(n){var t,e,i,r,c,a;for(bz(),e=new wW,i=new pb(n.e.b);i.a1?n.e*=ey(n.a):n.f/=ey(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new tbn(Jx(t.Pb(),561),n.e,n.f),iD(n.g,e)}(n),ptn(n),function(n){var t,i,r,c,a,u,o,s,h,f;for(i=function(n){var t,i,r,c,a,u,o,s,h,f;for(i=n.o,t=n.p,u=Jjn,c=tTn,o=Jjn,a=tTn,h=0;h=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Jx(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&_3(n,new v_(n,9,e,c,r)),r):c}function qfn(n){var t,e,i,r,c,a,u;for(c=0,r=n.f.e,e=0;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=c3(n)))return!1;e=i==r?-e:~e}return 0!=(e&t)}function Wfn(n,t){var e,i,r,c,a,u,o;if(c=t.e)for(e=Hfn(c),i=Jx(n.g,674),a=0;a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?qTn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?qTn:0,c=i?HTn:0,r=e>>t-44),cO(r&HTn,c&HTn,a&qTn)}function iln(n){var t,i,r,c,a,u;for(this.c=new rp,this.d=n,r=ZTn,c=ZTn,t=nMn,i=nMn,u=nen(n,0);u.b!=u.d.c;)a=Jx(CX(u),8),r=e.Math.min(r,a.a),c=e.Math.min(c,a.b),t=e.Math.max(t,a.a),i=e.Math.max(i,a.b);this.a=new yH(r,c,t-r,i-c)}function rln(n,t){var e,i,r,c;for(i=new pb(n.b);i.a0&&OO(t,42)&&(n.a.qj(),c=null==(o=(s=Jx(t,42)).cd())?0:V5(o),a=_L(n.a,c),e=n.a.d[a]))for(i=Jx(e.g,367),h=e.i,u=0;u=2)for(t=lL((i=c.Kc()).Pb());i.Ob();)a=t,t=lL(i.Pb()),r=e.Math.min(r,(mB(t),t-(mB(a),a)));return r}function pln(n,t){var e,i,r,c,a;QW(i=new SE,t,i.c.b,i.c);do{for(P$(0!=i.b),e=Jx(QZ(i,i.a.a),86),n.b[e.g]=1,c=nen(e.d,0);c.b!=c.d.c;)a=(r=Jx(CX(c),188)).c,1==n.b[a.g]?_D(n.a,r):2==n.b[a.g]?n.b[a.g]=1:QW(i,a,i.c.b,i.c)}while(0!=i.b)}function vln(n,t){var e,i,r;if(rI(t)===rI(SF(n)))return!0;if(!OO(t,15))return!1;if(i=Jx(t,15),(r=n.gc())!=i.gc())return!1;if(OO(i,54)){for(e=0;e0&&(r=e),a=new pb(n.f.e);a.a0&&c0):c<0&&-c0)}function Aln(n,t,e,i){var r,c,a,u,o,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new pb(n.c);s.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function Rln(n,t){var e,i,r,c,a,u;for(c=(1==t?szn:ozn).a.ec().Kc();c.Ob();)for(r=Jx(c.Pb(),103),u=Jx(FV(n.f.c,r),21).Kc();u.Ob();)switch(a=Jx(u.Pb(),46),i=Jx(a.b,81),e=Jx(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function Kln(n,t){var e,i,r,c,a,u,o,s,h;for(s=-1,h=0,u=0,o=(a=n).length;u0&&++h;++s}return h}function _ln(n){var t;return(t=new PA(xk(n.gm))).a+="@",kI(t,(V5(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",yI(t,n.qh()),n.$g()&&(t.a+=" eClass: ",yI(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",yI(t,n.$g()),t.a+=")"),t.a}function Fln(n){var t,e,i;if(n.e)throw fp(new Jm((hL(ABn),XMn+ABn.k+WMn)));for(n.d==(e9(),eet)&&ikn(n,net),e=new pb(n.a.a);e.a=0)return r;for(c=1,a=new pb(t.j);a.a0&&t.ue((Lz(r-1,n.c.length),Jx(n.c[r-1],10)),c)>0;)YW(n,r,(Lz(r-1,n.c.length),Jx(n.c[r-1],10))),--r;Lz(r,n.c.length),n.c[r]=c}e.a=new cp,e.b=new cp}function Uln(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(Ckn(),Mit)||t==Tit?(GZ(Jx(M5(n),15),(Brn(),Ket)),GZ(Jx(M5(n),15),_et)):(GZ(Jx(M5(n),15),(Brn(),_et)),GZ(Jx(M5(n),15),Ket));else for(i=new QB(n);i.a!=i.b;)GZ(Jx(d8(i),15),e)}function Xln(n,t){var e,i,r,c,a,u;for(a=new ZU(i=Zx(new Lg(n)),i.c.length),u=new ZU(r=Zx(new Lg(t)),r.c.length),c=null;a.b>0&&u.b>0&&(P$(a.b>0),e=Jx(a.a.Xb(a.c=--a.b),33),P$(u.b>0),e==Jx(u.a.Xb(u.c=--u.b),33));)c=e;return c}function Wln(n,t){var i,r,c,a;return c=n.a*jMn+1502*n.b,a=n.b*jMn+11,c+=i=e.Math.floor(a*EMn),a-=i*TMn,c%=TMn,n.a=c,n.b=a,t<=24?e.Math.floor(n.a*zFn[t]):((r=n.a*(1<=2147483648&&(r-=sMn),r)}function Vln(n,t,e){var i,r,c,a;Vz(n,t)>Vz(n,e)?(i=r7(e,(Ckn(),Tit)),n.d=i.dc()?0:eR(Jx(i.Xb(0),11)),a=r7(t,Git),n.b=a.dc()?0:eR(Jx(a.Xb(0),11))):(r=r7(e,(Ckn(),Git)),n.d=r.dc()?0:eR(Jx(r.Xb(0),11)),c=r7(t,Tit),n.b=c.dc()?0:eR(Jx(c.Xb(0),11)))}function Qln(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(fRn))&&null!=(a=bL(knn((!t.b&&(t.b=new U$((Djn(),Rat),sut,t)),t.b),"conversionDelegates")))){for(u=new rp,r=0,c=(i=Agn(a,"\\w+")).length;r>1,n.k=i-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,u;for(e=FC(n.e),c=_O(x$(gO(_C(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,u=0;u0&&eyn(this,c)}function ebn(n,t,e,i,r,c){var a,u,o;if(!r[t.b]){for(r[t.b]=!0,!(a=i)&&(a=new WV),iD(a.e,t),o=c[t.b].Kc();o.Ob();)(u=Jx(o.Pb(),282)).d!=e&&u.c!=e&&(u.c!=t&&ebn(n,u.c,t,a,r,c),u.d!=t&&ebn(n,u.d,t,a,r,c),iD(a.c,u),P4(a.d,u.b));return a}return null}function ibn(n){var t,e,i;for(t=0,e=new pb(n.e);e.a=2}function rbn(n){var t,e;try{return null==n?uEn:C7(n)}catch(i){if(OO(i=E4(i),102))return t=i,e=xk(Q5(n))+"@"+(sE(),(xen(n)>>>0).toString(16)),Ntn(A4(),(FE(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+xk(t.gm)+">";throw fp(i)}}function cbn(n){switch(n.g){case 0:return new af;case 1:return new nf;case 2:return new aT;case 3:return new Cc;case 4:return new bN;case 5:return new uf;default:throw fp(new Ym("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function abn(n,t,e){var i,r,c;for(c=new pb(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&_D(t,i.b));for(r=new pb(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&_D(e,i.a))}function ubn(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),lY(n,n.d),n.c))return n.f;if(i=(t=Jx(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,lY(n,e);else for(n.d=null;!t.Ob()&&(RF(n.g,--n.i,null),0!=n.i);)t=Jx(n.g[n.i-1],47);return i}function obn(n,t,i,r){var c,a,u;for(Al(c=new cin(n),(won(),Bzn)),w5(c,(Ajn(),OQn),t),w5(c,HQn,r),w5(c,(pjn(),p0n),(Kan(),sit)),w5(c,MQn,t.c),w5(c,SQn,t.d),Hwn(t,c),u=e.Math.floor(i/2),a=new pb(c.j);a.a=0?n._g(i,!0,!0):efn(n,c,!0),153),Jx(r,215).ml(t,e)}function mbn(n,t,e){cun(e,"Eades radial",1),e.n&&t&&tU(e,KU(t),(I6(),Ert)),n.d=Jx(Eln(t,(iL(),h6n)),33),n.c=ey(lL(Eln(t,(Frn(),Y6n)))),n.e=Qen(Jx(Eln(t,J6n),293)),n.a=function(n){switch(n.g){case 0:return new Ga;case 1:return new za;default:throw fp(new Ym(k$n+(null!=n.f?n.f:""+n.g)))}}(Jx(Eln(t,n8n),426)),n.b=function(n){switch(n.g){case 1:return new _a;case 2:return new Fa;case 3:return new Ka;case 0:return null;default:throw fp(new Ym(k$n+(null!=n.f?n.f:""+n.g)))}}(Jx(Eln(t,X6n),340)),function(n){var t,e,i,r,c;if(i=0,r=dPn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,Ggn(n,n.d,0,0,d$n,e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),nN(c,r),P$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(acn(n,t))throw fp(new Ym(ONn+Sfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Jrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,6,i)),(i=LL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,6,t,t))}function Sbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(acn(n,t))throw fp(new Ym(ONn+sgn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ncn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,9,i)),(i=NL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,9,t,t))}function Pbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(acn(n,t))throw fp(new Ym(ONn+wmn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ocn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,12,i)),(i=$L(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,3,t,t))}function Ibn(n){var t,e,i,r,c;if(i=lcn(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(OO(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Jx(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(!OO(t=E4(t),78))throw fp(t);n.g=null}n.i=r}return n.g}return null}function Cbn(n){var t;return iD(t=new rp,new nM(new YS(n.c,n.d),new YS(n.c+n.b,n.d))),iD(t,new nM(new YS(n.c,n.d),new YS(n.c,n.d+n.a))),iD(t,new nM(new YS(n.c+n.b,n.d+n.a),new YS(n.c+n.b,n.d))),iD(t,new nM(new YS(n.c+n.b,n.d+n.a),new YS(n.c,n.d+n.a))),t}function Obn(n,t,e,i){var r,c,a;if(a=qcn(t,e),i.c[i.c.length]=t,-1==n.j[a.p]||2==n.j[a.p]||n.a[t.p])return i;for(n.j[a.p]=-1,c=new LK(wA(u7(a).a.Kc(),new h));Qfn(c);)if(!nV(r=Jx(jV(c),17))&&(nV(r)||r.c.i.c!=r.d.i.c)&&r!=t)return Obn(n,r,a,i);return i}function Abn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=Jx(r.Pb(),79),!Jx(HF(n.b,i),266)&&(CG(_un(i))==CG(Hun(i))?Vwn(n,i,e):_un(i)==CG(Hun(i))?null==HF(n.c,i)&&null!=HF(n.b,Hun(i))&&zyn(n,i,e,!1):null==HF(n.d,i)&&null!=HF(n.b,_un(i))&&zyn(n,i,e,!0))}function $bn(n,t){var e,i,r,c,a,u,o;for(r=n.Kc();r.Ob();)for(i=Jx(r.Pb(),10),nz(u=new Con,i),dhn(u,(Ckn(),Tit)),w5(u,(Ajn(),RQn),(MA(),!0)),a=t.Kc();a.Ob();)c=Jx(a.Pb(),10),nz(o=new Con,c),dhn(o,Git),w5(o,RQn,!0),w5(e=new Eq,RQn,!0),JG(e,u),YG(e,o)}function Lbn(n,t,e,i){var r,c,a,u;r=Hnn(n,t,e),c=Hnn(n,e,t),a=Jx(HF(n.c,t),112),u=Jx(HF(n.c,e),112),r0&&w.a<=0){o.c=QQ(XKn,rEn,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=QQ(XKn,rEn,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Jx(MR(o,Xen(r,o.c.length)),112),lG(m.a,a),a.g=h++,ivn(a,t,e,i),o.c=QQ(XKn,rEn,1,0,5,1))}for(g=n.c.length+1,l=new pb(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function Dbn(){Dbn=O,Y8n=new BS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Q8n=new BS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),Z8n=new BS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),J8n=new BS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),n9n=new BS("WHOLE_DRAWING",4)}function Rbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(acn(n,t))throw fp(new Ym(ONn+ogn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?scn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=yen(t,n,10,i)),(i=mN(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,11,t,t))}function Kbn(n,t,e){return odn(),(!h3(n,t)||!h3(n,e))&&(tkn(new YS(n.c,n.d),new YS(n.c+n.b,n.d),t,e)||tkn(new YS(n.c+n.b,n.d),new YS(n.c+n.b,n.d+n.a),t,e)||tkn(new YS(n.c+n.b,n.d+n.a),new YS(n.c,n.d+n.a),t,e)||tkn(new YS(n.c,n.d+n.a),new YS(n.c,n.d),t,e))}function _bn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(acn(n,t))throw fp(new Ym(ONn+Yon(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Zrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Jx(t,49).gh(n,1,Jrt,i)),(i=jK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,7,t,t))}function Vbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(acn(n,t))throw fp(new Ym(ONn+s9(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ecn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Jx(t,49).gh(n,0,ict,i)),(i=EK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,3,t,t))}function Qbn(n,t){var e,i,r,c,a,u,o,s,h;return Efn(),t.d>n.d&&(u=n,n=t,t=u),t.d<63?function(n,t){var e,i,r,c,a,u,o,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=VR(o=i7(zz(n.a[0],oMn),zz(t.a[0],oMn))),0==(s=VR(XK(o,32)))?new dQ(a,h):new O_(a,2,D4(zy(Vot,1),STn,25,15,[h,s]))):(J8(n.a,e,t.a,i,r=QQ(Vot,STn,25,c,15,1)),PU(u=new O_(a,c,r)),u)}(n,t):(s=kV(n,a=(-2&n.d)<<4),h=kV(t,a),i=Tvn(n,yV(s,a)),r=Tvn(t,yV(h,a)),o=Qbn(s,h),e=Qbn(i,r),c=yV(c=Pmn(Pmn(c=Qbn(Tvn(s,i),Tvn(r,h)),o),e),a),Pmn(Pmn(o=yV(o,a<<1),c),e))}function Ybn(n,t,e){var i,r,c,a,u;for(a=Q8(n,e),u=QQ(zzn,jIn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)ty(fL($un(r=Jx(c.Pb(),11),(Ajn(),pQn))))&&(u[i++]=Jx($un(r,KQn),10));if(i=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!ty(fL($un(t.j,(Ajn(),bQn))))&&!ty(fL($un(t.j,(Ajn(),GQn))))),c|=t.q._f(u,r,e),c|=Udn(n,u[r],e,i);return F_(n.c,t),c}function twn(n,t,e){var i,r,c,a,u,o,s,h;for(s=0,h=(o=eX(n.j)).length;s1&&(n.a=!0),fK(Jx(e.b,65),yN(gO(Jx(t.b,65).c),_O(kN(gO(Jx(e.b,65).a),Jx(t.b,65).a),r))),yz(n,t),rwn(n,e)}function cwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}WH(),ZC(n.j,new bi)}function uwn(n,t){var e,i,r,c,a,u,o,s,h;for(u=t.j,a=t.g,o=Jx(MR(u,u.c.length-1),113),Lz(0,u.c.length),s=hrn(n,a,o,h=Jx(u.c[0],113)),c=1;cs&&(o=e,h=r,s=i);t.a=h,t.c=o}function own(n){if(!n.a.d||!n.a.e)throw fp(new Jm((hL(iHn),iHn.k+" must have a source and target "+(hL(rHn),rHn.k+" specified."))));if(n.a.d==n.a.e)throw fp(new Jm("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return VA(n.a.d.g,n.a),VA(n.a.e.b,n.a),n.a}function swn(n,t,e){var i,r,c,a,u,o;if(i=0,0!=t.b&&0!=e.b){c=nen(t,0),a=nen(e,0),u=ey(lL(CX(c))),o=ey(lL(CX(a))),r=!0;do{if(u>o-n.b&&uo-n.a&&ut.a&&(i.Hc((gan(),snt))?n.c.a+=(e.a-t.a)/2:i.Hc(fnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((gan(),bnt))?n.c.b+=(e.b-t.b)/2:i.Hc(lnt)&&(n.c.b+=e.b-t.b)),Jx($un(n,(Ajn(),wQn)),21).Hc((idn(),PVn))&&(e.a>t.a||e.b>t.b))for(a=new pb(n.a);a.a0&&++l;++f}return l}function gwn(n,t){var e,i,r,c;return MT(),t?t==(uyn(),not)||(t==Dut||t==Nut||t==xut)&&n!=Lut?new kkn(n,t):((e=(i=Jx(t,677)).pk())||(tH(IJ((dsn(),dut),t)),e=i.pk()),!e.i&&(e.i=new cp),!(r=Jx(iI(Rq((c=e.i).f,n)),1942))&&DB(c,n,r=new kkn(n,t)),r):jut}function pwn(n,t){var e,i,r,c,a,u,o,s;for(u=Jx($un(n,(Ajn(),OQn)),11),o=L5(D4(zy(H7n,1),MEn,8,0,[u.i.n,u.n,u.a])).a,s=n.i.n.b,r=0,c=(i=OU(n.e)).length;r0&&(c+=(a=Jx(MR(this.b,0),167)).o,r+=a.p),c*=2,r*=2,t>1?c=sG(e.Math.ceil(c*t)):r=sG(e.Math.ceil(r/t)),this.a=new fnn(c,r)}function Swn(n,t,i,r,c,a){var u,o,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=Jx(HF(n.f,t.A),57)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,i.q&&i.o?(s=(b=Jx(HF(n.f,i.C),57)).d.c,++f):s=i.a.c,w=d+(o=(s-d)/e.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(u=t[a],o=i==(Ckn(),Tit)?r?r7(u,i):C3(r7(u,i)):r?C3(r7(u,i)):r7(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Jx(f.Pb(),11),n.d[h.p]=s++;P4(e,o)}}function Iwn(n,t,e){var i,r,c,a,u,o,s,h;for(c=ey(lL(n.b.Kc().Pb())),s=ey(lL(function(n){var t;if(n){if((t=n).dc())throw fp(new _p);return t.Xb(t.gc()-1)}return Cz(n.Kc())}(t.b))),i=_O(gO(n.a),s-e),r=_O(gO(t.a),e-c),_O(h=yN(i,r),1/(s-c)),this.a=h,this.b=new rp,u=!0,(a=n.b.Kc()).Pb();a.Ob();)o=ey(lL(a.Pb())),u&&o-e>JAn&&(this.b.Fc(e),u=!1),this.b.Fc(o);u&&this.b.Fc(e)}function Cwn(n){var t,i,r,c;if(function(n,t){var i,r,c,a,u,o,s;for(c=QQ(Vot,STn,25,n.e.a.c.length,15,1),u=new pb(n.e.a);u.a0){for(sy(n.c);Jfn(n,Jx(qz(new pb(n.e.a)),121))>5,t&=31,i>=n.d)return n.e<0?(wdn(),bFn):(wdn(),vFn);if(c=n.d-i,function(n,t,e,i,r){var c,a,u;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=QQ(Vot,STn,25,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=ryn((dsn(),dut),r,t))||((i=e.Zj())>1||-1==i)&&3!=MB(IJ(dut,e))))}function xwn(n,t,e,i){var r,c,a,u,o;return u=run(Jx(a1((!t.b&&(t.b=new $N(nct,t,4,7)),t.b),0),82)),o=run(Jx(a1((!t.c&&(t.c=new $N(nct,t,5,8)),t.c),0),82)),CG(u)==CG(o)||WZ(o,u)?null:(a=TG(t))==e?i:(c=Jx(HF(n.a,a),10))&&(r=c.e)?r:null}function Dwn(n,t,e){var i,r,c,a,u;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[0].k==(won(),Fzn))for(r=nk(e,c.length),u=t.j,i=0;i>24}(n));break;case 2:n.g=j4(function(n){if(2!=n.p)throw fp(new Np);return VR(n.f)&lTn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw fp(new Np);return n.e}(n);break;case 4:n.g=new ib(function(n){if(4!=n.p)throw fp(new Np);return n.e}(n));break;case 6:n.g=ktn(function(n){if(6!=n.p)throw fp(new Np);return n.f}(n));break;case 5:n.g=g9(function(n){if(5!=n.p)throw fp(new Np);return VR(n.f)}(n));break;case 7:n.g=p9(function(n){if(7!=n.p)throw fp(new Np);return VR(n.f)<<16>>16}(n))}return n.g}function _wn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw fp(new Np);return fI(n.k,0)}(n)?(MA(),N_n):(MA(),L_n);break;case 1:n.n=rZ(function(n){if(1!=n.p)throw fp(new Np);return VR(n.k)<<24>>24}(n));break;case 2:n.n=j4(function(n){if(2!=n.p)throw fp(new Np);return VR(n.k)&lTn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw fp(new Np);return n.j}(n);break;case 4:n.n=new ib(function(n){if(4!=n.p)throw fp(new Np);return n.j}(n));break;case 6:n.n=ktn(function(n){if(6!=n.p)throw fp(new Np);return n.k}(n));break;case 5:n.n=g9(function(n){if(5!=n.p)throw fp(new Np);return VR(n.k)}(n));break;case 7:n.n=p9(function(n){if(7!=n.p)throw fp(new Np);return VR(n.k)<<16>>16}(n))}return n.n}function Fwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&(i[0]+=n.d,u-=i[0]),i[2]>0&&(i[2]+=n.d,u-=i[2]),a=e.Math.max(0,u),i[1]=e.Math.max(i[1],u),PV(n,aHn,c.c+r.b+i[0]-(i[1]-u)/2,i),t==aHn&&(n.c.b=a,n.c.c=c.c+r.b+(a-u)/2)}function zwn(){this.c=QQ(Zot,cMn,25,(Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])).length,15,1),this.b=QQ(Zot,cMn,25,D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git]).length,15,1),this.a=QQ(Zot,cMn,25,D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git]).length,15,1),qT(this.c,ZTn),qT(this.b,nMn),qT(this.a,nMn)}function Uwn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=QQ(Vot,STn,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=QQ(Vot,STn,25,i+2,15,1),hmn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Dln(n)}}function Xwn(n,t,e){var i,r,c,a,u,o;if(!SX(t)){for(cun(o=Z2(e,(OO(t,14)?Jx(t,14).gc():BX(t.Kc()))/n.a|0),u$n,1),u=new Ca,a=0,c=t.Kc();c.Ob();)i=Jx(c.Pb(),86),u=t0(D4(zy(YKn,1),rEn,20,0,[u,new Rd(i)])),a1;)edn(r,r.i-1);return i}function Zwn(n,t){var e,i,r,c,a,u;for(e=new ip,r=new pb(n.b);r.an.d[a.p]&&(e+=UW(n.b,c),AX(n.a,g9(c)));for(;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}function tdn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,r=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=Jx(fen(r),33)).a&&(i.a=new y_(oct,i,10,11)),i.a).i||(c+=tdn(n,i,!1));if(e)for(a=CG(t);a;)c+=(!a.a&&(a.a=new y_(oct,a,10,11)),a.a).i,a=CG(a);return c}function edn(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=Arn(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e),c):(c=Arn(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi(),c)}function idn(){idn=O,MVn=new JM("COMMENTS",0),PVn=new JM("EXTERNAL_PORTS",1),IVn=new JM("HYPEREDGES",2),CVn=new JM("HYPERNODES",3),OVn=new JM("NON_FREE_PORTS",4),AVn=new JM("NORTH_SOUTH_PORTS",5),LVn=new JM(aCn,6),TVn=new JM("CENTER_LABELS",7),SVn=new JM("END_LABELS",8),$Vn=new JM("PARTITIONS",9)}function rdn(n){var t,e,i,r,c;for(r=new rp,t=new jR((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),i=new LK(wA(bbn(n).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(c=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function cdn(n){var t,e,i,r,c;for(r=new Yp,t=new jR((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),i=new LK(wA(bbn(n).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(c=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),t.a._b(c)||r.a.zc(c,r));return r}function adn(n,t){var i,r,c;CG(n)&&(c=Jx($un(t,(pjn(),t0n)),174),rI(Eln(n,p0n))===rI((Kan(),bit))&&$en(n,p0n,lit),gT(),r=fkn(new Wm(CG(n)),new i$(CG(n)?new Wm(CG(n)):null,n),!1,!0),t2(c,($nn(),Jit)),(i=Jx($un(t,i0n),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b))}function udn(){udn=O,eWn=new jH(xSn,0,(Ckn(),Mit),Mit),cWn=new jH(RSn,1,Hit,Hit),tWn=new jH(DSn,2,Tit,Tit),oWn=new jH(KSn,3,Git,Git),rWn=new jH("NORTH_WEST_CORNER",4,Git,Mit),iWn=new jH("NORTH_EAST_CORNER",5,Mit,Tit),uWn=new jH("SOUTH_WEST_CORNER",6,Hit,Git),aWn=new jH("SOUTH_EAST_CORNER",7,Tit,Hit)}function odn(){odn=O,F7n=D4(zy(Yot,1),eMn,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 sdn(n,t){var e,i,r,c,a;if(0==n.c.length)return new yP(g9(0),g9(0));for(e=(Lz(0,n.c.length),Jx(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a=h&&(s=r);s&&(f=e.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function fdn(n,t){var e;switch(e=null,t.g){case 1:n.e.Xe((Ojn(),ptt))&&(e=Jx(n.e.We(ptt),249));break;case 3:n.e.Xe((Ojn(),vtt))&&(e=Jx(n.e.We(vtt),249));break;case 2:n.e.Xe((Ojn(),gtt))&&(e=Jx(n.e.We(gtt),249));break;case 4:n.e.Xe((Ojn(),mtt))&&(e=Jx(n.e.We(mtt),249))}return!e&&(e=Jx(n.e.We((Ojn(),wtt)),249)),e}function ldn(n,t,e){var i,r,c,a,u,o;for(t.p=1,r=t.c,o=rnn(t,(f0(),r3n)).Kc();o.Ob();)for(i=new pb(Jx(o.Pb(),11).g);i.aL$n?ZC(s,n.b):r<=L$n&&r>N$n?ZC(s,n.d):r<=N$n&&r>x$n?ZC(s,n.c):r<=x$n&&ZC(s,n.a),a=bdn(n,s,a);return c}function wdn(){var n;for(wdn=O,wFn=new dQ(1,1),gFn=new dQ(1,10),vFn=new dQ(0,0),bFn=new dQ(-1,1),dFn=D4(zy(TFn,1),MEn,91,0,[vFn,wFn,new dQ(1,2),new dQ(1,3),new dQ(1,4),new dQ(1,5),new dQ(1,6),new dQ(1,7),new dQ(1,8),new dQ(1,9),gFn]),pFn=QQ(TFn,MEn,91,32,0,1),n=0;n1&&(i=new YS(r,e.b),_D(t.a,i)),c0(t.a,D4(zy(H7n,1),MEn,8,0,[f,h]))}function kdn(n){oT(n,new eun(ck(tk(rk(ik(new du,tNn),"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 Qu))),RU(n,tNn,lPn,Vit),RU(n,tNn,NPn,15),RU(n,tNn,DPn,g9(0)),RU(n,tNn,fPn,APn)}function jdn(){var n,t,e,i,r,c;for(jdn=O,lot=QQ(Jot,NNn,25,255,15,1),bot=QQ(Wot,hTn,25,16,15,1),t=0;t<255;t++)lot[t]=-1;for(e=57;e>=48;e--)lot[e]=e-48<<24>>24;for(i=70;i>=65;i--)lot[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)lot[r]=r-97+10<<24>>24;for(c=0;c<10;c++)bot[c]=48+c&lTn;for(n=10;n<=15;n++)bot[n]=65+n-10&lTn}function Edn(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(t=e[i],r=0;r>19!=0)return"-"+Sdn(f5(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=Zmn(e,pV(XTn),!0),t=""+cj(I_n),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function Pdn(n,t,i,r){var c,a,u,o;if(BX(($x(),new LK(wA(u7(t).a.Kc(),new h))))>=n.a)return-1;if(!Han(t,i))return-1;if(SX(Jx(r.Kb(t),20)))return 1;for(c=0,u=Jx(r.Kb(t),20).Kc();u.Ob();){if(-1==(o=Pdn(n,(a=Jx(u.Pb(),17)).c.i==t?a.d.i:a.c.i,i,r)))return-1;if((c=e.Math.max(c,o))>n.c-1)return-1}return c+1}function Idn(n,t){var e,i,r,c,a,u;if(rI(t)===rI(n))return!0;if(!OO(t,15))return!1;if(i=Jx(t,15),u=n.gc(),i.gc()!=u)return!1;if(a=i.Kc(),n.ni()){for(e=0;e0)if(n.qj(),null!=t){for(c=0;c0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=$yn(new pF(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new rp,f=new pb(n.b);f.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw fp(new Cy("Invalid hexadecimal"))}}function $dn(n,t,e){var i,r,c,a;for(cun(e,"Processor order nodes",2),n.a=ey(lL($un(t,(aln(),Q5n)))),r=new SE,a=nen(t.b,0);a.b!=a.d.c;)ty(fL($un(c=Jx(CX(a),86),(cyn(),O5n))))&&QW(r,c,r.c.b,r.c);P$(0!=r.b),Amn(n,i=Jx(r.a.a.c,86)),!e.b&&G0(e,1),ugn(n,i,0-ey(lL($un(i,(cyn(),j5n))))/2,0),!e.b&&G0(e,1),Kon(e)}function Ldn(){Ldn=O,JBn=new uM("SPIRAL",0),XBn=new uM("LINE_BY_LINE",1),WBn=new uM("MANHATTAN",2),UBn=new uM("JITTER",3),QBn=new uM("QUADRANTS_LINE_BY_LINE",4),YBn=new uM("QUADRANTS_MANHATTAN",5),VBn=new uM("QUADRANTS_JITTER",6),zBn=new uM("COMBINE_LINE_BY_LINE_MANHATTAN",7),GBn=new uM("COMBINE_JITTER_MANHATTAN",8)}function Ndn(n,t,e,i){var r,c,a,u,o,s;for(o=Gcn(n,e),s=Gcn(t,e),r=!1;o&&s&&(i||Trn(o,s,e));)a=Gcn(o,e),u=Gcn(s,e),vJ(t),vJ(n),c=o.c,byn(o,!1),byn(s,!1),e?(qrn(t,s.p,c),t.p=s.p,qrn(n,o.p+1,c),n.p=o.p):(qrn(n,o.p,c),n.p=o.p,qrn(t,s.p+1,c),t.p=s.p),ZG(o,null),ZG(s,null),o=a,s=u,r=!0;return r}function xdn(n,t,e,i){var r,c,a,u,o;for(r=!1,c=!1,u=new pb(i.j);u.a=t.length)throw fp(new qm("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new cx(i),f2(this.e,this.c,(Ckn(),Git)),this.i=new cx(i),f2(this.i,this.c,Tit),this.f=new UR(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(won(),Fzn),this.a&&function(n,t,e){var i,r,c,a,u,o,s;u=(c=n.d.p).e,o=c.r,n.g=new cx(o),i=(a=n.d.o.c.p)>0?u[a-1]:QQ(zzn,jIn,10,0,0,1),r=u[a],s=ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=Jx(HF(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new LK(wA(o7(b).a.Kc(),new h));Qfn(u);)0!=(a=Jx(jV(u),17)).a.b&&(t=Jx(v$(a.a),8),a.d.j==(Ckn(),Mit)&&((g=new Fvn(t,new YS(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==Hit&&((g=new Fvn(t,new YS(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:r=new rp,PE(fH(lH(VJ(VJ(new PR(null,new xz(n.d.b,16)),new Or),new Ar),new $r),new pr),new Yw(r)),i=r;break;default:throw fp(new Jm("Compaction not supported for "+t+" edges."))}(function(n,t){var i,r,c,a,u,o,s;if(0!=t.c.length){for(WH(),ZR(t.c,t.c.length,null),r=Jx(qz(c=new pb(t)),145);c.a0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:a_(n.u)&&((i=sun(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),c=null,s=null,o){for(s=c=Jx((a=u.Kc()).Pb(),111);a.Ob();)s=Jx(a.Pb(),111);c.d.b=0,s.d.c=0,f&&!c.a&&(c.d.c=0)}l&&(function(n){var t,i,r,c,a;for(t=0,i=0,a=n.Kc();a.Ob();)r=Jx(a.Pb(),111),t=e.Math.max(t,r.d.b),i=e.Math.max(i,r.d.c);for(c=n.Kc();c.Ob();)(r=Jx(c.Pb(),111)).d.b=t,r.d.c=i}(u),o&&(c.d.b=0,s.d.c=0))}function Vdn(n,t){var i,r,c,a,u,o,s,h,f,l;if(u=Jx(Jx(FV(n.r,t),21),84),o=n.u.Hc((Ohn(),yit)),i=n.u.Hc(pit),r=n.u.Hc(git),s=n.u.Hc(kit),l=n.B.Hc((Qgn(),lrt)),h=!i&&!r&&(s||2==u.gc()),function(n,t){var i,r,c,a,u,o,s;for(o=Jx(Jx(FV(n.r,t),21),84).Kc();o.Ob();)(r=(u=Jx(o.Pb(),111)).c?WD(u.c):0)>0?u.a?r>(s=u.b.rf().b)&&(n.v||1==u.c.d.c.length?(a=(r-s)/2,u.d.d=a,u.d.a=a):(i=(Jx(MR(u.c.d,0),181).rf().b-s)/2,u.d.d=e.Math.max(0,i),u.d.a=r-i-s)):u.d.a=n.t+r:a_(n.u)&&((c=sun(u.b)).d<0&&(u.d.d=-c.d),c.d+c.a>u.b.rf().b&&(u.d.a=c.d+c.a-u.b.rf().b))}(n,t),f=null,c=null,o){for(c=f=Jx((a=u.Kc()).Pb(),111);a.Ob();)c=Jx(a.Pb(),111);f.d.d=0,c.d.a=0,h&&!f.a&&(f.d.a=0)}l&&(function(n){var t,i,r,c,a;for(i=0,t=0,a=n.Kc();a.Ob();)r=Jx(a.Pb(),111),i=e.Math.max(i,r.d.d),t=e.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=Jx(c.Pb(),111)).d.d=i,r.d.a=t}(u),o&&(f.d.d=0,c.d.a=0))}function Qdn(n,t,e){var i,r,c,a,u;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,iD(e.e,t),i==(won(),Hzn)||i==Gzn)for(r=new pb(t.j);r.a1||-1==a)&&(c|=16),0!=(r.Bb&SNn)&&(c|=64)),0!=(e.Bb&iMn)&&(c|=BDn),c|=RNn):OO(t,457)?c|=512:(i=t.Bj())&&0!=(1&i.i)&&(c|=256),0!=(512&n.Bb)&&(c|=128),c}function tgn(n,t){var e,i,r,c,a;for(n=null==n?uEn:(mB(n),n),r=0;rn.d[u.p]&&(e+=UW(n.b,c),AX(n.a,g9(c))):++a;for(e+=n.b.d*a;!cy(n.a);)iZ(n.b,Jx(L_(n.a),19).a)}return e}function ign(n){var t,e,i,r,c,a,u;for(u=new cp,i=new pb(n.a.b);i.a=n.o)throw fp(new zp);a=t>>5,c=zK(1,VR(zK(31&t,1))),n.n[e][a]=r?Uz(n.n[e][a],c):zz(n.n[e][a],dD(c)),c=zK(c,1),n.n[e][a]=i?Uz(n.n[e][a],c):zz(n.n[e][a],dD(c))}catch(i){throw OO(i=E4(i),320)?fp(new qm(BSn+n.o+"*"+n.p+HSn+t+eEn+e+qSn)):fp(i)}}function ugn(n,t,i,r){var c,a;t&&(c=ey(lL($un(t,(cyn(),S5n))))+r,a=i+ey(lL($un(t,j5n)))/2,w5(t,A5n,g9(VR(R3(e.Math.round(c))))),w5(t,$5n,g9(VR(R3(e.Math.round(a))))),0==t.d.b||ugn(n,Jx(IO(new Kd(nen(new Rd(t).a.d,0))),86),i+ey(lL($un(t,j5n)))+n.a,r+ey(lL($un(t,E5n)))),null!=$un(t,C5n)&&ugn(n,Jx($un(t,C5n),86),i,r))}function ogn(n){var t,e,i;return 0!=(64&n.Db)?kon(n):(t=new PA(gNn),(e=n.k)?kI(kI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new y_(uct,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),i),'"'))),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function sgn(n){var t,e,i;return 0!=(64&n.Db)?kon(n):(t=new PA(pNn),(e=n.k)?kI(kI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new y_(uct,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),i),'"'))),kI(ej(kI(ej(kI(ej(kI(ej((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function hgn(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Jx(uG(n.a,t),149))){for(i=new ub(new Zl(n.b).a.vc().Kc());i.a.Ob();)if(c=Jx(i.a.Pb(),42),a=(e=Jx(c.dd(),149)).c,u=t.length,FN(a.substr(a.length-u,u),t)&&(t.length==a.length||46==WB(a,a.length-t.length-1))){if(r)return null;r=e}r&&zG(n.a,t,r)}return r}function fgn(n){var t,e,i;A$(n,(pjn(),X1n))&&((i=Jx($un(n,X1n),21)).dc()||(e=new ax(t=Jx($k(ait),9),Jx(iN(t,t.length),9),0),i.Hc((Tln(),Wet))?t2(e,Wet):t2(e,Vet),i.Hc(Uet)||t2(e,Uet),i.Hc(zet)?t2(e,Jet):i.Hc(Get)?t2(e,Yet):i.Hc(Xet)&&t2(e,Qet),i.Hc(Jet)?t2(e,zet):i.Hc(Yet)?t2(e,Get):i.Hc(Qet)&&t2(e,Xet),w5(n,X1n,e)))}function lgn(n){var t,e,i,r,c,a,u;for(r=Jx($un(n,(Ajn(),mQn)),10),Lz(0,(i=n.j).c.length),e=Jx(i.c[0],11),a=new pb(r.j);a.ar.p?(dhn(c,Hit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==Hit&&r.p>n.p&&(dhn(c,Mit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}function bgn(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(OO(t,239)||OO(t,354)||OO(t,186)))throw fp(new Ym("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,_D(c=new xv,new YS(o,h)),_D(c,new YS(o,f)),_D(c,new YS(s,f)),_D(c,new YS(s,h)),s4(u=new iln(c),t),e&&DB(n.b,t,u),u}function wgn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new YS(t,e),s=new pb(n.a);s.a1&&(i=new YS(r,e.b),_D(t.a,i)),c0(t.a,D4(zy(H7n,1),MEn,8,0,[f,h]))}function Cgn(n,t,e){var i,r,c,a,u,o;if(t){if(e<=-1){if(OO(i=OZ(t.Tg(),-1-e),99))return Jx(i,18);for(u=0,o=(a=Jx(t.ah(i),153)).gc();u0){for(r=o.length;r>0&&""==o[r-1];)--r;r=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new ip,i=new SE,a=new pb(n.e.a);a.a0,u=M7(t,c),QA(e?u.b:u.g,t),1==w7(u).c.length&&QW(i,u,i.c.b,i.c),r=new yP(c,t),AX(n.o,r),oJ(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new pb(n.e.a);c.a0&&_D(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&_D(n.e,c))))}function Wgn(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new vQ(t.c.length),s=new pb(t);s.a=0&&o0&&(Nz(0,n.length),45==n.charCodeAt(0)||(Nz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw fp(new Cy(JTn+n+'"'));return a}function cpn(n){switch(n){case 100:return Kjn(MKn,!0);case 68:return Kjn(MKn,!1);case 119:return Kjn(SKn,!0);case 87:return Kjn(SKn,!1);case 115:return Kjn(PKn,!0);case 83:return Kjn(PKn,!1);case 99:return Kjn(IKn,!0);case 67:return Kjn(IKn,!1);case 105:return Kjn(CKn,!0);case 73:return Kjn(CKn,!1);default:throw fp(new Cm(TKn+n.toString(16)))}}function apn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Jx(n.a[n.b],10).k==(won(),Bzn)?Fpn(Jx(n.a[n.b],10),(Brn(),Ket)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Jx(n.a[n.c-1&n.a.length-1],10).k==(won(),Bzn)?Fpn(Jx(n.a[n.c-1&n.a.length-1],10),(Brn(),_et)):2==(n.c-n.b&n.a.length-1)?(Fpn(Jx(M5(n),10),(Brn(),Ket)),Fpn(Jx(M5(n),10),_et)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=f$(n.c-n.b&n.a.length-1),s=null,h=null,c=new QB(n);c.a!=c.b;)r=Jx(d8(c),10),e=(u=Jx($un(r,(Ajn(),MQn)),11))?u.i:null,i=(a=Jx($un(r,SQn),11))?a.i:null,s==e&&h==i||(mln(o,t),s=e,h=i),o.c[o.c.length]=r;mln(o,t)}(n,r),rW(n)}function upn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(WB(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=Xhn(n,t))&&t[0]==c)return!1;if(t[0]=0&&u!=e&&(c=new v_(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new v_(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function hpn(n){var t,e,i;if(null==n.b){if(i=new Oy,null!=n.i&&(vI(i,n.i),i.a+=":"),0!=(256&n.f)){for(0!=(256&n.f)&&null!=n.a&&(function(n){return null!=n&&lE(Kct,n.toLowerCase())}(n.i)||(i.a+="//"),vI(i,n.a)),null!=n.d&&(i.a+="/",vI(i,n.d)),0!=(16&n.f)&&(i.a+="/"),t=0,e=n.j.length;t0&&(t.td(e),e.i&&M9(e))}(r=mwn(n,t),(a=Jx(jen(r,0),214)).c.Rf()?a.c.Lf()?new gd(n):new pd(n):new dd(n)),function(n){var t,e,i;for(i=new pb(n.b);i.a>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(o+u+smn(i,s,!1).a<=t.b&&(vY(e,c-e.s),e.c=!0,vY(i,c-e.s),Yen(i,e.s,e.t+e.d+u),i.k=!0,s3(e.q,i),h=!0,r&&(a0(t,i),i.j=t,n.c.length>a&&(ucn((Lz(a,n.c.length),Jx(n.c[a],200)),i),0==(Lz(a,n.c.length),Jx(n.c[a],200)).a.c.length&&_V(n,a)))),h)}function dpn(n,t,e){var i,r,c,a,u;if(0==t.p){for(t.p=1,(r=e)||(r=new yP(new rp,new ax(i=Jx($k(ert),9),Jx(iN(i,i.length),9),0))),Jx(r.a,15).Fc(t),t.k==(won(),Fzn)&&Jx(r.b,21).Fc(Jx($un(t,(Ajn(),fQn)),61)),a=new pb(t.j);a.a0)if(r=Jx(n.Ab.g,1934),null==t){for(c=0;c1)for(i=new pb(r);i.ai.s&&o=0&&s>=0&&oa)return Ckn(),Tit;break;case 4:case 3:if(h<0)return Ckn(),Mit;if(h+e>c)return Ckn(),Hit}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(Ckn(),Git):o+i>=1&&o-i>=0?(Ckn(),Tit):i<.5?(Ckn(),Mit):(Ckn(),Hit)}function Spn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(e=!1,o=ey(lL($un(t,(pjn(),z0n)))),l=nTn*o,r=new pb(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function Ppn(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new fC,o=t.Kc();o.Ob();)for(h=new pb(Jx(o.Pb(),839).wf());h.an.b/2+t.b/2||(c=e.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==i&&0==c?0:0==i?a/c+1:0==c?r/i+1:e.Math.min(r/i,a/c)+1}function Cpn(n,t){var i,r,c,a,u,o;return(c=o0(n))==(o=o0(t))?n.e==t.e&&n.a<54&&t.a<54?n.ft.f?1:0:(r=n.e-t.e,(i=(n.d>0?n.d:e.Math.floor((n.a-1)*uMn)+1)-(t.d>0?t.d:e.Math.floor((t.a-1)*uMn)+1))>r+1?c:i0&&(u=oZ(u,Dvn(r))),otn(a,u))):c0&&n.d!=(OJ(),UGn)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(OJ(),GGn)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new YS(u/c,t.d.b);case 2:return new YS(t.d.a,o/c);default:return new YS(u/c,o/c)}}function Apn(n,t){var e,i,r,c;if($6(),c=Jx($un(n.i,(pjn(),p0n)),98),0!=n.j.g-t.j.g||c!=(Kan(),oit)&&c!=hit&&c!=sit)return 0;if(c==(Kan(),oit)&&(e=Jx($un(n,v0n),19),i=Jx($un(t,v0n),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return L9(n.n.a,t.n.a);case 2:return L9(n.n.b,t.n.b);case 3:return L9(t.n.a,n.n.a);case 4:return L9(t.n.b,n.n.b);default:throw fp(new Jm(yIn))}}function $pn(n){var t,e,i,r,c;for(iD(c=new vQ((!n.a&&(n.a=new WO(Yrt,n,5)),n.a).i+2),new YS(n.j,n.k)),PE(new PR(null,(!n.a&&(n.a=new WO(Yrt,n,5)),new xz(n.a,16))),new Zd(c)),iD(c,new YS(n.b,n.c)),t=1;t0&&(J4(o,!1,(e9(),net)),J4(o,!0,tet)),VZ(t.g,new IM(n,e)),DB(n.g,t,e)}function Npn(){var n;for(Npn=O,V_n=D4(zy(Vot,1),STn,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]),Q_n=QQ(Vot,STn,25,37,15,1),Y_n=D4(zy(Vot,1),STn,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]),J_n=QQ(Yot,eMn,25,37,14,1),n=2;n<=36;n++)Q_n[n]=sG(e.Math.pow(n,V_n[n])),J_n[n]=Hcn(CEn,Q_n[n])}function xpn(n){var t;if(1!=(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i)throw fp(new Ym(iNn+(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i));return t=new xv,T4(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82))&&O2(t,yjn(n,T4(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)),!1)),T4(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))&&O2(t,yjn(n,T4(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82)),!0)),t}function Dpn(n,t){var e,i,r;for(r=!1,i=new LK(wA((t.d?n.a.c==(Zq(),g4n)?o7(t.b):s7(t.b):n.a.c==(Zq(),d4n)?o7(t.b):s7(t.b)).a.Kc(),new h));Qfn(i);)if(e=Jx(jV(i),17),(ty(n.a.f[n.a.g[t.b.p].p])||nV(e)||e.c.i.c!=e.d.i.c)&&!ty(n.a.n[n.a.g[t.b.p].p])&&!ty(n.a.n[n.a.g[t.b.p].p])&&(r=!0,pE(n.b,n.a.g[Uin(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function Rpn(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej())if(o=n.fj(),Y7(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new Tk(i),c=t+i,r=t;r0){for(u=0;u>16==-15&&n.Cb.nh()&&mJ(new jY(n.Cb,9,13,e,n.c,Ken(CJ(Jx(n.Cb,59)),n))):OO(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(OO(t=n.c,88)||(Djn(),t=Aat),OO(e,88)||(Djn(),e=Aat),mJ(new jY(n.Cb,9,10,e,t,Ken(eW(Jx(n.Cb,26)),n)))))),n.c}function qpn(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=Jx(jW(VJ(VJ(new PR(null,new xz(t.b,16)),new Re),new Ke),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)]))),15)).Jc(new _e),e=0,r=c.Kc();r.Ob();)-1==(i=Jx(r.Pb(),11)).p&&dln(n,i,e++)}(n,t),u=new ZU(t.b,0);u.be);return r}function zpn(n,t){var e,i,r;i=0!=Wln(n.d,1),!ty(fL($un(t.j,(Ajn(),bQn))))&&!ty(fL($un(t.j,GQn)))||rI($un(t.j,(pjn(),WZn)))===rI((j5(),V2n))?t.c.Tf(t.e,i):i=ty(fL($un(t.j,bQn))),nwn(n,t,i,!0),ty(fL($un(t.j,GQn)))&&w5(t.j,GQn,(MA(),!1)),ty(fL($un(t.j,bQn)))&&(w5(t.j,bQn,(MA(),!1)),w5(t.j,GQn,!0)),e=Ksn(n,t);do{if(j2(n),0==e)return 0;r=e,nwn(n,t,i=!i,!1),e=Ksn(n,t)}while(r>e);return r}function Upn(n,t,e){var i,r,c,a,u,o,s;if(t==e)return!0;if(t=Wfn(n,t),e=Wfn(n,e),i=din(t)){if((o=din(e))!=i)return!!o&&(a=i.Dj())==o.Dj()&&null!=a;if(!t.d&&(t.d=new WO(fat,t,1)),r=(c=t.d).i,!e.d&&(e.d=new WO(fat,e,1)),r==(s=e.d).i)for(u=0;u0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}((CG(n)&&(gT(),new Wm(CG(n))),gT(),new i$(CG(n)?new Wm(CG(n)):null,n)),tet),a=Jx($un(r,a0n),116),LG(i=r.d,a),LG(i,c),r}function Qpn(n,t){var i,r,c,a;return r=e.Math.abs(u_(n.b).a-u_(t.b).a),a=e.Math.abs(u_(n.b).b-u_(t.b).b),i=1,c=1,r>n.b.b/2+t.b.b/2&&(i=1-e.Math.min(e.Math.abs(n.b.c-(t.b.c+t.b.b)),e.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-e.Math.min(e.Math.abs(n.b.d-(t.b.d+t.b.a)),e.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-e.Math.min(i,c))*e.Math.sqrt(r*r+a*a)}function Ypn(n){var t,i,r;for(pkn(n,n.e,n.f,(Jq(),W4n),!0,n.c,n.i),pkn(n,n.e,n.f,W4n,!1,n.c,n.i),pkn(n,n.e,n.f,V4n,!0,n.c,n.i),pkn(n,n.e,n.f,V4n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,u,o,s,h,f;for(a=new pb(t);a.a=w&&(v>w&&(b.c=QQ(XKn,rEn,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Jx(MR(b,Xen(t,b.c.length)),128),P.a.Bc(l),l.s=d++,abn(l,M,j),b.c=QQ(XKn,rEn,1,0,5,1))}for(y=n.c.length+1,u=new pb(n);u.aS.s&&(fB(e),oJ(S.i,i),i.c>0&&(i.a=S,iD(S.t,i),i.b=E,iD(E.i,i)))})(n.i,Jx($un(n.d,(Ajn(),BQn)),230)),function(n){var t,i,r,c,a,u,o,s,h;for(s=new SE,u=new SE,c=new pb(n);c.a-1){for(r=nen(u,0);r.b!=r.d.c;)(i=Jx(CX(r),128)).v=a;for(;0!=u.b;)for(t=new pb((i=Jx(Xrn(u,0),128)).i);t.a=65;e--)hot[e]=e-65<<24>>24;for(i=122;i>=97;i--)hot[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)hot[r]=r-48+52<<24>>24;for(hot[43]=62,hot[47]=63,c=0;c<=25;c++)fot[c]=65+c&lTn;for(a=26,o=0;a<=51;++a,o++)fot[a]=97+o&lTn;for(n=52,u=0;n<=61;++n,u++)fot[n]=48+u&lTn;fot[62]=43,fot[63]=47}function nvn(n,t){var e,i,r,c,a,u,o;if(!MG(n))throw fp(new Jm(eNn));if(c=(i=MG(n)).g,r=i.f,c<=0&&r<=0)return Ckn(),qit;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return Ckn(),Git;if(u+n.g>c)return Ckn(),Tit;break;case 4:case 3:if(o<0)return Ckn(),Mit;if(o+n.f>r)return Ckn(),Hit}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(Ckn(),Git):a+e>=1&&a-e>=0?(Ckn(),Tit):e<.5?(Ckn(),Mit):(Ckn(),Hit)}function tvn(n){var t,e,i,r,c,a;if(Njn(),4!=n.e&&5!=n.e)throw fp(new Ym("Token#complementRanges(): must be RANGE: "+n.e));for(Dln(c=n),Nmn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==EKn&&(i-=2),(r=new aU(4)).b=QQ(Vot,STn,25,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Kl(o,o.d-r.d),r.c==(rQ(),_4n)&&Dl(o,o.a-r.d),o.d<=0&&o.i>0&&QW(t,o,t.c.b,t.c));for(c=new pb(n.f);c.a0&&(_l(u,u.i-r.d),r.c==(rQ(),_4n)&&Rl(u,u.b-r.d),u.i<=0&&u.d>0&&QW(e,u,e.c.b,e.c))}function rvn(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Processor compute fanout",1),X_(n.b),X_(n.a),u=null,c=nen(t.b,0);!u&&c.b!=c.d.c;)ty(fL($un(s=Jx(CX(c),86),(cyn(),O5n))))&&(u=s);for(QW(o=new SE,u,o.c.b,o.c),Okn(n,o),h=nen(t.b,0);h.b!=h.d.c;)a=bL($un(s=Jx(CX(h),86),(cyn(),m5n))),r=null!=uG(n.b,a)?Jx(uG(n.b,a),19).a:0,w5(s,v5n,g9(r)),i=1+(null!=uG(n.a,a)?Jx(uG(n.a,a),19).a:0),w5(s,g5n,g9(i));Kon(e)}function cvn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new ZU(n.e,0),e=0;r.bJAn)return e;i>-1e-6&&++e}return e}(n,e),u=0;u0),i.a.Xb(i.c=--i.b),h>f+u&&fB(i);for(c=new pb(l);c.a0),i.a.Xb(i.c=--i.b)}}function avn(n){var t,i,r,c,a,u,o,s,h,f,l,b,w;if(i=n.i,t=n.n,0==n.b)for(w=i.c+t.b,b=i.b-t.b-t.c,s=0,f=(u=n.a).length;s0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=e.Math.max(r[1],l),mK(n.a[1],i.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(o=0,h=(a=n.a).length;oa&&(a=r,s.c=QQ(XKn,rEn,1,0,5,1)),r==a&&iD(s,new yP(e.c.i,e)));WH(),ZC(s,n.c),nK(n.b,u.p,s)}}(l,n),l.f=f$(l.d),function(n,t){var e,i,r,c,a,u,o,s;for(c=new pb(t.b);c.aa&&(a=r,s.c=QQ(XKn,rEn,1,0,5,1)),r==a&&iD(s,new yP(e.d.i,e)));WH(),ZC(s,n.c),nK(n.f,u.p,s)}}(l,n),l}function ovn(n,t){var i,r,c;for(c=Jx(MR(n.n,n.n.c.length-1),211).d,n.p=e.Math.min(n.p,t.g),n.r=e.Math.max(n.r,c),n.g=e.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=e.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=e.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new pb(n.n);i.a1)for(i=nen(r,0);i.b!=i.d.c;)for(c=0,u=new pb((e=Jx(CX(i),231)).e);u.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=e.Math.max(t[1],l),yK(n.a[1],r.d+i.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+i.d,b=r.a-i.d-i.a,s=0,f=(u=n.a).length;s=0&&c!=e)throw fp(new Ym(jxn));for(r=0,o=0;o0||0==k7(c.b.d,n.b.d+n.b.a)&&r.b<0||0==k7(c.b.d+c.b.a,n.b.d)&&r.b>0){o=0;break}}else o=e.Math.min(o,whn(n,c,r));o=e.Math.min(o,wvn(n,a,o,r))}return o}function dvn(n,t){var e,i,r,c,a,u;if(n.b<2)throw fp(new Ym("The vector chain must contain at least a source and a target point."));for(P$(0!=n.b),MC(t,(i=Jx(n.a.a.c,8)).a,i.b),u=new u$((!t.a&&(t.a=new WO(Yrt,t,5)),t.a)),c=nen(n,1);c.aey(xO(a.g,a.d[0]).a)?(P$(o.b>0),o.a.Xb(o.c=--o.b),nN(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(!u.e&&(u.e=new rp),u.e).Mc(t),s=(!u.e&&(u.e=new rp),u.e).Mc(e),(c||s)&&((!u.e&&(u.e=new rp),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}function jvn(n){var t,e,i;if(gC(Jx($un(n,(pjn(),p0n)),98)))for(e=new pb(n.j);e.a>>0).toString(16),t.length-2,t.length):n>=iMn?"\\v"+b$(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&lTn)}return e}function Tvn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new O_(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=zz(n.a[0],oMn),i=zz(t.a[0],oMn),a<0&&(e=hJ(e)),o<0&&(i=hJ(i)),Xtn(t7(e,i));if(-1==(r=c!=u?c>u?1:-1:d6(n.a,t.a,c)))f=-o,h=a==o?zV(t.a,u,n.a,c):VQ(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return wdn(),vFn;h=zV(n.a,c,t.a,u)}else h=VQ(n.a,c,t.a,u);return PU(s=new O_(f,h.length,h)),s}function Mvn(n){var t,e,i,r,c,a;for(this.e=new rp,this.a=new rp,e=n.b-1;e<3;e++)$$(n,0,Jx(jen(n,0),8));if(n.b<4)throw fp(new Ym("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c,a;if(t<2*n.b)throw fp(new Ym("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Jx(MR(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Jx(MR(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return b7(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return iD(t.b,e),a=Jx(MR(t.n,t.n.c.length-1),211),iD(t.n,new pG(t.s,a.f+a.a+t.i,t.i)),Oin(Jx(MR(t.n,t.n.c.length-1),211),e),ovn(t,e),!0}return!1}function Ivn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=qJ(n,t,e),e,t,c),n.bj()&&!(n.ni()&&null!=a?Y8(a,e):rI(a)===rI(e))?(null!=a&&(r=n.dj(a,r)),r=n.cj(e,r),n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):(n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)),a):(a=qJ(n,t,e),n.bj()&&!(n.ni()&&null!=a?Y8(a,e):rI(a)===rI(e))&&(r=null,null!=a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function Cvn(n,t){var i,r,c,a,u,o,s;t%=24,n.q.getHours()!=t&&((i=new e.Date(n.q.getTime())).setDate(i.getDate()+1),(u=n.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(o=u/60|0,s=u%60,r=n.q.getDate(),n.q.getHours()+o>=24&&++r,c=new e.Date(n.q.getFullYear(),n.q.getMonth(),r,t+o,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function Ovn(n,t){var e,i,r,c;if(cun(t,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new cln(n)).i&&(r.i=R2(r,new kc)),e=ey(r.i)*r.f/(null==r.i&&(r.i=R2(r,new kc)),ey(r.i)),r.b>e)Kon(t);else{switch(Jx($un(n,(pjn(),e2n)),337).g){case 2:c=new Tc;break;case 0:c=new wc;break;default:c=new Mc}if(i=c.Vf(n,r),!c.Wf())switch(Jx($un(n,o2n),338).g){case 2:i=ghn(r,i);break;case 1:i=oun(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Jx((i=e.Kc()).Pb(),19).a;a1||-1==w)if(f=Jx(d,69),l=Jx(h,69),f.dc())l.$b();else for(a=!!tin(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Jx(u.Pb(),56),(r=Jx(XJ(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c);else null==d?h.Wb(null):null==(r=XJ(n,d))?n.b&&!tin(t)&&h.Wb(d):h.Wb(r)}function xvn(n,t){var i,r,c,a,u,o,s,f;for(i=new Le,c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)if(!nV(r=Jx(jV(c),17))&&Han(o=r.c.i,oUn)){if(-1==(f=Pdn(n,o,oUn,uUn)))continue;i.b=e.Math.max(i.b,f),!i.a&&(i.a=new rp),iD(i.a,o)}for(u=new LK(wA(s7(t).a.Kc(),new h));Qfn(u);)if(!nV(a=Jx(jV(u),17))&&Han(s=a.d.i,uUn)){if(-1==(f=Pdn(n,s,uUn,oUn)))continue;i.d=e.Math.max(i.d,f),!i.c&&(i.c=new rp),iD(i.c,s)}return i}function Dvn(n){var t,e,i,r;if(Efn(),t=sG(n),n1e6)throw fp(new Hm("power of ten too big"));if(n<=Jjn)return yV(rfn(jFn[1],t),t);for(r=i=rfn(jFn[1],Jjn),e=R3(n-Jjn),t=sG(n%Jjn);j8(e,Jjn)>0;)r=oZ(r,i),e=t7(e,Jjn);for(r=yV(r=oZ(r,rfn(jFn[1],t)),Jjn),e=R3(n-Jjn);j8(e,Jjn)>0;)r=yV(r,Jjn),e=t7(e,Jjn);return yV(r,t)}function Rvn(n,t){var e,i,r,c,a;cun(t,"Layer constraint postprocessing",1),0!=(a=n.b).c.length&&(Lz(0,a.c.length),function(n,t,e,i,r){var c,a,u,o,s,h;for(c=new pb(n.b);c.a1)););(u>0||l.Hc((Ohn(),vit))&&(!c.n&&(c.n=new y_(uct,c,1,7)),c.n).i>0)&&(o=!0),u>1&&(s=!0)}o&&t.Fc((idn(),PVn)),s&&t.Fc((idn(),IVn))}(t,i=Jx($un(r,(Ajn(),wQn)),21)),i.Hc((idn(),PVn)))for(e=new XO((!t.c&&(t.c=new y_(sct,t,9,9)),t.c));e.e!=e.i.gc();)wkn(n,t,r,Jx(fen(e),118));return 0!=Jx(Eln(t,(pjn(),t0n)),174).gc()&&adn(t,r),ty(fL($un(r,o0n)))&&i.Fc($Vn),A$(r,A0n)&&Km(new H7(ey(lL($un(r,A0n)))),r),rI(Eln(t,T1n))===rI((A8(),Let))?function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(a=new SE,v=Jx($un(e,(pjn(),u1n)),103),w=0,O2(a,(!t.a&&(t.a=new y_(oct,t,10,11)),t.a));0!=a.b;)s=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),33),(rI(Eln(t,WZn))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&!ty(fL(Eln(s,XZn)))&&$en(s,(Ajn(),CQn),g9(w++)),!ty(fL(Eln(s,c0n)))&&(f=0!=(!s.a&&(s.a=new y_(oct,s,10,11)),s.a).i,b=Jan(s),l=rI(Eln(s,T1n))===rI((A8(),Let)),g=null,(T=!UQ(s,(Ojn(),pnt))||FN(bL(Eln(s,pnt)),OIn))&&l&&(f||b)&&(w5(g=Vpn(s),u1n,v),A$(g,A0n)&&Km(new H7(ey(lL($un(g,A0n)))),g),0!=Jx(Eln(s,t0n),174).gc()&&(h=g,PE(new PR(null,(!s.c&&(s.c=new y_(sct,s,9,9)),new xz(s.c,16))),new gw(h)),adn(s,g))),m=e,(y=Jx(HF(n.a,CG(s)),10))&&(m=y.e),d=Yyn(n,s,m),g&&(d.e=g,g.e=d,O2(a,(!s.a&&(s.a=new y_(oct,s,10,11)),s.a))));for(w=0,QW(a,t,a.c.b,a.c);0!=a.b;){for(o=new XO((!(c=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),33)).b&&(c.b=new y_(tct,c,12,3)),c.b));o.e!=o.i.gc();)ggn(u=Jx(fen(o),79)),(rI(Eln(t,WZn))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&$en(u,(Ajn(),CQn),g9(w++)),j=run(Jx(a1((!u.b&&(u.b=new $N(nct,u,4,7)),u.b),0),82)),E=run(Jx(a1((!u.c&&(u.c=new $N(nct,u,5,8)),u.c),0),82)),ty(fL(Eln(u,c0n)))||ty(fL(Eln(j,c0n)))||ty(fL(Eln(E,c0n)))||(p=c,Vhn(u)&&ty(fL(Eln(j,C1n)))&&ty(fL(Eln(u,O1n)))||WZ(E,j)?p=j:WZ(j,E)&&(p=E),m=e,(y=Jx(HF(n.a,p),10))&&(m=y.e),w5(Cjn(n,u,p,m),(Ajn(),tQn),xwn(n,u,t,e)));if(l=rI(Eln(c,T1n))===rI((A8(),Let)))for(r=new XO((!c.a&&(c.a=new y_(oct,c,10,11)),c.a));r.e!=r.i.gc();)T=!UQ(i=Jx(fen(r),33),(Ojn(),pnt))||FN(bL(Eln(i,pnt)),OIn),k=rI(Eln(i,T1n))===rI(Let),T&&k&&QW(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));r.e!=r.i.gc();)ty(fL(Eln(i=Jx(fen(r),33),(pjn(),c0n))))||(rI(Eln(t,WZn))===rI((j5(),V2n))&&rI(Eln(t,c1n))!==rI((yin(),KWn))&&rI(Eln(t,c1n))!==rI((yin(),DWn))&&!ty(fL(Eln(t,QZn)))&&rI(Eln(t,qZn))===rI((i9(),Czn))||ty(fL(Eln(i,XZn)))||($en(i,(Ajn(),CQn),g9(f)),++f),Yyn(n,i,e));for(f=0,s=new XO((!t.b&&(t.b=new y_(tct,t,12,3)),t.b));s.e!=s.i.gc();)u=Jx(fen(s),79),(rI(Eln(t,(pjn(),WZn)))!==rI((j5(),V2n))||rI(Eln(t,c1n))===rI((yin(),KWn))||rI(Eln(t,c1n))===rI((yin(),DWn))||ty(fL(Eln(t,QZn)))||rI(Eln(t,qZn))!==rI((i9(),Czn)))&&($en(u,(Ajn(),CQn),g9(f)),++f),w=_un(u),d=Hun(u),h=ty(fL(Eln(w,C1n))),b=!ty(fL(Eln(u,c0n))),l=h&&Vhn(u)&&ty(fL(Eln(u,O1n))),c=CG(w)==t&&CG(w)==CG(d),a=(CG(w)==t&&d==t)^(CG(d)==t&&w==t),b&&!l&&(a||c)&&Cjn(n,u,t,e);if(CG(t))for(o=new XO(OH(CG(t)));o.e!=o.i.gc();)(w=_un(u=Jx(fen(o),79)))==t&&Vhn(u)&&(l=ty(fL(Eln(w,(pjn(),C1n))))&&ty(fL(Eln(u,O1n))))&&Cjn(n,u,t,e)}(n,t,r),r}function Fvn(n,t,i,r){var c,a,u;if(this.j=new rp,this.k=new rp,this.b=new rp,this.c=new rp,this.e=new fC,this.i=new xv,this.f=new ap,this.d=new rp,this.g=new rp,iD(this.b,n),iD(this.b,t),this.e.c=e.Math.min(n.a,t.a),this.e.d=e.Math.min(n.b,t.b),this.e.b=e.Math.abs(n.a-t.a),this.e.a=e.Math.abs(n.b-t.b),c=Jx($un(r,(pjn(),L1n)),74))for(u=nen(c,0);u.b!=u.d.c;)d1((a=Jx(CX(u),8)).a,n.a)&&_D(this.i,a);i&&iD(this.j,i),iD(this.k,r)}function Bvn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(h=new f_(new rw(e)),D_(u=QQ(Qot,dSn,25,n.f.e.c.length,16,1),u.length),e[t.b]=0,s=new pb(n.f.e);s.as&&i>s)){r=!1,e.n&&ND(e,"bk node placement breaks on "+u+" which should have been after "+h);break}h=u,s=ey(t.p[u.p])+ey(t.d[u.p])+u.o.b+u.d.a}if(!r)break}return e.n&&ND(e,t+" is feasible: "+r),r}function qvn(n,t,e,i){var r,c,a,u,o,s,h;if(e.d.i!=t.i){for(Al(r=new cin(n),(won(),Hzn)),w5(r,(Ajn(),OQn),e),w5(r,(pjn(),p0n),(Kan(),sit)),i.c[i.c.length]=r,nz(a=new Con,r),dhn(a,(Ckn(),Git)),nz(u=new Con,r),dhn(u,Tit),h=e.d,YG(e,a),s4(c=new Eq,e),w5(c,L1n,null),JG(c,u),YG(c,h),s=new ZU(e.b,0);s.b=g&&n.e[s.p]>w*n.b||m>=i*g)&&(l.c[l.c.length]=o,o=new rp,O2(u,a),a.a.$b(),h-=f,b=e.Math.max(b,h*n.b+d),h+=m,v=m,m=0,f=0,d=0);return new yP(b,l)}function Uvn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(e=new ub(new Zl(n.c.b).a.vc().Kc());e.a.Ob();)u=Jx(e.a.Pb(),42),null==(r=(t=Jx(u.dd(),149)).a)&&(r=""),!(i=TL(n.c,r))&&0==r.length&&(i=B8(n)),i&&!Q7(i.c,t,!1)&&_D(i.c,t);for(a=nen(n.a,0);a.b!=a.d.c;)c=Jx(CX(a),478),s=fV(n.c,c.a),l=fV(n.c,c.b),s&&l&&_D(s.c,new yP(l,c.c));for(HH(n.a),f=nen(n.b,0);f.b!=f.d.c;)h=Jx(CX(f),478),t=EL(n.c,h.a),o=fV(n.c,h.b),t&&o&&hT(t,o,h.c);HH(n.b)}function Xvn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Mo,c=new Mo,null==(t=qat).a.zc(n,t)){for(r=new XO(Cq(n));r.e!=r.i.gc();)EF(a,Xvn(Jx(fen(r),26)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new y_(eat,n,21,17)),i=new XO(n.s);i.e!=i.i.gc();)OO(e=Jx(fen(i),170),99)&&lY(c,Jx(e,18));H6(c),n.r=new CD(n,(Jx(a1(uq((JF(),pat).o),6),18),c.i),c.g),EF(a,n.r),H6(a),n.f=new qI((Jx(a1(uq(pat.o),5),18),a.i),a.g),wV(n).b&=-3}return n.f}function Wvn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(a=n.o,i=QQ(Vot,STn,25,a,15,1),r=QQ(Vot,STn,25,a,15,1),e=n.p,t=QQ(Vot,STn,25,e,15,1),c=QQ(Vot,STn,25,e,15,1),s=0;s=0&&!xin(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!xin(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&agn(n,o,l,!1,!0)}function Vvn(n){var t,e,i,r,c,a,u,o;e=ty(fL($un(n,(Hdn(),eGn)))),c=n.a.c.d,u=n.a.d.d,e?(a=_O(kN(new YS(u.a,u.b),c),.5),o=_O(gO(n.e),.5),t=kN(yN(new YS(c.a,c.b),a),o),D$(n.d,t)):(r=ey(lL($un(n.a,mGn))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function Qvn(n,t){var e,i,r,c,a,u,o;if(null==n)return null;if(0==(c=n.length))return"";for(o=QQ(Wot,hTn,25,c,15,1),JQ(0,c,n.length),JQ(0,c,o.length),uF(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?b$(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function Yvn(n){oT(n,new eun(ck(tk(rk(ik(new du,oPn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new at))),RU(n,oPn,sPn,sen(Kqn)),RU(n,oPn,hPn,sen($qn)),RU(n,oPn,fPn,sen(Pqn)),RU(n,oPn,lPn,sen(Lqn)),RU(n,oPn,sSn,sen(Dqn)),RU(n,oPn,hSn,sen(xqn)),RU(n,oPn,oSn,sen(Rqn)),RU(n,oPn,fSn,sen(Nqn)),RU(n,oPn,iPn,sen(Cqn)),RU(n,oPn,rPn,sen(Iqn)),RU(n,oPn,cPn,sen(Oqn)),RU(n,oPn,aPn,sen(Aqn))}function Jvn(n,t,e,i){var r,c,a,u,o,s,h;if(Al(c=new cin(n),(won(),Gzn)),w5(c,(pjn(),p0n),(Kan(),sit)),r=0,t){for(w5(a=new Con,(Ajn(),OQn),t),w5(c,OQn,t.i),dhn(a,(Ckn(),Git)),nz(a,c),s=0,h=(o=OU(t.e)).length;s=0&&l<=1&&b>=0&&b<=1?yN(new YS(n.a,n.b),_O(new YS(t.a,t.b),l)):null}function tmn(n){var t,i,r,c,a,u,o,s,h,f;for(s=new Jl(new Yl(Mfn(n)).a.vc().Kc());s.a.Ob();){for(r=Jx(s.a.Pb(),42),h=0,f=0,h=(o=Jx(r.cd(),10)).d.d,f=o.o.b+o.d.a,n.d[o.p]=0,t=o;(c=n.a[t.p])!=o;)i=Etn(t,c),0,u=n.c==(Zq(),d4n)?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,a=ey(n.d[t.p])+u,n.d[c.p]=a,h=e.Math.max(h,c.d.d-a),f=e.Math.max(f,a+c.o.b+c.d.a),t=c;t=o;do{n.d[t.p]=ey(n.d[t.p])+h,t=n.a[t.p]}while(t!=o);n.b[o.p]=h+f}}function emn(n){var t,i,r,c,a,u,o,s,h,f,l;for(n.b=!1,f=ZTn,o=nMn,l=ZTn,s=nMn,i=n.e.a.ec().Kc();i.Ob();)for(r=(t=Jx(i.Pb(),266)).a,f=e.Math.min(f,r.c),o=e.Math.max(o,r.c+r.b),l=e.Math.min(l,r.d),s=e.Math.max(s,r.d+r.a),a=new pb(t.c);a.a=(Lz(c,n.c.length),Jx(n.c[c],200)).e,!((s=smn(i,f,!1).a)>t.b&&!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,vY(e,Ron(e,s))):(han(e.q,u),e.c=!0),vY(i,r-(e.s+e.r)),Yen(i,e.q.e+e.q.d,t.f),a0(t,i),n.c.length>c&&(ucn((Lz(c,n.c.length),Jx(n.c[c],200)),i),0==(Lz(c,n.c.length),Jx(n.c[c],200)).a.c.length&&_V(n,c)),h=!0),h))}function cmn(n,t,e,i){var r,c,a,u,o,s,h;if(h=gwn(n.e.Tg(),t),r=0,c=Jx(n.g,119),o=null,MT(),Jx(t,66).Oj()){for(u=0;u0?n.i:0)>t&&s>0&&(a=0,u+=s+n.i,c=e.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,iD(n.n,new pG(n.s,u,n.i))),o=0),b+=h.g+(o>0?n.i:0),s=e.Math.max(s,h.f),i&&Oin(Jx(MR(n.n,l),211),h),a+=h.g+(o>0?n.i:0),++o;return c=e.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,Mrn(n.j)),new yH(n.s,n.t,c,r)}function hmn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(sE(),H_(n,"src"),H_(e,"dest"),l=Q5(n),o=Q5(e),jD(0!=(4&l.i),"srcType is not an array"),jD(0!=(4&o.i),"destType is not an array"),f=l.c,a=o.c,jD(0!=(1&f.i)?f==a:0==(1&a.i),"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw fp(new Op);if(0==(1&f.i)&&l!=o)if(h=f1(n),c=f1(e),rI(n)===rI(e)&&ti;)RF(c,u,h[--t]);else for(u=i+r;i0&&fhn(n,t,e,i,r,!0)}function fmn(){fmn=O,yFn=D4(zy(Vot,1),STn,25,15,[tTn,1162261467,UEn,1220703125,362797056,1977326743,UEn,387420489,XTn,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,UEn,1291467969,1544804416,1838265625,60466176]),kFn=D4(zy(Vot,1),STn,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 lmn(n,t){var e,i,r,c,a;if(a=Jx(t,136),Dln(n),Dln(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=QQ(Vot,STn,25,a.b.length,15,1),void hmn(a.b,0,n.b,0,a.b.length);for(c=QQ(Vot,STn,25,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0&&(!(r=(!n.n&&(n.n=new y_(uct,n,1,7)),Jx(a1(n.n,0),137)).a)||kI(kI((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new $N(nct,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new $N(nct,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",kI(t,bA(new My,new XO(n.b))),e&&(t.a+="]"),t.a+=vIn,e&&(t.a+="["),kI(t,bA(new My,new XO(n.c))),e&&(t.a+="]"),t.a)}function dmn(n,t){var e,i,r,c,a,u,o;if(n.a){if(o=null,null!=(u=n.a.ne())?t.a+=""+u:null!=(a=n.a.Dj())&&(-1!=(c=QI(a,pun(91)))?(o=a.substr(c),t.a+=""+b$(null==a?uEn:(mB(a),a),0,c)):t.a+=""+a),n.d&&0!=n.d.i){for(r=!0,t.a+="<",i=new XO(n.d);i.e!=i.i.gc();)e=Jx(fen(i),87),r?r=!1:t.a+=eEn,dmn(e,t);t.a+=">"}null!=o&&(t.a+=""+o)}else n.e?null!=(u=n.e.zb)&&(t.a+=""+u):(t.a+="?",n.b?(t.a+=" super ",dmn(n.b,t)):n.f&&(t.a+=" extends ",dmn(n.f,t)))}function gmn(n,t,e,i){var r,c,a,u,o,s;if(c=W9(i),!ty(fL($un(i,(pjn(),G1n))))&&!ty(fL($un(n,I1n)))||gC(Jx($un(n,p0n),98)))switch(nz(u=new Con,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,qon(s,0,0,n.o.a,n.o.b),dhn(u,Mpn(u,c))):(r=z7(c),dhn(u,e==(f0(),r3n)?r:A9(r))),a=Jx($un(i,(Ajn(),wQn)),21),o=u.j,c.g){case 2:case 1:(o==(Ckn(),Mit)||o==Hit)&&a.Fc((idn(),AVn));break;case 4:case 3:(o==(Ckn(),Tit)||o==Git)&&a.Fc((idn(),AVn))}else r=z7(c),u=mpn(n,e,e==(f0(),r3n)?r:A9(r));return u}function pmn(n,t,i){var r,c,a,u,o,s,h;return e.Math.abs(t.s-t.c)h?new dz((rQ(),F4n),i,t,s-h):s>0&&h>0&&(new dz((rQ(),F4n),t,i,0),new dz(F4n,i,t,0))),a)}function vmn(n,t){var i,r,c,a,u;for(u=new e6(new Ql(n.f.b).a);u.b;){if(c=Jx((a=h1(u)).cd(),594),1==t){if(c.gf()!=(e9(),iet)&&c.gf()!=Ztt)continue}else if(c.gf()!=(e9(),net)&&c.gf()!=tet)continue;switch(r=Jx(Jx(a.dd(),46).b,81),i=Jx(Jx(a.dd(),46).a,189).c,c.gf().g){case 2:r.g.c=n.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=n.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 mmn(n,t){var e,i,r,c,a,u,o,s,f,l,b;for(i=new LK(wA(bbn(t).a.Kc(),new h));Qfn(i);)OO(a1((!(e=Jx(jV(i),79)).b&&(e.b=new $N(nct,e,4,7)),e.b),0),186)||(o=run(Jx(a1((!e.c&&(e.c=new $N(nct,e,5,8)),e.c),0),82)),Kfn(e)||(a=t.i+t.g/2,u=t.j+t.f/2,f=o.i+o.g/2,l=o.j+o.f/2,(b=new Ik).a=f-a,b.b=l-u,Tcn(c=new YS(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,u=l-b.b,Tcn(s=new YS(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=u+b.b,D1(r=Jwn(e,!0,!0),a),K1(r,u),A1(r,f),R1(r,l),mmn(n,o)))}function ymn(n){oT(n,new eun(ck(tk(rk(ik(new du,Z$n),"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 tu))),RU(n,Z$n,nLn,sen(D9n)),RU(n,Z$n,tLn,sen(L9n)),RU(n,Z$n,eLn,sen($9n)),RU(n,Z$n,iLn,sen(O9n)),RU(n,Z$n,rLn,sen(A9n)),RU(n,Z$n,lPn,C9n),RU(n,Z$n,NPn,8),RU(n,Z$n,cLn,sen(x9n)),RU(n,Z$n,aLn,sen(M9n)),RU(n,Z$n,uLn,sen(S9n)),RU(n,Z$n,sAn,(MA(),!1))}function kmn(n,t,e){var i,r,c,a,u,o,s,h;return i=n.a.o==(KG(),y4n)?ZTn:nMn,!(u=Dpn(n,new MS(t,e))).a&&u.c?(_D(n.d,u),i):u.a?(r=u.a.c,o=u.a.d,e?(s=n.a.c==(Zq(),g4n)?o:r,c=n.a.c==g4n?r:o,a=n.a.g[c.i.p],h=ey(n.a.p[a.p])+ey(n.a.d[c.i.p])+c.n.b+c.a.b-ey(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(Zq(),d4n)?o:r,c=n.a.c==d4n?r:o,h=ey(n.a.p[n.a.g[c.i.p].p])+ey(n.a.d[c.i.p])+c.n.b+c.a.b-ey(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(MA(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h):i}function jmn(n,t,e){var i,r,c,a,u,o,s;if(Nwn(n.e,t))MT(),jfn((u=Jx(t,66).Oj()?new aR(t,n):new QP(t,n)).c,u.b),MO(u,Jx(e,14));else{for(s=gwn(n.e.Tg(),t),i=Jx(n.g,119),c=0;cn.o.b)return!1;if(e=r7(n,Tit),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function Pmn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return e=zz(n.a[0],oMn),i=zz(t.a[0],oMn),a==o?(w=VR(h=e7(e,i)),0==(b=VR(XK(h,32)))?new dQ(a,w):new O_(a,2,D4(zy(Vot,1),STn,25,15,[w,b]))):Xtn(a<0?t7(i,e):t7(e,i));if(a==o)l=a,f=c>=u?VQ(n.a,c,t.a,u):VQ(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:d6(n.a,t.a,c)))return wdn(),vFn;1==r?(l=a,f=zV(n.a,c,t.a,u)):(l=o,f=zV(t.a,u,n.a,c))}return PU(s=new O_(l,f.length,f)),s}function Imn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w;return l=ty(fL($un(t,(pjn(),z1n)))),b=null,a==(f0(),i3n)&&r.c.i==i?b=r.c:a==r3n&&r.d.i==i&&(b=r.d),(h=u)&&l&&!b?(iD(h.e,r),w=e.Math.max(ey(lL($un(h.d,k1n))),ey(lL($un(r,k1n)))),w5(h.d,k1n,w)):(Ckn(),f=qit,b?f=b.j:gC(Jx($un(i,p0n),98))&&(f=a==i3n?Git:Tit),s=function(n,t,e,i,r,c){var a,u,o,s,h,f;return a=null,s=i==(f0(),i3n)?c.c:c.d,o=W9(t),s.i==e?(a=Jx(HF(n.b,s),10))||(w5(a=Zkn(s,Jx($un(e,(pjn(),p0n)),98),r,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=ty(fL($un(u=n.i,(pjn(),C1n)))),h=0,i=0,s=new pb(n.g);s.a=n.b[r+1])r+=2;else{if(!(e=iMn?vI(e,X9(i)):_F(e,i&lTn),c=new tG(10,null,0),function(n,t,e){r_(e,n.a.c.length),YW(n.a,e,t)}(n.a,c,a-1)):(c.bm().length,vI(e=new Ay,c.bm())),0==t.e?(i=t._l())>=iMn?vI(e,X9(i)):_F(e,i&lTn):vI(e,t.bm()),Jx(c,521).b=e.a):Xp(n.a,t);else for(r=0;r0&&j8(r,-6)>=0){if(j8(r,0)>=0){for(c=e+VR(r),u=h-1;u>=c;u--)f[u+1]=f[u];return f[++c]=46,o&&(f[--e]=45),Qnn(f,e,h-e+1)}for(a=2;NT(a,e7(hJ(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,o&&(f[--e]=45),Qnn(f,e,h-e)}return w=e+1,i=h,l=new Ly,o&&(l.a+="-"),i-w>=1?(FF(l,f[e]),l.a+=".",l.a+=Qnn(f,e+1,h-e-1)):l.a+=Qnn(f,e,h-e),l.a+="E",j8(r,0)>0&&(l.a+="+"),l.a+=""+qK(r),l.a}(R3(n.f),sG(n.e)),n.g):(r=vjn((!n.c&&(n.c=Z6(n.f)),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=Z6(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new $y).a+=""+r,n.e>0&&i>=-6?i>=0?XG(c,e-sG(n.e),String.fromCharCode(46)):(c.a=b$(c.a,0,t-1)+"0."+bI(c.a,t-1),XG(c,t+1,Qnn(cFn,0,-sG(i)-1))):(e-t>=1&&(XG(c,t,String.fromCharCode(46)),++e),XG(c,e,String.fromCharCode(69)),i>0&&XG(c,++e,String.fromCharCode(43)),XG(c,++e,""+qK(R3(i)))),n.g=c.a,n.g))}function Fmn(n,t,i){var r,c,a;if((c=Jx($un(t,(pjn(),HZn)),275))!=(oon(),yVn)){switch(cun(i,"Horizontal Compaction",1),n.a=t,function(n,t){n.g=t}(r=new dfn(((a=new gJ).d=t,a.c=Jx($un(a.d,w1n),218),function(n){var t,e,i,r,c,a,u;for(t=!1,e=0,r=new pb(n.d.b);r.a0&&J4(o,!0,(e9(),tet)),a.k==(won(),Fzn)&&YB(o),DB(n.f,a,t)):((s=(i=Jx(lq(u7(a)),17)).c.i)==a&&(s=i.d.i),f=new yP(s,kN(gO(a.n),s.n)),DB(n.b,a,f))}(a),Bdn(a),a.a)),n.b),1===Jx($un(t,BZn),422).g?Xy(r,new u2(n.a)):Xy(r,(QH(),SBn)),c.g){case 1:Fln(r);break;case 2:Fln(ikn(r,(e9(),tet)));break;case 3:Fln(Uy(ikn(Fln(r),(e9(),tet)),new gr));break;case 4:Fln(Uy(ikn(Fln(r),(e9(),tet)),new Gw(a)));break;case 5:Fln(function(n,t){return n.b=t,n}(r,CXn))}ikn(r,(e9(),net)),r.e=!0,function(n){var t,i,r,c;for(PE(fH(new PR(null,new xz(n.a.b,16)),new yr),new kr),function(n){var t,e,i,r,c;for(i=new e6(new Ql(n.b).a);i.b;)t=Jx((e=h1(i)).cd(),10),c=Jx(Jx(e.dd(),46).a,10),r=Jx(Jx(e.dd(),46).b,8),yN(AI(t.n),yN(gO(c.n),r))}(n),PE(fH(new PR(null,new xz(n.a.b,16)),new jr),new Er),n.c==(p7(),wet)&&(PE(fH(VJ(new PR(null,new xz(new Yl(n.f),1)),new Tr),new Mr),new Ww(n)),PE(fH(lH(VJ(VJ(new PR(null,new xz(n.d.b,16)),new Sr),new Pr),new Ir),new Cr),new Qw(n))),c=new YS(ZTn,ZTn),t=new YS(nMn,nMn),r=new pb(n.a.b);r.a1&&(s=h.mg(s,n.a,o));return 1==s.c.length?Jx(MR(s,s.c.length-1),220):2==s.c.length?function(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,u=a==(Dbn(),Q8n)||a==J8n,o=a==Y8n||a==Q8n,l=f==Y8n||f==Q8n,!u||f!=Q8n&&f!=J8n?a!=Y8n&&a!=Z8n||f!=Y8n&&f!=Z8n?o&&l?(a==Y8n?(h=n,s=t):(h=t,s=n),b=i.j+i.f,w=h.e+r.f,d=e.Math.max(b,w)-e.Math.min(i.j,h.e),c=(h.d+r.g-i.i)*d,g=i.i+i.g,p=s.d+r.g,c<=(e.Math.max(g,p)-e.Math.min(i.i,s.d))*(s.e+r.f-i.j)?n.f==Y8n?n:t:n.f==Q8n?n:t):n:n.f==Z8n?n:t:n.f==J8n?n:t}((Lz(0,s.c.length),Jx(s.c[0],220)),(Lz(1,s.c.length),Jx(s.c[1],220)),u,a):null}function Hmn(n){var t,i,r,c,a,u;for(VZ(n.a,new nt),i=new pb(n.a);i.a=e.Math.abs(r.b)?(r.b=0,a.d+a.a>u.d&&a.du.c&&a.c0){if(t=new YP(n.i,n.g),c=(e=n.i)<100?null:new Tk(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,DV(n),c=s<100?null:new Tk(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Jx(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg())for(r=0;r0)if(t=new e3(n.Gi()),c=(e=h)<100?null:new Tk(e),xL(n,e,t.g),r=1==e?n.Zi(4,a1(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new XO(t);i.e!=i.i.gc();)c=n.dj(fen(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r);else xL(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(WH(),MFn),null,-1,o));else if(n.bj())if((h=n.Vi())>0){for(u=n.Wi(),s=h,xL(n,h,u),c=s<100?null:new Tk(s),i=0;i2*c?(h=new i1(f),s=RR(a)/DR(a),o=tjn(h,t,new Pv,e,i,r,s),yN(AI(h.e),o),f.c=QQ(XKn,rEn,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=RR(h)*DR(h)+RR(a)*DR(a)):(f.c[f.c.length]=a,c+=RR(a)*DR(a));return f}(u,t,f.a,f.b,(s=r,mB(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(WH(),ZC(n,new zu),a=tD(n),b=new rp,l=new rp,u=null,o=0;0!=a.b;)c=Jx(0==a.b?null:(P$(0!=a.b),QZ(a,a.a.a)),157),!u||RR(u)*DR(u)/21&&(o>RR(u)*DR(u)/2||0==a.b)&&(f=new i1(l),h=RR(u)/DR(u),s=tjn(f,t,new Pv,e,i,r,h),yN(AI(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=QQ(XKn,rEn,1,0,5,1)));return P4(b,l),b}(u,t,f.a,f.b,(h=r,mB(c),h));break;default:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=QQ(Zot,cMn,25,n.c.length,15,1),Wrn(l=new f_(new Uu),n),s=0,b=new rp;0!=l.b.c.length;)if(a=Jx(0==l.b.c.length?null:MR(l.b,0),157),s>1&&RR(a)*DR(a)/2>u[0]){for(c=0;cu[c];)++c;f=new i1(new Az(b,0,c+1)),h=RR(a)/DR(a),o=tjn(f,t,new Pv,e,i,r,h),yN(AI(f.e),o),ZQ(yun(l,f)),Wrn(l,new Az(b,c+1,b.c.length)),b.c=QQ(XKn,rEn,1,0,5,1),s=0,tK(u,u.length,0)}else null!=(0==l.b.c.length?null:MR(l.b,0))&&i2(l,0),s>0&&(u[s]=u[s-1]),u[s]+=RR(a)*DR(a),++s,b.c[b.c.length]=a;return b}(u,t,f.a,f.b,(o=r,mB(c),o))}Dkn(n,(b=tjn(new i1(w),t,i,f.a,f.b,r,(mB(c),c))).a,b.b,!1,!0)}function Ymn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(c=0,a=0,s=new pb(n.a);s.a.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=u.d.b)&&(p=r),d=u.d.c,p>g.a-d-h&&(p=g.a-d-h),u.n.a=t+p}}function Jmn(n,t){var e,i,r,c,a,u,o,s,h;return s="",0==t.length?n.de(sTn,uTn,-1,-1):(FN((h=Vun(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=Vun(h.substr(a+1)),h=Vun(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=Vun(h.substr(0,a))),-1!=(a=QI(h,pun(46)))&&(h=h.substr(a+1)),(0==h.length||FN(h,"Anonymous function"))&&(h=uTn),u=NA(s,pun(58)),r=GN(s,pun(58),u-1),o=-1,i=-1,c=sTn,-1!=u&&-1!=r&&(c=s.substr(0,r),o=l$(s.substr(r+1,u-(r+1))),i=l$(s.substr(u+1))),n.de(c,h,o,i))}function Zmn(n,t,e){var i,r,c,a,u,o;if(0==t.l&&0==t.m&&0==t.h)throw fp(new Hm("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return e&&(I_n=cO(0,0,0)),cO(0,0,0);if(t.h==GTn&&0==t.m&&0==t.l)return function(n,t){return n.h==GTn&&0==n.m&&0==n.l?(t&&(I_n=cO(0,0,0)),ZI((NJ(),A_n))):(t&&(I_n=cO(n.l,n.m,n.h)),cO(0,0,0))}(n,e);if(o=!1,t.h>>19!=0&&(t=f5(t),o=!o),a=function(n){var t,e,i;return 0!=((e=n.l)&e-1)||0!=((i=n.m)&i-1)||0!=((t=n.h)&t-1)||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?y0(e):0==t&&0!=i&&0==e?y0(i)+22:0!=t&&0==i&&0==e?y0(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==GTn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=eln(n,a),o&&$5(u),e&&(I_n=cO(0,0,0)),u;n=ZI((NJ(),C_n)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=f5(n),i=!0,o=!o);return-1!=a?F5(n,a,o,c,e):pcn(n,t)<0?(e&&(I_n=c?f5(n):cO(n.l,n.m,n.h)),cO(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f;for(a=gon(t,o=T5(t)-T5(n)),u=cO(0,0,0);o>=0&&(!Crn(n,a)||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&$5(u),c&&(i?(I_n=f5(n),r&&(I_n=k4(I_n,(NJ(),A_n)))):I_n=cO(n.l,n.m,n.h)),u}(i?n:cO(n.l,n.m,n.h),t,o,c,r,e)}function nyn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(n.e&&n.c.ct.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Jx(a.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Jx(u.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Jx(o.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=Jx(c.Pb(),11),Q6(L5(D4(zy(H7n,1),MEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return r=function(n,t){var e;if(OO(e=Jbn(n.Tg(),t),99))return Jx(e,18);throw fp(new Ym(yNn+t+"' is not a valid reference"))}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(o=new rp,f=t.length,a=A5(e),s=0;s=0?n._g(s,!1,!0):efn(n,e,!1),58).Kc();c.Ob();){for(r=Jx(c.Pb(),56),h=0;h=0){i=Jx(MV(n,XZ(n,t.substr(1,e-1)),!1),58),o=0;try{o=rpn(t.substr(e+1),tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}if(o=0)return e;switch(MB(IJ(n,e))){case 2:if(FN("",X8(n,e.Hj()).ne())){if(o=Lln(n,t,u=eH(IJ(n,e)),tH(IJ(n,e))))return o;for(a=0,s=(r=$gn(n,t)).gc();a1,h=new XV(b.b);nO(h.a)||nO(h.b);)l=(s=Jx(nO(h.a)?qz(h.a):qz(h.b),17)).c==b?s.d:s.c,e.Math.abs(L5(D4(zy(H7n,1),MEn,8,0,[l.i.n,l.n,l.a])).b-u.b)>1&&Ewn(n,s,u,a,b)}}function uyn(){uyn=O,Lut=(Fk(),$ut).b,Dut=Jx(a1(uq($ut.b),0),34),Nut=Jx(a1(uq($ut.b),1),34),xut=Jx(a1(uq($ut.b),2),34),Uut=$ut.bb,Jx(a1(uq($ut.bb),0),34),Jx(a1(uq($ut.bb),1),34),Wut=$ut.fb,Vut=Jx(a1(uq($ut.fb),0),34),Jx(a1(uq($ut.fb),1),34),Jx(a1(uq($ut.fb),2),18),Yut=$ut.qb,not=Jx(a1(uq($ut.qb),0),34),Jx(a1(uq($ut.qb),1),18),Jx(a1(uq($ut.qb),2),18),Jut=Jx(a1(uq($ut.qb),3),34),Zut=Jx(a1(uq($ut.qb),4),34),eot=Jx(a1(uq($ut.qb),6),34),tot=Jx(a1(uq($ut.qb),5),18),Rut=$ut.j,Kut=$ut.k,_ut=$ut.q,Fut=$ut.w,But=$ut.B,Hut=$ut.A,qut=$ut.C,Gut=$ut.D,zut=$ut._,Xut=$ut.cb,Qut=$ut.hb}function oyn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,E6(n,null)):(n.F=(mB(t),t),-1!=(i=QI(t,pun(60)))?(r=t.substr(0,i),-1==QI(t,pun(46))&&!FN(r,Wjn)&&!FN(r,HDn)&&!FN(r,qDn)&&!FN(r,GDn)&&!FN(r,zDn)&&!FN(r,UDn)&&!FN(r,XDn)&&!FN(r,WDn)&&(r=VDn),-1!=(e=NA(t,pun(62)))&&(r+=""+t.substr(e+1)),E6(n,r)):(r=t,-1==QI(t,pun(46))&&(-1!=(i=QI(t,pun(91)))&&(r=t.substr(0,i)),FN(r,Wjn)||FN(r,HDn)||FN(r,qDn)||FN(r,GDn)||FN(r,zDn)||FN(r,UDn)||FN(r,XDn)||FN(r,WDn)?r=t:(r=VDn,-1!=i&&(r+=""+t.substr(i)))),E6(n,r),r==t&&(n.F=n.D))),0!=(4&n.Db)&&0==(1&n.Db)&&_3(n,new v_(n,1,5,c,t))}function syn(n,t){var e;if(null==t||FN(t,uEn))return null;if(0==t.length&&n.k!=(bsn(),$7n))return null;switch(n.k.g){case 1:return mtn(t,jLn)?(MA(),N_n):mtn(t,ELn)?(MA(),L_n):null;case 2:try{return g9(rpn(t,tTn,Jjn))}catch(n){if(OO(n=E4(n),127))return null;throw fp(n)}case 4:try{return pon(t)}catch(n){if(OO(n=E4(n),127))return null;throw fp(n)}case 3:return t;case 5:return B6(n),zhn(n,t);case 6:return B6(n),function(n,t,e){var i,r,c,a,u,o,s;for(s=new ax(i=Jx(t.e&&t.e(),9),Jx(iN(i,i.length),9),0),a=0,u=(c=Agn(e,"[\\[\\]\\s,]+")).length;a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&ty(fL(t))!=fI(n.k,0);case 1:return null!=t&&Jx(t,217).a!=VR(n.k)<<24>>24;case 2:return null!=t&&Jx(t,172).a!=(VR(n.k)&lTn);case 6:return null!=t&&fI(Jx(t,162).a,n.k);case 5:return null!=t&&Jx(t,19).a!=VR(n.k);case 7:return null!=t&&Jx(t,184).a!=VR(n.k)<<16>>16;case 3:return null!=t&&ey(lL(t))!=n.j;case 4:return null!=t&&Jx(t,155).a!=n.j;default:return null==t?null!=n.n:!Y8(t,n.n)}}function fyn(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&rI(a=o_(n,Jx(e,56)))!==rI(e)?(n.Oi(t),n.Ui(t,LY(n,0,a)),n.rk()&&(r=Jx(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,tin(Jx(OZ(Oq(n.b),n.aj()),18)).n,Jx(OZ(Oq(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,enn(r.Tg(),tin(Jx(OZ(Oq(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),!Jx(a,49).eh()&&(i=Jx(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,tin(Jx(OZ(Oq(n.b),n.aj()),18)).n,Jx(OZ(Oq(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,enn(i.Tg(),tin(Jx(OZ(Oq(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),pC(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function lyn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=ey(lL($un(n,(pjn(),K0n)))),r=ey(lL($un(n,J0n))),w5(b=new Yu,K0n,f+r),v=(h=t).d,g=h.c.i,m=h.d.i,p=iC(g.c),y=iC(m.c),c=new rp,l=p;l<=y;l++)Al(o=new cin(n),(won(),Hzn)),w5(o,(Ajn(),OQn),h),w5(o,p0n,(Kan(),sit)),w5(o,F0n,b),w=Jx(MR(n.b,l),29),l==p?qrn(o,w.a.c.length-i,w):ZG(o,w),(k=ey(lL($un(h,k1n))))<0&&w5(h,k1n,k=0),o.o.b=k,d=e.Math.floor(k/2),dhn(u=new Con,(Ckn(),Git)),nz(u,o),u.n.b=d,dhn(s=new Con,Tit),nz(s,o),s.n.b=d,YG(h,u),s4(a=new Eq,h),w5(a,L1n,null),JG(a,s),YG(a,v),Ecn(o,h,a),c.c[c.c.length]=a,h=a;return c}function byn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(u=Jx(Lon(n,(Ckn(),Git)).Kc().Pb(),11).e,f=Jx(Lon(n,Tit).Kc().Pb(),11).g,a=u.c.length,g=Rz(Jx(MR(n.j,0),11));a-- >0;){for(Lz(0,u.c.length),b=Jx(u.c[0],17),Lz(0,f.c.length),r=fJ((i=Jx(f.c[0],17)).d.e,i,0),iX(b,i.d,r),JG(i,null),YG(i,null),l=b.a,t&&_D(l,new lC(g)),e=nen(i.a,0);e.b!=e.d.c;)_D(l,new lC(Jx(CX(e),8)));for(d=b.b,h=new pb(i.b);h.a0&&(u=e.Math.max(u,W2(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(l-1)<=PSn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),i.n.b=0,i.a.a=u}function dyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w;if(i=Jx(zB(n.b,t),124),(s=Jx(Jx(FV(n.r,t),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((Ohn(),vit)),u=0,n.A.Hc(($nn(),trt))&&Vdn(n,t),o=s.Kc(),f=null,b=0,l=0;o.Ob();)a=ey(lL((r=Jx(o.Pb(),111)).b.We((WA(),WHn)))),c=r.b.rf().b,f?(w=l+f.d.a+n.w+r.d.d,u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(b-a)<=PSn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(u=e.Math.max(u,W2(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),u=e.Math.max(u,(WC(),s0(PSn),e.Math.abs(b-1)<=PSn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),i.n.d=0,i.a.b=u}function gyn(n,t,e){var i,r,c,a,u,o;for(this.g=n,u=t.d.length,o=e.d.length,this.d=QQ(zzn,jIn,10,u+o,0,1),a=0;a0?o1(this,this.f/this.a):null!=xO(t.g,t.d[0]).a&&null!=xO(e.g,e.d[0]).a?o1(this,(ey(xO(t.g,t.d[0]).a)+ey(xO(e.g,e.d[0]).a))/2):null!=xO(t.g,t.d[0]).a?o1(this,xO(t.g,t.d[0]).a):null!=xO(e.g,e.d[0]).a&&o1(this,xO(e.g,e.d[0]).a)}function pyn(n,t){var e,i,r,c,a,u,o,s,h;for(n.a=new qF(function(n){var t;return new ax(t=Jx(n.e&&n.e(),9),Jx(cF(t,t.length),9),t.length)}(set)),i=new pb(t.a);i.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,w5(n,(pjn(),t0n),($nn(),new ax(i=Jx($k(brt),9),Jx(iN(i,i.length),9),0)))}function yyn(n){var t,e,i,r,c,a,u,o,s,h;for(i=new rp,a=new pb(n.e.a);a.a1)for(d=QQ(Vot,STn,25,n.b.b.c.length,15,1),f=0,h=new pb(n.b.b);h.a=u&&r<=o)u<=r&&c<=o?(e[h++]=r,e[h++]=c,i+=2):u<=r?(e[h++]=r,e[h++]=o,n.b[i]=o+1,a+=2):c<=o?(e[h++]=u,e[h++]=c,i+=2):(e[h++]=u,e[h++]=o,n.b[i]=o+1);else{if(!(onTn)&&o<10);Jy(n.c,new Et),Eyn(n),function(n){rkn(n,(e9(),net)),n.d=!0}(n.c),function(n){var t,i,r,c,a,u,o,s;for(a=new pb(n.a.b);a.a=2){for(a=Jx(CX(o=nen(e,0)),8),u=Jx(CX(o),8);u.a0&&iD(n.p,l),iD(n.o,l);d=s+(t-=r),f+=t*n.e,YW(n.a,o,g9(d)),YW(n.b,o,f),n.j=e.Math.max(n.j,d),n.k=e.Math.max(n.k,f),n.d+=t,t+=p}}(n),n.q=Jx($un(t,(pjn(),B1n)),260),l=Jx($un(n.g,F1n),19).a,a=new hi,n.q.g){case 2:case 1:default:$mn(n,a);break;case 3:for(n.q=(Fbn(),z2n),$mn(n,a),s=0,o=new pb(n.a);o.an.j&&(n.q=_2n,$mn(n,a));break;case 4:for(n.q=(Fbn(),z2n),$mn(n,a),f=0,c=new pb(n.b);c.an.k&&(n.q=H2n,$mn(n,a));break;case 6:$mn(n,new Aw(sG(e.Math.ceil(n.f.length*l/100))));break;case 5:$mn(n,new $w(sG(e.Math.ceil(n.d*l/100))))}(function(n,t){var e,i,r,c,a,u;for(r=new rp,e=0;e<=n.i;e++)(i=new GF(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new pb(n.o);u.a=e}(this.k)}function Ayn(n,t){var e,i,r,c,a,u,o,s,f;for(u=!0,r=0,o=n.f[t.p],s=t.o.b+n.n,e=n.c[t.p][2],YW(n.a,o,g9(Jx(MR(n.a,o),19).a-1+e)),YW(n.b,o,ey(lL(MR(n.b,o)))-s+e*n.e),++o>=n.i?(++n.i,iD(n.a,g9(1)),iD(n.b,s)):(i=n.c[t.p][1],YW(n.a,o,g9(Jx(MR(n.a,o),19).a+1-i)),YW(n.b,o,ey(lL(MR(n.b,o)))+s-i*n.e)),(n.q==(Fbn(),_2n)&&(Jx(MR(n.a,o),19).a>n.j||Jx(MR(n.a,o-1),19).a>n.j)||n.q==H2n&&(ey(lL(MR(n.b,o)))>n.k||ey(lL(MR(n.b,o-1)))>n.k))&&(u=!1),c=new LK(wA(o7(t).a.Kc(),new h));Qfn(c);)a=Jx(jV(c),17).c.i,n.f[a.p]==o&&(r+=Jx((f=Ayn(n,a)).a,19).a,u=u&&ty(fL(f.b)));return n.f[t.p]=o,new yP(g9(r+=n.c[t.p][0]),(MA(),!!u))}function $yn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=new cp,u=new rp,Ehn(n,i,n.d.fg(),u,l),Ehn(n,r,n.d.gg(),u,l),n.b=.2*(g=gln(VJ(new PR(null,new xz(u,16)),new Sa)),p=gln(VJ(new PR(null,new xz(u,16)),new Pa)),e.Math.min(g,p)),a=0,o=0;o=2&&(v=xbn(u,!0,b),!n.e&&(n.e=new Dd(n)),wtn(n.e,v,u,n.b)),qan(u,b),function(n){var t,i,r,c,a,u,o,s,h;for(s=new rp,u=new rp,a=new pb(n);a.a-1){for(c=new pb(u);c.a0||(Fl(o,e.Math.min(o.o,r.o-1)),_l(o,o.i-1),0==o.i&&(u.c[u.c.length]=o))}}(u),w=-1,f=new pb(u);f.ae))}(n)&&(i=(rI($un(n,T1n))===rI(Let)?Jx($un(n,JZn),292):Jx($un(n,ZZn),292))==(c4(),RVn)?(Ljn(),JUn):(Ljn(),lXn),sR(t,(Lun(),tzn),i)),Jx($un(n,a2n),377).g){case 1:sR(t,(Lun(),tzn),(Ljn(),hXn));break;case 2:kK(sR(sR(t,(Lun(),nzn),(Ljn(),hUn)),tzn,fUn),ezn,lUn)}return rI($un(n,WZn))!==rI((j5(),V2n))&&sR(t,(Lun(),nzn),(Ljn(),fXn)),t}(t)),w5(t,FQn,nyn(n.a,t))}function Nyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=ZTn,f=ZTn,o=nMn,s=nMn,b=new pb(t.i);b.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[h++]=r,e[h++]=u-1,i+=2):(e[h++]=r,e[h++]=u-1,n.b[i]=o+1,a+=2);else{if(!(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,o,a,h=new tY(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function Hyn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(i)for(r=-1,f=new ZU(t,0);f.b0&&0==e.c&&(!t&&(t=new rp),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Jx(_V(t,0),233)).b&&e.b.c.length>0)for(!e.b&&(e.b=new rp),c=new pb(e.b);c.afJ(n,e,0))return new yP(r,e)}else if(ey(xO(r.g,r.d[0]).a)>ey(xO(e.g,e.d[0]).a))return new yP(r,e);for(u=(!e.e&&(e.e=new rp),e.e).Kc();u.Ob();)!(a=Jx(u.Pb(),233)).b&&(a.b=new rp),rz(0,(o=a.b).c.length),zT(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}function Gyn(n,t){var e,i,r,c,a,u;if(null==n)return uEn;if(null!=t.a.zc(n,t))return"[...]";for(e=new Z3(eEn,"[","]"),c=0,a=(r=n).length;c=14&&u<=16?OO(i,177)?qV(e,shn(Jx(i,177))):OO(i,190)?qV(e,_an(Jx(i,190))):OO(i,195)?qV(e,Eon(Jx(i,195))):OO(i,2012)?qV(e,Fan(Jx(i,2012))):OO(i,48)?qV(e,ohn(Jx(i,48))):OO(i,364)?qV(e,$hn(Jx(i,364))):OO(i,832)?qV(e,uhn(Jx(i,832))):OO(i,104)&&qV(e,ahn(Jx(i,104))):t.a._b(i)?(e.a?kI(e.a,e.b):e.a=new PA(e.d),mI(e.a,"[...]")):qV(e,Gyn(f1(i),new jR(t))):qV(e,null==i?uEn:C7(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function zyn(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(w=_on(Jwn(t,!1,!1)),r&&(w=X5(w)),g=ey(lL(Eln(t,(ben(),$qn)))),P$(0!=w.b),b=Jx(w.a.a.c,8),h=Jx(jen(w,1),8),w.b>2?(P4(s=new rp,new Az(w,1,w.b)),s4(d=new iln(kjn(s,g+n.a)),t),i.c[i.c.length]=d):d=Jx(HF(n.b,r?_un(t):Hun(t)),266),u=_un(t),r&&(u=Hun(t)),a=function(n,t){var i,r,c;return c=dPn,Ien(),r=wqn,c=e.Math.abs(n.b),(i=e.Math.abs(t.f-n.b))>16==-10?e=Jx(n.Cb,284).nk(t,e):n.Db>>16==-15&&(!t&&(Djn(),t=Iat),!u&&(Djn(),u=Iat),n.Cb.nh()&&(a=new kJ(n.Cb,1,13,u,t,Ken(CJ(Jx(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(OO(n.Cb,88))n.Db>>16==-23&&(OO(t,88)||(Djn(),t=Aat),OO(u,88)||(Djn(),u=Aat),n.Cb.nh()&&(a=new kJ(n.Cb,1,10,u,t,Ken(eW(Jx(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(OO(n.Cb,444))for(!(c=Jx(n.Cb,836)).b&&(c.b=new Wg(new Vv)),r=new Vg(new e6(new Ql(c.b.a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,c),e);return e}function Xyn(n){var t,i,r,c,a,u,o,s,h,f,l,b;if((b=Jx(Eln(n,(Ojn(),Znt)),21)).dc())return null;if(o=0,u=0,b.Hc(($nn(),nrt))){for(f=Jx(Eln(n,jtt),98),r=2,i=2,c=2,a=2,t=CG(n)?Jx(Eln(CG(n),Int),103):Jx(Eln(n,Int),103),h=new XO((!n.c&&(n.c=new y_(sct,n,9,9)),n.c));h.e!=h.i.gc();)if(s=Jx(fen(h),118),(l=Jx(Eln(s,Ctt),61))==(Ckn(),qit)&&(l=nvn(s,t),$en(s,Ctt,l)),f==(Kan(),sit))switch(l.g){case 1:r=e.Math.max(r,s.i+s.g);break;case 2:i=e.Math.max(i,s.j+s.f);break;case 3:c=e.Math.max(c,s.i+s.g);break;case 4:a=e.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:i+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}o=e.Math.max(r,c),u=e.Math.max(i,a)}return Dkn(n,o,u,!0,!0)}function Wyn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(m=Jx(jW(qZ(fH(new PR(null,new xz(t.d,16)),new td(i)),new ed(i)),yY(new H,new B,new rn,D4(zy(dBn,1),WEn,132,0,[(O6(),uBn)]))),15),l=Jjn,f=tTn,s=new pb(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(Kbn(i=s5(Jx(MR(d.c.a,h),10)),y,e[0])||c_(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p0&&(t.a+=eEn),Zyn(Jx(fen(a),160),t);for(t.a+=vIn,u=new u$((!i.c&&(i.c=new $N(nct,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=eEn),Zyn(Jx(fen(u),160),t);t.a+=")"}}}function nkn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(c=Jx($un(n,(Ajn(),OQn)),79)){for(i=n.a,yN(r=new lC(e),function(n){var t,e,i,r;if(r=Jx($un(n,(Ajn(),tQn)),37)){for(i=new Ik,t=gB(n.c.i);t!=r;)t=gB(e=t.e),L$(yN(yN(i,e.n),t.c),t.d.b,t.d.d);return i}return tUn}(n)),F3(n.d.i,n.c.i)?(l=n.c,kN(f=L5(D4(zy(H7n,1),MEn,8,0,[l.n,l.a])),e)):f=Rz(n.c),QW(i,f,i.a,i.a.a),b=Rz(n.d),null!=$un(n,JQn)&&yN(b,Jx($un(n,JQn),8)),QW(i,b,i.c.b,i.c),s1(i,r),N0(a=Jwn(c,!0,!0),Jx(a1((!c.b&&(c.b=new $N(nct,c,4,7)),c.b),0),82)),x0(a,Jx(a1((!c.c&&(c.c=new $N(nct,c,5,8)),c.c),0),82)),dvn(i,a),h=new pb(n.b);h.aa?1:YI(isNaN(0),isNaN(a)))<0&&(s0(XAn),(e.Math.abs(a-1)<=XAn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:YI(isNaN(a),isNaN(1)))<0)&&(s0(XAn),(e.Math.abs(0-u)<=XAn||0==u||isNaN(0)&&isNaN(u)?0:0u?1:YI(isNaN(0),isNaN(u)))<0)&&(s0(XAn),(e.Math.abs(u-1)<=XAn||1==u||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:YI(isNaN(u),isNaN(1)))<0))}function ekn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;if(p=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new rp,c=0,a0(s=new gU(0,e),new t6(0,0,s,e)),r=0,o=new XO(n);o.e!=o.i.gc();)u=Jx(fen(o),33),i=Jx(MR(s.a,s.a.c.length-1),187),r+u.g+(0==Jx(MR(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,a0(s=new gU(c,e),i=new t6(0,s.f,s,e)),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?b7(i,u):(a0(s,a=new t6(i.s+i.r+e,s.f,s,e)),b7(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,i,n.g),c.n&&c.n&&a&&tU(c,KU(a),(I6(),Ert)),n.b)for(g=0;g0?n.g:0),++i;n.c=c,n.d=r}(n,p),c.n&&c.n&&a&&tU(c,KU(a),(I6(),Ert)),m=e.Math.max(n.d,r.a-(u.b+u.c)),o=(l=e.Math.max(n.c,r.b-(u.d+u.a)))-n.c,n.e&&n.f&&(m/l0&&(n.c[t.c.p][t.p].d+=Wln(n.i,24)*EMn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function skn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(E=0,w=0,l=new pb(t.e);l.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o));if(i)for(u=new pb(m.e);u.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o))}o>0&&(E+=b/o,++w)}w>0?(t.a=c*E/w,t.g=w):(t.a=0,t.g=0)}function hkn(n,t){var i,r,c,a,u,o,s,h,f,l;for(r=new pb(n.a.b);r.anMn||t.o==m4n&&hr.d,r.d=e.Math.max(r.d,t),o&&i&&(r.d=e.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:i=t>r.a,r.a=e.Math.max(r.a,t),o&&i&&(r.a=e.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:i=t>r.c,r.c=e.Math.max(r.c,t),o&&i&&(r.c=e.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:i=t>r.b,r.b=e.Math.max(r.b,t),o&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+c)}}}(o),function(n){switch(n.q.g){case 5:Kcn(n,(Ckn(),Mit)),Kcn(n,Hit);break;case 4:wyn(n,(Ckn(),Mit)),wyn(n,Hit);break;default:Msn(n,(Ckn(),Mit)),Msn(n,Hit)}}(o),function(n){switch(n.q.g){case 5:_cn(n,(Ckn(),Tit)),_cn(n,Git);break;case 4:dyn(n,(Ckn(),Tit)),dyn(n,Git);break;default:Ssn(n,(Ckn(),Tit)),Ssn(n,Git)}}(o),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc(($nn(),nrt))&&(Jx(zB(n.b,(Ckn(),Mit)),124).k=!0,Jx(zB(n.b,Hit),124).k=!0,t=n.q!=(Kan(),hit)&&n.q!=sit,Il(Jx(zB(n.b,Tit),124),t),Il(Jx(zB(n.b,Git),124),t),Il(n.g,t),n.A.Hc(trt)&&(Jx(zB(n.b,Mit),124).j=!0,Jx(zB(n.b,Hit),124).j=!0,Jx(zB(n.b,Tit),124).k=!0,Jx(zB(n.b,Git),124).k=!0,n.g.k=!0)),n.A.Hc(Zit))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((Qgn(),srt)),c=0,a=(r=Wtn()).length;c0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}w5(n,(Ajn(),_Qn),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=lit&&t!=bit&&u!=qit)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Jx(Eln(t,d0n),8)),o=new XO((!t.n&&(t.n=new y_(uct,t,1,7)),t.n));o.e!=o.i.gc();)!ty(fL(Eln(u=Jx(fen(o),137),c0n)))&&u.a&&iD(s.f,g8(u));switch(r.g){case 2:case 1:(s.j==(Ckn(),Mit)||s.j==Hit)&&i.Fc((idn(),AVn));break;case 4:case 3:(s.j==(Ckn(),Tit)||s.j==Git)&&i.Fc((idn(),AVn))}return s}function pkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;for(l=null,r==(Jq(),W4n)?l=t:r==V4n&&(l=i),d=l.a.ec().Kc();d.Ob();){for(w=Jx(d.Pb(),11),g=L5(D4(zy(H7n,1),MEn,8,0,[w.i.n,w.n,w.a])).b,m=new Yp,o=new Yp,h=new XV(w.b);nO(h.a)||nO(h.b);)if(ty(fL($un(s=Jx(nO(h.a)?qz(h.a):qz(h.b),17),(Ajn(),qQn))))==c&&-1!=fJ(a,s,0)){if(p=s.d==w?s.c:s.d,v=L5(D4(zy(H7n,1),MEn,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(v-g)<.2)continue;v1)for(WW(m,new IS(n,b=new Gmn(w,m,r))),u.c[u.c.length]=b,f=m.a.ec().Kc();f.Ob();)oJ(a,Jx(f.Pb(),46).b);if(o.a.gc()>1)for(WW(o,new CS(n,b=new Gmn(w,o,r))),u.c[u.c.length]=b,f=o.a.ec().Kc();f.Ob();)oJ(a,Jx(f.Pb(),46).b)}}function vkn(n){oT(n,new eun(ek(ck(tk(rk(ik(new du,O$n),"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 Ha),O$n))),RU(n,O$n,$An,sen(Q6n)),RU(n,O$n,NPn,sen(Z6n)),RU(n,O$n,qPn,sen(q6n)),RU(n,O$n,iIn,sen(G6n)),RU(n,O$n,HPn,sen(z6n)),RU(n,O$n,GPn,sen(H6n)),RU(n,O$n,BPn,sen(U6n)),RU(n,O$n,zPn,sen(V6n)),RU(n,O$n,S$n,sen(F6n)),RU(n,O$n,M$n,sen(B6n)),RU(n,O$n,C$n,sen(X6n)),RU(n,O$n,E$n,sen(W6n)),RU(n,O$n,T$n,sen(Y6n)),RU(n,O$n,P$n,sen(J6n)),RU(n,O$n,I$n,sen(n8n))}function mkn(n){var t;if(this.r=function(n,t){return new Sq(Jx(SF(n),62),Jx(SF(t),62))}(new Pn,new In),this.b=new O7(Jx(SF(ert),290)),this.p=new O7(Jx(SF(ert),290)),this.i=new O7(Jx(SF(ZHn),290)),this.e=n,this.o=new lC(n.rf()),this.D=n.Df()||ty(fL(n.We((Ojn(),Bnt)))),this.A=Jx(n.We((Ojn(),Znt)),21),this.B=Jx(n.We(rtt),21),this.q=Jx(n.We(jtt),98),this.u=Jx(n.We(Stt),21),!function(n){return Ohn(),!(Q3(hG(eK(vit,D4(zy(zit,1),WEn,273,0,[yit])),n))>1||Q3(hG(eK(pit,D4(zy(zit,1),WEn,273,0,[git,kit])),n))>1)}(this.u))throw fp(new by("Invalid port label placement: "+this.u));if(this.v=ty(fL(n.We(Itt))),this.j=Jx(n.We(Ynt),21),!function(n){return Tln(),!(Q3(hG(eK(Wet,D4(zy(ait,1),WEn,93,0,[Vet])),n))>1||Q3(hG(eK(zet,D4(zy(ait,1),WEn,93,0,[Get,Xet])),n))>1||Q3(hG(eK(Jet,D4(zy(ait,1),WEn,93,0,[Yet,Qet])),n))>1)}(this.j))throw fp(new by("Invalid node label placement: "+this.j));this.n=Jx(Urn(n,Vnt),116),this.k=ey(lL(Urn(n,ztt))),this.d=ey(lL(Urn(n,Gtt))),this.w=ey(lL(Urn(n,Jtt))),this.s=ey(lL(Urn(n,Utt))),this.t=ey(lL(Urn(n,Xtt))),this.C=Jx(Urn(n,Qtt),142),this.c=2*this.d,t=!this.B.Hc((Qgn(),rrt)),this.f=new Ptn(0,t,0),this.g=new Ptn(1,t,0),xm(this.f,(ZZ(),aHn),this.g)}function ykn(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw fp(new Cy(uEn));if(s=n,o=!1,(c=n.length)>0&&(Nz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(n=n.substr(1),--c,o=45==t)),0==c)throw fp(new Cy(JTn+s+'"'));for(;n.length>0&&(Nz(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(Npn(),Y_n)[10])throw fp(new Cy(JTn+s+'"'));for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(j8(f,u)<0)throw fp(new Cy(JTn+s+'"'));f=i7(f,h)}f=t7(f,i)}if(j8(f,0)>0)throw fp(new Cy(JTn+s+'"'));if(!o&&j8(f=hJ(f),0)<0)throw fp(new Cy(JTn+s+'"'));return f}function kkn(n,t){var e,i,r,c,a,u,o;if(JD(),this.a=new kO(this),this.b=n,this.c=t,this.f=z_(IJ((dsn(),dut),t)),this.f.dc())if((u=Rcn(dut,n))==t)for(this.e=!0,this.d=new rp,this.f=new fo,this.f.Fc(HRn),Jx(Cmn(PJ(dut,r1(n)),""),26)==n&&this.f.Fc(AK(dut,r1(n))),r=Lgn(dut,n).Kc();r.Ob();)switch(i=Jx(r.Pb(),170),MB(IJ(dut,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(z_(IJ(dut,i)))}else if(MT(),Jx(t,66).Oj())for(this.e=!0,this.f=null,this.d=new rp,a=0,o=(null==n.i&&hvn(n),n.i).length;a=0&&a0&&(Jx(zB(n.b,t),124).a.b=i)}function Ekn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(Nz(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(o=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Nz(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=FN("%",a=t.substr(1,h-1))?null:Lkn(a),i=0,o)try{i=rpn(t.substr(h+2),tTn,Jjn)}catch(n){throw OO(n=E4(n),127)?fp(new yJ(n)):fp(n)}for(d=w2(n.Wg());d.Ob();)if(OO(b=W3(d),510)&&(p=(r=Jx(b,590)).d,(null==v?null==p:FN(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=rpn(t.substr(s+1),tTn,Jjn)}catch(n){if(!OO(n=E4(n),127))throw fp(n);l=t}for(l=FN("%",l)?null:Lkn(l),w=w2(n.Wg());w.Ob();)if(OO(b=W3(w),191)&&(g=(c=Jx(b,191)).ne(),(null==l?null==g:FN(l,g))&&0==e--))return c;return null}return iyn(n,t)}function Tkn(){var n,t,e;for(Tkn=O,new nZ(1,0),new nZ(10,0),new nZ(0,0),rFn=QQ(mFn,MEn,240,11,0,1),cFn=QQ(Wot,hTn,25,100,15,1),aFn=D4(zy(Zot,1),cMn,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]),uFn=QQ(Vot,STn,25,aFn.length,15,1),oFn=D4(zy(Zot,1),cMn,25,15,[1,10,100,fTn,1e4,aMn,1e6,1e7,1e8,XTn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),sFn=QQ(Vot,STn,25,oFn.length,15,1),hFn=QQ(mFn,MEn,240,11,0,1),n=0;nr+2&&u5((Nz(r+1,n.length),n.charCodeAt(r+1)),zct,Uct)&&u5((Nz(r+2,n.length),n.charCodeAt(r+2)),zct,Uct))if(e=LD((Nz(r+1,n.length),n.charCodeAt(r+1)),(Nz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[u++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[u++]=e<<24>>24,i=2):224==(240&e)?(t[u++]=e<<24>>24,i=3):240==(248&e)&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:FF(o,((31&t[0])<<6|63&t[1])&lTn);break;case 3:FF(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&lTn)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=Xhn(n.substr(0,a+i),t)}else u=Xhn(n,t);switch(c){case 71:return u=dun(n,a,D4(zy(lFn,1),MEn,2,6,[PTn,ITn]),t),r.e=u,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=dun(n,r,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn]),t))<0&&(i=dun(n,r,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,u,a);case 69:case 99:return function(n,t,e,i){var r;return(r=dun(n,e,D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn]),t))<0&&(r=dun(n,e,D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return u=dun(n,a,D4(zy(lFn,1),MEn,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length)return!1;if(43!=(u=WB(n,t[0]))&&45!=u)return!1;if(++t[0],(i=Xhn(n,t))<0)return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new oE).q.getFullYear()-MTn+MTn-80)%100,c.a=i==a,i+=100*(o/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:return!(u<0||(r.f=u,r.g=!1,0));case 107:return!(u<0||(r.f=u,r.g=!0,0));case 109:return!(u<0||(r.j=u,0));case 115:return!(u<0||(r.n=u,0));case 90:if(a=0&&FN(n.substr(t,3),"GMT")||t>=0&&FN(n.substr(t,3),"UTC")?(e[0]=t+3,upn(n,e,i)):upn(n,e,i)}(n,a,t,r);default:return!1}}function xkn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=QQ(XKn,rEn,1,0,5,1),n.i.c=QQ(XKn,rEn,1,0,5,1),n.g.a.$b(),t)for(a=new pb(t.a);a.a=1&&(j-h>0&&d>=0?(N1(l,l.i+k),x1(l,l.j+s*h)):j-h<0&&w>=0&&(N1(l,l.i+k*j),x1(l,l.j+s)));return $en(n,(Ojn(),Znt),($nn(),new ax(a=Jx($k(brt),9),Jx(iN(a,a.length),9),0))),new YS(E,f)}function Rkn(n){var t,i,r,c,a,u,o,s,h,f,l;if(f=CG(run(Jx(a1((!n.b&&(n.b=new $N(nct,n,4,7)),n.b),0),82)))==CG(run(Jx(a1((!n.c&&(n.c=new $N(nct,n,5,8)),n.c),0),82))),u=new Ik,(t=Jx(Eln(n,(N6(),Set)),74))&&t.b>=2){if(0==(!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i)Dk(),i=new co,lY((!n.a&&(n.a=new y_(ect,n,6,6)),n.a),i);else if((!n.a&&(n.a=new y_(ect,n,6,6)),n.a).i>1)for(l=new u$((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));l.e!=l.i.gc();)ean(l);dvn(t,Jx(a1((!n.a&&(n.a=new y_(ect,n,6,6)),n.a),0),202))}if(f)for(r=new XO((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new XO((!(i=Jx(fen(r),202)).a&&(i.a=new WO(Yrt,i,5)),i.a));s.e!=s.i.gc();)o=Jx(fen(s),469),u.a=e.Math.max(u.a,o.a),u.b=e.Math.max(u.b,o.b);for(a=new XO((!n.n&&(n.n=new y_(uct,n,1,7)),n.n));a.e!=a.i.gc();)c=Jx(fen(a),137),(h=Jx(Eln(c,$et),8))&&EC(c,h.a,h.b),f&&(u.a=e.Math.max(u.a,c.i+c.g),u.b=e.Math.max(u.b,c.j+c.f));return u}function Kkn(n,t,e){var i,r,c,a,u;switch(i=t.i,c=n.i.o,r=n.i.d,u=n.n,a=L5(D4(zy(H7n,1),MEn,8,0,[u,n.a])),n.j.g){case 1:AL(t,(AJ(),vHn)),i.d=-r.d-e-i.a,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(bY(t,(HY(),bHn)),i.c=a.a-ey(lL($un(n,IQn)))-e-i.b):(bY(t,(HY(),lHn)),i.c=a.a+ey(lL($un(n,IQn)))+e);break;case 2:bY(t,(HY(),lHn)),i.c=c.a+r.c+e,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(AL(t,(AJ(),vHn)),i.d=a.b-ey(lL($un(n,IQn)))-e-i.a):(AL(t,(AJ(),yHn)),i.d=a.b+ey(lL($un(n,IQn)))+e);break;case 3:AL(t,(AJ(),yHn)),i.d=c.b+r.a+e,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(bY(t,(HY(),bHn)),i.c=a.a-ey(lL($un(n,IQn)))-e-i.b):(bY(t,(HY(),lHn)),i.c=a.a+ey(lL($un(n,IQn)))+e);break;case 4:bY(t,(HY(),bHn)),i.c=-r.b-e-i.b,Jx(Jx(MR(t.d,0),181).We((Ajn(),jQn)),285)==(Brn(),Ket)?(AL(t,(AJ(),vHn)),i.d=a.b-ey(lL($un(n,IQn)))-e-i.a):(AL(t,(AJ(),yHn)),i.d=a.b+ey(lL($un(n,IQn)))+e)}}function _kn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(w=0,S=0,s=new pb(n);s.aw&&(a&&(TI(j,b),TI(T,g9(h.b-1))),C=i.b,O+=b+t,b=0,f=e.Math.max(f,i.b+i.c+I)),N1(o,C),x1(o,O),f=e.Math.max(f,C+I+i.c),b=e.Math.max(b,l),C+=I+t;if(f=e.Math.max(f,r),(P=O+b+i.a)o&&(y=0,k+=u+v,u=0),Ugn(g,i,y,k),t=e.Math.max(t,y+p.a),u=e.Math.max(u,p.b),y+=p.a+v;return g}function Bkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;switch(h=new xv,n.a.g){case 3:l=Jx($un(t.e,(Ajn(),VQn)),15),b=Jx($un(t.j,VQn),15),w=Jx($un(t.f,VQn),15),e=Jx($un(t.e,XQn),15),i=Jx($un(t.j,XQn),15),r=Jx($un(t.f,XQn),15),P4(a=new rp,l),b.Jc(new yc),P4(a,OO(b,152)?KV(Jx(b,152)):OO(b,131)?Jx(b,131).a:OO(b,54)?new Mm(b):new cE(b)),P4(a,w),P4(c=new rp,e),P4(c,OO(i,152)?KV(Jx(i,152)):OO(i,131)?Jx(i,131).a:OO(i,54)?new Mm(i):new cE(i)),P4(c,r),w5(t.f,VQn,a),w5(t.f,XQn,c),w5(t.f,QQn,t.f),w5(t.e,VQn,null),w5(t.e,XQn,null),w5(t.j,VQn,null),w5(t.j,XQn,null);break;case 1:O2(h,t.e.a),_D(h,t.i.n),O2(h,C3(t.j.a)),_D(h,t.a.n),O2(h,t.f.a);break;default:O2(h,t.e.a),O2(h,C3(t.j.a)),O2(h,t.f.a)}HH(t.f.a),O2(t.f.a,h),JG(t.f,t.e.c),u=Jx($un(t.e,(pjn(),L1n)),74),s=Jx($un(t.j,L1n),74),o=Jx($un(t.f,L1n),74),(u||s||o)&&(q_(f=new xv,o),q_(f,s),q_(f,u),w5(t.f,L1n,f)),JG(t.j,null),YG(t.j,null),JG(t.e,null),YG(t.e,null),ZG(t.a,null),ZG(t.i,null),t.g&&Bkn(n,t.g)}function Hkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;return y=n.c[(Lz(0,t.c.length),Jx(t.c[0],17)).p],T=n.c[(Lz(1,t.c.length),Jx(t.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)==0||!OO(v=y.b.e.f,10)||(p=Jx(v,10),j=n.i[p.p],E=p.c?fJ(p.c.a,p,0):-1,a=ZTn,E>0&&(c=Jx(MR(p.c.a,E-1),10),u=n.i[c.p],M=e.Math.ceil(bO(n.n,c,p)),a=j.a.e-p.d.d-(u.a.e+c.o.b+c.d.a)-M),h=ZTn,E0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)<0,d=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)>0,w=y.a.e.e+y.b.aT.b.e.e+T.a.a,k=0,!g&&!d&&(b?a+l>0?k=l:h-r>0&&(k=r):w&&(a+o>0?k=o:h-m>0&&(k=m))),j.a.e+=k,j.b&&(j.d.e+=k),1)))}function qkn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(r=new yH(t.qf().a,t.qf().b,t.rf().a,t.rf().b),c=new fC,n.c)for(u=new pb(t.wf());u.a=2&&(i=Jx(r.Kc().Pb(),111),e=n.u.Hc((Ohn(),pit)),c=n.u.Hc(kit),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((Ohn(),git)),o=s.Kc();o.Ob();)if((u=Jx(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,bY(h,(HY(),fHn))):a||e?(f.c=-f.b-n.s,bY(h,(HY(),bHn))):(f.c=l.a+n.s,bY(h,(HY(),lHn))),f.d=-f.a-n.t,AL(h,(AJ(),vHn));break;case 3:u.a?(f.c=(l.a-f.b)/2,bY(h,(HY(),fHn))):a||e?(f.c=-f.b-n.s,bY(h,(HY(),bHn))):(f.c=l.a+n.s,bY(h,(HY(),lHn))),f.d=l.b+n.t,AL(h,(AJ(),yHn));break;case 2:u.a?(i=n.v?f.a:Jx(MR(h.d,0),181).rf().b,f.d=(l.b-i)/2,AL(h,(AJ(),mHn))):a||e?(f.d=-f.a-n.t,AL(h,(AJ(),vHn))):(f.d=l.b+n.t,AL(h,(AJ(),yHn))),f.c=l.a+n.s,bY(h,(HY(),lHn));break;case 4:u.a?(i=n.v?f.a:Jx(MR(h.d,0),181).rf().b,f.d=(l.b-i)/2,AL(h,(AJ(),mHn))):a||e?(f.d=-f.a-n.t,AL(h,(AJ(),vHn))):(f.d=l.b+n.t,AL(h,(AJ(),yHn))),f.c=-f.b-n.s,bY(h,(HY(),bHn))}a=!1}}function zkn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(Njn(),0==fE(mot)){for(f=QQ(zot,MEn,117,kot.length,0,1),a=0;as&&(i.a+=CO(QQ(Wot,hTn,25,-s,15,1))),i.a+="Is",QI(o,pun(32))>=0)for(r=0;r=i.o.b/2}p?(g=Jx($un(i,(Ajn(),ZQn)),15))?l?c=g:(r=Jx($un(i,YVn),15))?c=g.gc()<=r.gc()?g:r:(c=new rp,w5(i,YVn,c)):(c=new rp,w5(i,ZQn,c)):(r=Jx($un(i,(Ajn(),YVn)),15))?f?c=r:(g=Jx($un(i,ZQn),15))?c=r.gc()<=g.gc()?r:g:(c=new rp,w5(i,ZQn,c)):(c=new rp,w5(i,YVn,c)),c.Fc(n),w5(n,(Ajn(),ZVn),e),t.d==e?(YG(t,null),e.e.c.length+e.g.c.length==0&&nz(e,null),function(n){var t,e;(t=Jx($un(n,(Ajn(),KQn)),10))&&(oJ((e=t.c).a,t),0==e.a.c.length&&oJ(gB(t).b,e))}(e)):(JG(t,null),e.e.c.length+e.g.c.length==0&&nz(e,null)),HH(t.a)}function Xkn(n,t,i){var r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(cun(i,"MinWidth layering",1),d=t.b,M=t.a,$=Jx($un(t,(pjn(),K1n)),19).a,o=Jx($un(t,_1n),19).a,n.b=ey(lL($un(t,x0n))),n.d=ZTn,j=new pb(M);j.a0){for(l=h<100?null:new Tk(h),w=new e3(t).g,g=QQ(Vot,STn,25,h,15,1),i=0,m=new BZ(h),r=0;r=0;)if(null!=b?Y8(b,w[o]):rI(b)===rI(w[o])){g.length<=i&&hmn(g,0,g=QQ(Vot,STn,25,2*g.length,15,1),0,i),g[i++]=r,lY(m,w[o]);break n}if(rI(b)===rI(u))break}}if(s=m,w=m.g,h=i,i>g.length&&hmn(g,0,g=QQ(Vot,STn,25,i,15,1),0,i),i>0){for(v=!0,c=0;c=0;)Arn(n,g[a]);if(i!=h){for(r=h;--r>=i;)Arn(s,r);hmn(g,0,g=QQ(Vot,STn,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return rL(),rL(),Lct;for(e=new qL(n,t.gc()),r=new XO(n);r.e!=r.i.gc();)i=fen(r),t.Hc(i)&&lY(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(Arn(n,r),v=!0);if(v){if(null!=g){for(f=1==(e=t.gc())?UG(n,4,t.Kc().Pb(),null,g[0],d):UG(n,6,t,g,g[0],d),l=e<100?null:new Tk(e),r=t.Kc();r.Ob();)l=ZN(n,Jx(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):_3(n.e,f)}else{for(l=function(n){return n<100?null:new Tk(n)}(t.gc()),r=t.Kc();r.Ob();)l=ZN(n,Jx(b=r.Pb(),72),l);l&&l.Fi()}return!0}return!1}function Vkn(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y;for((i=new Ben(t)).a||function(n){var t,i,r,c,a;switch(c=Jx(MR(n.a,0),10),t=new cin(n),iD(n.a,t),t.o.a=e.Math.max(1,c.o.a),t.o.b=e.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,Jx($un(c,(Ajn(),fQn)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}nz(r=new Con,t),JG(i=new Eq,a=Jx(MR(c.j,0),11)),YG(i,r),yN(AI(r.n),a.n),yN(AI(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,u;for(u=new cV,a=new pb(n.a);a.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new wen((F4(),wzn)),LU(n,Ezn,new uy(D4(zy(bzn,1),rEn,369,0,[i]))),a=new wen(pzn),LU(n,jzn,new uy(D4(zy(bzn,1),rEn,369,0,[a]))),r=new wen(dzn),LU(n,kzn,new uy(D4(zy(bzn,1),rEn,369,0,[r]))),c=new wen(gzn),LU(n,yzn,new uy(D4(zy(bzn,1),rEn,369,0,[c]))),jbn(i.c,wzn),jbn(r.c,dzn),jbn(c.c,gzn),jbn(a.c,pzn),u.a.c=QQ(XKn,rEn,1,0,5,1),P4(u.a,i.c),P4(u.a,C3(r.c)),P4(u.a,c.c),P4(u.a,C3(a.c)),u}(f)),i}function Qkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(null==i.p[t.p]){o=!0,i.p[t.p]=0,u=t,d=i.o==(KG(),m4n)?nMn:ZTn;do{c=n.b.e[u.p],a=u.c.a.c.length,i.o==m4n&&c>0||i.o==y4n&&c(a=oan(n,e))?ygn(n,t,e):ygn(n,e,t),ra?1:0}return(i=Jx($un(t,(Ajn(),CQn)),19).a)>(c=Jx($un(e,CQn),19).a)?ygn(n,t,e):ygn(n,e,t),ic?1:0}function Jkn(n,t,e,i){var r,c,a,u,o,s,f,l,b,w,d,g;if(ty(fL(Eln(t,(Ojn(),att)))))return WH(),WH(),MFn;if(o=0!=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,s=!(f=function(n){var t,e,i;if(ty(fL(Eln(n,(Ojn(),Bnt))))){for(i=new rp,e=new LK(wA(bbn(n).a.Kc(),new h));Qfn(e);)Vhn(t=Jx(jV(e),79))&&ty(fL(Eln(t,Hnt)))&&(i.c[i.c.length]=t);return i}return WH(),WH(),MFn}(t)).dc(),o||s){if(!(r=Jx(Eln(t,Ntt),149)))throw fp(new by("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(g=US(r,(Ufn(),gct)),Atn(t),!o&&s&&!g)return WH(),WH(),MFn;if(u=new rp,rI(Eln(t,Knt))===rI((A8(),Let))&&(US(r,bct)||US(r,lct)))for(b=Xdn(n,t),O2(w=new SE,(!t.a&&(t.a=new y_(oct,t,10,11)),t.a));0!=w.b;)Atn(l=Jx(0==w.b?null:(P$(0!=w.b),QZ(w,w.a.a)),33)),rI(Eln(l,Knt))===rI(xet)||UQ(l,pnt)&&!sV(r,Eln(l,Ntt))?(P4(u,Jkn(n,l,e,i)),$en(l,Knt,xet),Bgn(l)):O2(w,(!l.a&&(l.a=new y_(oct,l,10,11)),l.a));else for(b=(!t.a&&(t.a=new y_(oct,t,10,11)),t.a).i,a=new XO((!t.a&&(t.a=new y_(oct,t,10,11)),t.a));a.e!=a.i.gc();)P4(u,Jkn(n,c=Jx(fen(a),33),e,i)),Bgn(c);for(d=new pb(u);d.a=0?z7(u):A9(z7(u)),n.Ye(j0n,b)),s=new Ik,l=!1,n.Xe(d0n)?(D$(s,Jx(n.We(d0n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:w5(h,D1n,(g7(),tYn)),w5(h,cQn,(r5(),XWn)),h.o.b=a.b,d<0&&(h.o.a=-d),dhn(f,(Ckn(),Tit)),l||(s.a=a.a),s.a-=a.a;break;case 2:w5(h,D1n,(g7(),iYn)),w5(h,cQn,(r5(),zWn)),h.o.b=a.b,d<0&&(h.o.a=-d),dhn(f,(Ckn(),Git)),l||(s.a=0);break;case 1:w5(h,vQn,($J(),qVn)),h.o.a=a.a,d<0&&(h.o.b=-d),dhn(f,(Ckn(),Hit)),l||(s.b=a.b),s.b-=a.b;break;case 3:w5(h,vQn,($J(),BVn)),h.o.a=a.a,d<0&&(h.o.b=-d),dhn(f,(Ckn(),Mit)),l||(s.b=0)}if(D$(f.n,s),w5(h,d0n,s),t==oit||t==hit||t==sit){if(w=0,t==oit&&n.Xe(v0n))switch(b.g){case 1:case 2:w=Jx(n.We(v0n),19).a;break;case 3:case 4:w=-Jx(n.We(v0n),19).a}else switch(b.g){case 4:case 2:w=c.b,t==hit&&(w/=r.b);break;case 1:case 3:w=c.a,t==hit&&(w/=r.a)}w5(h,_Qn,w)}return w5(h,fQn,b),h}function njn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(f=!1,s=n+1,Lz(n,t.c.length),a=(h=Jx(t.c[n],200)).a,u=null,c=0;cs&&0==(Lz(s,t.c.length),Jx(t.c[s],200)).a.c.length;)oJ(t,(Lz(s,t.c.length),t.c[s]));if(!o){--c;continue}if(wpn(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(rmn(t,h,r,o,e,s,i)){f=!0;continue}if(o8(h,r)){r.c=!0,f=!0;continue}}else if(o8(h,r)){r.c=!0,f=!0;continue}if(f)continue}o8(h,r)?(r.c=!0,f=!0,o&&(o.k=!1)):irn(r.q)}else sE(),ucn(h,r),--c,f=!0;return f}function tjn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A;for(g=0,P=0,h=new pb(n.b);h.ag&&(a&&(TI(E,w),TI(M,g9(f.b-1)),iD(n.d,d),o.c=QQ(XKn,rEn,1,0,5,1)),O=i.b,A+=w+t,w=0,l=e.Math.max(l,i.b+i.c+C)),o.c[o.c.length]=s,den(s,O,A),l=e.Math.max(l,O+C+i.c),w=e.Math.max(w,b),O+=C+t,d=s;if(P4(n.a,o),iD(n.d,Jx(MR(o,o.c.length-1),157)),l=e.Math.max(l,r),(I=A+w+i.a)1&&(u=e.Math.min(u,e.Math.abs(Jx(jen(o.a,1),8).b-f.b)))));else for(d=new pb(t.j);d.ac&&(a=b.a-c,u=Jjn,r.c=QQ(XKn,rEn,1,0,5,1),c=b.a),b.a>=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=e.Math.min(u,e.Math.abs(Jx(jen(o.a,o.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&u>t.o.b/2){for(nz(w=new Con,t),dhn(w,(Ckn(),Mit)),w.n.a=t.o.a/2,nz(g=new Con,t),dhn(g,Hit),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new pb(r);s.a=h.b?JG(o,g):JG(o,w)):(h=Jx(kD(o.a),8),(0==o.a.b?Rz(o.c):Jx(v$(o.a),8)).b>=h.b?YG(o,g):YG(o,w)),(l=Jx($un(o,(pjn(),L1n)),74))&&Q7(l,h,!0);t.n.a=c-t.o.a/2}}function ijn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(s=t,L0(o=XX(n,KX(e),s),sX(s,cxn)),h=Jx(p1(n.g,xhn(EG(s,FNn))),33),i=null,(a=EG(s,"sourcePort"))&&(i=xhn(a)),f=Jx(p1(n.j,i),118),!h)throw fp(new fy("An edge must have a source node (edge id: '"+rtn(s)+hxn));if(f&&!wB(MG(f),h))throw fp(new fy("The source port of an edge must be a port of the edge's source node (edge id: '"+sX(s,cxn)+hxn));if(!o.b&&(o.b=new $N(nct,o,4,7)),lY(o.b,f||h),l=Jx(p1(n.g,xhn(EG(s,bxn))),33),r=null,(u=EG(s,"targetPort"))&&(r=xhn(u)),b=Jx(p1(n.j,r),118),!l)throw fp(new fy("An edge must have a target node (edge id: '"+rtn(s)+hxn));if(b&&!wB(MG(b),l))throw fp(new fy("The target port of an edge must be a port of the edge's target node (edge id: '"+sX(s,cxn)+hxn));if(!o.c&&(o.c=new $N(nct,o,5,8)),lY(o.c,b||l),0==(!o.b&&(o.b=new $N(nct,o,4,7)),o.b).i||0==(!o.c&&(o.c=new $N(nct,o,5,8)),o.c).i)throw c=sX(s,cxn),fp(new fy(sxn+c+hxn));return iun(s,o),Cln(s,o),R5(n,s,o)}function rjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;return l=function(n,t){var i,r,c,a,u,o,s,h,f,l,b;if(n.dc())return new Ik;for(s=0,f=0,r=n.Kc();r.Ob();)c=Jx(r.Pb(),37).f,s=e.Math.max(s,c.a),f+=c.a*c.b;for(s=e.Math.max(s,e.Math.sqrt(f)*ey(lL($un(Jx(n.Kc().Pb(),37),(pjn(),KZn))))),l=0,b=0,o=0,i=t,u=n.Kc();u.Ob();)l+(h=(a=Jx(u.Pb(),37)).f).a>s&&(l=0,b+=o+t,o=0),wgn(a,l,b),i=e.Math.max(i,l+h.a),o=e.Math.max(o,h.b),l+=h.a+t;return new YS(i+t,b+o+t)}(YA(n,(Ckn(),Oit)),t),d=brn(YA(n,Ait),t),k=brn(YA(n,_it),t),M=wrn(YA(n,Bit),t),b=wrn(YA(n,Sit),t),m=brn(YA(n,Kit),t),g=brn(YA(n,$it),t),E=brn(YA(n,Fit),t),j=brn(YA(n,Pit),t),S=wrn(YA(n,Cit),t),v=brn(YA(n,Dit),t),y=brn(YA(n,xit),t),T=brn(YA(n,Iit),t),P=wrn(YA(n,Rit),t),w=wrn(YA(n,Lit),t),p=brn(YA(n,Nit),t),i=x5(D4(zy(Zot,1),cMn,25,15,[m.a,M.a,E.a,P.a])),r=x5(D4(zy(Zot,1),cMn,25,15,[d.a,l.a,k.a,p.a])),c=v.a,a=x5(D4(zy(Zot,1),cMn,25,15,[g.a,b.a,j.a,w.a])),h=x5(D4(zy(Zot,1),cMn,25,15,[m.b,d.b,g.b,y.b])),s=x5(D4(zy(Zot,1),cMn,25,15,[M.b,l.b,b.b,p.b])),f=S.b,o=x5(D4(zy(Zot,1),cMn,25,15,[E.b,k.b,j.b,T.b])),dY(YA(n,Oit),i+c,h+f),dY(YA(n,Nit),i+c,h+f),dY(YA(n,Ait),i+c,0),dY(YA(n,_it),i+c,h+f+s),dY(YA(n,Bit),0,h+f),dY(YA(n,Sit),i+c+r,h+f),dY(YA(n,$it),i+c+r,0),dY(YA(n,Fit),0,h+f+s),dY(YA(n,Pit),i+c+r,h+f+s),dY(YA(n,Cit),0,h),dY(YA(n,Dit),i,0),dY(YA(n,Iit),0,h+f+s),dY(YA(n,Lit),i+c+r,0),(u=new Ik).a=x5(D4(zy(Zot,1),cMn,25,15,[i+r+c+a,S.a,y.a,T.a])),u.b=x5(D4(zy(Zot,1),cMn,25,15,[h+s+f+o,v.b,P.b,w.b])),u}function cjn(n,t,i){var r,c,a,u,o,s,f;if(cun(i,"Network simplex node placement",1),n.e=t,n.n=Jx($un(t,(Ajn(),UQn)),304),function(n){var t,i,r,c,a,u,o,s,f,l,b,w;for(n.f=new nv,o=0,r=0,c=new pb(n.e.b);c.a=s.c.c.length?zX((won(),qzn),Hzn):zX((won(),Hzn),Hzn),h*=2,c=i.a.g,i.a.g=e.Math.max(c,c+(h-c)),a=i.b.g,i.b.g=e.Math.max(a,a+(h-a)),r=t}else yln(u),Smn((Lz(0,u.c.length),Jx(u.c[0],17)).d.i)||iD(n.o,u)}(n),Kon(a)),Jen(n.f),c=Jx($un(t,Q0n),19).a*n.f.a.c.length,zgn(Wy(Vy(Ox(n.f),c),!1),Z2(i,1)),0!=n.d.a.gc()){for(cun(a=Z2(i,1),"Flexible Where Space Processing",1),u=Jx(GA(JK(lH(new PR(null,new xz(n.f.a,16)),new qc),new Dc)),19).a,o=Jx(GA(YK(lH(new PR(null,new xz(n.f.a,16)),new Gc),new Rc)),19).a-u,s=qA(new iv,n.f),f=qA(new iv,n.f),own(xE(NE(LE(DE(new ev,2e4),o),s),f)),PE(fH(fH(W_(n.i),new zc),new Uc),new mH(u,s,o,f)),r=n.d.a.ec().Kc();r.Ob();)Jx(r.Pb(),213).g=1;zgn(Wy(Vy(Ox(n.f),c),!1),Z2(a,1)),Kon(a)}ty(fL($un(t,Q1n)))&&(cun(a=Z2(i,1),"Straight Edges Post-Processing",1),function(n){var t,e,i;for(O2(e=new SE,n.o),i=new jv;0!=e.b;)Hkn(n,t=Jx(0==e.b?null:(P$(0!=e.b),QZ(e,e.a.a)),508),!0)&&iD(i.a,t);for(;0!=i.a.c.length;)Hkn(n,t=Jx(_6(i),508),!1)}(n),Kon(a)),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(e=new pb(n.e.b);e.a0)if(r=f.gc(),s=sG(e.Math.floor((r+1)/2))-1,c=sG(e.Math.ceil((r+1)/2))-1,t.o==y4n)for(h=c;h>=s;h--)t.a[y.p]==y&&(d=Jx(f.Xb(h),46),w=Jx(d.a,10),!pE(i,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(MA(),!!(ty(t.f[t.g[y.p].p])&y.k==(won(),Hzn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[y.p]==y&&(p=Jx(f.Xb(h),46),g=Jx(p.a,10),!pE(i,p.b)&&b=48&&t<=57))throw fp(new dy(_jn((zC(),sDn))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw fp(new dy(_jn((zC(),bDn))));if(e=i,44==t){if(r>=n.j)throw fp(new dy(_jn((zC(),fDn))));if((t=WB(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw fp(new dy(_jn((zC(),bDn))));if(i>e)throw fp(new dy(_jn((zC(),lDn))))}else e=-1}if(125!=t)throw fp(new dy(_jn((zC(),hDn))));n.sl(r)?(Njn(),Njn(),c=new aW(9,c),n.d=r+1):(Njn(),Njn(),c=new aW(3,c),n.d=r),c.dm(i),c.cm(e),jjn(n)}}return c}function sjn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(w=new vQ(t.b),v=new vQ(t.b),l=new vQ(t.b),j=new vQ(t.b),d=new vQ(t.b),k=nen(t,0);k.b!=k.d.c;)for(u=new pb((m=Jx(CX(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new pb(w);b.a1)for(b=new u$((!n.a&&(n.a=new y_(ect,n,6,6)),n.a));b.e!=b.i.gc();)ean(b);for(d=I,I>y+m?d=y+m:Ik+w?g=k+w:Cy-m&&dk-w&&gI+P?E=I+P:yC+j?T=C+j:kI-P&&EC-j&&Ti&&(f=i-1),(l=L+Wln(t,24)*EMn*h-h/2)<0?l=1:l>r&&(l=r-1),Dk(),C1(c=new ro,f),O1(c,l),lY((!u.a&&(u.a=new WO(Yrt,u,5)),u.a),c)}function pjn(){pjn=O,Ojn(),$0n=Rtt,L0n=Ktt,N0n=_tt,x0n=Ftt,R0n=Btt,K0n=Htt,B0n=Gtt,q0n=Utt,G0n=Xtt,H0n=ztt,z0n=Wtt,X0n=Vtt,V0n=Jtt,F0n=qtt,$jn(),A0n=nZn,D0n=tZn,_0n=eZn,U0n=iZn,M0n=new RC($tt,g9(0)),S0n=YJn,P0n=JJn,I0n=ZJn,a2n=PZn,J0n=aZn,Z0n=sZn,e2n=pZn,n2n=lZn,t2n=wZn,o2n=$Zn,u2n=CZn,r2n=EZn,i2n=kZn,c2n=MZn,J1n=HJn,Z1n=qJn,m1n=ZYn,y1n=eJn,u0n=new KC(12),a0n=new RC(ott,u0n),p7(),w1n=new RC(Lnt,d1n=fet),g0n=new RC(ktt,0),C0n=new RC(Ltt,g9(1)),KZn=new RC(ynt,APn),c0n=att,p0n=jtt,j0n=Ctt,a1n=Pnt,DZn=vnt,T1n=Knt,O0n=new RC(Dtt,(MA(),!0)),C1n=Bnt,O1n=Hnt,t0n=Znt,r0n=rtt,e0n=ttt,e9(),u1n=new RC(Int,s1n=eet),X1n=Ynt,U1n=Vnt,y0n=Stt,m0n=Mtt,k0n=Itt,Jtn(),new RC(wtt,h0n=cit),l0n=ptt,b0n=vtt,w0n=mtt,f0n=gtt,Y0n=cZn,H1n=PJn,B1n=MJn,Q0n=rZn,D1n=pJn,c1n=_Yn,r1n=RYn,QZn=jYn,YZn=EYn,ZZn=IYn,JZn=TYn,i1n=xYn,G1n=CJn,z1n=OJn,$1n=hJn,n0n=XJn,V1n=NJn,j1n=cJn,Y1n=FJn,p1n=VYn,v1n=YYn,VZn=Mnt,W1n=AJn,HZn=fYn,BZn=sYn,FZn=oYn,S1n=oJn,M1n=uJn,P1n=sJn,i0n=ett,L1n=znt,k1n=xnt,l1n=Ant,f1n=Ont,n1n=AYn,v0n=Ttt,_Zn=Tnt,I1n=Fnt,d0n=ytt,o0n=htt,s0n=ltt,K1n=yJn,_1n=jJn,T0n=Att,RZn=uYn,F1n=TJn,b1n=zYn,h1n=qYn,q1n=Xnt,N1n=wJn,Q1n=RJn,W0n=Qtt,o1n=BYn,E0n=VJn,g1n=XYn,x1n=gJn,t1n=LYn,A1n=Gnt,R1n=mJn,e1n=NYn,WZn=yYn,UZn=pYn,GZn=dYn,zZn=gYn,XZn=mYn,qZn=bYn,E1n=aJn}function vjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(fmn(),T=n.e,w=n.d,r=n.a,0==T)switch(t){case 0:return"0";case 1:return hMn;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(j=new $y).a+=t<0?"0E+":"0E",j.a+=-t,j.a}if(y=QQ(Wot,hTn,25,1+(m=10*w+1+7),15,1),e=m,1==w)if((u=r[0])<0){I=zz(u,oMn);do{d=I,I=Hcn(I,10),y[--e]=48+VR(t7(d,i7(I,10)))&lTn}while(0!=j8(I,0))}else{I=u;do{d=I,I=I/10|0,y[--e]=d-10*I+48&lTn}while(0!=I)}else{hmn(r,0,S=QQ(Vot,STn,25,w,15,1),0,P=w);n:for(;;){for(E=0,s=P-1;s>=0;s--)p=Xan(e7(zK(E,32),zz(S[s],oMn))),S[s]=VR(p),E=VR(UK(p,32));v=VR(E),g=e;do{y[--e]=48+v%10&lTn}while(0!=(v=v/10|0)&&0!=e);for(i=9-g+e,o=0;o0;o++)y[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==y[e];)++e}if(b=T<0,a=m-e-t-1,0==t)return b&&(y[--e]=45),Qnn(y,e,m-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=m-1;l>=h;l--)y[l+1]=y[l];return y[++h]=46,b&&(y[--e]=45),Qnn(y,e,m-e+1)}for(f=2;f<1-a;f++)y[--e]=48;return y[--e]=46,y[--e]=48,b&&(y[--e]=45),Qnn(y,e,m-e)}return M=e+1,c=m,k=new Ly,b&&(k.a+="-"),c-M>=1?(FF(k,y[e]),k.a+=".",k.a+=Qnn(y,e+1,m-e-1)):k.a+=Qnn(y,e,m-e),k.a+="E",a>0&&(k.a+="+"),k.a+=""+a,k.a}function mjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(n.c=t,n.g=new cp,gT(),K7(new Qb(new Wm(n.c))),v=bL(Eln(n.c,(Run(),O9n))),u=Jx(Eln(n.c,$9n),316),y=Jx(Eln(n.c,L9n),429),c=Jx(Eln(n.c,M9n),482),m=Jx(Eln(n.c,A9n),430),n.j=ey(lL(Eln(n.c,N9n))),a=n.a,u.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw fp(new Ym(Q$n+(null!=u.f?u.f:""+u.g)))}if(n.d=new gG(a,y,c),w5(n.d,(k3(),fqn),fL(Eln(n.c,P9n))),n.d.c=ty(fL(Eln(n.c,S9n))),0==oq(n.c).i)return n.d;for(h=new XO(oq(n.c));h.e!=h.i.gc();){for(l=(s=Jx(fen(h),33)).g/2,f=s.f/2,k=new YS(s.i+l,s.j+f);I_(n.g,k);)L$(k,(e.Math.random()-.5)*IPn,(e.Math.random()-.5)*IPn);w=Jx(Eln(s,(Ojn(),Xnt)),142),d=new iz(k,new yH(k.a-l-n.j/2-w.b,k.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),iD(n.d.i,d),DB(n.g,k,new yP(d,s))}switch(m.g){case 0:if(null==v)n.d.d=Jx(MR(n.d.i,0),65);else for(p=new pb(n.d.i);p.a1&&QW(f,v,f.c.b,f.c),HZ(c)));v=m}return f}function kjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new rp,u=new rp,g=t/2,b=n.gc(),r=Jx(n.Xb(0),8),p=Jx(n.Xb(1),8),iD(i,(Lz(0,(w=jln(r.a,r.b,p.a,p.b,g)).c.length),Jx(w.c[0],8))),iD(u,(Lz(1,w.c.length),Jx(w.c[1],8))),s=2;s=0;o--)_D(e,(Lz(o,a.c.length),Jx(a.c[o],8)));return e}function jjn(n){var t,e,i;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(t=WB(n.i,n.d++),n.a=t,1!=n.b){switch(t){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,n.d>=n.j)break;if(63!=WB(n.i,n.d))break;if(++n.d>=n.j)throw fp(new dy(_jn((zC(),Lxn))));switch(t=WB(n.i,n.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(n.d>=n.j)throw fp(new dy(_jn((zC(),Lxn))));if(61==(t=WB(n.i,n.d++)))i=16;else{if(33!=t)throw fp(new dy(_jn((zC(),Nxn))));i=17}break;case 35:for(;n.d=n.j)throw fp(new dy(_jn((zC(),$xn))));n.a=WB(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw fp(new dy(_jn((zC(),$xn))));n.a=WB(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=j||!Gnn(v,i))&&(i=Sz(t,f)),ZG(v,i),c=new LK(wA(o7(v).a.Kc(),new h));Qfn(c);)r=Jx(jV(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&ZQ(yun(w,g)));for(s=f.c.length-1;s>=0;--s)iD(t.b,(Lz(s,f.c.length),Jx(f.c[s],29)));t.a.c=QQ(XKn,rEn,1,0,5,1),Kon(e)}else Kon(e)}function Tjn(n){var t,e,i,r,c,a,u,o;for(n.b=1,jjn(n),t=null,0==n.c&&94==n.a?(jjn(n),Njn(),Njn(),Uwn(t=new aU(4),0,EKn),a=new aU(4)):(Njn(),Njn(),a=new aU(4)),r=!0;1!=(o=n.c);){if(0==o&&93==n.a&&!r){t&&(Fyn(t,a),a=t);break}if(e=n.a,i=!1,10==o)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:lmn(a,cpn(e)),i=!0;break;case 105:case 73:case 99:case 67:lmn(a,cpn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(u=qhn(n,e)))throw fp(new dy(_jn((zC(),Uxn))));lmn(a,u),i=!0;break;default:e=Mdn(n)}else if(24==o&&!r){if(t&&(Fyn(t,a),a=t),Fyn(a,Tjn(n)),0!=n.c||93!=n.a)throw fp(new dy(_jn((zC(),Qxn))));break}if(jjn(n),!i){if(0==o){if(91==e)throw fp(new dy(_jn((zC(),Yxn))));if(93==e)throw fp(new dy(_jn((zC(),Jxn))));if(45==e&&!r&&93!=n.a)throw fp(new dy(_jn((zC(),Zxn))))}if(0!=n.c||45!=n.a||45==e&&r)Uwn(a,e,e);else{if(jjn(n),1==(o=n.c))throw fp(new dy(_jn((zC(),Wxn))));if(0==o&&93==n.a)Uwn(a,e,e),Uwn(a,45,45);else{if(0==o&&93==n.a||24==o)throw fp(new dy(_jn((zC(),Zxn))));if(c=n.a,0==o){if(91==c)throw fp(new dy(_jn((zC(),Yxn))));if(93==c)throw fp(new dy(_jn((zC(),Jxn))));if(45==c)throw fp(new dy(_jn((zC(),Zxn))))}else 10==o&&(c=Mdn(n));if(jjn(n),e>c)throw fp(new dy(_jn((zC(),eDn))));Uwn(a,e,c)}}}r=!1}if(1==n.c)throw fp(new dy(_jn((zC(),Wxn))));return Dln(a),Nmn(a),n.b=0,jjn(n),a}function Mjn(){Mjn=O,bjn(),Yhn($zn=new nG,(Ckn(),Ait),Oit),Yhn($zn,Bit,Oit),Yhn($zn,$it,Oit),Yhn($zn,Kit,Oit),Yhn($zn,Rit,Oit),Yhn($zn,xit,Oit),Yhn($zn,Kit,Ait),Yhn($zn,Oit,Sit),Yhn($zn,Ait,Sit),Yhn($zn,Bit,Sit),Yhn($zn,$it,Sit),Yhn($zn,Dit,Sit),Yhn($zn,Kit,Sit),Yhn($zn,Rit,Sit),Yhn($zn,xit,Sit),Yhn($zn,Cit,Sit),Yhn($zn,Oit,_it),Yhn($zn,Ait,_it),Yhn($zn,Sit,_it),Yhn($zn,Bit,_it),Yhn($zn,$it,_it),Yhn($zn,Dit,_it),Yhn($zn,Kit,_it),Yhn($zn,Cit,_it),Yhn($zn,Fit,_it),Yhn($zn,Rit,_it),Yhn($zn,Lit,_it),Yhn($zn,xit,_it),Yhn($zn,Ait,Bit),Yhn($zn,$it,Bit),Yhn($zn,Kit,Bit),Yhn($zn,xit,Bit),Yhn($zn,Ait,$it),Yhn($zn,Bit,$it),Yhn($zn,Kit,$it),Yhn($zn,$it,$it),Yhn($zn,Rit,$it),Yhn($zn,Oit,Pit),Yhn($zn,Ait,Pit),Yhn($zn,Sit,Pit),Yhn($zn,_it,Pit),Yhn($zn,Bit,Pit),Yhn($zn,$it,Pit),Yhn($zn,Dit,Pit),Yhn($zn,Kit,Pit),Yhn($zn,Fit,Pit),Yhn($zn,Cit,Pit),Yhn($zn,xit,Pit),Yhn($zn,Rit,Pit),Yhn($zn,Nit,Pit),Yhn($zn,Oit,Fit),Yhn($zn,Ait,Fit),Yhn($zn,Sit,Fit),Yhn($zn,Bit,Fit),Yhn($zn,$it,Fit),Yhn($zn,Dit,Fit),Yhn($zn,Kit,Fit),Yhn($zn,Cit,Fit),Yhn($zn,xit,Fit),Yhn($zn,Lit,Fit),Yhn($zn,Nit,Fit),Yhn($zn,Ait,Cit),Yhn($zn,Bit,Cit),Yhn($zn,$it,Cit),Yhn($zn,Kit,Cit),Yhn($zn,Fit,Cit),Yhn($zn,xit,Cit),Yhn($zn,Rit,Cit),Yhn($zn,Oit,Iit),Yhn($zn,Ait,Iit),Yhn($zn,Sit,Iit),Yhn($zn,Bit,Iit),Yhn($zn,$it,Iit),Yhn($zn,Dit,Iit),Yhn($zn,Kit,Iit),Yhn($zn,Cit,Iit),Yhn($zn,xit,Iit),Yhn($zn,Ait,Rit),Yhn($zn,Sit,Rit),Yhn($zn,_it,Rit),Yhn($zn,$it,Rit),Yhn($zn,Oit,Lit),Yhn($zn,Ait,Lit),Yhn($zn,_it,Lit),Yhn($zn,Bit,Lit),Yhn($zn,$it,Lit),Yhn($zn,Dit,Lit),Yhn($zn,Kit,Lit),Yhn($zn,Kit,Nit),Yhn($zn,$it,Nit),Yhn($zn,Cit,Oit),Yhn($zn,Cit,Bit),Yhn($zn,Cit,Sit),Yhn($zn,Dit,Oit),Yhn($zn,Dit,Ait),Yhn($zn,Dit,_it)}function Sjn(n,t){switch(n.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 iq(n.b,n.a,t,n.c);case 1:return new VO(n.a,t,enn(t.Tg(),n.c));case 43:return new YO(n.a,t,enn(t.Tg(),n.c));case 3:return new WO(n.a,t,enn(t.Tg(),n.c));case 45:return new QO(n.a,t,enn(t.Tg(),n.c));case 41:return new kY(Jx(lcn(n.c),26),n.a,t,enn(t.Tg(),n.c));case 50:return new E0(Jx(lcn(n.c),26),n.a,t,enn(t.Tg(),n.c));case 5:return new MN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 47:return new SN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 7:return new y_(n.a,t,enn(t.Tg(),n.c),n.d.n);case 49:return new TN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 9:return new eA(n.a,t,enn(t.Tg(),n.c));case 11:return new tA(n.a,t,enn(t.Tg(),n.c));case 13:return new nA(n.a,t,enn(t.Tg(),n.c));case 15:return new OD(n.a,t,enn(t.Tg(),n.c));case 17:return new iA(n.a,t,enn(t.Tg(),n.c));case 19:return new ZO(n.a,t,enn(t.Tg(),n.c));case 21:return new JO(n.a,t,enn(t.Tg(),n.c));case 23:return new MD(n.a,t,enn(t.Tg(),n.c));case 25:return new LN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 27:return new $N(n.a,t,enn(t.Tg(),n.c),n.d.n);case 29:return new ON(n.a,t,enn(t.Tg(),n.c),n.d.n);case 31:return new PN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 33:return new AN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 35:return new CN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 37:return new IN(n.a,t,enn(t.Tg(),n.c),n.d.n);case 39:return new k_(n.a,t,enn(t.Tg(),n.c),n.d.n);case 40:return new i3(t,enn(t.Tg(),n.c));default:throw fp(new Cm("Unknown feature style: "+n.e))}}function Pjn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;switch(cun(i,"Brandes & Koepf node placement",1),n.a=t,n.c=uvn(t),r=Jx($un(t,(pjn(),V1n)),274),w=ty(fL($un(t,Q1n))),n.d=r==(Vcn(),fVn)&&!w||r==oVn,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=QQ(Vot,STn,25,d,15,1),f=0,h=new pb(t.b);h.aa)&&F_(n.b,Jx(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,p0(4,XEn),g=new vQ(4),Jx($un(t,V1n),274).g){case 3:p=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),d4n)),g.c[g.c.length]=p;break;case 1:v=new Hgn(t,n.c.d,(KG(),y4n),(Zq(),d4n)),g.c[g.c.length]=v;break;case 4:k=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),g4n)),g.c[g.c.length]=k;break;case 2:j=new Hgn(t,n.c.d,(KG(),y4n),(Zq(),g4n)),g.c[g.c.length]=j;break;default:p=new Hgn(t,n.c.d,(KG(),m4n),(Zq(),d4n)),v=new Hgn(t,n.c.d,y4n,d4n),k=new Hgn(t,n.c.d,m4n,g4n),j=new Hgn(t,n.c.d,y4n,g4n),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(c=new jS(t,n.c),o=new pb(g);o.aE[s]&&(d=s),f=new pb(n.a.b);f.a$ln(a))&&(l=a);for(!l&&(Lz(0,g.c.length),l=Jx(g.c[0],180)),d=new pb(t.b);d.a=-1900?1:0,kI(n,i>=4?D4(zy(lFn,1),MEn,2,6,[PTn,ITn])[u]:D4(zy(lFn,1),MEn,2,6,["BC","AD"])[u]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-MTn+MTn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:eZ(n,i%100,2);break;default:eZ(n,i,t)}}(n,i,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:kI(n,D4(zy(lFn,1),MEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:kI(n,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn])[i]);break;case 3:kI(n,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:eZ(n,i+1,t)}}(n,i,r);break;case 107:eZ(n,0==(o=c.q.getHours())?24:o,i);break;case 83:!function(n,t,i){var r,c;j8(r=R3(i.q.getTime()),0)<0?(c=fTn-VR(Pnn(hJ(r),fTn)))==fTn&&(c=0):c=VR(Pnn(r,fTn)),1==t?FF(n,48+(c=e.Math.min((c+50)/100|0,9))&lTn):2==t?eZ(n,c=e.Math.min((c+5)/10|0,99),2):(eZ(n,c,3),t>3&&eZ(n,0,t-3))}(n,i,c);break;case 69:s=r.q.getDay(),kI(n,5==i?D4(zy(lFn,1),MEn,2,6,["S","M","T","W","T","F","S"])[s]:4==i?D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn])[s]:D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?kI(n,D4(zy(lFn,1),MEn,2,6,["AM","PM"])[1]):kI(n,D4(zy(lFn,1),MEn,2,6,["AM","PM"])[0]);break;case 104:eZ(n,0==(h=c.q.getHours()%12)?12:h,i);break;case 75:eZ(n,c.q.getHours()%12,i);break;case 72:eZ(n,c.q.getHours(),i);break;case 99:f=r.q.getDay(),5==i?kI(n,D4(zy(lFn,1),MEn,2,6,["S","M","T","W","T","F","S"])[f]):4==i?kI(n,D4(zy(lFn,1),MEn,2,6,[CTn,OTn,ATn,$Tn,LTn,NTn,xTn])[f]):3==i?kI(n,D4(zy(lFn,1),MEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):eZ(n,f,1);break;case 76:l=r.q.getMonth(),5==i?kI(n,D4(zy(lFn,1),MEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==i?kI(n,D4(zy(lFn,1),MEn,2,6,[bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn,TTn])[l]):3==i?kI(n,D4(zy(lFn,1),MEn,2,6,["Jan","Feb","Mar","Apr",pTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):eZ(n,l+1,i);break;case 81:b=r.q.getMonth()/3|0,kI(n,i<4?D4(zy(lFn,1),MEn,2,6,["Q1","Q2","Q3","Q4"])[b]:D4(zy(lFn,1),MEn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:eZ(n,r.q.getDate(),i);break;case 109:eZ(n,c.q.getMinutes(),i);break;case 115:eZ(n,c.q.getSeconds(),i);break;case 122:kI(n,i<4?a.c[0]:a.c[1]);break;case 118:kI(n,a.b);break;case 90:kI(n,i<3?function(n){var t,e;return e=-n.a,t=D4(zy(Wot,1),hTn,25,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&lTn,t[2]=t[2]+(e/60|0)%10&lTn,t[3]=t[3]+(e%60/10|0)&lTn,t[4]=t[4]+e%10&lTn,Qnn(t,0,t.length)}(a):3==i?function(n){var t,e;return e=-n.a,t=D4(zy(Wot,1),hTn,25,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&lTn,t[2]=t[2]+(e/60|0)%10&lTn,t[4]=t[4]+(e%60/10|0)&lTn,t[5]=t[5]+e%10&lTn,Qnn(t,0,t.length)}(a):function(n){var t;return t=D4(zy(Wot,1),hTn,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&lTn,t[5]=t[5]+(n/60|0)%10&lTn,t[7]=t[7]+(n%60/10|0)&lTn,t[8]=t[8]+n%10&lTn,Qnn(t,0,t.length)}(a.a));break;default:return!1}return!0}function Cjn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(ggn(t),o=Jx(a1((!t.b&&(t.b=new $N(nct,t,4,7)),t.b),0),82),h=Jx(a1((!t.c&&(t.c=new $N(nct,t,5,8)),t.c),0),82),u=run(o),s=run(h),a=0==(!t.a&&(t.a=new y_(ect,t,6,6)),t.a).i?null:Jx(a1((!t.a&&(t.a=new y_(ect,t,6,6)),t.a),0),202),j=Jx(HF(n.a,u),10),S=Jx(HF(n.a,s),10),E=null,P=null,OO(o,186)&&(OO(k=Jx(HF(n.a,o),299),11)?E=Jx(k,11):OO(k,10)&&(j=Jx(k,10),E=Jx(MR(j.j,0),11))),OO(h,186)&&(OO(M=Jx(HF(n.a,h),299),11)?P=Jx(M,11):OO(M,10)&&(S=Jx(M,10),P=Jx(MR(S.j,0),11))),!j||!S)throw fp(new wy("The source or the target of edge "+t+" 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(s4(d=new Eq,t),w5(d,(Ajn(),OQn),t),w5(d,(pjn(),L1n),null),b=Jx($un(i,wQn),21),j==S&&b.Fc((idn(),LVn)),E||(f0(),y=r3n,T=null,a&&gC(Jx($un(j,p0n),98))&&(WX(T=new YS(a.j,a.k),TG(t)),XW(T,e),WZ(s,u)&&(y=i3n,yN(T,j.n))),E=gmn(j,T,y,i)),P||(f0(),y=i3n,I=null,a&&gC(Jx($un(S,p0n),98))&&(WX(I=new YS(a.b,a.c),TG(t)),XW(I,e)),P=gmn(S,I,y,gB(S))),JG(d,E),YG(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((idn(),IVn)),l=new XO((!t.n&&(t.n=new y_(uct,t,1,7)),t.n));l.e!=l.i.gc();)if(!ty(fL(Eln(f=Jx(fen(l),137),c0n)))&&f.a)switch(g=g8(f),iD(d.b,g),Jx($un(g,l1n),272).g){case 1:case 2:b.Fc((idn(),SVn));break;case 0:b.Fc((idn(),TVn)),w5(g,l1n,(n1(),aet))}if(c=Jx($un(i,r1n),314),p=Jx($un(i,n0n),315),r=c==(A0(),TWn)||p==(uin(),$2n),a&&0!=(!a.a&&(a.a=new WO(Yrt,a,5)),a.a).i&&r){for(v=_on(a),w=new xv,m=nen(v,0);m.b!=m.d.c;)_D(w,new lC(Jx(CX(m),8)));w5(d,AQn,w)}return d}function Ojn(){var n,t;Ojn=O,pnt=new Ag(OLn),Ntt=new Ag(ALn),Gen(),vnt=new BI(hAn,mnt=q7n),new ep,ynt=new BI(fPn,null),knt=new Ag($Ln),gan(),Snt=eK(wnt,D4(zy(ret,1),WEn,291,0,[hnt])),Mnt=new BI(EAn,Snt),Pnt=new BI(sAn,(MA(),!1)),e9(),Int=new BI(wAn,Cnt=eet),p7(),Lnt=new BI(DOn,Nnt=det),Rnt=new BI(X$n,!1),A8(),Knt=new BI(AOn,_nt=Net),stt=new KC(12),ott=new BI(lPn,stt),qnt=new BI(KPn,!1),Gnt=new BI(xAn,!1),utt=new BI(BPn,!1),Kan(),jtt=new BI(_Pn,Ett=bit),Att=new Ag($An),$tt=new Ag(LPn),Ltt=new Ag(DPn),Dtt=new Ag(RPn),Unt=new xv,znt=new BI(TAn,Unt),Tnt=new BI(PAn,!1),Fnt=new BI(IAn,!1),new Ag(LLn),Wnt=new Sv,Xnt=new BI(LAn,Wnt),att=new BI(uAn,!1),new ep,xtt=new BI(NLn,1),new BI(xLn,!0),g9(0),new BI(DLn,g9(100)),new BI(RLn,!1),g9(0),new BI(KLn,g9(4e3)),g9(0),new BI(_Ln,g9(400)),new BI(FLn,!1),new BI(BLn,!1),new BI(HLn,!0),new BI(qLn,!1),onn(),jnt=new BI(CLn,Ent=vrt),Rtt=new BI(VOn,10),Ktt=new BI(QOn,10),_tt=new BI(sPn,20),Ftt=new BI(YOn,10),Btt=new BI(xPn,2),Htt=new BI(JOn,10),Gtt=new BI(ZOn,0),ztt=new BI(eAn,5),Utt=new BI(nAn,1),Xtt=new BI(tAn,1),Wtt=new BI(NPn,20),Vtt=new BI(iAn,10),Jtt=new BI(rAn,10),qtt=new Ag(cAn),Ytt=new hC,Qtt=new BI(NAn,Ytt),ltt=new Ag(AAn),htt=new BI(OAn,ftt=!1),Qnt=new KC(5),Vnt=new BI(dAn,Qnt),Tln(),t=Jx($k(ait),9),Jnt=new ax(t,Jx(iN(t,t.length),9),0),Ynt=new BI(GPn,Jnt),Jtn(),wtt=new BI(vAn,dtt=iit),ptt=new Ag(mAn),vtt=new Ag(yAn),mtt=new Ag(kAn),gtt=new Ag(jAn),n=Jx($k(brt),9),ntt=new ax(n,Jx(iN(n,n.length),9),0),Znt=new BI(qPn,ntt),ctt=Z9((Qgn(),art)),rtt=new BI(HPn,ctt),itt=new YS(0,0),ett=new BI(iIn,itt),ttt=new BI(bAn,!1),n1(),Ant=new BI(MAn,$nt=aet),Ont=new BI(FPn,!1),new Ag(GLn),g9(1),new BI(zLn,null),ytt=new Ag(CAn),Ttt=new Ag(SAn),Ckn(),Ctt=new BI(oAn,Ott=qit),ktt=new Ag(aAn),Ohn(),Ptt=Z9(yit),Stt=new BI(zPn,Ptt),Mtt=new BI(gAn,!1),Itt=new BI(pAn,!0),Bnt=new BI(fAn,!1),Hnt=new BI(lAn,!1),xnt=new BI(hPn,1),mun(),new BI(ULn,Dnt=jet),btt=!0}function Ajn(){var n,t;Ajn=O,OQn=new Ag(UPn),tQn=new Ag("coordinateOrigin"),FQn=new Ag("processors"),nQn=new FL("compoundNode",(MA(),!1)),pQn=new FL("insideConnections",!1),AQn=new Ag("originalBendpoints"),$Qn=new Ag("originalDummyNodePosition"),LQn=new Ag("originalLabelEdge"),HQn=new Ag("representedLabels"),aQn=new Ag("endLabels"),uQn=new Ag("endLabel.origin"),jQn=new FL("labelSide",(Brn(),Bet)),IQn=new FL("maxEdgeThickness",0),qQn=new FL("reversed",!1),BQn=new Ag(XPn),MQn=new FL("longEdgeSource",null),SQn=new FL("longEdgeTarget",null),TQn=new FL("longEdgeHasLabelDummies",!1),EQn=new FL("longEdgeBeforeLabelDummy",!1),cQn=new FL("edgeConstraint",(r5(),UWn)),mQn=new Ag("inLayerLayoutUnit"),vQn=new FL("inLayerConstraint",($J(),HVn)),yQn=new FL("inLayerSuccessorConstraint",new rp),kQn=new FL("inLayerSuccessorConstraintBetweenNonDummies",!1),KQn=new Ag("portDummy"),eQn=new FL("crossingHint",g9(0)),wQn=new FL("graphProperties",new ax(t=Jx($k(_Vn),9),Jx(iN(t,t.length),9),0)),fQn=new FL("externalPortSide",(Ckn(),qit)),lQn=new FL("externalPortSize",new Ik),sQn=new Ag("externalPortReplacedDummies"),hQn=new Ag("externalPortReplacedDummy"),oQn=new FL("externalPortConnections",new ax(n=Jx($k(ert),9),Jx(iN(n,n.length),9),0)),_Qn=new FL(ASn,0),QVn=new Ag("barycenterAssociates"),ZQn=new Ag("TopSideComments"),YVn=new Ag("BottomSideComments"),ZVn=new Ag("CommentConnectionPort"),gQn=new FL("inputCollect",!1),DQn=new FL("outputCollect",!1),rQn=new FL("cyclic",!1),iQn=new Ag("crossHierarchyMap"),JQn=new Ag("targetOffset"),new FL("splineLabelSize",new Ik),UQn=new Ag("spacings"),RQn=new FL("partitionConstraint",!1),JVn=new Ag("breakingPoint.info"),QQn=new Ag("splines.survivingEdge"),VQn=new Ag("splines.route.start"),XQn=new Ag("splines.edgeChain"),xQn=new Ag("originalPortConstraints"),zQn=new Ag("selfLoopHolder"),WQn=new Ag("splines.nsPortY"),CQn=new Ag("modelOrder"),PQn=new Ag("longEdgeTargetNode"),bQn=new FL(uCn,!1),GQn=new FL(uCn,!1),dQn=new Ag("layerConstraints.hiddenNodes"),NQn=new Ag("layerConstraints.opposidePort"),YQn=new Ag("targetNode.modelOrder")}function $jn(){$jn=O,lZ(),BYn=new BI(oCn,HYn=BWn),cJn=new BI(sCn,(MA(),!1)),gX(),hJn=new BI(hCn,fJn=UVn),CJn=new BI(fCn,!1),OJn=new BI(lCn,!0),uYn=new BI(bCn,!1),LJ(),VJn=new BI(wCn,QJn=Z2n),g9(1),rZn=new BI(dCn,g9(7)),cZn=new BI(gCn,!1),aJn=new BI(pCn,!1),yin(),_Yn=new BI(vCn,FYn=xWn),tun(),PJn=new BI(mCn,IJn=g2n),g7(),pJn=new BI(yCn,vJn=rYn),g9(-1),gJn=new BI(kCn,g9(-1)),g9(-1),mJn=new BI(jCn,g9(-1)),g9(-1),yJn=new BI(ECn,g9(4)),g9(-1),jJn=new BI(TCn,g9(2)),Fbn(),MJn=new BI(MCn,SJn=G2n),g9(0),TJn=new BI(SCn,g9(0)),wJn=new BI(PCn,g9(Jjn)),A0(),RYn=new BI(ICn,KYn=MWn),jYn=new BI(CCn,!1),AYn=new BI(OCn,.1),xYn=new BI(ACn,!1),g9(-1),LYn=new BI($Cn,g9(-1)),g9(-1),NYn=new BI(LCn,g9(-1)),g9(0),EYn=new BI(NCn,g9(40)),c4(),IYn=new BI(xCn,CYn=KVn),TYn=new BI(DCn,MYn=DVn),uin(),XJn=new BI(RCn,WJn=A2n),RJn=new Ag(KCn),aJ(),AJn=new BI(_Cn,$Jn=rVn),Vcn(),NJn=new BI(FCn,xJn=fVn),new ep,FJn=new BI(BCn,.3),HJn=new Ag(HCn),qen(),qJn=new BI(qCn,GJn=P2n),g3(),VYn=new BI(GCn,QYn=s3n),cQ(),YYn=new BI(zCn,JYn=w3n),L6(),ZYn=new BI(UCn,nJn=m3n),eJn=new BI(XCn,.2),XYn=new BI(WCn,2),nZn=new BI(VCn,null),eZn=new BI(QCn,10),tZn=new BI(YCn,10),iZn=new BI(JCn,20),g9(0),YJn=new BI(ZCn,g9(0)),g9(0),JJn=new BI(nOn,g9(0)),g9(0),ZJn=new BI(tOn,g9(0)),oYn=new BI(eOn,!1),oon(),fYn=new BI(iOn,lYn=yVn),uY(),sYn=new BI(rOn,hYn=kWn),oJn=new BI(cOn,!1),g9(0),uJn=new BI(aOn,g9(16)),g9(0),sJn=new BI(uOn,g9(5)),B4(),PZn=new BI(oOn,IZn=I3n),aZn=new BI(sOn,10),sZn=new BI(hOn,1),l0(),pZn=new BI(fOn,vZn=AWn),lZn=new Ag(lOn),dZn=g9(1),g9(0),wZn=new BI(bOn,dZn),Q2(),$Zn=new BI(wOn,LZn=j3n),CZn=new Ag(dOn),EZn=new BI(gOn,!0),kZn=new BI(pOn,2),MZn=new BI(vOn,!0),von(),zYn=new BI(mOn,UYn=nVn),vsn(),qYn=new BI(yOn,GYn=wWn),j5(),yYn=new BI(kOn,kYn=V2n),mYn=new BI(jOn,!1),i9(),bYn=new BI(EOn,wYn=Czn),r8(),pYn=new BI(TOn,vYn=y2n),dYn=new BI(MOn,0),gYn=new BI(SOn,0),bJn=RWn,lJn=TWn,kJn=d2n,EJn=d2n,dJn=l2n,A8(),$Yn=Let,DYn=MWn,OYn=MWn,SYn=MWn,PYn=Let,KJn=N2n,_Jn=A2n,LJn=A2n,DJn=A2n,BJn=L2n,UJn=N2n,zJn=N2n,p7(),tJn=wet,iJn=wet,rJn=m3n,WYn=bet,uZn=C3n,oZn=P3n,hZn=C3n,fZn=P3n,mZn=C3n,yZn=P3n,bZn=OWn,gZn=AWn,NZn=C3n,xZn=P3n,OZn=C3n,AZn=P3n,TZn=P3n,jZn=P3n,SZn=P3n}function Ljn(){Ljn=O,mUn=new mM("DIRECTION_PREPROCESSOR",0),gUn=new mM("COMMENT_PREPROCESSOR",1),yUn=new mM("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),DUn=new mM("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),tXn=new mM("PARTITION_PREPROCESSOR",4),FUn=new mM("LABEL_DUMMY_INSERTER",5),uXn=new mM("SELF_LOOP_PREPROCESSOR",6),zUn=new mM("LAYER_CONSTRAINT_PREPROCESSOR",7),ZUn=new mM("PARTITION_MIDPROCESSOR",8),AUn=new mM("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),VUn=new mM("NODE_PROMOTION",10),GUn=new mM("LAYER_CONSTRAINT_POSTPROCESSOR",11),nXn=new mM("PARTITION_POSTPROCESSOR",12),PUn=new mM("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),sXn=new mM("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),hUn=new mM("BREAKING_POINT_INSERTER",15),WUn=new mM("LONG_EDGE_SPLITTER",16),iXn=new mM("PORT_SIDE_PROCESSOR",17),RUn=new mM("INVERTED_PORT_PROCESSOR",18),eXn=new mM("PORT_LIST_SORTER",19),fXn=new mM("SORT_BY_INPUT_ORDER_OF_MODEL",20),YUn=new mM("NORTH_SOUTH_PORT_PREPROCESSOR",21),fUn=new mM("BREAKING_POINT_PROCESSOR",22),JUn=new mM(_In,23),lXn=new mM(FIn,24),cXn=new mM("SELF_LOOP_PORT_RESTORER",25),hXn=new mM("SINGLE_EDGE_GRAPH_WRAPPER",26),KUn=new mM("IN_LAYER_CONSTRAINT_PROCESSOR",27),TUn=new mM("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),_Un=new mM("LABEL_AND_NODE_SIZE_PROCESSOR",29),xUn=new mM("INNERMOST_NODE_MARGIN_CALCULATOR",30),oXn=new mM("SELF_LOOP_ROUTER",31),wUn=new mM("COMMENT_NODE_MARGIN_CALCULATOR",32),jUn=new mM("END_LABEL_PREPROCESSOR",33),HUn=new mM("LABEL_DUMMY_SWITCHER",34),bUn=new mM("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),qUn=new mM("LABEL_SIDE_SELECTOR",36),LUn=new mM("HYPEREDGE_DUMMY_MERGER",37),IUn=new mM("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),UUn=new mM("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),OUn=new mM("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),pUn=new mM("CONSTRAINTS_POSTPROCESSOR",41),dUn=new mM("COMMENT_POSTPROCESSOR",42),NUn=new mM("HYPERNODE_PROCESSOR",43),CUn=new mM("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),XUn=new mM("LONG_EDGE_JOINER",45),aXn=new mM("SELF_LOOP_POSTPROCESSOR",46),lUn=new mM("BREAKING_POINT_REMOVER",47),QUn=new mM("NORTH_SOUTH_PORT_POSTPROCESSOR",48),$Un=new mM("HORIZONTAL_COMPACTOR",49),BUn=new mM("LABEL_DUMMY_REMOVER",50),MUn=new mM("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),EUn=new mM("END_LABEL_SORTER",52),rXn=new mM("REVERSED_EDGE_RESTORER",53),kUn=new mM("END_LABEL_POSTPROCESSOR",54),SUn=new mM("HIERARCHICAL_NODE_RESIZER",55),vUn=new mM("DIRECTION_POSTPROCESSOR",56)}function Njn(){Njn=O,Mot=new tp(7),Sot=new HR(8,94),new HR(8,64),Pot=new HR(8,36),Lot=new HR(8,65),Not=new HR(8,122),xot=new HR(8,90),Kot=new HR(8,98),Aot=new HR(8,66),Dot=new HR(8,60),_ot=new HR(8,62),Tot=new tp(11),Uwn(Eot=new aU(4),48,57),Uwn(Rot=new aU(4),48,57),Uwn(Rot,65,90),Uwn(Rot,95,95),Uwn(Rot,97,122),Uwn($ot=new aU(4),9,9),Uwn($ot,10,10),Uwn($ot,12,12),Uwn($ot,13,13),Uwn($ot,32,32),Iot=tvn(Eot),Oot=tvn(Rot),Cot=tvn($ot),mot=new cp,yot=new cp,kot=D4(zy(lFn,1),MEn,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"]),vot=D4(zy(lFn,1),MEn,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",$Kn,"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"]),jot=D4(zy(Vot,1),STn,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function xjn(){xjn=O,HHn=new X2("OUT_T_L",0,(HY(),lHn),(AJ(),vHn),(ZZ(),cHn),cHn,D4(zy(JKn,1),rEn,21,0,[eK((Tln(),Vet),D4(zy(ait,1),WEn,93,0,[Jet,zet]))])),BHn=new X2("OUT_T_C",1,fHn,vHn,cHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Get])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Get,Uet]))])),qHn=new X2("OUT_T_R",2,bHn,vHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Jet,Xet]))])),LHn=new X2("OUT_B_L",3,lHn,yHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,zet]))])),$Hn=new X2("OUT_B_C",4,fHn,yHn,uHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Get])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Get,Uet]))])),NHn=new X2("OUT_B_R",5,bHn,yHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Qet,Xet]))])),RHn=new X2("OUT_L_T",6,bHn,yHn,cHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Jet,Uet]))])),DHn=new X2("OUT_L_C",7,bHn,mHn,aHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Yet])),eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Yet,Uet]))])),xHn=new X2("OUT_L_B",8,bHn,vHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[zet,Qet,Uet]))])),FHn=new X2("OUT_R_T",9,lHn,yHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Jet,Uet]))])),_Hn=new X2("OUT_R_C",10,lHn,mHn,aHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Yet])),eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Yet,Uet]))])),KHn=new X2("OUT_R_B",11,lHn,vHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Vet,D4(zy(ait,1),WEn,93,0,[Xet,Qet,Uet]))])),OHn=new X2("IN_T_L",12,lHn,yHn,cHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,zet,Uet]))])),CHn=new X2("IN_T_C",13,fHn,yHn,cHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Get,Uet]))])),AHn=new X2("IN_T_R",14,bHn,yHn,cHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Jet,Xet,Uet]))])),PHn=new X2("IN_C_L",15,lHn,mHn,aHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,zet,Uet]))])),SHn=new X2("IN_C_C",16,fHn,mHn,aHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Get,Uet]))])),IHn=new X2("IN_C_R",17,bHn,mHn,aHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Yet,Xet,Uet]))])),THn=new X2("IN_B_L",18,lHn,vHn,uHn,cHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,zet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,zet,Uet]))])),EHn=new X2("IN_B_C",19,fHn,vHn,uHn,aHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Get])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Get,Uet]))])),MHn=new X2("IN_B_R",20,bHn,vHn,uHn,uHn,D4(zy(JKn,1),rEn,21,0,[eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Xet])),eK(Wet,D4(zy(ait,1),WEn,93,0,[Qet,Xet,Uet]))])),GHn=new X2(SSn,21,null,null,null,null,D4(zy(JKn,1),rEn,21,0,[]))}function Djn(){Djn=O,mat=(JF(),pat).b,Jx(a1(uq(pat.b),0),34),Jx(a1(uq(pat.b),1),18),vat=pat.a,Jx(a1(uq(pat.a),0),34),Jx(a1(uq(pat.a),1),18),Jx(a1(uq(pat.a),2),18),Jx(a1(uq(pat.a),3),18),Jx(a1(uq(pat.a),4),18),yat=pat.o,Jx(a1(uq(pat.o),0),34),Jx(a1(uq(pat.o),1),34),jat=Jx(a1(uq(pat.o),2),18),Jx(a1(uq(pat.o),3),18),Jx(a1(uq(pat.o),4),18),Jx(a1(uq(pat.o),5),18),Jx(a1(uq(pat.o),6),18),Jx(a1(uq(pat.o),7),18),Jx(a1(uq(pat.o),8),18),Jx(a1(uq(pat.o),9),18),Jx(a1(uq(pat.o),10),18),Jx(a1(uq(pat.o),11),18),Jx(a1(uq(pat.o),12),18),Jx(a1(uq(pat.o),13),18),Jx(a1(uq(pat.o),14),18),Jx(a1(uq(pat.o),15),18),Jx(a1(aq(pat.o),0),59),Jx(a1(aq(pat.o),1),59),Jx(a1(aq(pat.o),2),59),Jx(a1(aq(pat.o),3),59),Jx(a1(aq(pat.o),4),59),Jx(a1(aq(pat.o),5),59),Jx(a1(aq(pat.o),6),59),Jx(a1(aq(pat.o),7),59),Jx(a1(aq(pat.o),8),59),Jx(a1(aq(pat.o),9),59),kat=pat.p,Jx(a1(uq(pat.p),0),34),Jx(a1(uq(pat.p),1),34),Jx(a1(uq(pat.p),2),34),Jx(a1(uq(pat.p),3),34),Jx(a1(uq(pat.p),4),18),Jx(a1(uq(pat.p),5),18),Jx(a1(aq(pat.p),0),59),Jx(a1(aq(pat.p),1),59),Eat=pat.q,Jx(a1(uq(pat.q),0),34),Tat=pat.v,Jx(a1(uq(pat.v),0),18),Jx(a1(aq(pat.v),0),59),Jx(a1(aq(pat.v),1),59),Jx(a1(aq(pat.v),2),59),Mat=pat.w,Jx(a1(uq(pat.w),0),34),Jx(a1(uq(pat.w),1),34),Jx(a1(uq(pat.w),2),34),Jx(a1(uq(pat.w),3),18),Sat=pat.B,Jx(a1(uq(pat.B),0),18),Jx(a1(aq(pat.B),0),59),Jx(a1(aq(pat.B),1),59),Jx(a1(aq(pat.B),2),59),Cat=pat.Q,Jx(a1(uq(pat.Q),0),18),Jx(a1(aq(pat.Q),0),59),Oat=pat.R,Jx(a1(uq(pat.R),0),34),Aat=pat.S,Jx(a1(aq(pat.S),0),59),Jx(a1(aq(pat.S),1),59),Jx(a1(aq(pat.S),2),59),Jx(a1(aq(pat.S),3),59),Jx(a1(aq(pat.S),4),59),Jx(a1(aq(pat.S),5),59),Jx(a1(aq(pat.S),6),59),Jx(a1(aq(pat.S),7),59),Jx(a1(aq(pat.S),8),59),Jx(a1(aq(pat.S),9),59),Jx(a1(aq(pat.S),10),59),Jx(a1(aq(pat.S),11),59),Jx(a1(aq(pat.S),12),59),Jx(a1(aq(pat.S),13),59),Jx(a1(aq(pat.S),14),59),$at=pat.T,Jx(a1(uq(pat.T),0),18),Jx(a1(uq(pat.T),2),18),Lat=Jx(a1(uq(pat.T),3),18),Jx(a1(uq(pat.T),4),18),Jx(a1(aq(pat.T),0),59),Jx(a1(aq(pat.T),1),59),Jx(a1(uq(pat.T),1),18),Nat=pat.U,Jx(a1(uq(pat.U),0),34),Jx(a1(uq(pat.U),1),34),Jx(a1(uq(pat.U),2),18),Jx(a1(uq(pat.U),3),18),Jx(a1(uq(pat.U),4),18),Jx(a1(uq(pat.U),5),18),Jx(a1(aq(pat.U),0),59),xat=pat.V,Jx(a1(uq(pat.V),0),18),Dat=pat.W,Jx(a1(uq(pat.W),0),34),Jx(a1(uq(pat.W),1),34),Jx(a1(uq(pat.W),2),34),Jx(a1(uq(pat.W),3),18),Jx(a1(uq(pat.W),4),18),Jx(a1(uq(pat.W),5),18),Kat=pat.bb,Jx(a1(uq(pat.bb),0),34),Jx(a1(uq(pat.bb),1),34),Jx(a1(uq(pat.bb),2),34),Jx(a1(uq(pat.bb),3),34),Jx(a1(uq(pat.bb),4),34),Jx(a1(uq(pat.bb),5),34),Jx(a1(uq(pat.bb),6),34),Jx(a1(uq(pat.bb),7),18),Jx(a1(aq(pat.bb),0),59),Jx(a1(aq(pat.bb),1),59),_at=pat.eb,Jx(a1(uq(pat.eb),0),34),Jx(a1(uq(pat.eb),1),34),Jx(a1(uq(pat.eb),2),34),Jx(a1(uq(pat.eb),3),34),Jx(a1(uq(pat.eb),4),34),Jx(a1(uq(pat.eb),5),34),Jx(a1(uq(pat.eb),6),18),Jx(a1(uq(pat.eb),7),18),Rat=pat.ab,Jx(a1(uq(pat.ab),0),34),Jx(a1(uq(pat.ab),1),34),Pat=pat.H,Jx(a1(uq(pat.H),0),18),Jx(a1(uq(pat.H),1),18),Jx(a1(uq(pat.H),2),18),Jx(a1(uq(pat.H),3),18),Jx(a1(uq(pat.H),4),18),Jx(a1(uq(pat.H),5),18),Jx(a1(aq(pat.H),0),59),Fat=pat.db,Jx(a1(uq(pat.db),0),18),Iat=pat.M}function Rjn(n){oT(n,new eun(ak(ek(ck(tk(rk(ik(new du,OIn),"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 Ic),OIn),eK((Ufn(),mct),D4(zy(jct,1),WEn,237,0,[gct,pct,dct,vct,bct,lct]))))),RU(n,OIn,VOn,sen($0n)),RU(n,OIn,QOn,sen(L0n)),RU(n,OIn,sPn,sen(N0n)),RU(n,OIn,YOn,sen(x0n)),RU(n,OIn,xPn,sen(R0n)),RU(n,OIn,JOn,sen(K0n)),RU(n,OIn,ZOn,sen(B0n)),RU(n,OIn,nAn,sen(q0n)),RU(n,OIn,tAn,sen(G0n)),RU(n,OIn,eAn,sen(H0n)),RU(n,OIn,NPn,sen(z0n)),RU(n,OIn,iAn,sen(X0n)),RU(n,OIn,rAn,sen(V0n)),RU(n,OIn,cAn,sen(F0n)),RU(n,OIn,VCn,sen(A0n)),RU(n,OIn,YCn,sen(D0n)),RU(n,OIn,QCn,sen(_0n)),RU(n,OIn,JCn,sen(U0n)),RU(n,OIn,LPn,g9(0)),RU(n,OIn,ZCn,sen(S0n)),RU(n,OIn,nOn,sen(P0n)),RU(n,OIn,tOn,sen(I0n)),RU(n,OIn,oOn,sen(a2n)),RU(n,OIn,sOn,sen(J0n)),RU(n,OIn,hOn,sen(Z0n)),RU(n,OIn,fOn,sen(e2n)),RU(n,OIn,lOn,sen(n2n)),RU(n,OIn,bOn,sen(t2n)),RU(n,OIn,wOn,sen(o2n)),RU(n,OIn,dOn,sen(u2n)),RU(n,OIn,gOn,sen(r2n)),RU(n,OIn,pOn,sen(i2n)),RU(n,OIn,vOn,sen(c2n)),RU(n,OIn,HCn,sen(J1n)),RU(n,OIn,qCn,sen(Z1n)),RU(n,OIn,UCn,sen(m1n)),RU(n,OIn,XCn,sen(y1n)),RU(n,OIn,lPn,u0n),RU(n,OIn,DOn,d1n),RU(n,OIn,aAn,0),RU(n,OIn,DPn,g9(1)),RU(n,OIn,fPn,APn),RU(n,OIn,uAn,sen(c0n)),RU(n,OIn,_Pn,sen(p0n)),RU(n,OIn,oAn,sen(j0n)),RU(n,OIn,sAn,sen(a1n)),RU(n,OIn,hAn,sen(DZn)),RU(n,OIn,AOn,sen(T1n)),RU(n,OIn,RPn,(MA(),!0)),RU(n,OIn,fAn,sen(C1n)),RU(n,OIn,lAn,sen(O1n)),RU(n,OIn,qPn,sen(t0n)),RU(n,OIn,HPn,sen(r0n)),RU(n,OIn,bAn,sen(e0n)),RU(n,OIn,wAn,s1n),RU(n,OIn,GPn,sen(X1n)),RU(n,OIn,dAn,sen(U1n)),RU(n,OIn,zPn,sen(y0n)),RU(n,OIn,gAn,sen(m0n)),RU(n,OIn,pAn,sen(k0n)),RU(n,OIn,vAn,h0n),RU(n,OIn,mAn,sen(l0n)),RU(n,OIn,yAn,sen(b0n)),RU(n,OIn,kAn,sen(w0n)),RU(n,OIn,jAn,sen(f0n)),RU(n,OIn,gCn,sen(Y0n)),RU(n,OIn,mCn,sen(H1n)),RU(n,OIn,MCn,sen(B1n)),RU(n,OIn,dCn,sen(Q0n)),RU(n,OIn,yCn,sen(D1n)),RU(n,OIn,vCn,sen(c1n)),RU(n,OIn,ICn,sen(r1n)),RU(n,OIn,CCn,sen(QZn)),RU(n,OIn,NCn,sen(YZn)),RU(n,OIn,xCn,sen(ZZn)),RU(n,OIn,DCn,sen(JZn)),RU(n,OIn,ACn,sen(i1n)),RU(n,OIn,fCn,sen(G1n)),RU(n,OIn,lCn,sen(z1n)),RU(n,OIn,hCn,sen($1n)),RU(n,OIn,RCn,sen(n0n)),RU(n,OIn,FCn,sen(V1n)),RU(n,OIn,sCn,sen(j1n)),RU(n,OIn,BCn,sen(Y1n)),RU(n,OIn,GCn,sen(p1n)),RU(n,OIn,zCn,sen(v1n)),RU(n,OIn,EAn,sen(VZn)),RU(n,OIn,_Cn,sen(W1n)),RU(n,OIn,iOn,sen(HZn)),RU(n,OIn,rOn,sen(BZn)),RU(n,OIn,eOn,sen(FZn)),RU(n,OIn,cOn,sen(S1n)),RU(n,OIn,aOn,sen(M1n)),RU(n,OIn,uOn,sen(P1n)),RU(n,OIn,iIn,sen(i0n)),RU(n,OIn,TAn,sen(L1n)),RU(n,OIn,hPn,sen(k1n)),RU(n,OIn,MAn,sen(l1n)),RU(n,OIn,FPn,sen(f1n)),RU(n,OIn,OCn,sen(n1n)),RU(n,OIn,SAn,sen(v0n)),RU(n,OIn,PAn,sen(_Zn)),RU(n,OIn,IAn,sen(I1n)),RU(n,OIn,CAn,sen(d0n)),RU(n,OIn,OAn,sen(o0n)),RU(n,OIn,AAn,sen(s0n)),RU(n,OIn,ECn,sen(K1n)),RU(n,OIn,TCn,sen(_1n)),RU(n,OIn,$An,sen(T0n)),RU(n,OIn,bCn,sen(RZn)),RU(n,OIn,SCn,sen(F1n)),RU(n,OIn,mOn,sen(b1n)),RU(n,OIn,yOn,sen(h1n)),RU(n,OIn,LAn,sen(q1n)),RU(n,OIn,PCn,sen(N1n)),RU(n,OIn,KCn,sen(Q1n)),RU(n,OIn,NAn,sen(W0n)),RU(n,OIn,oCn,sen(o1n)),RU(n,OIn,wCn,sen(E0n)),RU(n,OIn,WCn,sen(g1n)),RU(n,OIn,kCn,sen(x1n)),RU(n,OIn,$Cn,sen(t1n)),RU(n,OIn,xAn,sen(A1n)),RU(n,OIn,jCn,sen(R1n)),RU(n,OIn,LCn,sen(e1n)),RU(n,OIn,kOn,sen(WZn)),RU(n,OIn,TOn,sen(UZn)),RU(n,OIn,MOn,sen(GZn)),RU(n,OIn,SOn,sen(zZn)),RU(n,OIn,jOn,sen(XZn)),RU(n,OIn,EOn,sen(qZn)),RU(n,OIn,pCn,sen(E1n))}function Kjn(n,t){var e;return got||(got=new cp,pot=new cp,Njn(),Njn(),Lnn(e=new aU(4),"\t\n\r\r "),zG(got,PKn,e),zG(pot,PKn,tvn(e)),Lnn(e=new aU(4),OKn),zG(got,MKn,e),zG(pot,MKn,tvn(e)),Lnn(e=new aU(4),OKn),zG(got,MKn,e),zG(pot,MKn,tvn(e)),Lnn(e=new aU(4),AKn),lmn(e,Jx(uG(got,MKn),117)),zG(got,SKn,e),zG(pot,SKn,tvn(e)),Lnn(e=new aU(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),zG(got,IKn,e),zG(pot,IKn,tvn(e)),Lnn(e=new aU(4),AKn),Uwn(e,95,95),Uwn(e,58,58),zG(got,CKn,e),zG(pot,CKn,tvn(e))),Jx(uG(t?got:pot,n),136)}function _jn(n){return FN("_UI_EMFDiagnostic_marker",n)?"EMF Problem":FN("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":FN(Oxn,n)?"Wrong character.":FN(Axn,n)?"Invalid reference number.":FN($xn,n)?"A character is required after \\.":FN(Lxn,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":FN(Nxn,n)?"'(?<' or '(? toIndex: ",RMn=", toIndex: ",KMn="Index: ",_Mn=", Size: ",FMn="org.eclipse.elk.alg.common",BMn={62:1},HMn="org.eclipse.elk.alg.common.compaction",qMn="Scanline/EventHandler",GMn="org.eclipse.elk.alg.common.compaction.oned",zMn="CNode belongs to another CGroup.",UMn="ISpacingsHandler/1",XMn="The ",WMn=" instance has been finished already.",VMn="The direction ",QMn=" is not supported by the CGraph instance.",YMn="OneDimensionalCompactor",JMn="OneDimensionalCompactor/lambda$0$Type",ZMn="Quadruplet",nSn="ScanlineConstraintCalculator",tSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",eSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",iSn="ScanlineConstraintCalculator/Timestamp",rSn="ScanlineConstraintCalculator/lambda$0$Type",cSn={169:1,45:1},aSn="org.eclipse.elk.alg.common.compaction.options",uSn="org.eclipse.elk.core.data",oSn="org.eclipse.elk.polyomino.traversalStrategy",sSn="org.eclipse.elk.polyomino.lowLevelSort",hSn="org.eclipse.elk.polyomino.highLevelSort",fSn="org.eclipse.elk.polyomino.fill",lSn={130:1},bSn="polyomino",wSn="org.eclipse.elk.alg.common.networksimplex",dSn={177:1,3:1,4:1},gSn="org.eclipse.elk.alg.common.nodespacing",pSn="org.eclipse.elk.alg.common.nodespacing.cellsystem",vSn="CENTER",mSn={212:1,326:1},ySn={3:1,4:1,5:1,595:1},kSn="LEFT",jSn="RIGHT",ESn="Vertical alignment cannot be null",TSn="BOTTOM",MSn="org.eclipse.elk.alg.common.nodespacing.internal",SSn="UNDEFINED",PSn=.01,ISn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",CSn="LabelPlacer/lambda$0$Type",OSn="LabelPlacer/lambda$1$Type",ASn="portRatioOrPosition",$Sn="org.eclipse.elk.alg.common.overlaps",LSn="DOWN",NSn="org.eclipse.elk.alg.common.polyomino",xSn="NORTH",DSn="EAST",RSn="SOUTH",KSn="WEST",_Sn="org.eclipse.elk.alg.common.polyomino.structures",FSn="Direction",BSn="Grid is only of size ",HSn=". Requested point (",qSn=") is out of bounds.",GSn=" Given center based coordinates were (",zSn="org.eclipse.elk.graph.properties",USn="IPropertyHolder",XSn={3:1,94:1,134:1},WSn="org.eclipse.elk.alg.common.spore",VSn="org.eclipse.elk.alg.common.utils",QSn={209:1},YSn="org.eclipse.elk.core",JSn="Connected Components Compaction",ZSn="org.eclipse.elk.alg.disco",nPn="org.eclipse.elk.alg.disco.graph",tPn="org.eclipse.elk.alg.disco.options",ePn="CompactionStrategy",iPn="org.eclipse.elk.disco.componentCompaction.strategy",rPn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",cPn="org.eclipse.elk.disco.debug.discoGraph",aPn="org.eclipse.elk.disco.debug.discoPolys",uPn="componentCompaction",oPn="org.eclipse.elk.disco",sPn="org.eclipse.elk.spacing.componentComponent",hPn="org.eclipse.elk.edge.thickness",fPn="org.eclipse.elk.aspectRatio",lPn="org.eclipse.elk.padding",bPn="org.eclipse.elk.alg.disco.transform",wPn=1.5707963267948966,dPn=17976931348623157e292,gPn={3:1,4:1,5:1,192:1},pPn={3:1,6:1,4:1,5:1,106:1,120:1},vPn="org.eclipse.elk.alg.force",mPn="ComponentsProcessor",yPn="ComponentsProcessor/1",kPn="org.eclipse.elk.alg.force.graph",jPn="Component Layout",EPn="org.eclipse.elk.alg.force.model",TPn="org.eclipse.elk.force.model",MPn="org.eclipse.elk.force.iterations",SPn="org.eclipse.elk.force.repulsivePower",PPn="org.eclipse.elk.force.temperature",IPn=.001,CPn="org.eclipse.elk.force.repulsion",OPn="org.eclipse.elk.alg.force.options",APn=1.600000023841858,$Pn="org.eclipse.elk.force",LPn="org.eclipse.elk.priority",NPn="org.eclipse.elk.spacing.nodeNode",xPn="org.eclipse.elk.spacing.edgeLabel",DPn="org.eclipse.elk.randomSeed",RPn="org.eclipse.elk.separateConnectedComponents",KPn="org.eclipse.elk.interactive",_Pn="org.eclipse.elk.portConstraints",FPn="org.eclipse.elk.edgeLabels.inline",BPn="org.eclipse.elk.omitNodeMicroLayout",HPn="org.eclipse.elk.nodeSize.options",qPn="org.eclipse.elk.nodeSize.constraints",GPn="org.eclipse.elk.nodeLabels.placement",zPn="org.eclipse.elk.portLabels.placement",UPn="origin",XPn="random",WPn="boundingBox.upLeft",VPn="boundingBox.lowRight",QPn="org.eclipse.elk.stress.fixed",YPn="org.eclipse.elk.stress.desiredEdgeLength",JPn="org.eclipse.elk.stress.dimension",ZPn="org.eclipse.elk.stress.epsilon",nIn="org.eclipse.elk.stress.iterationLimit",tIn="org.eclipse.elk.stress",eIn="ELK Stress",iIn="org.eclipse.elk.nodeSize.minimum",rIn="org.eclipse.elk.alg.force.stress",cIn="Layered layout",aIn="org.eclipse.elk.alg.layered",uIn="org.eclipse.elk.alg.layered.compaction.components",oIn="org.eclipse.elk.alg.layered.compaction.oned",sIn="org.eclipse.elk.alg.layered.compaction.oned.algs",hIn="org.eclipse.elk.alg.layered.compaction.recthull",fIn="org.eclipse.elk.alg.layered.components",lIn="NONE",bIn={3:1,6:1,4:1,9:1,5:1,122:1},wIn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},dIn="org.eclipse.elk.alg.layered.compound",gIn={51:1},pIn="org.eclipse.elk.alg.layered.graph",vIn=" -> ",mIn="Not supported by LGraph",yIn="Port side is undefined",kIn={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},jIn={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},EIn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},TIn="([{\"' \t\r\n",MIn=")]}\"' \t\r\n",SIn="The given string contains parts that cannot be parsed as numbers.",PIn="org.eclipse.elk.core.math",IIn={3:1,4:1,142:1,207:1,414:1},CIn={3:1,4:1,116:1,207:1,414:1},OIn="org.eclipse.elk.layered",AIn="org.eclipse.elk.alg.layered.graph.transform",$In="ElkGraphImporter",LIn="ElkGraphImporter/lambda$0$Type",NIn="ElkGraphImporter/lambda$1$Type",xIn="ElkGraphImporter/lambda$2$Type",DIn="ElkGraphImporter/lambda$4$Type",RIn="Node margin calculation",KIn="org.eclipse.elk.alg.layered.intermediate",_In="ONE_SIDED_GREEDY_SWITCH",FIn="TWO_SIDED_GREEDY_SWITCH",BIn="No implementation is available for the layout processor ",HIn="IntermediateProcessorStrategy",qIn="Node '",GIn="FIRST_SEPARATE",zIn="LAST_SEPARATE",UIn="Odd port side processing",XIn="org.eclipse.elk.alg.layered.intermediate.compaction",WIn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",VIn="org.eclipse.elk.alg.layered.p3order.counting",QIn={225:1},YIn="org.eclipse.elk.alg.layered.intermediate.loops",JIn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",ZIn="org.eclipse.elk.alg.layered.intermediate.loops.routing",nCn="org.eclipse.elk.alg.layered.intermediate.preserveorder",tCn="org.eclipse.elk.alg.layered.intermediate.wrapping",eCn="org.eclipse.elk.alg.layered.options",iCn="INTERACTIVE",rCn="DEPTH_FIRST",cCn="EDGE_LENGTH",aCn="SELF_LOOPS",uCn="firstTryWithInitialOrder",oCn="org.eclipse.elk.layered.directionCongruency",sCn="org.eclipse.elk.layered.feedbackEdges",hCn="org.eclipse.elk.layered.interactiveReferencePoint",fCn="org.eclipse.elk.layered.mergeEdges",lCn="org.eclipse.elk.layered.mergeHierarchyEdges",bCn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",wCn="org.eclipse.elk.layered.portSortingStrategy",dCn="org.eclipse.elk.layered.thoroughness",gCn="org.eclipse.elk.layered.unnecessaryBendpoints",pCn="org.eclipse.elk.layered.generatePositionAndLayerIds",vCn="org.eclipse.elk.layered.cycleBreaking.strategy",mCn="org.eclipse.elk.layered.layering.strategy",yCn="org.eclipse.elk.layered.layering.layerConstraint",kCn="org.eclipse.elk.layered.layering.layerChoiceConstraint",jCn="org.eclipse.elk.layered.layering.layerId",ECn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",TCn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",MCn="org.eclipse.elk.layered.layering.nodePromotion.strategy",SCn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",PCn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",ICn="org.eclipse.elk.layered.crossingMinimization.strategy",CCn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",OCn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",ACn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",$Cn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",LCn="org.eclipse.elk.layered.crossingMinimization.positionId",NCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",xCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",DCn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",RCn="org.eclipse.elk.layered.nodePlacement.strategy",KCn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",_Cn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",FCn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",BCn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",HCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",qCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",GCn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",zCn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",UCn="org.eclipse.elk.layered.edgeRouting.splines.mode",XCn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",WCn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",VCn="org.eclipse.elk.layered.spacing.baseValue",QCn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",YCn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",JCn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ZCn="org.eclipse.elk.layered.priority.direction",nOn="org.eclipse.elk.layered.priority.shortness",tOn="org.eclipse.elk.layered.priority.straightness",eOn="org.eclipse.elk.layered.compaction.connectedComponents",iOn="org.eclipse.elk.layered.compaction.postCompaction.strategy",rOn="org.eclipse.elk.layered.compaction.postCompaction.constraints",cOn="org.eclipse.elk.layered.highDegreeNodes.treatment",aOn="org.eclipse.elk.layered.highDegreeNodes.threshold",uOn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",oOn="org.eclipse.elk.layered.wrapping.strategy",sOn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",hOn="org.eclipse.elk.layered.wrapping.correctionFactor",fOn="org.eclipse.elk.layered.wrapping.cutting.strategy",lOn="org.eclipse.elk.layered.wrapping.cutting.cuts",bOn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",wOn="org.eclipse.elk.layered.wrapping.validify.strategy",dOn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",gOn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",pOn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",vOn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",mOn="org.eclipse.elk.layered.edgeLabels.sideSelection",yOn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",kOn="org.eclipse.elk.layered.considerModelOrder.strategy",jOn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",EOn="org.eclipse.elk.layered.considerModelOrder.components",TOn="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",MOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",SOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",POn="layering",IOn="layering.minWidth",COn="layering.nodePromotion",OOn="crossingMinimization",AOn="org.eclipse.elk.hierarchyHandling",$On="crossingMinimization.greedySwitch",LOn="nodePlacement",NOn="nodePlacement.bk",xOn="edgeRouting",DOn="org.eclipse.elk.edgeRouting",ROn="spacing",KOn="priority",_On="compaction",FOn="compaction.postCompaction",BOn="Specifies whether and how post-process compaction is applied.",HOn="highDegreeNodes",qOn="wrapping",GOn="wrapping.cutting",zOn="wrapping.validify",UOn="wrapping.multiEdge",XOn="edgeLabels",WOn="considerModelOrder",VOn="org.eclipse.elk.spacing.commentComment",QOn="org.eclipse.elk.spacing.commentNode",YOn="org.eclipse.elk.spacing.edgeEdge",JOn="org.eclipse.elk.spacing.edgeNode",ZOn="org.eclipse.elk.spacing.labelLabel",nAn="org.eclipse.elk.spacing.labelPortHorizontal",tAn="org.eclipse.elk.spacing.labelPortVertical",eAn="org.eclipse.elk.spacing.labelNode",iAn="org.eclipse.elk.spacing.nodeSelfLoop",rAn="org.eclipse.elk.spacing.portPort",cAn="org.eclipse.elk.spacing.individual",aAn="org.eclipse.elk.port.borderOffset",uAn="org.eclipse.elk.noLayout",oAn="org.eclipse.elk.port.side",sAn="org.eclipse.elk.debugMode",hAn="org.eclipse.elk.alignment",fAn="org.eclipse.elk.insideSelfLoops.activate",lAn="org.eclipse.elk.insideSelfLoops.yo",bAn="org.eclipse.elk.nodeSize.fixedGraphSize",wAn="org.eclipse.elk.direction",dAn="org.eclipse.elk.nodeLabels.padding",gAn="org.eclipse.elk.portLabels.nextToPortIfPossible",pAn="org.eclipse.elk.portLabels.treatAsGroup",vAn="org.eclipse.elk.portAlignment.default",mAn="org.eclipse.elk.portAlignment.north",yAn="org.eclipse.elk.portAlignment.south",kAn="org.eclipse.elk.portAlignment.west",jAn="org.eclipse.elk.portAlignment.east",EAn="org.eclipse.elk.contentAlignment",TAn="org.eclipse.elk.junctionPoints",MAn="org.eclipse.elk.edgeLabels.placement",SAn="org.eclipse.elk.port.index",PAn="org.eclipse.elk.commentBox",IAn="org.eclipse.elk.hypernode",CAn="org.eclipse.elk.port.anchor",OAn="org.eclipse.elk.partitioning.activate",AAn="org.eclipse.elk.partitioning.partition",$An="org.eclipse.elk.position",LAn="org.eclipse.elk.margins",NAn="org.eclipse.elk.spacing.portsSurrounding",xAn="org.eclipse.elk.interactiveLayout",DAn="org.eclipse.elk.core.util",RAn={3:1,4:1,5:1,593:1},KAn="NETWORK_SIMPLEX",_An={123:1,51:1},FAn="org.eclipse.elk.alg.layered.p1cycles",BAn="org.eclipse.elk.alg.layered.p2layers",HAn={402:1,225:1},qAn={832:1,3:1,4:1},GAn="org.eclipse.elk.alg.layered.p3order",zAn="org.eclipse.elk.alg.layered.p4nodes",UAn={3:1,4:1,5:1,840:1},XAn=1e-5,WAn="org.eclipse.elk.alg.layered.p4nodes.bk",VAn="org.eclipse.elk.alg.layered.p5edges",QAn="org.eclipse.elk.alg.layered.p5edges.orthogonal",YAn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",JAn=1e-6,ZAn="org.eclipse.elk.alg.layered.p5edges.splines",n$n=.09999999999999998,t$n=1e-8,e$n=4.71238898038469,i$n=3.141592653589793,r$n="org.eclipse.elk.alg.mrtree",c$n="org.eclipse.elk.alg.mrtree.graph",a$n="org.eclipse.elk.alg.mrtree.intermediate",u$n="Set neighbors in level",o$n="DESCENDANTS",s$n="org.eclipse.elk.mrtree.weighting",h$n="org.eclipse.elk.mrtree.searchOrder",f$n="org.eclipse.elk.alg.mrtree.options",l$n="org.eclipse.elk.mrtree",b$n="org.eclipse.elk.tree",w$n="org.eclipse.elk.alg.radial",d$n=6.283185307179586,g$n=5e-324,p$n="org.eclipse.elk.alg.radial.intermediate",v$n="org.eclipse.elk.alg.radial.intermediate.compaction",m$n={3:1,4:1,5:1,106:1},y$n="org.eclipse.elk.alg.radial.intermediate.optimization",k$n="No implementation is available for the layout option ",j$n="org.eclipse.elk.alg.radial.options",E$n="org.eclipse.elk.radial.orderId",T$n="org.eclipse.elk.radial.radius",M$n="org.eclipse.elk.radial.compactor",S$n="org.eclipse.elk.radial.compactionStepSize",P$n="org.eclipse.elk.radial.sorter",I$n="org.eclipse.elk.radial.wedgeCriteria",C$n="org.eclipse.elk.radial.optimizationCriteria",O$n="org.eclipse.elk.radial",A$n="org.eclipse.elk.alg.radial.p1position.wedge",$$n="org.eclipse.elk.alg.radial.sorting",L$n=5.497787143782138,N$n=3.9269908169872414,x$n=2.356194490192345,D$n="org.eclipse.elk.alg.rectpacking",R$n="org.eclipse.elk.alg.rectpacking.firstiteration",K$n="org.eclipse.elk.alg.rectpacking.options",_$n="org.eclipse.elk.rectpacking.optimizationGoal",F$n="org.eclipse.elk.rectpacking.lastPlaceShift",B$n="org.eclipse.elk.rectpacking.currentPosition",H$n="org.eclipse.elk.rectpacking.desiredPosition",q$n="org.eclipse.elk.rectpacking.onlyFirstIteration",G$n="org.eclipse.elk.rectpacking.rowCompaction",z$n="org.eclipse.elk.rectpacking.expandToAspectRatio",U$n="org.eclipse.elk.rectpacking.targetWidth",X$n="org.eclipse.elk.expandNodes",W$n="org.eclipse.elk.rectpacking",V$n="org.eclipse.elk.alg.rectpacking.util",Q$n="No implementation available for ",Y$n="org.eclipse.elk.alg.spore",J$n="org.eclipse.elk.alg.spore.options",Z$n="org.eclipse.elk.sporeCompaction",nLn="org.eclipse.elk.underlyingLayoutAlgorithm",tLn="org.eclipse.elk.processingOrder.treeConstruction",eLn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",iLn="org.eclipse.elk.processingOrder.preferredRoot",rLn="org.eclipse.elk.processingOrder.rootSelection",cLn="org.eclipse.elk.structure.structureExtractionStrategy",aLn="org.eclipse.elk.compaction.compactionStrategy",uLn="org.eclipse.elk.compaction.orthogonal",oLn="org.eclipse.elk.overlapRemoval.maxIterations",sLn="org.eclipse.elk.overlapRemoval.runScanline",hLn="processingOrder",fLn="overlapRemoval",lLn="org.eclipse.elk.sporeOverlap",bLn="org.eclipse.elk.alg.spore.p1structure",wLn="org.eclipse.elk.alg.spore.p2processingorder",dLn="org.eclipse.elk.alg.spore.p3execution",gLn="Invalid index: ",pLn="org.eclipse.elk.core.alg",vLn={331:1},mLn={288:1},yLn="Make sure its type is registered with the ",kLn=" utility class.",jLn="true",ELn="false",TLn="Couldn't clone property '",MLn=.05,SLn="org.eclipse.elk.core.options",PLn=1.2999999523162842,ILn="org.eclipse.elk.box",CLn="org.eclipse.elk.box.packingMode",OLn="org.eclipse.elk.algorithm",ALn="org.eclipse.elk.resolvedAlgorithm",$Ln="org.eclipse.elk.bendPoints",LLn="org.eclipse.elk.labelManager",NLn="org.eclipse.elk.scaleFactor",xLn="org.eclipse.elk.animate",DLn="org.eclipse.elk.animTimeFactor",RLn="org.eclipse.elk.layoutAncestors",KLn="org.eclipse.elk.maxAnimTime",_Ln="org.eclipse.elk.minAnimTime",FLn="org.eclipse.elk.progressBar",BLn="org.eclipse.elk.validateGraph",HLn="org.eclipse.elk.validateOptions",qLn="org.eclipse.elk.zoomToFit",GLn="org.eclipse.elk.font.name",zLn="org.eclipse.elk.font.size",ULn="org.eclipse.elk.edge.type",XLn="partitioning",WLn="nodeLabels",VLn="portAlignment",QLn="nodeSize",YLn="port",JLn="portLabels",ZLn="insideSelfLoops",nNn="org.eclipse.elk.fixed",tNn="org.eclipse.elk.random",eNn="port must have a parent node to calculate the port side",iNn="The edge needs to have exactly one edge section. Found: ",rNn="org.eclipse.elk.core.util.adapters",cNn="org.eclipse.emf.ecore",aNn="org.eclipse.elk.graph",uNn="EMapPropertyHolder",oNn="ElkBendPoint",sNn="ElkGraphElement",hNn="ElkConnectableShape",fNn="ElkEdge",lNn="ElkEdgeSection",bNn="EModelElement",wNn="ENamedElement",dNn="ElkLabel",gNn="ElkNode",pNn="ElkPort",vNn={92:1,90:1},mNn="org.eclipse.emf.common.notify.impl",yNn="The feature '",kNn="' is not a valid changeable feature",jNn="Expecting null",ENn="' is not a valid feature",TNn="The feature ID",MNn=" is not a valid feature ID",SNn=32768,PNn={105:1,92:1,90:1,56:1,49:1,97:1},INn="org.eclipse.emf.ecore.impl",CNn="org.eclipse.elk.graph.impl",ONn="Recursive containment not allowed for ",ANn="The datatype '",$Nn="' is not a valid classifier",LNn="The value '",NNn={190:1,3:1,4:1},xNn="The class '",DNn="http://www.eclipse.org/elk/ElkGraph",RNn=1024,KNn="property",_Nn="value",FNn="source",BNn="properties",HNn="identifier",qNn="height",GNn="width",zNn="parent",UNn="text",XNn="children",WNn="hierarchical",VNn="sources",QNn="targets",YNn="sections",JNn="bendPoints",ZNn="outgoingShape",nxn="incomingShape",txn="outgoingSections",exn="incomingSections",ixn="org.eclipse.emf.common.util",rxn="Severe implementation error in the Json to ElkGraph importer.",cxn="id",axn="org.eclipse.elk.graph.json",uxn="Unhandled parameter types: ",oxn="startPoint",sxn="An edge must have at least one source and one target (edge id: '",hxn="').",fxn="Referenced edge section does not exist: ",lxn=" (edge id: '",bxn="target",wxn="sourcePoint",dxn="targetPoint",gxn="group",pxn="name",vxn="connectableShape cannot be null",mxn="edge cannot be null",yxn="Passed edge is not 'simple'.",kxn="org.eclipse.elk.graph.util",jxn="The 'no duplicates' constraint is violated",Exn="targetIndex=",Txn=", size=",Mxn="sourceIndex=",Sxn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},Pxn={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},Ixn="logging",Cxn="measureExecutionTime",Oxn="parser.parse.1",Axn="parser.parse.2",$xn="parser.next.1",Lxn="parser.next.2",Nxn="parser.next.3",xxn="parser.next.4",Dxn="parser.factor.1",Rxn="parser.factor.2",Kxn="parser.factor.3",_xn="parser.factor.4",Fxn="parser.factor.5",Bxn="parser.factor.6",Hxn="parser.atom.1",qxn="parser.atom.2",Gxn="parser.atom.3",zxn="parser.atom.4",Uxn="parser.atom.5",Xxn="parser.cc.1",Wxn="parser.cc.2",Vxn="parser.cc.3",Qxn="parser.cc.5",Yxn="parser.cc.6",Jxn="parser.cc.7",Zxn="parser.cc.8",nDn="parser.ope.1",tDn="parser.ope.2",eDn="parser.ope.3",iDn="parser.descape.1",rDn="parser.descape.2",cDn="parser.descape.3",aDn="parser.descape.4",uDn="parser.descape.5",oDn="parser.process.1",sDn="parser.quantifier.1",hDn="parser.quantifier.2",fDn="parser.quantifier.3",lDn="parser.quantifier.4",bDn="parser.quantifier.5",wDn="org.eclipse.emf.common.notify",dDn={415:1,672:1},gDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},pDn={366:1,143:1},vDn="index=",mDn={3:1,4:1,5:1,126:1},yDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},kDn={3:1,6:1,4:1,5:1,192:1},jDn={3:1,4:1,5:1,165:1,367:1},EDn=";/?:@&=+$,",TDn="invalid authority: ",MDn="EAnnotation",SDn="ETypedElement",PDn="EStructuralFeature",IDn="EAttribute",CDn="EClassifier",ODn="EEnumLiteral",ADn="EGenericType",$Dn="EOperation",LDn="EParameter",NDn="EReference",xDn="ETypeParameter",DDn="org.eclipse.emf.ecore.util",RDn={76:1},KDn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},_Dn="org.eclipse.emf.ecore.util.FeatureMap$Entry",FDn=8192,BDn=2048,HDn="byte",qDn="char",GDn="double",zDn="float",UDn="int",XDn="long",WDn="short",VDn="java.lang.Object",QDn={3:1,4:1,5:1,247:1},YDn={3:1,4:1,5:1,673:1},JDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},ZDn={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},nRn="mixed",tRn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",eRn="kind",iRn={3:1,4:1,5:1,674:1},rRn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},cRn={20:1,28:1,52:1,14:1,15:1,58:1,69:1},aRn={47:1,125:1,279:1},uRn={72:1,332:1},oRn="The value of type '",sRn="' must be of type '",hRn=1316,fRn="http://www.eclipse.org/emf/2002/Ecore",lRn=-32768,bRn="constraints",wRn="baseType",dRn="getEStructuralFeature",gRn="getFeatureID",pRn="feature",vRn="getOperationID",mRn="operation",yRn="defaultValue",kRn="eTypeParameters",jRn="isInstance",ERn="getEEnumLiteral",TRn="eContainingClass",MRn={55:1},SRn={3:1,4:1,5:1,119:1},PRn="org.eclipse.emf.ecore.resource",IRn={92:1,90:1,591:1,1935:1},CRn="org.eclipse.emf.ecore.resource.impl",ORn="unspecified",ARn="simple",$Rn="attribute",LRn="attributeWildcard",NRn="element",xRn="elementWildcard",DRn="collapse",RRn="itemType",KRn="namespace",_Rn="##targetNamespace",FRn="whiteSpace",BRn="wildcards",HRn="http://www.eclipse.org/emf/2003/XMLType",qRn="##any",GRn="uninitialized",zRn="The multiplicity constraint is violated",URn="org.eclipse.emf.ecore.xml.type",XRn="ProcessingInstruction",WRn="SimpleAnyType",VRn="XMLTypeDocumentRoot",QRn="org.eclipse.emf.ecore.xml.type.impl",YRn="INF",JRn="processing",ZRn="ENTITIES_._base",nKn="minLength",tKn="ENTITY",eKn="NCName",iKn="IDREFS_._base",rKn="integer",cKn="token",aKn="pattern",uKn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",oKn="\\i\\c*",sKn="[\\i-[:]][\\c-[:]]*",hKn="nonPositiveInteger",fKn="maxInclusive",lKn="NMTOKEN",bKn="NMTOKENS_._base",wKn="nonNegativeInteger",dKn="minInclusive",gKn="normalizedString",pKn="unsignedByte",vKn="unsignedInt",mKn="18446744073709551615",yKn="unsignedShort",kKn="processingInstruction",jKn="org.eclipse.emf.ecore.xml.type.internal",EKn=1114111,TKn="Internal Error: shorthands: \\u",MKn="xml:isDigit",SKn="xml:isWord",PKn="xml:isSpace",IKn="xml:isNameChar",CKn="xml:isInitialNameChar",OKn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",AKn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",$Kn="Private Use",LKn="ASSIGNED",NKn="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",xKn="UNASSIGNED",DKn={3:1,117:1},RKn="org.eclipse.emf.ecore.xml.type.util",KKn={3:1,4:1,5:1,368:1},_Kn="org.eclipse.xtext.xbase.lib",FKn="Cannot add elements to a Range",BKn="Cannot set elements in a Range",HKn="Cannot remove elements from a Range",qKn="locale",GKn="default",zKn="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,Hjn={},!Array.isArray&&(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Vfn(1,null,{},r),Bjn.Fb=function(n){return VI(this,n)},Bjn.Gb=function(){return this.gm},Bjn.Hb=function(){return FA(this)},Bjn.Ib=function(){return xk(Q5(this))+"@"+(V5(this)>>>0).toString(16)},Bjn.equals=function(n){return this.Fb(n)},Bjn.hashCode=function(){return this.Hb()},Bjn.toString=function(){return this.Ib()},Vfn(290,1,{290:1,2026:1},y5),Bjn.le=function(n){var t;return(t=new y5).i=4,t.c=n>1?GG(this,n-1):this,t},Bjn.me=function(){return hL(this),this.b},Bjn.ne=function(){return xk(this)},Bjn.oe=function(){return hL(this),this.k},Bjn.pe=function(){return 0!=(4&this.i)},Bjn.qe=function(){return 0!=(1&this.i)},Bjn.Ib=function(){return NZ(this)},Bjn.i=0;var UKn,XKn=TF(Zjn,"Object",1),WKn=TF(Zjn,"Class",290);Vfn(1998,1,nEn),TF(tEn,"Optional",1998),Vfn(1170,1998,nEn,c),Bjn.Fb=function(n){return n===this},Bjn.Hb=function(){return 2040732332},Bjn.Ib=function(){return"Optional.absent()"},Bjn.Jb=function(n){return SF(n),pm(),UKn},TF(tEn,"Absent",1170),Vfn(628,1,{},My),TF(tEn,"Joiner",628);var VKn=uR(tEn,"Predicate");Vfn(582,1,{169:1,582:1,3:1,45:1},Ff),Bjn.Mb=function(n){return K5(this,n)},Bjn.Lb=function(n){return K5(this,n)},Bjn.Fb=function(n){var t;return!!OO(n,582)&&(t=Jx(n,582),hln(this.a,t.a))},Bjn.Hb=function(){return _5(this.a)+306654252},Bjn.Ib=function(){return function(n){var t,e,i,r;for(t=FF(kI(new PA("Predicates."),"and"),40),e=!0,r=new Vl(n);r.b0},Bjn.Pb=function(){if(this.c>=this.d)throw fp(new _p);return this.Xb(this.c++)},Bjn.Tb=function(){return this.c},Bjn.Ub=function(){if(this.c<=0)throw fp(new _p);return this.Xb(--this.c)},Bjn.Vb=function(){return this.c-1},Bjn.c=0,Bjn.d=0,TF(sEn,"AbstractIndexedListIterator",386),Vfn(699,198,oEn),Bjn.Ob=function(){return W0(this)},Bjn.Pb=function(){return wJ(this)},Bjn.e=1,TF(sEn,"AbstractIterator",699),Vfn(1986,1,{224:1}),Bjn.Zb=function(){return this.f||(this.f=this.ac())},Bjn.Fb=function(n){return l6(this,n)},Bjn.Hb=function(){return V5(this.Zb())},Bjn.dc=function(){return 0==this.gc()},Bjn.ec=function(){return BK(this)},Bjn.Ib=function(){return C7(this.Zb())},TF(sEn,"AbstractMultimap",1986),Vfn(726,1986,fEn),Bjn.$b=function(){m0(this)},Bjn._b=function(n){return Ak(this,n)},Bjn.ac=function(){return new Wj(this,this.c)},Bjn.ic=function(n){return this.hc()},Bjn.bc=function(){return new rA(this,this.c)},Bjn.jc=function(){return this.mc(this.hc())},Bjn.kc=function(){return new em(this)},Bjn.lc=function(){return bun(this.c.vc().Nc(),new u,64,this.d)},Bjn.cc=function(n){return FV(this,n)},Bjn.fc=function(n){return f8(this,n)},Bjn.gc=function(){return this.d},Bjn.mc=function(n){return WH(),new fb(n)},Bjn.nc=function(){return new tm(this)},Bjn.oc=function(){return bun(this.c.Cc().Nc(),new a,64,this.d)},Bjn.pc=function(n,t){return new gQ(this,n,t,null)},Bjn.d=0,TF(sEn,"AbstractMapBasedMultimap",726),Vfn(1631,726,fEn),Bjn.hc=function(){return new vQ(this.a)},Bjn.jc=function(){return WH(),WH(),MFn},Bjn.cc=function(n){return Jx(FV(this,n),15)},Bjn.fc=function(n){return Jx(f8(this,n),15)},Bjn.Zb=function(){return YH(this)},Bjn.Fb=function(n){return l6(this,n)},Bjn.qc=function(n){return Jx(FV(this,n),15)},Bjn.rc=function(n){return Jx(f8(this,n),15)},Bjn.mc=function(n){return bq(Jx(n,15))},Bjn.pc=function(n,t){return jX(this,n,Jx(t,15),null)},TF(sEn,"AbstractListMultimap",1631),Vfn(732,1,lEn),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.c.Ob()||this.e.Ob()},Bjn.Pb=function(){var n;return this.e.Ob()||(n=Jx(this.c.Pb(),42),this.b=n.cd(),this.a=Jx(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Bjn.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},TF(sEn,"AbstractMapBasedMultimap/Itr",732),Vfn(1099,732,lEn,tm),Bjn.sc=function(n,t){return t},TF(sEn,"AbstractMapBasedMultimap/1",1099),Vfn(1100,1,{},a),Bjn.Kb=function(n){return Jx(n,14).Nc()},TF(sEn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),Vfn(1101,732,lEn,em),Bjn.sc=function(n,t){return new Vj(n,t)},TF(sEn,"AbstractMapBasedMultimap/2",1101);var QKn=uR(bEn,"Map");Vfn(1967,1,wEn),Bjn.wc=function(n){P3(this,n)},Bjn.yc=function(n,t,e){return J9(this,n,t,e)},Bjn.$b=function(){this.vc().$b()},Bjn.tc=function(n){return Bin(this,n)},Bjn._b=function(n){return!!Can(this,n,!1)},Bjn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Jx(t.Pb(),42).dd(),rI(n)===rI(e)||null!=n&&Y8(n,e))return!0;return!1},Bjn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!OO(n,83))return!1;if(i=Jx(n,83),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=Jx(e.Pb(),42),!this.tc(t))return!1;return!0},Bjn.xc=function(n){return iI(Can(this,n,!1))},Bjn.Hb=function(){return V4(this.vc())},Bjn.dc=function(){return 0==this.gc()},Bjn.ec=function(){return new Yl(this)},Bjn.zc=function(n,t){throw fp(new hy("Put not supported on this map"))},Bjn.Ac=function(n){r3(this,n)},Bjn.Bc=function(n){return iI(Can(this,n,!0))},Bjn.gc=function(){return this.vc().gc()},Bjn.Ib=function(){return Ban(this)},Bjn.Cc=function(){return new Zl(this)},TF(bEn,"AbstractMap",1967),Vfn(1987,1967,wEn),Bjn.bc=function(){return new iE(this)},Bjn.vc=function(){return FK(this)},Bjn.ec=function(){return this.g||(this.g=this.bc())},Bjn.Cc=function(){return this.i||(this.i=new rE(this))},TF(sEn,"Maps/ViewCachingAbstractMap",1987),Vfn(389,1987,wEn,Wj),Bjn.xc=function(n){return function(n,t){var e,i;return(e=Jx(D8(n.d,t),14))?(i=t,n.e.pc(i,e)):null}(this,n)},Bjn.Bc=function(n){return function(n,t){var e,i;return(e=Jx(n.d.Bc(t),14))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},Bjn.$b=function(){this.d==this.e.c?this.e.$b():mR(new yR(this))},Bjn._b=function(n){return K8(this.d,n)},Bjn.Ec=function(){return new zf(this)},Bjn.Dc=function(){return this.Ec()},Bjn.Fb=function(n){return this===n||Y8(this.d,n)},Bjn.Hb=function(){return V5(this.d)},Bjn.ec=function(){return this.e.ec()},Bjn.gc=function(){return this.d.gc()},Bjn.Ib=function(){return C7(this.d)},TF(sEn,"AbstractMapBasedMultimap/AsMap",389);var YKn=uR(Zjn,"Iterable");Vfn(28,1,dEn),Bjn.Jc=function(n){WW(this,n)},Bjn.Lc=function(){return this.Oc()},Bjn.Nc=function(){return new xz(this,0)},Bjn.Oc=function(){return new PR(null,this.Nc())},Bjn.Fc=function(n){throw fp(new hy("Add not supported on this collection"))},Bjn.Gc=function(n){return O2(this,n)},Bjn.$b=function(){rH(this)},Bjn.Hc=function(n){return Q7(this,n,!1)},Bjn.Ic=function(n){return y4(this,n)},Bjn.dc=function(){return 0==this.gc()},Bjn.Mc=function(n){return Q7(this,n,!0)},Bjn.Pc=function(){return OK(this)},Bjn.Qc=function(n){return Fin(this,n)},Bjn.Ib=function(){return zun(this)},TF(bEn,"AbstractCollection",28);var JKn=uR(bEn,"Set");Vfn(gEn,28,pEn),Bjn.Nc=function(){return new xz(this,1)},Bjn.Fb=function(n){return htn(this,n)},Bjn.Hb=function(){return V4(this)},TF(bEn,"AbstractSet",gEn),Vfn(1970,gEn,pEn),TF(sEn,"Sets/ImprovedAbstractSet",1970),Vfn(1971,1970,pEn),Bjn.$b=function(){this.Rc().$b()},Bjn.Hc=function(n){return mnn(this,n)},Bjn.dc=function(){return this.Rc().dc()},Bjn.Mc=function(n){var t;return!!this.Hc(n)&&(t=Jx(n,42),this.Rc().ec().Mc(t.cd()))},Bjn.gc=function(){return this.Rc().gc()},TF(sEn,"Maps/EntrySet",1971),Vfn(1097,1971,pEn,zf),Bjn.Hc=function(n){return R8(this.a.d.vc(),n)},Bjn.Kc=function(){return new yR(this.a)},Bjn.Rc=function(){return this.a},Bjn.Mc=function(n){var t;return!!R8(this.a.d.vc(),n)&&(t=Jx(n,42),vV(this.a.e,t.cd()),!0)},Bjn.Nc=function(){return Qx(this.a.d.vc().Nc(),new Uf(this.a))},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),Vfn(1098,1,{},Uf),Bjn.Kb=function(n){return VW(this.a,Jx(n,42))},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),Vfn(730,1,lEn,yR),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){var n;return n=Jx(this.b.Pb(),42),this.a=Jx(n.dd(),14),VW(this.c,n)},Bjn.Ob=function(){return this.b.Ob()},Bjn.Qb=function(){D3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},TF(sEn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),Vfn(532,1970,pEn,iE),Bjn.$b=function(){this.b.$b()},Bjn.Hc=function(n){return this.b._b(n)},Bjn.Jc=function(n){SF(n),this.b.wc(new gl(n))},Bjn.dc=function(){return this.b.dc()},Bjn.Kc=function(){return new Sm(this.b.vc().Kc())},Bjn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},Bjn.gc=function(){return this.b.gc()},TF(sEn,"Maps/KeySet",532),Vfn(318,532,pEn,rA),Bjn.$b=function(){mR(new Lj(this,this.b.vc().Kc()))},Bjn.Ic=function(n){return this.b.ec().Ic(n)},Bjn.Fb=function(n){return this===n||Y8(this.b.ec(),n)},Bjn.Hb=function(){return V5(this.b.ec())},Bjn.Kc=function(){return new Lj(this,this.b.vc().Kc())},Bjn.Mc=function(n){var t,e;return e=0,(t=Jx(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},Bjn.Nc=function(){return this.b.ec().Nc()},TF(sEn,"AbstractMapBasedMultimap/KeySet",318),Vfn(731,1,lEn,Lj),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.c.Ob()},Bjn.Pb=function(){return this.a=Jx(this.c.Pb(),42),this.a.cd()},Bjn.Qb=function(){var n;D3(!!this.a),n=Jx(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},TF(sEn,"AbstractMapBasedMultimap/KeySet/1",731),Vfn(491,389,{83:1,161:1},dL),Bjn.bc=function(){return this.Sc()},Bjn.ec=function(){return this.Tc()},Bjn.Sc=function(){return new Aj(this.c,this.Uc())},Bjn.Tc=function(){return this.b||(this.b=this.Sc())},Bjn.Uc=function(){return Jx(this.d,161)},TF(sEn,"AbstractMapBasedMultimap/SortedAsMap",491),Vfn(542,491,vEn,gL),Bjn.bc=function(){return new $j(this.a,Jx(Jx(this.d,161),171))},Bjn.Sc=function(){return new $j(this.a,Jx(Jx(this.d,161),171))},Bjn.ec=function(){return Jx(this.b||(this.b=new $j(this.a,Jx(Jx(this.d,161),171))),271)},Bjn.Tc=function(){return Jx(this.b||(this.b=new $j(this.a,Jx(Jx(this.d,161),171))),271)},Bjn.Uc=function(){return Jx(Jx(this.d,161),171)},TF(sEn,"AbstractMapBasedMultimap/NavigableAsMap",542),Vfn(490,318,mEn,Aj),Bjn.Nc=function(){return this.b.ec().Nc()},TF(sEn,"AbstractMapBasedMultimap/SortedKeySet",490),Vfn(388,490,yEn,$j),TF(sEn,"AbstractMapBasedMultimap/NavigableKeySet",388),Vfn(541,28,dEn,gQ),Bjn.Fc=function(n){var t,e;return $7(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&eN(this)),t},Bjn.Gc=function(n){var t,e,i;return!n.dc()&&($7(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&eN(this)),t)},Bjn.$b=function(){var n;$7(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,sK(this))},Bjn.Hc=function(n){return $7(this),this.d.Hc(n)},Bjn.Ic=function(n){return $7(this),this.d.Ic(n)},Bjn.Fb=function(n){return n===this||($7(this),Y8(this.d,n))},Bjn.Hb=function(){return $7(this),V5(this.d)},Bjn.Kc=function(){return $7(this),new cD(this)},Bjn.Mc=function(n){var t;return $7(this),(t=this.d.Mc(n))&&(--this.f.d,sK(this)),t},Bjn.gc=function(){return wI(this)},Bjn.Nc=function(){return $7(this),this.d.Nc()},Bjn.Ib=function(){return $7(this),C7(this.d)},TF(sEn,"AbstractMapBasedMultimap/WrappedCollection",541);var ZKn=uR(bEn,"List");Vfn(728,541,{20:1,28:1,14:1,15:1},NK),Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return $7(this),this.d.Nc()},Bjn.Vc=function(n,t){var e;$7(this),e=this.d.dc(),Jx(this.d,15).Vc(n,t),++this.a.d,e&&eN(this)},Bjn.Wc=function(n,t){var e,i,r;return!t.dc()&&($7(this),r=this.d.gc(),(e=Jx(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&eN(this)),e)},Bjn.Xb=function(n){return $7(this),Jx(this.d,15).Xb(n)},Bjn.Xc=function(n){return $7(this),Jx(this.d,15).Xc(n)},Bjn.Yc=function(){return $7(this),new QC(this)},Bjn.Zc=function(n){return $7(this),new KH(this,n)},Bjn.$c=function(n){var t;return $7(this),t=Jx(this.d,15).$c(n),--this.a.d,sK(this),t},Bjn._c=function(n,t){return $7(this),Jx(this.d,15)._c(n,t)},Bjn.bd=function(n,t){return $7(this),jX(this.a,this.e,Jx(this.d,15).bd(n,t),this.b?this.b:this)},TF(sEn,"AbstractMapBasedMultimap/WrappedList",728),Vfn(1096,728,{20:1,28:1,14:1,15:1,54:1},O$),TF(sEn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),Vfn(620,1,lEn,cD),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return cH(this),this.b.Ob()},Bjn.Pb=function(){return cH(this),this.b.Pb()},Bjn.Qb=function(){pA(this)},TF(sEn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),Vfn(729,620,kEn,QC,KH),Bjn.Qb=function(){pA(this)},Bjn.Rb=function(n){var t;t=0==wI(this.a),(cH(this),Jx(this.b,125)).Rb(n),++this.a.a.d,t&&eN(this.a)},Bjn.Sb=function(){return(cH(this),Jx(this.b,125)).Sb()},Bjn.Tb=function(){return(cH(this),Jx(this.b,125)).Tb()},Bjn.Ub=function(){return(cH(this),Jx(this.b,125)).Ub()},Bjn.Vb=function(){return(cH(this),Jx(this.b,125)).Vb()},Bjn.Wb=function(n){(cH(this),Jx(this.b,125)).Wb(n)},TF(sEn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),Vfn(727,541,mEn,kL),Bjn.Nc=function(){return $7(this),this.d.Nc()},TF(sEn,"AbstractMapBasedMultimap/WrappedSortedSet",727),Vfn(1095,727,yEn,IC),TF(sEn,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),Vfn(1094,541,pEn,jL),Bjn.Nc=function(){return $7(this),this.d.Nc()},TF(sEn,"AbstractMapBasedMultimap/WrappedSet",1094),Vfn(1103,1,{},u),Bjn.Kb=function(n){return function(n){var t;return t=n.cd(),Qx(Jx(n.dd(),14).Nc(),new Xf(t))}(Jx(n,42))},TF(sEn,"AbstractMapBasedMultimap/lambda$1$Type",1103),Vfn(1102,1,{},Xf),Bjn.Kb=function(n){return new Vj(this.a,n)},TF(sEn,"AbstractMapBasedMultimap/lambda$2$Type",1102);var n_n,t_n,e_n,i_n,r_n=uR(bEn,"Map/Entry");Vfn(345,1,jEn),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),wB(this.cd(),t.cd())&&wB(this.dd(),t.dd()))},Bjn.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:V5(n))^(null==t?0:V5(t))},Bjn.ed=function(n){throw fp(new Dp)},Bjn.Ib=function(){return this.cd()+"="+this.dd()},TF(sEn,EEn,345),Vfn(1988,28,dEn),Bjn.$b=function(){this.fd().$b()},Bjn.Hc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),function(n,t,e){var i;return!!(i=Jx(n.Zb().xc(t),14))&&i.Hc(e)}(this.fd(),t.cd(),t.dd()))},Bjn.Mc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),EU(this.fd(),t.cd(),t.dd()))},Bjn.gc=function(){return this.fd().d},TF(sEn,"Multimaps/Entries",1988),Vfn(733,1988,dEn,Wf),Bjn.Kc=function(){return this.a.kc()},Bjn.fd=function(){return this.a},Bjn.Nc=function(){return this.a.lc()},TF(sEn,"AbstractMultimap/Entries",733),Vfn(734,733,pEn,im),Bjn.Nc=function(){return this.a.lc()},Bjn.Fb=function(n){return Fon(this,n)},Bjn.Hb=function(){return A2(this)},TF(sEn,"AbstractMultimap/EntrySet",734),Vfn(735,28,dEn,Vf),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Jx(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},Bjn.Kc=function(){return this.a.nc()},Bjn.gc=function(){return this.a.d},Bjn.Nc=function(){return this.a.oc()},TF(sEn,"AbstractMultimap/Values",735),Vfn(1989,28,{835:1,20:1,28:1,14:1}),Bjn.Jc=function(n){SF(n),iH(this).Jc(new dl(n))},Bjn.Nc=function(){var n;return bun(n=iH(this).Nc(),new y,64|1296&n.qd(),this.a.d)},Bjn.Fc=function(n){return Ey(),!0},Bjn.Gc=function(n){return SF(this),SF(n),OO(n,543)?HU(Jx(n,835)):!n.dc()&&UJ(this,n.Kc())},Bjn.Hc=function(n){var t;return((t=Jx(D8(YH(this.a),n),14))?t.gc():0)>0},Bjn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(OO(t,543)){if(r=Jx(t,835),n.a.d!=r.a.d||iH(n).gc()!=iH(r).gc())return!1;for(i=iH(r).Kc();i.Ob();)if(Pz(n,(e=Jx(i.Pb(),416)).a.cd())!=Jx(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},Bjn.Hb=function(){return V5(iH(this))},Bjn.dc=function(){return iH(this).dc()},Bjn.Mc=function(n){return Dhn(this,n,1)>0},Bjn.Ib=function(){return C7(iH(this))},TF(sEn,"AbstractMultiset",1989),Vfn(1991,1970,pEn),Bjn.$b=function(){m0(this.a.a)},Bjn.Hc=function(n){var t;return!(!OO(n,492)||(t=Jx(n,416),Jx(t.a.dd(),14).gc()<=0||Pz(this.a,t.a.cd())!=Jx(t.a.dd(),14).gc()))},Bjn.Mc=function(n){var t,e,i;return!(!OO(n,492)||(t=(e=Jx(n,416)).a.cd(),0==(i=Jx(e.a.dd(),14).gc())))&&function(n,t,e){var i,r,c;return p0(e,"oldCount"),p0(0,"newCount"),((i=Jx(D8(YH(n.a),t),14))?i.gc():0)==e&&(p0(0,"count"),(c=-((r=Jx(D8(YH(n.a),t),14))?r.gc():0))>0?Ey():c<0&&Dhn(n,t,-c),!0)}(this.a,t,i)},TF(sEn,"Multisets/EntrySet",1991),Vfn(1109,1991,pEn,Qf),Bjn.Kc=function(){return new Im(FK(YH(this.a.a)).Kc())},Bjn.gc=function(){return YH(this.a.a).gc()},TF(sEn,"AbstractMultiset/EntrySet",1109),Vfn(619,726,fEn),Bjn.hc=function(){return this.gd()},Bjn.jc=function(){return this.hd()},Bjn.cc=function(n){return this.jd(n)},Bjn.fc=function(n){return this.kd(n)},Bjn.Zb=function(){return this.f||(this.f=this.ac())},Bjn.hd=function(){return WH(),WH(),PFn},Bjn.Fb=function(n){return l6(this,n)},Bjn.jd=function(n){return Jx(FV(this,n),21)},Bjn.kd=function(n){return Jx(f8(this,n),21)},Bjn.mc=function(n){return WH(),new xy(Jx(n,21))},Bjn.pc=function(n,t){return new jL(this,n,Jx(t,21))},TF(sEn,"AbstractSetMultimap",619),Vfn(1657,619,fEn),Bjn.hc=function(){return new Qk(this.b)},Bjn.gd=function(){return new Qk(this.b)},Bjn.jc=function(){return NF(new Qk(this.b))},Bjn.hd=function(){return NF(new Qk(this.b))},Bjn.cc=function(n){return Jx(Jx(FV(this,n),21),84)},Bjn.jd=function(n){return Jx(Jx(FV(this,n),21),84)},Bjn.fc=function(n){return Jx(Jx(f8(this,n),21),84)},Bjn.kd=function(n){return Jx(Jx(f8(this,n),21),84)},Bjn.mc=function(n){return OO(n,271)?NF(Jx(n,271)):(WH(),new OA(Jx(n,84)))},Bjn.Zb=function(){return this.f||(this.f=OO(this.c,171)?new gL(this,Jx(this.c,171)):OO(this.c,161)?new dL(this,Jx(this.c,161)):new Wj(this,this.c))},Bjn.pc=function(n,t){return OO(t,271)?new IC(this,n,Jx(t,271)):new kL(this,n,Jx(t,84))},TF(sEn,"AbstractSortedSetMultimap",1657),Vfn(1658,1657,fEn),Bjn.Zb=function(){return Jx(Jx(this.f||(this.f=OO(this.c,171)?new gL(this,Jx(this.c,171)):OO(this.c,161)?new dL(this,Jx(this.c,161)):new Wj(this,this.c)),161),171)},Bjn.ec=function(){return Jx(Jx(this.i||(this.i=OO(this.c,171)?new $j(this,Jx(this.c,171)):OO(this.c,161)?new Aj(this,Jx(this.c,161)):new rA(this,this.c)),84),271)},Bjn.bc=function(){return OO(this.c,171)?new $j(this,Jx(this.c,171)):OO(this.c,161)?new Aj(this,Jx(this.c,161)):new rA(this,this.c)},TF(sEn,"AbstractSortedKeySortedSetMultimap",1658),Vfn(2010,1,{1947:1}),Bjn.Fb=function(n){return function(n,t){var e;return t===n||!!OO(t,664)&&(e=Jx(t,1947),htn(n.g||(n.g=new Yf(n)),e.g||(e.g=new Yf(e))))}(this,n)},Bjn.Hb=function(){return V4(this.g||(this.g=new Yf(this)))},Bjn.Ib=function(){return Ban(this.f||(this.f=new oA(this)))},TF(sEn,"AbstractTable",2010),Vfn(665,gEn,pEn,Yf),Bjn.$b=function(){Ty()},Bjn.Hc=function(n){var t,e;return!!OO(n,468)&&(t=Jx(n,682),!!(e=Jx(D8(IF(this.a),oI(t.c.e,t.b)),83))&&R8(e.vc(),new Vj(oI(t.c.c,t.a),wQ(t.c,t.b,t.a))))},Bjn.Kc=function(){return new cA(n=this.a,n.e.Hd().gc()*n.c.Hd().gc());var n},Bjn.Mc=function(n){var t,e;return!!OO(n,468)&&(t=Jx(n,682),!!(e=Jx(D8(IF(this.a),oI(t.c.e,t.b)),83))&&function(n,t){SF(n);try{return n.Mc(t)}catch(n){if(OO(n=E4(n),205)||OO(n,173))return!1;throw fp(n)}}(e.vc(),new Vj(oI(t.c.c,t.a),wQ(t.c,t.b,t.a))))},Bjn.gc=function(){return AR(this.a)},Bjn.Nc=function(){return fR((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new Hf(n));var n},TF(sEn,"AbstractTable/CellSet",665),Vfn(1928,28,dEn,Jf),Bjn.$b=function(){Ty()},Bjn.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(u=0,o=(a=n.a).length;u=0?"+":"")+(i/60|0),t=JI(e.Math.abs(i)%60),(Oun(),$Fn)[this.q.getDay()]+" "+LFn[this.q.getMonth()]+" "+JI(this.q.getDate())+" "+JI(this.q.getHours())+":"+JI(this.q.getMinutes())+":"+JI(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var T_n,M_n,S_n,P_n,I_n,C_n,O_n,A_n,$_n,L_n,N_n,x_n=TF(bEn,"Date",199);Vfn(1915,199,FTn,Mcn),Bjn.a=!1,Bjn.b=0,Bjn.c=0,Bjn.d=0,Bjn.e=0,Bjn.f=0,Bjn.g=!1,Bjn.i=0,Bjn.j=0,Bjn.k=0,Bjn.n=0,Bjn.o=0,Bjn.p=0,TF("com.google.gwt.i18n.shared.impl","DateRecord",1915),Vfn(1966,1,{}),Bjn.fe=function(){return null},Bjn.ge=function(){return null},Bjn.he=function(){return null},Bjn.ie=function(){return null},Bjn.je=function(){return null},TF(BTn,"JSONValue",1966),Vfn(216,1966,{216:1},Sl,jl),Bjn.Fb=function(n){return!!OO(n,216)&&Zz(this.a,Jx(n,216).a)},Bjn.ee=function(){return lp},Bjn.Hb=function(){return hq(this.a)},Bjn.fe=function(){return this},Bjn.Ib=function(){var n,t,e;for(e=new PA("["),t=0,n=this.a.length;t0&&(e.a+=","),yI(e,QJ(this,t));return e.a+="]",e.a},TF(BTn,"JSONArray",216),Vfn(483,1966,{483:1},El),Bjn.ee=function(){return bp},Bjn.ge=function(){return this},Bjn.Ib=function(){return MA(),""+this.a},Bjn.a=!1,TF(BTn,"JSONBoolean",483),Vfn(985,60,iTn,Om),TF(BTn,"JSONException",985),Vfn(1023,1966,{},v),Bjn.ee=function(){return vp},Bjn.Ib=function(){return uEn},TF(BTn,"JSONNull",1023),Vfn(258,1966,{258:1},Tl),Bjn.Fb=function(n){return!!OO(n,258)&&this.a==Jx(n,258).a},Bjn.ee=function(){return wp},Bjn.Hb=function(){return nC(this.a)},Bjn.he=function(){return this},Bjn.Ib=function(){return this.a+""},Bjn.a=0,TF(BTn,"JSONNumber",258),Vfn(183,1966,{183:1},Am,Ml),Bjn.Fb=function(n){return!!OO(n,183)&&Zz(this.a,Jx(n,183).a)},Bjn.ee=function(){return dp},Bjn.Hb=function(){return hq(this.a)},Bjn.ie=function(){return this},Bjn.Ib=function(){var n,t,e,i,r,c;for(c=new PA("{"),n=!0,i=0,r=(e=b2(this,QQ(lFn,MEn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},Bjn.c=0;var eFn=TF(Zjn,"StackTraceElement",310);Ujn={3:1,475:1,35:1,2:1};var iFn,rFn,cFn,aFn,uFn,oFn,sFn,hFn,fFn,lFn=TF(Zjn,cTn,2);Vfn(107,418,{475:1},Oy,Ay,SA),TF(Zjn,"StringBuffer",107),Vfn(100,418,{475:1},$y,Ly,PA),TF(Zjn,"StringBuilder",100),Vfn(687,73,QTn,Ny),TF(Zjn,"StringIndexOutOfBoundsException",687),Vfn(2043,1,{}),Vfn(844,1,{},x),Bjn.Kb=function(n){return Jx(n,78).e},TF(Zjn,"Throwable/lambda$0$Type",844),Vfn(41,60,{3:1,102:1,60:1,78:1,41:1},Dp,hy),TF(Zjn,"UnsupportedOperationException",41),Vfn(240,236,{3:1,35:1,236:1,240:1},nZ,Vk),Bjn.wd=function(n){return Cpn(this,Jx(n,240))},Bjn.ke=function(){return pon(_mn(this))},Bjn.Fb=function(n){var t;return this===n||!!OO(n,240)&&(t=Jx(n,240),this.e==t.e&&0==Cpn(this,t))},Bjn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=R3(this.f),this.b=VR(zz(n,-1)),this.b=33*this.b+VR(zz(UK(n,32),-1)),this.b=17*this.b+sG(this.e),this.b):(this.b=17*w8(this.c)+sG(this.e),this.b)},Bjn.Ib=function(){return _mn(this)},Bjn.a=0,Bjn.b=0,Bjn.d=0,Bjn.e=0,Bjn.f=0;var bFn,wFn,dFn,gFn,pFn,vFn,mFn=TF("java.math","BigDecimal",240);Vfn(91,236,{3:1,35:1,236:1,91:1},Een,dQ,O_,van,Stn,CC),Bjn.wd=function(n){return otn(this,Jx(n,91))},Bjn.ke=function(){return pon(vjn(this,0))},Bjn.Fb=function(n){return G7(this,n)},Bjn.Hb=function(){return w8(this)},Bjn.Ib=function(){return vjn(this,0)},Bjn.b=-2,Bjn.c=0,Bjn.d=0,Bjn.e=0;var yFn,kFn,jFn,EFn,TFn=TF("java.math","BigInteger",91);Vfn(488,1967,wEn),Bjn.$b=function(){X_(this)},Bjn._b=function(n){return I_(this,n)},Bjn.uc=function(n){return y6(this,n,this.g)||y6(this,n,this.f)},Bjn.vc=function(){return new Ql(this)},Bjn.xc=function(n){return HF(this,n)},Bjn.zc=function(n,t){return DB(this,n,t)},Bjn.Bc=function(n){return UV(this,n)},Bjn.gc=function(){return fE(this)},TF(bEn,"AbstractHashMap",488),Vfn(261,gEn,pEn,Ql),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return WU(this,n)},Bjn.Kc=function(){return new e6(this.a)},Bjn.Mc=function(n){var t;return!!WU(this,n)&&(t=Jx(n,42).cd(),this.a.Bc(t),!0)},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractHashMap/EntrySet",261),Vfn(262,1,lEn,e6),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return h1(this)},Bjn.Ob=function(){return this.b},Bjn.Qb=function(){sY(this)},Bjn.b=!1,TF(bEn,"AbstractHashMap/EntrySetIterator",262),Vfn(417,1,lEn,Vl),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return AT(this)},Bjn.Pb=function(){return BH(this)},Bjn.Qb=function(){fB(this)},Bjn.b=0,Bjn.c=-1,TF(bEn,"AbstractList/IteratorImpl",417),Vfn(96,417,kEn,ZU),Bjn.Qb=function(){fB(this)},Bjn.Rb=function(n){nN(this,n)},Bjn.Sb=function(){return this.b>0},Bjn.Tb=function(){return this.b},Bjn.Ub=function(){return P$(this.b>0),this.a.Xb(this.c=--this.b)},Bjn.Vb=function(){return this.b-1},Bjn.Wb=function(n){S$(-1!=this.c),this.a._c(this.c,n)},TF(bEn,"AbstractList/ListIteratorImpl",96),Vfn(219,52,VEn,Az),Bjn.Vc=function(n,t){rz(n,this.b),this.c.Vc(this.a+n,t),++this.b},Bjn.Xb=function(n){return Lz(n,this.b),this.c.Xb(this.a+n)},Bjn.$c=function(n){var t;return Lz(n,this.b),t=this.c.$c(this.a+n),--this.b,t},Bjn._c=function(n,t){return Lz(n,this.b),this.c._c(this.a+n,t)},Bjn.gc=function(){return this.b},Bjn.a=0,Bjn.b=0,TF(bEn,"AbstractList/SubList",219),Vfn(384,gEn,pEn,Yl),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return this.a._b(n)},Bjn.Kc=function(){return new Jl(this.a.vc().Kc())},Bjn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractMap/1",384),Vfn(691,1,lEn,Jl),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a.Ob()},Bjn.Pb=function(){return Jx(this.a.Pb(),42).cd()},Bjn.Qb=function(){this.a.Qb()},TF(bEn,"AbstractMap/1/1",691),Vfn(226,28,dEn,Zl),Bjn.$b=function(){this.a.$b()},Bjn.Hc=function(n){return this.a.uc(n)},Bjn.Kc=function(){return new ub(this.a.vc().Kc())},Bjn.gc=function(){return this.a.gc()},TF(bEn,"AbstractMap/2",226),Vfn(294,1,lEn,ub),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a.Ob()},Bjn.Pb=function(){return Jx(this.a.Pb(),42).dd()},Bjn.Qb=function(){this.a.Qb()},TF(bEn,"AbstractMap/2/1",294),Vfn(484,1,{484:1,42:1}),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),GB(this.d,t.cd())&&GB(this.e,t.dd()))},Bjn.cd=function(){return this.d},Bjn.dd=function(){return this.e},Bjn.Hb=function(){return xC(this.d)^xC(this.e)},Bjn.ed=function(n){return JL(this,n)},Bjn.Ib=function(){return this.d+"="+this.e},TF(bEn,"AbstractMap/AbstractEntry",484),Vfn(383,484,{484:1,383:1,42:1},UT),TF(bEn,"AbstractMap/SimpleEntry",383),Vfn(1984,1,fMn),Bjn.Fb=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),GB(this.cd(),t.cd())&&GB(this.dd(),t.dd()))},Bjn.Hb=function(){return xC(this.cd())^xC(this.dd())},Bjn.Ib=function(){return this.cd()+"="+this.dd()},TF(bEn,EEn,1984),Vfn(1992,1967,vEn),Bjn.tc=function(n){return mV(this,n)},Bjn._b=function(n){return WN(this,n)},Bjn.vc=function(){return new hb(this)},Bjn.xc=function(n){return iI(a6(this,n))},Bjn.ec=function(){return new ob(this)},TF(bEn,"AbstractNavigableMap",1992),Vfn(739,gEn,pEn,hb),Bjn.Hc=function(n){return OO(n,42)&&mV(this.b,Jx(n,42))},Bjn.Kc=function(){return new pN(this.b)},Bjn.Mc=function(n){var t;return!!OO(n,42)&&(t=Jx(n,42),rY(this.b,t))},Bjn.gc=function(){return this.b.c},TF(bEn,"AbstractNavigableMap/EntrySet",739),Vfn(493,gEn,yEn,ob),Bjn.Nc=function(){return new KT(this)},Bjn.$b=function(){Lm(this.a)},Bjn.Hc=function(n){return WN(this.a,n)},Bjn.Kc=function(){return new sb(new pN(new XA(this.a).b))},Bjn.Mc=function(n){return!!WN(this.a,n)&&(lG(this.a,n),!0)},Bjn.gc=function(){return this.a.c},TF(bEn,"AbstractNavigableMap/NavigableKeySet",493),Vfn(494,1,lEn,sb),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return AT(this.a.a)},Bjn.Pb=function(){return y$(this.a).cd()},Bjn.Qb=function(){fx(this.a)},TF(bEn,"AbstractNavigableMap/NavigableKeySet/1",494),Vfn(2004,28,dEn),Bjn.Fc=function(n){return ZQ(yun(this,n)),!0},Bjn.Gc=function(n){return mB(n),ED(n!=this,"Can't add a queue to itself"),O2(this,n)},Bjn.$b=function(){for(;null!=JJ(this););},TF(bEn,"AbstractQueue",2004),Vfn(302,28,{4:1,20:1,28:1,14:1},ip,Dz),Bjn.Fc=function(n){return OX(this,n),!0},Bjn.$b=function(){rW(this)},Bjn.Hc=function(n){return M4(new QB(this),n)},Bjn.dc=function(){return cy(this)},Bjn.Kc=function(){return new QB(this)},Bjn.Mc=function(n){return function(n,t){return!!M4(n,t)&&(u0(n),!0)}(new QB(this),n)},Bjn.gc=function(){return this.c-this.b&this.a.length-1},Bjn.Nc=function(){return new xz(this,272)},Bjn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&RF(n,t,null),n},Bjn.b=0,Bjn.c=0,TF(bEn,"ArrayDeque",302),Vfn(446,1,lEn,QB),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return this.a!=this.b},Bjn.Pb=function(){return d8(this)},Bjn.Qb=function(){u0(this)},Bjn.a=0,Bjn.b=0,Bjn.c=-1,TF(bEn,"ArrayDeque/IteratorImpl",446),Vfn(12,52,lMn,rp,vQ,hx),Bjn.Vc=function(n,t){nK(this,n,t)},Bjn.Fc=function(n){return iD(this,n)},Bjn.Wc=function(n,t){return q6(this,n,t)},Bjn.Gc=function(n){return P4(this,n)},Bjn.$b=function(){this.c=QQ(XKn,rEn,1,0,5,1)},Bjn.Hc=function(n){return-1!=fJ(this,n,0)},Bjn.Jc=function(n){VZ(this,n)},Bjn.Xb=function(n){return MR(this,n)},Bjn.Xc=function(n){return fJ(this,n,0)},Bjn.dc=function(){return 0==this.c.length},Bjn.Kc=function(){return new pb(this)},Bjn.$c=function(n){return _V(this,n)},Bjn.Mc=function(n){return oJ(this,n)},Bjn.Ud=function(n,t){$z(this,n,t)},Bjn._c=function(n,t){return YW(this,n,t)},Bjn.gc=function(){return this.c.length},Bjn.ad=function(n){ZC(this,n)},Bjn.Pc=function(){return d$(this)},Bjn.Qc=function(n){return qtn(this,n)};var MFn,SFn,PFn,IFn,CFn,OFn,AFn,$Fn,LFn,NFn=TF(bEn,"ArrayList",12);Vfn(7,1,lEn,pb),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return nO(this)},Bjn.Pb=function(){return qz(this)},Bjn.Qb=function(){U_(this)},Bjn.a=0,Bjn.b=-1,TF(bEn,"ArrayList/1",7),Vfn(2013,e.Function,{},T),Bjn.te=function(n,t){return L9(n,t)},Vfn(154,52,bMn,uy),Bjn.Hc=function(n){return-1!=v0(this,n)},Bjn.Jc=function(n){var t,e,i,r;for(mB(n),i=0,r=(e=this.a).length;i>>0).toString(16))},Bjn.f=0,Bjn.i=nMn;var TBn,MBn,SBn,PBn,IBn=TF(GMn,"CNode",57);Vfn(814,1,{},ov),TF(GMn,"CNode/CNodeBuilder",814),Vfn(1525,1,{},dn),Bjn.Oe=function(n,t){return 0},Bjn.Pe=function(n,t){return 0},TF(GMn,UMn,1525),Vfn(1790,1,{},gn),Bjn.Le=function(n){var t,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=ZTn,r=new pb(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},Bjn.Se=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=D7(this,bcn(this,null,!0));else for(ZZ(),i=0,r=(t=D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])).length;i0?c+this.n.b+this.n.c:0},Bjn.Te=function(){var n,t,e,i,r;if(this.g)for(n=bcn(this,null,!1),ZZ(),i=0,r=(e=D4(zy(hHn,1),WEn,232,0,[cHn,aHn,uHn])).length;i0&&(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=t.d+n.d+(this.c.a-i)/2,r[1]=e.Math.max(r[1],i),SV(this,aHn,t.d+n.d+r[0]-(r[1]-i)/2,r)},Bjn.b=null,Bjn.d=0,Bjn.e=!1,Bjn.f=!1,Bjn.g=!1;var fHn,lHn,bHn,wHn=0,dHn=0;TF(pSn,"GridContainerCell",1473),Vfn(461,22,{3:1,35:1,22:1,461:1},sM);var gHn,pHn=W1(pSn,"HorizontalLabelAlignment",461,o_n,(function(){return HY(),D4(zy(pHn,1),WEn,461,0,[lHn,fHn,bHn])}),(function(n){return HY(),cZ((yQ(),gHn),n)}));Vfn(306,212,{212:1,306:1},iG,_Z,Gq),Bjn.Re=function(){return WD(this)},Bjn.Se=function(){return VD(this)},Bjn.a=0,Bjn.c=!1;var vHn,mHn,yHn,kHn=TF(pSn,"LabelCell",306);Vfn(244,326,{212:1,326:1,244:1},Ptn),Bjn.Re=function(){return Rhn(this)},Bjn.Se=function(){return Khn(this)},Bjn.Te=function(){avn(this)},Bjn.Ue=function(){fvn(this)},Bjn.b=0,Bjn.c=0,Bjn.d=!1,TF(pSn,"StripContainerCell",244),Vfn(1626,1,JEn,En),Bjn.Mb=function(n){return function(n){return!!n&&n.k}(Jx(n,212))},TF(pSn,"StripContainerCell/lambda$0$Type",1626),Vfn(1627,1,{},Tn),Bjn.Fe=function(n){return Jx(n,212).Se()},TF(pSn,"StripContainerCell/lambda$1$Type",1627),Vfn(1628,1,JEn,Mn),Bjn.Mb=function(n){return function(n){return!!n&&n.j}(Jx(n,212))},TF(pSn,"StripContainerCell/lambda$2$Type",1628),Vfn(1629,1,{},Sn),Bjn.Fe=function(n){return Jx(n,212).Re()},TF(pSn,"StripContainerCell/lambda$3$Type",1629),Vfn(462,22,{3:1,35:1,22:1,462:1},hM);var jHn,EHn,THn,MHn,SHn,PHn,IHn,CHn,OHn,AHn,$Hn,LHn,NHn,xHn,DHn,RHn,KHn,_Hn,FHn,BHn,HHn,qHn,GHn,zHn=W1(pSn,"VerticalLabelAlignment",462,o_n,(function(){return AJ(),D4(zy(zHn,1),WEn,462,0,[yHn,mHn,vHn])}),(function(n){return AJ(),cZ((kQ(),jHn),n)}));Vfn(789,1,{},mkn),Bjn.c=0,Bjn.d=0,Bjn.k=0,Bjn.s=0,Bjn.t=0,Bjn.v=!1,Bjn.w=0,Bjn.D=!1,TF(MSn,"NodeContext",789),Vfn(1471,1,BMn,Pn),Bjn.ue=function(n,t){return tC(Jx(n,61),Jx(t,61))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(MSn,"NodeContext/0methodref$comparePortSides$Type",1471),Vfn(1472,1,BMn,In),Bjn.ue=function(n,t){return function(n,t){var e;if(0!=(e=tC(n.b.Hf(),t.b.Hf())))return e;switch(n.b.Hf().g){case 1:case 2:return iO(n.b.sf(),t.b.sf());case 3:case 4:return iO(t.b.sf(),n.b.sf())}return 0}(Jx(n,111),Jx(t,111))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(MSn,"NodeContext/1methodref$comparePortContexts$Type",1472),Vfn(159,22,{3:1,35:1,22:1,159:1},X2);var UHn,XHn,WHn,VHn,QHn,YHn,JHn,ZHn=W1(MSn,"NodeLabelLocation",159,o_n,Wtn,(function(n){return xjn(),cZ((NI(),UHn),n)}));Vfn(111,1,{111:1},pfn),Bjn.a=!1,TF(MSn,"PortContext",111),Vfn(1476,1,IEn,Cn),Bjn.td=function(n){sj(Jx(n,306))},TF(ISn,CSn,1476),Vfn(1477,1,JEn,On),Bjn.Mb=function(n){return!!Jx(n,111).c},TF(ISn,OSn,1477),Vfn(1478,1,IEn,An),Bjn.td=function(n){sj(Jx(n,111).c)},TF(ISn,"LabelPlacer/lambda$2$Type",1478),Vfn(1475,1,IEn,Ln),Bjn.td=function(n){IL(),function(n){n.b.tf(n.e)}(Jx(n,111))},TF(ISn,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),Vfn(790,1,IEn,jx),Bjn.td=function(n){fT(this.b,this.c,this.a,Jx(n,181))},Bjn.a=!1,Bjn.c=!1,TF(ISn,"NodeLabelCellCreator/lambda$0$Type",790),Vfn(1474,1,IEn,Yb),Bjn.td=function(n){!function(n,t){Bon(n.c,t)}(this.a,Jx(n,181))},TF(ISn,"PortContextCreator/lambda$0$Type",1474),Vfn(1829,1,{},Nn),TF($Sn,"GreedyRectangleStripOverlapRemover",1829),Vfn(1830,1,BMn,$n),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.d,t.c.d)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),Vfn(1786,1,{},bv),Bjn.a=5,Bjn.e=0,TF($Sn,"RectangleStripOverlapRemover",1786),Vfn(1787,1,BMn,Dn),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.c,t.c.c)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),Vfn(1789,1,BMn,Rn),Bjn.ue=function(n,t){return function(n,t){return L9(n.c.c+n.c.b,t.c.c+t.c.b)}(Jx(n,222),Jx(t,222))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF($Sn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),Vfn(406,22,{3:1,35:1,22:1,406:1},fM);var nqn,tqn,eqn,iqn,rqn,cqn=W1($Sn,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,o_n,(function(){return i4(),D4(zy(cqn,1),WEn,406,0,[JHn,VHn,QHn,YHn])}),(function(n){return i4(),cZ((UY(),nqn),n)}));Vfn(222,1,{222:1},lK),TF($Sn,"RectangleStripOverlapRemover/RectangleNode",222),Vfn(1788,1,IEn,Jb),Bjn.td=function(n){!function(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}(this.a,Jx(n,222))},TF($Sn,"RectangleStripOverlapRemover/lambda$1$Type",1788),Vfn(1304,1,BMn,Kn),Bjn.ue=function(n,t){return function(n,t){var e,i,r,c;return e=new _n,1==(r=2==(r=(i=Jx(jW(lH(new PR(null,new xz(n.f,16)),e),jJ(new Q,new Y,new cn,new an,D4(zy(dBn,1),WEn,132,0,[(O6(),oBn),uBn]))),21)).gc())?1:0)&&hI(Pnn(Jx(jW(fH(i.Lc(),new Fn),j3(ktn(0),new en)),162).a,2),0)&&(r=0),1==(c=2==(c=(i=Jx(jW(lH(new PR(null,new xz(t.f,16)),e),jJ(new Q,new Y,new cn,new an,D4(zy(dBn,1),WEn,132,0,[oBn,uBn]))),21)).gc())?1:0)&&hI(Pnn(Jx(jW(fH(i.Lc(),new Bn),j3(ktn(0),new en)),162).a,2),0)&&(c=0),r0?J_(n.a,t,e):J_(n.b,t,e)}(this,Jx(n,46),Jx(t,167))},TF(NSn,"SuccessorCombination",777),Vfn(644,1,{},Wn),Bjn.Ce=function(n,t){var i;return function(n){var t,i,r,c,a;return i=c=Jx(n.a,19).a,r=a=Jx(n.b,19).a,t=e.Math.max(e.Math.abs(c),e.Math.abs(a)),c<=0&&c==a?(i=0,r=a-1):c==-t&&a!=t?(i=a,r=c,a>=0&&++i):(i=-a,r=c),new yP(g9(i),g9(r))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorJitter",644),Vfn(643,1,{},Vn),Bjn.Ce=function(n,t){var i;return function(n){var t,i;if(t=Jx(n.a,19).a,i=Jx(n.b,19).a,t>=0){if(t==i)return new yP(g9(-t-1),g9(-t-1));if(t==-i)return new yP(g9(-t),g9(i+1))}return e.Math.abs(t)>e.Math.abs(i)?new yP(g9(-t),g9(t<0?i:i+1)):new yP(g9(t+1),g9(i))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorLineByLine",643),Vfn(568,1,{},Qn),Bjn.Ce=function(n,t){var e;return function(n){var t,e,i,r;return t=i=Jx(n.a,19).a,e=r=Jx(n.b,19).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new yP(g9(t),g9(e))}((e=Jx(n,46),Jx(t,167),e))},TF(NSn,"SuccessorManhattan",568),Vfn(1356,1,{},Yn),Bjn.Ce=function(n,t){var i;return function(n){var t,i,r;return i=Jx(n.a,19).a,r=Jx(n.b,19).a,i<(t=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-t?new yP(g9(i+1),g9(r)):i==t&&r=-t&&r==t?new yP(g9(i-1),g9(r)):new yP(g9(i),g9(r-1))}((i=Jx(n,46),Jx(t,167),i))},TF(NSn,"SuccessorMaxNormWindingInMathPosSense",1356),Vfn(400,1,{},Zb),Bjn.Ce=function(n,t){return J_(this,n,t)},Bjn.c=!1,Bjn.d=!1,Bjn.e=!1,Bjn.f=!1,TF(NSn,"SuccessorQuadrantsGeneric",400),Vfn(1357,1,{},Jn),Bjn.Kb=function(n){return Jx(n,324).a},TF(NSn,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),Vfn(323,22,{3:1,35:1,22:1,323:1},rM),Bjn.a=!1;var aqn,uqn=W1(_Sn,FSn,323,o_n,(function(){return Pen(),D4(zy(uqn,1),WEn,323,0,[eqn,tqn,iqn,rqn])}),(function(n){return Pen(),cZ((XY(),aqn),n)}));Vfn(1298,1,{}),Bjn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=g9(0),r=0;r0&&N1(p,y*j),k>0&&x1(p,k*E);for(P3(n.b,new lt),t=new rp,u=new e6(new Ql(n.c).a);u.b;)i=Jx((a=h1(u)).cd(),79),e=Jx(a.dd(),395).a,r=Jwn(i,!1,!1),dvn(f=Wan(_un(i),_on(r),e),r),(m=Fun(i))&&-1==fJ(t,m,0)&&(t.c[t.c.length]=m,AH(m,(P$(0!=f.b),Jx(f.a.a.c,8)),e));for(g=new e6(new Ql(n.d).a);g.b;)i=Jx((d=h1(g)).cd(),79),e=Jx(d.dd(),395).a,r=Jwn(i,!1,!1),f=Wan(Hun(i),X5(_on(r)),e),dvn(f=X5(f),r),(m=Bun(i))&&-1==fJ(t,m,0)&&(t.c[t.c.length]=m,AH(m,(P$(0!=f.b),Jx(f.c.b.c,8)),e))}(r),$en(n,Oqn,this.b),Kon(t)},Bjn.a=0,TF(ZSn,"DisCoLayoutProvider",1132),Vfn(1244,1,{},ct),Bjn.c=!1,Bjn.e=0,Bjn.f=0,TF(ZSn,"DisCoPolyominoCompactor",1244),Vfn(561,1,{561:1},GR),Bjn.b=!0,TF(nPn,"DCComponent",561),Vfn(394,22,{3:1,35:1,22:1,394:1},iM),Bjn.a=!1;var vqn,mqn,yqn=W1(nPn,"DCDirection",394,o_n,(function(){return Ien(),D4(zy(yqn,1),WEn,394,0,[wqn,bqn,dqn,gqn])}),(function(n){return Ien(),cZ((WY(),vqn),n)}));Vfn(266,134,{3:1,266:1,94:1,134:1},iln),TF(nPn,"DCElement",266),Vfn(395,1,{395:1},Hin),Bjn.c=0,TF(nPn,"DCExtension",395),Vfn(755,134,XSn,Ek),TF(nPn,"DCGraph",755),Vfn(481,22,{3:1,35:1,22:1,481:1},C$);var kqn,jqn,Eqn,Tqn,Mqn,Sqn,Pqn,Iqn,Cqn,Oqn,Aqn,$qn,Lqn,Nqn,xqn,Dqn,Rqn,Kqn,_qn,Fqn,Bqn,Hqn=W1(tPn,ePn,481,o_n,(function(){return HE(),D4(zy(Hqn,1),WEn,481,0,[mqn])}),(function(n){return HE(),cZ((kX(),kqn),n)}));Vfn(854,1,lSn,Fh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iPn),uPn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Tqn),(bsn(),A7n)),Hqn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,rPn),uPn),"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."),x7n),lFn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,cPn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),N7n),XKn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,aPn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),N7n),XKn),Z9(M7n)))),Yvn((new Bh,n))},TF(tPn,"DisCoMetaDataProvider",854),Vfn(998,1,lSn,Bh),Bjn.Qe=function(n){Yvn(n)},TF(tPn,"DisCoOptions",998),Vfn(999,1,{},at),Bjn.$e=function(){return new rt},Bjn._e=function(n){},TF(tPn,"DisCoOptions/DiscoFactory",999),Vfn(562,167,{321:1,167:1,562:1},tbn),Bjn.a=0,Bjn.b=0,Bjn.c=0,Bjn.d=0,TF("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),Vfn(1268,1,JEn,ut),Bjn.Mb=function(n){return LI(n)},TF(bPn,"ElkGraphComponentsProcessor/lambda$0$Type",1268),Vfn(1269,1,{},ot),Bjn.Kb=function(n){return XH(),_un(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$1$Type",1269),Vfn(1270,1,JEn,st),Bjn.Mb=function(n){return function(n){return XH(),_un(n)==CG(Hun(n))}(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$2$Type",1270),Vfn(1271,1,{},ht),Bjn.Kb=function(n){return XH(),Hun(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$3$Type",1271),Vfn(1272,1,JEn,ft),Bjn.Mb=function(n){return function(n){return XH(),Hun(n)==CG(_un(n))}(Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$4$Type",1272),Vfn(1273,1,JEn,tw),Bjn.Mb=function(n){return function(n,t){return XH(),n==CG(_un(t))||n==CG(Hun(t))}(this.a,Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$5$Type",1273),Vfn(1274,1,{},ew),Bjn.Kb=function(n){return function(n,t){return XH(),n==_un(t)?Hun(t):_un(t)}(this.a,Jx(n,79))},TF(bPn,"ElkGraphComponentsProcessor/lambda$6$Type",1274),Vfn(1241,1,{},cW),Bjn.a=0,TF(bPn,"ElkGraphTransformer",1241),Vfn(1242,1,{},lt),Bjn.Od=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,OO(t,352)?(WW(c=_on(r=Jwn(Jx(t,79),!1,!1)),i=new iw(n)),dvn(c,r),null!=t.We((Ojn(),znt))&&WW(Jx(t.We(znt),74),i)):((a=Jx(t,470)).Hg(a.Dg()+n.a.a),a.Ig(a.Eg()+n.a.b))}(this,Jx(n,160),Jx(t,266))},TF(bPn,"ElkGraphTransformer/OffsetApplier",1242),Vfn(1243,1,IEn,iw),Bjn.td=function(n){!function(n,t){L$(t,n.a.a.a,n.a.a.b)}(this,Jx(n,8))},TF(bPn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),Vfn(753,1,{},bt),TF(vPn,mPn,753),Vfn(1232,1,BMn,wt),Bjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Jx($un(t,(Hdn(),wGn)),19).a-Jx($un(n,wGn),19).a)?(i=kN(gO(Jx($un(n,(g2(),jGn)),8)),Jx($un(n,EGn),8)),r=kN(gO(Jx($un(t,jGn),8)),Jx($un(t,EGn),8)),L9(i.a*i.b,r.a*r.b)):e}(Jx(n,231),Jx(t,231))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(vPn,yPn,1232),Vfn(740,209,QSn,rv),Bjn.Ze=function(n,t){wbn(this,n,t)},TF(vPn,"ForceLayoutProvider",740),Vfn(357,134,{3:1,357:1,94:1,134:1}),TF(kPn,"FParticle",357),Vfn(559,357,{3:1,559:1,357:1,94:1,134:1},gF),Bjn.Ib=function(){var n;return this.a?(n=fJ(this.a.a,this,0))>=0?"b"+n+"["+JW(this.a)+"]":"b["+JW(this.a)+"]":"b_"+FA(this)},TF(kPn,"FBendpoint",559),Vfn(282,134,{3:1,282:1,94:1,134:1},cN),Bjn.Ib=function(){return JW(this)},TF(kPn,"FEdge",282),Vfn(231,134,{3:1,231:1,94:1,134:1},WV);var qqn,Gqn,zqn,Uqn,Xqn,Wqn,Vqn,Qqn,Yqn,Jqn,Zqn=TF(kPn,"FGraph",231);Vfn(447,357,{3:1,447:1,357:1,94:1,134:1},dW),Bjn.Ib=function(){return null==this.b||0==this.b.length?"l["+JW(this.a)+"]":"l_"+this.b},TF(kPn,"FLabel",447),Vfn(144,357,{3:1,144:1,357:1,94:1,134:1},zF),Bjn.Ib=function(){return Jz(this)},Bjn.b=0,TF(kPn,"FNode",144),Vfn(2003,1,{}),Bjn.bf=function(n){_pn(this,n)},Bjn.cf=function(){ern(this)},Bjn.d=0,TF(EPn,"AbstractForceModel",2003),Vfn(631,2003,{631:1},n4),Bjn.af=function(n,t){var i,r,c,a;return yhn(this.f,n,t),c=kN(gO(t.d),n.d),a=e.Math.sqrt(c.a*c.a+c.b*c.b),r=e.Math.max(0,a-lB(n.e)/2-lB(t.e)/2),_O(c,((i=B5(this.e,n,t))>0?-function(n,t){return n>0?e.Math.log(n/t):-100}(r,this.c)*i:function(n,t){return n>0?t/(n*n):100*t}(r,this.b)*Jx($un(n,(Hdn(),wGn)),19).a)/a),c},Bjn.bf=function(n){_pn(this,n),this.a=Jx($un(n,(Hdn(),rGn)),19).a,this.c=ey(lL($un(n,yGn))),this.b=ey(lL($un(n,gGn)))},Bjn.df=function(n){return n0?t*t/n:t*t*100}(r=e.Math.max(0,u-lB(n.e)/2-lB(t.e)/2),this.a)*Jx($un(n,(Hdn(),wGn)),19).a,(i=B5(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*i),_O(c,a*this.b/u),c},Bjn.bf=function(n){var t,i,r,c,a,u,o;for(_pn(this,n),this.b=ey(lL($un(n,(Hdn(),kGn)))),this.c=this.b/Jx($un(n,rGn),19).a,r=n.e.c.length,a=0,c=0,o=new pb(n.e);o.a0},Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(EPn,"FruchtermanReingoldModel",632),Vfn(849,1,lSn,qh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TPn),""),"Force Model"),"Determines the model for force calculation."),zqn),(bsn(),A7n)),XGn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MPn),""),"Iterations"),"The number of iterations on the force model."),g9(300)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SPn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PPn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),IPn),O7n),q_n),Z9(M7n)))),DU(n,PPn,TPn,Qqn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CPn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),O7n),q_n),Z9(M7n)))),DU(n,CPn,TPn,Xqn),Skn((new Gh,n))},TF(OPn,"ForceMetaDataProvider",849),Vfn(424,22,{3:1,35:1,22:1,424:1},lM);var nGn,tGn,eGn,iGn,rGn,cGn,aGn,uGn,oGn,sGn,hGn,fGn,lGn,bGn,wGn,dGn,gGn,pGn,vGn,mGn,yGn,kGn,jGn,EGn,TGn,MGn,SGn,PGn,IGn,CGn,OGn,AGn,$Gn,LGn,NGn,xGn,DGn,RGn,KGn,_Gn,FGn,BGn,HGn,qGn,GGn,zGn,UGn,XGn=W1(OPn,"ForceModelStrategy",424,o_n,(function(){return fZ(),D4(zy(XGn,1),WEn,424,0,[Yqn,Jqn])}),(function(n){return fZ(),cZ((SW(),nGn),n)}));Vfn(988,1,lSn,Gh),Bjn.Qe=function(n){Skn(n)},TF(OPn,"ForceOptions",988),Vfn(989,1,{},dt),Bjn.$e=function(){return new rv},Bjn._e=function(n){},TF(OPn,"ForceOptions/ForceFactory",989),Vfn(850,1,lSn,zh),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QPn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(MA(),!1)),(bsn(),C7n)),R_n),Z9((Ytn(),T7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YPn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),O7n),q_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[j7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JPn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),IGn),A7n),izn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZPn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),IPn),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nIn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),g9(Jjn)),L7n),X_n),Z9(M7n)))),_yn((new Uh,n))},TF(OPn,"StressMetaDataProvider",850),Vfn(992,1,lSn,Uh),Bjn.Qe=function(n){_yn(n)},TF(OPn,"StressOptions",992),Vfn(993,1,{},gt),Bjn.$e=function(){return new aN},Bjn._e=function(n){},TF(OPn,"StressOptions/StressFactory",993),Vfn(1128,209,QSn,aN),Bjn.Ze=function(n,t){var e,i,r,c;for(cun(t,eIn,1),ty(fL(Eln(n,(Vrn(),DGn))))?ty(fL(Eln(n,HGn)))||cG(new Xb((gT(),new Wm(n)))):wbn(new rv,n,Z2(t,1)),i=d5(n),c=(e=svn(this.a,i)).Kc();c.Ob();)(r=Jx(c.Pb(),231)).e.c.length<=1||(Lmn(this.b,r),Sln(this.b),VZ(r.d,new pt));Akn(i=Fkn(e)),Kon(t)},TF(rIn,"StressLayoutProvider",1128),Vfn(1129,1,IEn,pt),Bjn.td=function(n){Vvn(Jx(n,447))},TF(rIn,"StressLayoutProvider/lambda$0$Type",1129),Vfn(990,1,{},qp),Bjn.c=0,Bjn.e=0,Bjn.g=0,TF(rIn,"StressMajorization",990),Vfn(379,22,{3:1,35:1,22:1,379:1},bM);var WGn,VGn,QGn,YGn,JGn,ZGn,nzn,tzn,ezn,izn=W1(rIn,"StressMajorization/Dimension",379,o_n,(function(){return OJ(),D4(zy(izn,1),WEn,379,0,[zGn,GGn,UGn])}),(function(n){return OJ(),cZ((EQ(),WGn),n)}));Vfn(991,1,BMn,rw),Bjn.ue=function(n,t){return function(n,t,e){return L9(n[t.b],n[e.b])}(this.a,Jx(n,144),Jx(t,144))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(rIn,"StressMajorization/lambda$0$Type",991),Vfn(1229,1,{},pU),TF(aIn,"ElkLayered",1229),Vfn(1230,1,IEn,vt),Bjn.td=function(n){!function(n){var t;if((t=Jx($un(n,(pjn(),r1n)),314))==(A0(),MWn))throw fp(new wy("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(Jx(n,37))},TF(aIn,"ElkLayered/lambda$0$Type",1230),Vfn(1231,1,IEn,cw),Bjn.td=function(n){!function(n,t){w5(t,(pjn(),JZn),n)}(this.a,Jx(n,37))},TF(aIn,"ElkLayered/lambda$1$Type",1231),Vfn(1263,1,{},lO),TF(aIn,"GraphConfigurator",1263),Vfn(759,1,IEn,aw),Bjn.td=function(n){con(this.a,Jx(n,10))},TF(aIn,"GraphConfigurator/lambda$0$Type",759),Vfn(760,1,{},mt),Bjn.Kb=function(n){return Scn(),new PR(null,new xz(Jx(n,29).a,16))},TF(aIn,"GraphConfigurator/lambda$1$Type",760),Vfn(761,1,IEn,uw),Bjn.td=function(n){con(this.a,Jx(n,10))},TF(aIn,"GraphConfigurator/lambda$2$Type",761),Vfn(1127,209,QSn,av),Bjn.Ze=function(n,t){var e;e=_vn(new dv,n),rI(Eln(n,(pjn(),T1n)))===rI((A8(),Let))?F7(this.a,e,t):sfn(this.a,e,t),Mkn(new Wh,e)},TF(aIn,"LayeredLayoutProvider",1127),Vfn(356,22,{3:1,35:1,22:1,356:1},wM);var rzn,czn,azn,uzn=W1(aIn,"LayeredPhases",356,o_n,(function(){return Lun(),D4(zy(uzn,1),WEn,356,0,[JGn,ZGn,nzn,tzn,ezn])}),(function(n){return Lun(),cZ((yZ(),rzn),n)}));Vfn(1651,1,{},k0),Bjn.i=0,TF(uIn,"ComponentsToCGraphTransformer",1651),Vfn(1652,1,{},yt),Bjn.ef=function(n,t){return e.Math.min(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},Bjn.ff=function(n,t){return e.Math.min(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},TF(uIn,"ComponentsToCGraphTransformer/1",1652),Vfn(81,1,{81:1}),Bjn.i=0,Bjn.k=!0,Bjn.o=nMn;var ozn,szn,hzn,fzn=TF(oIn,"CNode",81);Vfn(460,81,{460:1,81:1},UA,Ttn),Bjn.Ib=function(){return""},TF(uIn,"ComponentsToCGraphTransformer/CRectNode",460),Vfn(1623,1,{},kt),TF(uIn,"OneDimensionalComponentsCompaction",1623),Vfn(1624,1,{},jt),Bjn.Kb=function(n){return function(n){return c8(),MA(),0!=Jx(n.a,81).d.e}(Jx(n,46))},Bjn.Fb=function(n){return this===n},TF(uIn,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),Vfn(1625,1,{},Et),Bjn.Kb=function(n){return function(n){return c8(),MA(),!!(S7(Jx(n.a,81).j,Jx(n.b,103))||0!=Jx(n.a,81).d.e&&S7(Jx(n.a,81).j,Jx(n.b,103)))}(Jx(n,46))},Bjn.Fb=function(n){return this===n},TF(uIn,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),Vfn(1654,1,{},qF),TF(oIn,"CGraph",1654),Vfn(189,1,{189:1},Mtn),Bjn.b=0,Bjn.c=0,Bjn.e=0,Bjn.g=!0,Bjn.i=nMn,TF(oIn,"CGroup",189),Vfn(1653,1,{},Pt),Bjn.ef=function(n,t){return e.Math.max(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},Bjn.ff=function(n,t){return e.Math.max(null!=n.a?ey(n.a):n.c.i,null!=t.a?ey(t.a):t.c.i)},TF(oIn,UMn,1653),Vfn(1655,1,{},cfn),Bjn.d=!1;var lzn=TF(oIn,YMn,1655);Vfn(1656,1,{},It),Bjn.Kb=function(n){return VE(),MA(),0!=Jx(Jx(n,46).a,81).d.e},Bjn.Fb=function(n){return this===n},TF(oIn,JMn,1656),Vfn(823,1,{},pR),Bjn.a=!1,Bjn.b=!1,Bjn.c=!1,Bjn.d=!1,TF(oIn,ZMn,823),Vfn(1825,1,{},bK),TF(sIn,nSn,1825);var bzn=uR(hIn,qMn);Vfn(1826,1,{369:1},kq),Bjn.Ke=function(n){!function(n,t){var e,i,r;t.a?(oF(n.b,t.b),n.a[t.b.i]=Jx(HN(n.b,t.b),81),(e=Jx(BN(n.b,t.b),81))&&(n.a[e.i]=t.b)):(!!(i=Jx(HN(n.b,t.b),81))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=Jx(BN(n.b,t.b),81))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),KA(n.b,t.b))}(this,Jx(n,466))},TF(sIn,tSn,1826),Vfn(1827,1,BMn,Ct),Bjn.ue=function(n,t){return function(n,t){return L9(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(Jx(n,81),Jx(t,81))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(sIn,eSn,1827),Vfn(466,1,{466:1},OM),Bjn.a=!1,TF(sIn,iSn,466),Vfn(1828,1,BMn,Ot),Bjn.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=L9(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(Jx(n,466),Jx(t,466))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(sIn,rSn,1828),Vfn(140,1,{140:1},NM,TD),Bjn.Fb=function(n){var t;return null!=n&&vzn==Q5(n)&&(t=Jx(n,140),GB(this.c,t.c)&&GB(this.d,t.d))},Bjn.Hb=function(){return z6(D4(zy(XKn,1),rEn,1,5,[this.c,this.d]))},Bjn.Ib=function(){return"("+this.c+eEn+this.d+(this.a?"cx":"")+this.b+")"},Bjn.a=!0,Bjn.c=0,Bjn.d=0;var wzn,dzn,gzn,pzn,vzn=TF(hIn,"Point",140);Vfn(405,22,{3:1,35:1,22:1,405:1},dM);var mzn,yzn,kzn,jzn,Ezn,Tzn,Mzn,Szn,Pzn,Izn,Czn,Ozn=W1(hIn,"Point/Quadrant",405,o_n,(function(){return F4(),D4(zy(Ozn,1),WEn,405,0,[wzn,pzn,dzn,gzn])}),(function(n){return F4(),cZ((zY(),mzn),n)}));Vfn(1642,1,{},sv),Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,Bjn.f=null,TF(hIn,"RectilinearConvexHull",1642),Vfn(574,1,{369:1},wen),Bjn.Ke=function(n){!function(n,t){n.a.ue(t.d,n.b)>0&&(iD(n.c,new TD(t.c,t.d,n.d)),n.b=t.d)}(this,Jx(n,140))},Bjn.b=0,TF(hIn,"RectilinearConvexHull/MaximalElementsEventHandler",574),Vfn(1644,1,BMn,Mt),Bjn.ue=function(n,t){return function(n,t){return QE(),L9((mB(n),n),(mB(t),t))}(lL(n),lL(t))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),Vfn(1643,1,{369:1},DZ),Bjn.Ke=function(n){Ubn(this,Jx(n,140))},Bjn.a=0,Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,TF(hIn,"RectilinearConvexHull/RectangleEventHandler",1643),Vfn(1645,1,BMn,St),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(t.d,n.d):L9(n.c,t.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$0$Type",1645),Vfn(1646,1,BMn,Tt),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(n.d,t.d):L9(n.c,t.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$1$Type",1646),Vfn(1647,1,BMn,At),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(t.d,n.d):L9(t.c,n.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$2$Type",1647),Vfn(1648,1,BMn,$t),Bjn.ue=function(n,t){return function(n,t){return sZ(),n.c==t.c?L9(n.d,t.d):L9(t.c,n.c)}(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$3$Type",1648),Vfn(1649,1,BMn,Lt),Bjn.ue=function(n,t){return xun(Jx(n,140),Jx(t,140))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(hIn,"RectilinearConvexHull/lambda$4$Type",1649),Vfn(1650,1,{},ez),TF(hIn,"Scanline",1650),Vfn(2005,1,{}),TF(fIn,"AbstractGraphPlacer",2005),Vfn(325,1,{325:1},B$),Bjn.mf=function(n){return!!this.nf(n)&&(Yhn(this.b,Jx($un(n,(Ajn(),oQn)),21),n),!0)},Bjn.nf=function(n){var t,e,i;for(t=Jx($un(n,(Ajn(),oQn)),21),i=Jx(FV(Szn,t),21).Kc();i.Ob();)if(e=Jx(i.Pb(),21),!Jx(FV(this.b,e),15).dc())return!1;return!0},TF(fIn,"ComponentGroup",325),Vfn(765,2005,{},hv),Bjn.of=function(n){var t;for(t=new pb(this.a);t.ai?1:0}(Jx(n,37),Jx(t,37))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(fIn,"ComponentsProcessor/lambda$0$Type",1265),Vfn(570,325,{325:1,570:1},rV),Bjn.mf=function(n){return u6(this,n)},Bjn.nf=function(n){return Bbn(this,n)},TF(fIn,"ModelOrderComponentGroup",570),Vfn(1291,2005,{},Dt),Bjn.lf=function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;if(1!=n.gc()){if(n.dc())return t.a.c=QQ(XKn,rEn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(rI($un(t,(pjn(),qZn)))===rI((i9(),Czn))){for(s=n.Kc();s.Ob();){for(p=0,d=new pb((u=Jx(s.Pb(),37)).a);d.ab&&(k=0,j+=l+c,l=0),wgn(u,k+(g=u.c).a,j+g.b),AI(g),i=e.Math.max(i,k+v.a),l=e.Math.max(l,v.b),k+=v.a+c;if(t.f.a=i,t.f.b=j+l,ty(fL($un(a,FZn)))){for(wjn(r=new Nt,n,c),f=n.Kc();f.Ob();)yN(AI(Jx(f.Pb(),37).c),r.e);yN(AI(t.f),r.a)}gY(t,n)}else(m=Jx(n.Xb(0),37))!=t&&(t.a.c=QQ(XKn,rEn,1,0,5,1),Rgn(t,m,0,0),s4(t,m),qH(t.d,m.d),t.f.a=m.f.a,t.f.b=m.f.b)},TF(fIn,"SimpleRowGraphPlacer",1291),Vfn(1292,1,BMn,Rt),Bjn.ue=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?L9(n.f.a*n.f.b,t.f.a*t.f.b):e}(Jx(n,37),Jx(t,37))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(fIn,"SimpleRowGraphPlacer/1",1292),Vfn(1262,1,cSn,Kt),Bjn.Lb=function(n){var t;return!!(t=Jx($un(Jx(n,243).b,(pjn(),L1n)),74))&&0!=t.b},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){var t;return!!(t=Jx($un(Jx(n,243).b,(pjn(),L1n)),74))&&0!=t.b},TF(dIn,"CompoundGraphPostprocessor/1",1262),Vfn(1261,1,gIn,gv),Bjn.pf=function(n,t){Ven(this,Jx(n,37),t)},TF(dIn,"CompoundGraphPreprocessor",1261),Vfn(441,1,{441:1},a9),Bjn.c=!1,TF(dIn,"CompoundGraphPreprocessor/ExternalPort",441),Vfn(243,1,{243:1},Ex),Bjn.Ib=function(){return g$(this.c)+":"+_hn(this.b)},TF(dIn,"CrossHierarchyEdge",243),Vfn(763,1,BMn,ow),Bjn.ue=function(n,t){return function(n,t,e){var i,r;return t.c==(f0(),r3n)&&e.c==i3n?-1:t.c==i3n&&e.c==r3n?1:(i=W6(t.a,n.a),r=W6(e.a,n.a),t.c==r3n?r-i:i-r)}(this,Jx(n,243),Jx(t,243))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(dIn,"CrossHierarchyEdgeComparator",763),Vfn(299,134,{3:1,299:1,94:1,134:1}),Bjn.p=0,TF(pIn,"LGraphElement",299),Vfn(17,299,{3:1,17:1,299:1,94:1,134:1},Eq),Bjn.Ib=function(){return _hn(this)};var xzn=TF(pIn,"LEdge",17);Vfn(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},j0),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new pb(this.b)},Bjn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+zun(this.a):0==this.a.c.length?"G-layered"+zun(this.b):"G[layerless"+zun(this.a)+", layers"+zun(this.b)+"]"};var Dzn,Rzn=TF(pIn,"LGraph",37);Vfn(657,1,{}),Bjn.qf=function(){return this.e.n},Bjn.We=function(n){return $un(this.e,n)},Bjn.rf=function(){return this.e.o},Bjn.sf=function(){return this.e.p},Bjn.Xe=function(n){return A$(this.e,n)},Bjn.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},Bjn.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},Bjn.vf=function(n){this.e.p=n},TF(pIn,"LGraphAdapters/AbstractLShapeAdapter",657),Vfn(577,1,{839:1},sw),Bjn.wf=function(){var n,t;if(!this.b)for(this.b=f$(this.a.b.c.length),t=new pb(this.a.b);t.a0&&b8((Nz(t-1,n.length),n.charCodeAt(t-1)),MIn);)--t;if(r> ",n),jrn(e)),kI(yI((n.a+="[",n),e.i),"]")),n.a},Bjn.c=!0,Bjn.d=!1;var tUn,eUn,iUn,rUn,cUn=TF(pIn,"LPort",11);Vfn(397,1,LEn,fw),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new lw(new pb(this.a.e))},TF(pIn,"LPort/1",397),Vfn(1290,1,lEn,lw),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(qz(this.a),17).c},Bjn.Ob=function(){return nO(this.a)},Bjn.Qb=function(){U_(this.a)},TF(pIn,"LPort/1/1",1290),Vfn(359,1,LEn,bw),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new ww(new pb(this.a.g))},TF(pIn,"LPort/2",359),Vfn(762,1,lEn,ww),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(qz(this.a),17).d},Bjn.Ob=function(){return nO(this.a)},Bjn.Qb=function(){U_(this.a)},TF(pIn,"LPort/2/1",762),Vfn(1283,1,LEn,CM),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new XV(this)},TF(pIn,"LPort/CombineIter",1283),Vfn(201,1,lEn,XV),Bjn.Nb=function(n){C_(this,n)},Bjn.Qb=function(){Hk()},Bjn.Ob=function(){return JA(this)},Bjn.Pb=function(){return nO(this.a)?qz(this.a):qz(this.b)},TF(pIn,"LPort/CombineIter/1",201),Vfn(1285,1,cSn,Bt),Bjn.Lb=function(n){return ZK(n)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),0!=Jx(n,11).e.c.length},TF(pIn,"LPort/lambda$0$Type",1285),Vfn(1284,1,cSn,Ht),Bjn.Lb=function(n){return n_(n)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),0!=Jx(n,11).g.c.length},TF(pIn,"LPort/lambda$1$Type",1284),Vfn(1286,1,cSn,qt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Mit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Mit)},TF(pIn,"LPort/lambda$2$Type",1286),Vfn(1287,1,cSn,Gt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Tit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Tit)},TF(pIn,"LPort/lambda$3$Type",1287),Vfn(1288,1,cSn,zt),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Hit)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Hit)},TF(pIn,"LPort/lambda$4$Type",1288),Vfn(1289,1,cSn,Ut),Bjn.Lb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Git)},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return Y2(),Jx(n,11).j==(Ckn(),Git)},TF(pIn,"LPort/lambda$5$Type",1289),Vfn(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},GF),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new pb(this.a)},Bjn.Ib=function(){return"L_"+fJ(this.b.b,this,0)+zun(this.a)},TF(pIn,"Layer",29),Vfn(1342,1,{},dv),TF(AIn,$In,1342),Vfn(1346,1,{},Xt),Bjn.Kb=function(n){return run(Jx(n,82))},TF(AIn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),Vfn(1349,1,{},Wt),Bjn.Kb=function(n){return run(Jx(n,82))},TF(AIn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),Vfn(1343,1,IEn,dw),Bjn.td=function(n){mfn(this.a,Jx(n,118))},TF(AIn,LIn,1343),Vfn(1344,1,IEn,gw),Bjn.td=function(n){mfn(this.a,Jx(n,118))},TF(AIn,NIn,1344),Vfn(1345,1,{},Vt),Bjn.Kb=function(n){return new PR(null,new xz(function(n){return!n.c&&(n.c=new $N(nct,n,5,8)),n.c}(Jx(n,79)),16))},TF(AIn,xIn,1345),Vfn(1347,1,JEn,pw),Bjn.Mb=function(n){return function(n,t){return WZ(t,MG(n))}(this.a,Jx(n,33))},TF(AIn,DIn,1347),Vfn(1348,1,{},Qt),Bjn.Kb=function(n){return new PR(null,new xz(function(n){return!n.b&&(n.b=new $N(nct,n,4,7)),n.b}(Jx(n,79)),16))},TF(AIn,"ElkGraphImporter/lambda$5$Type",1348),Vfn(1350,1,JEn,vw),Bjn.Mb=function(n){return function(n,t){return WZ(t,MG(n))}(this.a,Jx(n,33))},TF(AIn,"ElkGraphImporter/lambda$7$Type",1350),Vfn(1351,1,JEn,Yt),Bjn.Mb=function(n){return function(n){return Vhn(n)&&ty(fL(Eln(n,(pjn(),O1n))))}(Jx(n,79))},TF(AIn,"ElkGraphImporter/lambda$8$Type",1351),Vfn(1278,1,{},Wh),TF(AIn,"ElkGraphLayoutTransferrer",1278),Vfn(1279,1,JEn,mw),Bjn.Mb=function(n){return function(n,t){return XE(),!F3(t.d.i,n)}(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),Vfn(1280,1,IEn,yw),Bjn.td=function(n){XE(),iD(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),Vfn(1281,1,JEn,kw),Bjn.Mb=function(n){return function(n,t){return XE(),F3(t.d.i,n)}(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),Vfn(1282,1,IEn,jw),Bjn.td=function(n){XE(),iD(this.a,Jx(n,17))},TF(AIn,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),Vfn(1485,1,gIn,Jt),Bjn.pf=function(n,t){!function(n,t){cun(t,RIn,1),PE(VJ(new PR(null,new xz(n.b,16)),new Zt),new ne),Kon(t)}(Jx(n,37),t)},TF(KIn,"CommentNodeMarginCalculator",1485),Vfn(1486,1,{},Zt),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,29).a,16))},TF(KIn,"CommentNodeMarginCalculator/lambda$0$Type",1486),Vfn(1487,1,IEn,ne),Bjn.td=function(n){!function(n){var t,i,r,c,a,u,o,s,h,f,l,b;if(o=n.d,l=Jx($un(n,(Ajn(),ZQn)),15),t=Jx($un(n,YVn),15),l||t){if(a=ey(lL(vnn(n,(pjn(),$0n)))),u=ey(lL(vnn(n,L0n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=Jx(c.Pb(),10),h=e.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),o.d+=h+u}if(i=0,t){for(h=0,c=t.Kc();c.Ob();)r=Jx(c.Pb(),10),h=e.Math.max(h,r.o.b),i+=r.o.a;i+=a*(t.gc()-1),o.a+=h+u}(s=e.Math.max(b,i))>n.o.a&&(f=(s-n.o.a)/2,o.b=e.Math.max(o.b,f),o.c=e.Math.max(o.c,f))}}(Jx(n,10))},TF(KIn,"CommentNodeMarginCalculator/lambda$1$Type",1487),Vfn(1488,1,gIn,te),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(cun(t,"Comment post-processing",1),c=new pb(n.b);c.a0&&Zgn((Lz(0,e.c.length),Jx(e.c[0],29)),n),e.c.length>1&&Zgn(Jx(MR(e,e.c.length-1),29),n),Kon(t)}(Jx(n,37),t)},TF(KIn,"HierarchicalPortPositionProcessor",1517),Vfn(1518,1,gIn,Vh),Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(n.b=t,n.a=Jx($un(t,(pjn(),M1n)),19).a,n.c=Jx($un(t,P1n),19).a,0==n.c&&(n.c=Jjn),g=new ZU(t.b,0);g.b=n.a&&(r=xvn(n,v),l=e.Math.max(l,r.b),y=e.Math.max(y,r.d),iD(o,new yP(v,r)));for(E=new rp,f=0;f0),g.a.Xb(g.c=--g.b),nN(g,T=new GF(n.b)),P$(g.b=2){for(b=!0,e=Jx(qz(h=new pb(r.j)),11),f=null;h.a0)}(Jx(n,17))},TF(KIn,"PartitionPreprocessor/lambda$2$Type",1577),Vfn(1578,1,IEn,ki),Bjn.td=function(n){!function(n){var t;yvn(n,!0),t=fTn,A$(n,(pjn(),S0n))&&(t+=Jx($un(n,S0n),19).a),w5(n,S0n,g9(t))}(Jx(n,17))},TF(KIn,"PartitionPreprocessor/lambda$3$Type",1578),Vfn(1579,1,gIn,rf),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(cun(t,"Port order processing",1),u=Jx($un(n,(pjn(),E0n)),421),e=new pb(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;own(xE(NE(DE(LE(new ev,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new SE,r=new pb(n.d.a);r.a1)for(t=qA((e=new iv,++n.b,e),n.d),u=nen(c,0);u.b!=u.d.c;)a=Jx(CX(u),121),own(xE(NE(DE(LE(new ev,1),0),t),a))}(this),zgn(Ox(this.d),new um),c=new pb(this.a.a.b);c.a=g&&(iD(a,g9(f)),m=e.Math.max(m,y[f-1]-l),o+=d,p+=y[f-1]-p,l=y[f-1],d=s[f]),d=e.Math.max(d,s[f]),++f;o+=d}(w=e.Math.min(1/m,1/t.b/o))>r&&(r=w,i=a)}return i},Bjn.Wf=function(){return!1},TF(tCn,"MSDCutIndexHeuristic",802),Vfn(1617,1,gIn,Sc),Bjn.pf=function(n,t){Ovn(Jx(n,37),t)},TF(tCn,"SingleEdgeGraphWrapper",1617),Vfn(227,22,{3:1,35:1,22:1,227:1},BM);var mWn,yWn,kWn,jWn=W1(eCn,"CenterEdgeLabelPlacementStrategy",227,o_n,(function(){return vsn(),D4(zy(jWn,1),WEn,227,0,[wWn,gWn,bWn,dWn,pWn,lWn])}),(function(n){return vsn(),cZ((k1(),mWn),n)}));Vfn(422,22,{3:1,35:1,22:1,422:1},HM);var EWn,TWn,MWn,SWn,PWn=W1(eCn,"ConstraintCalculationStrategy",422,o_n,(function(){return uY(),D4(zy(PWn,1),WEn,422,0,[yWn,kWn])}),(function(n){return uY(),cZ(($W(),EWn),n)}));Vfn(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},qM),Bjn.Kf=function(){return Phn(this)},Bjn.Xf=function(){return Phn(this)};var IWn,CWn,OWn,AWn,$Wn=W1(eCn,"CrossingMinimizationStrategy",314,o_n,(function(){return A0(),D4(zy($Wn,1),WEn,314,0,[MWn,TWn,SWn])}),(function(n){return A0(),cZ((MQ(),IWn),n)}));Vfn(337,22,{3:1,35:1,22:1,337:1},GM);var LWn,NWn,xWn,DWn,RWn,KWn,_Wn=W1(eCn,"CuttingStrategy",337,o_n,(function(){return l0(),D4(zy(_Wn,1),WEn,337,0,[CWn,AWn,OWn])}),(function(n){return l0(),cZ((SQ(),LWn),n)}));Vfn(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},zM),Bjn.Kf=function(){return lln(this)},Bjn.Xf=function(){return lln(this)};var FWn,BWn,HWn,qWn=W1(eCn,"CycleBreakingStrategy",335,o_n,(function(){return yin(),D4(zy(qWn,1),WEn,335,0,[xWn,NWn,RWn,KWn,DWn])}),(function(n){return yin(),cZ((bZ(),FWn),n)}));Vfn(419,22,{3:1,35:1,22:1,419:1},UM);var GWn,zWn,UWn,XWn,WWn=W1(eCn,"DirectionCongruency",419,o_n,(function(){return lZ(),D4(zy(WWn,1),WEn,419,0,[BWn,HWn])}),(function(n){return lZ(),cZ((IW(),GWn),n)}));Vfn(450,22,{3:1,35:1,22:1,450:1},XM);var VWn,QWn,YWn,JWn,ZWn,nVn,tVn,eVn=W1(eCn,"EdgeConstraint",450,o_n,(function(){return r5(),D4(zy(eVn,1),WEn,450,0,[UWn,zWn,XWn])}),(function(n){return r5(),cZ((PQ(),VWn),n)}));Vfn(276,22,{3:1,35:1,22:1,276:1},WM);var iVn,rVn,cVn,aVn=W1(eCn,"EdgeLabelSideSelection",276,o_n,(function(){return von(),D4(zy(aVn,1),WEn,276,0,[YWn,QWn,ZWn,JWn,tVn,nVn])}),(function(n){return von(),cZ((M1(),iVn),n)}));Vfn(479,22,{3:1,35:1,22:1,479:1},VM);var uVn,oVn,sVn,hVn,fVn,lVn,bVn,wVn=W1(eCn,"EdgeStraighteningStrategy",479,o_n,(function(){return aJ(),D4(zy(wVn,1),WEn,479,0,[cVn,rVn])}),(function(n){return aJ(),cZ((CW(),uVn),n)}));Vfn(274,22,{3:1,35:1,22:1,274:1},QM);var dVn,gVn,pVn,vVn,mVn,yVn,kVn,jVn=W1(eCn,"FixedAlignment",274,o_n,(function(){return Vcn(),D4(zy(jVn,1),WEn,274,0,[fVn,hVn,bVn,sVn,lVn,oVn])}),(function(n){return Vcn(),cZ((E1(),dVn),n)}));Vfn(275,22,{3:1,35:1,22:1,275:1},YM);var EVn,TVn,MVn,SVn,PVn,IVn,CVn,OVn,AVn,$Vn,LVn,NVn=W1(eCn,"GraphCompactionStrategy",275,o_n,(function(){return oon(),D4(zy(NVn,1),WEn,275,0,[yVn,pVn,kVn,mVn,vVn,gVn])}),(function(n){return oon(),cZ((j1(),EVn),n)}));Vfn(256,22,{3:1,35:1,22:1,256:1},JM);var xVn,DVn,RVn,KVn,_Vn=W1(eCn,"GraphProperties",256,o_n,(function(){return idn(),D4(zy(_Vn,1),WEn,256,0,[MVn,PVn,IVn,CVn,OVn,AVn,LVn,TVn,SVn,$Vn])}),(function(n){return idn(),cZ((t5(),xVn),n)}));Vfn(292,22,{3:1,35:1,22:1,292:1},ZM);var FVn,BVn,HVn,qVn,GVn=W1(eCn,"GreedySwitchType",292,o_n,(function(){return c4(),D4(zy(GVn,1),WEn,292,0,[RVn,KVn,DVn])}),(function(n){return c4(),cZ((OQ(),FVn),n)}));Vfn(303,22,{3:1,35:1,22:1,303:1},nS);var zVn,UVn,XVn,WVn=W1(eCn,"InLayerConstraint",303,o_n,(function(){return $J(),D4(zy(WVn,1),WEn,303,0,[HVn,qVn,BVn])}),(function(n){return $J(),cZ((CQ(),zVn),n)}));Vfn(420,22,{3:1,35:1,22:1,420:1},tS);var VVn,QVn,YVn,JVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn,uQn,oQn,sQn,hQn,fQn,lQn,bQn,wQn,dQn,gQn,pQn,vQn,mQn,yQn,kQn,jQn,EQn,TQn,MQn,SQn,PQn,IQn,CQn,OQn,AQn,$Qn,LQn,NQn,xQn,DQn,RQn,KQn,_Qn,FQn,BQn,HQn,qQn,GQn,zQn,UQn,XQn,WQn,VQn,QQn,YQn,JQn,ZQn,nYn,tYn,eYn,iYn,rYn,cYn=W1(eCn,"InteractiveReferencePoint",420,o_n,(function(){return gX(),D4(zy(cYn,1),WEn,420,0,[UVn,XVn])}),(function(n){return gX(),cZ((LW(),VVn),n)}));Vfn(163,22,{3:1,35:1,22:1,163:1},aS);var aYn,uYn,oYn,sYn,hYn,fYn,lYn,bYn,wYn,dYn,gYn,pYn,vYn,mYn,yYn,kYn,jYn,EYn,TYn,MYn,SYn,PYn,IYn,CYn,OYn,AYn,$Yn,LYn,NYn,xYn,DYn,RYn,KYn,_Yn,FYn,BYn,HYn,qYn,GYn,zYn,UYn,XYn,WYn,VYn,QYn,YYn,JYn,ZYn,nJn,tJn,eJn,iJn,rJn,cJn,aJn,uJn,oJn,sJn,hJn,fJn,lJn,bJn,wJn,dJn,gJn,pJn,vJn,mJn,yJn,kJn,jJn,EJn,TJn,MJn,SJn,PJn,IJn,CJn,OJn,AJn,$Jn,LJn,NJn,xJn,DJn,RJn,KJn,_Jn,FJn,BJn,HJn,qJn,GJn,zJn,UJn,XJn,WJn,VJn,QJn,YJn,JJn,ZJn,nZn,tZn,eZn,iZn,rZn,cZn,aZn,uZn,oZn,sZn,hZn,fZn,lZn,bZn,wZn,dZn,gZn,pZn,vZn,mZn,yZn,kZn,jZn,EZn,TZn,MZn,SZn,PZn,IZn,CZn,OZn,AZn,$Zn,LZn,NZn,xZn,DZn,RZn,KZn,_Zn,FZn,BZn,HZn,qZn,GZn,zZn,UZn,XZn,WZn,VZn,QZn,YZn,JZn,ZZn,n1n,t1n,e1n,i1n,r1n,c1n,a1n,u1n,o1n,s1n,h1n,f1n,l1n,b1n,w1n,d1n,g1n,p1n,v1n,m1n,y1n,k1n,j1n,E1n,T1n,M1n,S1n,P1n,I1n,C1n,O1n,A1n,$1n,L1n,N1n,x1n,D1n,R1n,K1n,_1n,F1n,B1n,H1n,q1n,G1n,z1n,U1n,X1n,W1n,V1n,Q1n,Y1n,J1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,u0n,o0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,v0n,m0n,y0n,k0n,j0n,E0n,T0n,M0n,S0n,P0n,I0n,C0n,O0n,A0n,$0n,L0n,N0n,x0n,D0n,R0n,K0n,_0n,F0n,B0n,H0n,q0n,G0n,z0n,U0n,X0n,W0n,V0n,Q0n,Y0n,J0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,u2n,o2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n,v2n=W1(eCn,"LayerConstraint",163,o_n,(function(){return g7(),D4(zy(v2n,1),WEn,163,0,[rYn,nYn,tYn,eYn,iYn])}),(function(n){return g7(),cZ((gZ(),aYn),n)}));Vfn(848,1,lSn,of),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oCn),""),"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."),HYn),(bsn(),A7n)),WWn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sCn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(MA(),!1)),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hCn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),fJn),A7n),cYn),Z9(M7n)))),DU(n,hCn,vCn,bJn),DU(n,hCn,ICn,lJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(function(n,t){return n.f=t,n}(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bCn),""),"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),C7n),R_n),Z9(S7n)),D4(zy(lFn,1),MEn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wCn),""),"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."),QJn),A7n),a3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,dCn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),g9(7)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pCn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vCn),"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)."),FYn),A7n),qWn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,mCn),POn),"Node Layering Strategy"),"Strategy for node layering."),IJn),A7n),E2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,yCn),POn),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),vJn),A7n),v2n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,kCn),POn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,jCn),POn),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ECn),IOn),"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."),g9(4)),L7n),X_n),Z9(M7n)))),DU(n,ECn,mCn,kJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TCn),IOn),"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."),g9(2)),L7n),X_n),Z9(M7n)))),DU(n,TCn,mCn,EJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MCn),COn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),SJn),A7n),Y2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SCn),COn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),g9(0)),L7n),X_n),Z9(M7n)))),DU(n,SCn,MCn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PCn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),g9(Jjn)),L7n),X_n),Z9(M7n)))),DU(n,PCn,mCn,dJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ICn),OOn),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),KYn),A7n),$Wn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CCn),OOn),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,OCn),OOn),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),O7n),q_n),Z9(M7n)))),DU(n,OCn,AOn,$Yn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ACn),OOn),"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),C7n),R_n),Z9(M7n)))),DU(n,ACn,ICn,DYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,$Cn),OOn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,LCn),OOn),"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."),g9(-1)),L7n),X_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NCn),$On),"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."),g9(40)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xCn),$On),"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."),CYn),A7n),GVn),Z9(M7n)))),DU(n,xCn,ICn,OYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DCn),"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."),MYn),A7n),GVn),Z9(M7n)))),DU(n,DCn,ICn,SYn),DU(n,DCn,AOn,PYn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,RCn),LOn),"Node Placement Strategy"),"Strategy for node placement."),WJn),A7n),U2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,KCn),LOn),"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."),C7n),R_n),Z9(M7n)))),DU(n,KCn,RCn,KJn),DU(n,KCn,RCn,_Jn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Cn),NOn),"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."),$Jn),A7n),wVn),Z9(M7n)))),DU(n,_Cn,RCn,LJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FCn),NOn),"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."),xJn),A7n),jVn),Z9(M7n)))),DU(n,FCn,RCn,DJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BCn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),O7n),q_n),Z9(M7n)))),DU(n,BCn,RCn,BJn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,HCn),"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."),A7n),D2n),Z9(T7n)))),DU(n,HCn,RCn,UJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qCn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),GJn),A7n),D2n),Z9(M7n)))),DU(n,qCn,RCn,zJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,GCn),xOn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),QYn),A7n),d3n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,zCn),xOn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),JYn),A7n),y3n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,UCn),"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."),nJn),A7n),M3n),Z9(M7n)))),DU(n,UCn,DOn,tJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,XCn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),O7n),q_n),Z9(M7n)))),DU(n,XCn,DOn,iJn),DU(n,XCn,UCn,rJn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,WCn),"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),O7n),q_n),Z9(M7n)))),DU(n,WCn,DOn,WYn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,VCn),ROn),"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."),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JCn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZCn),KOn),"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."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nOn),KOn),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,tOn),KOn),"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."),g9(0)),L7n),X_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,eOn),_On),JSn),"Tries to further compact components (disconnected sub-graphs)."),!1),C7n),R_n),Z9(M7n)))),DU(n,eOn,RPn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iOn),FOn),"Post Compaction Strategy"),BOn),lYn),A7n),NVn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,rOn),FOn),"Post Compaction Constraint Calculation"),BOn),hYn),A7n),PWn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,cOn),HOn),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,aOn),HOn),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),g9(16)),L7n),X_n),Z9(M7n)))),DU(n,aOn,cOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,uOn),HOn),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),g9(5)),L7n),X_n),Z9(M7n)))),DU(n,uOn,cOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oOn),qOn),"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'."),IZn),A7n),B3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sOn),qOn),"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),O7n),q_n),Z9(M7n)))),DU(n,sOn,oOn,uZn),DU(n,sOn,oOn,oZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hOn),qOn),"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),O7n),q_n),Z9(M7n)))),DU(n,hOn,oOn,hZn),DU(n,hOn,oOn,fZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fOn),GOn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),vZn),A7n),_Wn),Z9(M7n)))),DU(n,fOn,oOn,mZn),DU(n,fOn,oOn,yZn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,lOn),GOn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),N7n),ZKn),Z9(M7n)))),DU(n,lOn,fOn,bZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bOn),"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."),dZn),L7n),X_n),Z9(M7n)))),DU(n,bOn,fOn,gZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wOn),zOn),"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."),LZn),A7n),O3n),Z9(M7n)))),DU(n,wOn,oOn,NZn),DU(n,wOn,oOn,xZn),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,dOn),zOn),"Valid Indices for Wrapping"),null),N7n),ZKn),Z9(M7n)))),DU(n,dOn,oOn,OZn),DU(n,dOn,oOn,AZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gOn),UOn),"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),C7n),R_n),Z9(M7n)))),DU(n,gOn,oOn,TZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pOn),UOn),"Distance Penalty When Improving Cuts"),null),2),O7n),q_n),Z9(M7n)))),DU(n,pOn,oOn,jZn),DU(n,pOn,gOn,!0),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vOn),UOn),"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),C7n),R_n),Z9(M7n)))),DU(n,vOn,oOn,SZn),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,mOn),XOn),"Edge Label Side Selection"),"Method to decide on edge label sides."),UYn),A7n),aVn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,yOn),XOn),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),GYn),A7n),jWn),eK(M7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,kOn),WOn),"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."),kYn),A7n),t3n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,jOn),WOn),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,EOn),WOn),"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."),wYn),A7n),Nzn),Z9(M7n)))),DU(n,EOn,RPn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TOn),WOn),"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."),vYn),A7n),C2n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MOn),WOn),"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),O7n),q_n),Z9(M7n)))),DU(n,MOn,kOn,null),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,SOn),WOn),"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),O7n),q_n),Z9(M7n)))),DU(n,SOn,kOn,null),Rjn((new ff,n))},TF(eCn,"LayeredMetaDataProvider",848),Vfn(986,1,lSn,ff),Bjn.Qe=function(n){Rjn(n)},TF(eCn,"LayeredOptions",986),Vfn(987,1,{},Ic),Bjn.$e=function(){return new av},Bjn._e=function(n){},TF(eCn,"LayeredOptions/LayeredFactory",987),Vfn(1372,1,{}),Bjn.a=0,TF(DAn,"ElkSpacings/AbstractSpacingsBuilder",1372),Vfn(779,1372,{},H7),TF(eCn,"LayeredSpacings/LayeredSpacingsBuilder",779),Vfn(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},eS),Bjn.Kf=function(){return cbn(this)},Bjn.Xf=function(){return cbn(this)};var m2n,y2n,k2n,j2n,E2n=W1(eCn,"LayeringStrategy",313,o_n,(function(){return tun(),D4(zy(E2n,1),WEn,313,0,[g2n,w2n,l2n,b2n,p2n,d2n])}),(function(n){return tun(),cZ((T1(),m2n),n)}));Vfn(378,22,{3:1,35:1,22:1,378:1},iS);var T2n,M2n,S2n,P2n,I2n,C2n=W1(eCn,"LongEdgeOrderingStrategy",378,o_n,(function(){return r8(),D4(zy(C2n,1),WEn,378,0,[y2n,k2n,j2n])}),(function(n){return r8(),cZ((AQ(),T2n),n)}));Vfn(197,22,{3:1,35:1,22:1,197:1},rS);var O2n,A2n,$2n,L2n,N2n,x2n,D2n=W1(eCn,"NodeFlexibility",197,o_n,(function(){return qen(),D4(zy(D2n,1),WEn,197,0,[P2n,I2n,S2n,M2n])}),(function(n){return qen(),cZ((ZY(),O2n),n)}));Vfn(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},cS),Bjn.Kf=function(){return fln(this)},Bjn.Xf=function(){return fln(this)};var R2n,K2n,_2n,F2n,B2n,H2n,q2n,G2n,z2n,U2n=W1(eCn,"NodePlacementStrategy",315,o_n,(function(){return uin(),D4(zy(U2n,1),WEn,315,0,[x2n,$2n,L2n,A2n,N2n])}),(function(n){return uin(),cZ((wZ(),R2n),n)}));Vfn(260,22,{3:1,35:1,22:1,260:1},uS);var X2n,W2n,V2n,Q2n,Y2n=W1(eCn,"NodePromotionStrategy",260,o_n,(function(){return Fbn(),D4(zy(Y2n,1),WEn,260,0,[G2n,_2n,H2n,F2n,B2n,K2n,q2n,z2n])}),(function(n){return Fbn(),cZ((p3(),X2n),n)}));Vfn(339,22,{3:1,35:1,22:1,339:1},oS);var J2n,Z2n,n3n,t3n=W1(eCn,"OrderingStrategy",339,o_n,(function(){return j5(),D4(zy(t3n,1),WEn,339,0,[V2n,W2n,Q2n])}),(function(n){return j5(),cZ((LQ(),J2n),n)}));Vfn(421,22,{3:1,35:1,22:1,421:1},sS);var e3n,i3n,r3n,c3n,a3n=W1(eCn,"PortSortingStrategy",421,o_n,(function(){return LJ(),D4(zy(a3n,1),WEn,421,0,[Z2n,n3n])}),(function(n){return LJ(),cZ((AW(),e3n),n)}));Vfn(452,22,{3:1,35:1,22:1,452:1},hS);var u3n,o3n,s3n,h3n,f3n=W1(eCn,"PortType",452,o_n,(function(){return f0(),D4(zy(f3n,1),WEn,452,0,[c3n,i3n,r3n])}),(function(n){return f0(),cZ((NQ(),u3n),n)}));Vfn(375,22,{3:1,35:1,22:1,375:1},fS);var l3n,b3n,w3n,d3n=W1(eCn,"SelfLoopDistributionStrategy",375,o_n,(function(){return g3(),D4(zy(d3n,1),WEn,375,0,[o3n,s3n,h3n])}),(function(n){return g3(),cZ(($Q(),l3n),n)}));Vfn(376,22,{3:1,35:1,22:1,376:1},lS);var g3n,p3n,v3n,m3n,y3n=W1(eCn,"SelfLoopOrderingStrategy",376,o_n,(function(){return cQ(),D4(zy(y3n,1),WEn,376,0,[w3n,b3n])}),(function(n){return cQ(),cZ((OW(),g3n),n)}));Vfn(304,1,{304:1},vyn),TF(eCn,"Spacings",304),Vfn(336,22,{3:1,35:1,22:1,336:1},bS);var k3n,j3n,E3n,T3n,M3n=W1(eCn,"SplineRoutingMode",336,o_n,(function(){return L6(),D4(zy(M3n,1),WEn,336,0,[p3n,v3n,m3n])}),(function(n){return L6(),cZ((DQ(),k3n),n)}));Vfn(338,22,{3:1,35:1,22:1,338:1},wS);var S3n,P3n,I3n,C3n,O3n=W1(eCn,"ValidifyStrategy",338,o_n,(function(){return Q2(),D4(zy(O3n,1),WEn,338,0,[T3n,j3n,E3n])}),(function(n){return Q2(),cZ((RQ(),S3n),n)}));Vfn(377,22,{3:1,35:1,22:1,377:1},dS);var A3n,$3n,L3n,N3n,x3n,D3n,R3n,K3n,_3n,F3n,B3n=W1(eCn,"WrappingStrategy",377,o_n,(function(){return B4(),D4(zy(B3n,1),WEn,377,0,[I3n,C3n,P3n])}),(function(n){return B4(),cZ((xQ(),A3n),n)}));Vfn(1383,1,_An,lf),Bjn.Yf=function(n){return Jx(n,37),$3n},Bjn.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(cun(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new rp,n.d=QQ(Qot,dSn,25,o,16,1),n.a=QQ(Qot,dSn,25,o,16,1),n.b=new rp,c=0,u=new pb(s);u.a0?S+1:1);for(a=new pb(k.g);a.a0?S+1:1)}0==n.c[s]?_D(n.e,d):0==n.a[s]&&_D(n.f,d),++s}for(w=-1,b=1,f=new rp,n.d=Jx($un(t,(Ajn(),BQn)),230);A>0;){for(;0!=n.e.b;)I=Jx(yD(n.e),10),n.b[I.p]=w--,Xgn(n,I),--A;for(;0!=n.f.b;)C=Jx(yD(n.f),10),n.b[C.p]=b++,Xgn(n,C),--A;if(A>0){for(l=tTn,v=new pb(m);v.a=l&&(y>l&&(f.c=QQ(XKn,rEn,1,0,5,1),l=y),f.c[f.c.length]=d);h=n.Zf(f),n.b[h.p]=b++,Xgn(n,h),--A}}for(P=m.c.length+1,s=0;sn.b[O]&&(yvn(i,!0),w5(t,rQn,(MA(),!0)));n.a=null,n.c=null,n.b=null,HH(n.f),HH(n.e),Kon(e)}(this,Jx(n,37),t)},Bjn.Zf=function(n){return Jx(MR(n,Xen(this.d,n.c.length)),10)},TF(FAn,"GreedyCycleBreaker",782),Vfn(1386,782,_An,_P),Bjn.Zf=function(n){var t,e,i,r;for(r=null,t=Jjn,i=new pb(n);i.a0&&isn(n,u,h);for(r=new pb(h);r.a=s){P$(v.b>0),v.a.Xb(v.c=--v.b);break}g.a>h&&(c?(P4(c.b,g.b),c.a=e.Math.max(c.a,g.a),fB(v)):(iD(g.b,l),g.c=e.Math.min(g.c,h),g.a=e.Math.max(g.a,s),c=g))}c||((c=new pv).c=h,c.a=s,nN(v,c),iD(c.b,l))}for(o=t.b,f=0,p=new pb(r);p.at.p?-1:0}(Jx(n,10),Jx(t,10))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(BAn,"StretchWidthLayerer/1",1394),Vfn(402,1,HAn),Bjn.Nf=function(n,t,e,i,r,c){},Bjn._f=function(n,t,e){return npn(this,n,t,e)},Bjn.Mf=function(){this.g=QQ(nst,qAn,25,this.d,15,1),this.f=QQ(nst,qAn,25,this.d,15,1)},Bjn.Of=function(n,t){this.e[n]=QQ(Vot,STn,25,t[n].length,15,1)},Bjn.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},Bjn.Qf=function(n,t,e,i){Jx(MR(i[n][t].j,e),11).p=this.d++},Bjn.b=0,Bjn.c=0,Bjn.d=0,TF(GAn,"AbstractBarycenterPortDistributor",402),Vfn(1633,1,BMn,sd),Bjn.ue=function(n,t){return function(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:L9(i,r))}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(GAn,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),Vfn(817,1,QIn,dX),Bjn.Nf=function(n,t,e,i,r,c){},Bjn.Pf=function(n,t,e){},Bjn.Qf=function(n,t,e,i){},Bjn.Lf=function(){return!1},Bjn.Mf=function(){this.c=this.e.a,this.g=this.f.g},Bjn.Of=function(n,t){t[n][0].c.p=n},Bjn.Rf=function(){return!1},Bjn.ag=function(n,t,e,i){e?Acn(this,n):(zcn(this,n,i),Hyn(this,n,t)),n.c.length>1&&(ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),(pjn(),QZn))))?zln(n,this.d,Jx(this,660)):(WH(),ZC(n,this.d)),o4(this.e,n))},Bjn.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=LR(e,n.length)&&(c=n[t-(e?1:-1)],bQ(this.f,c,e?(f0(),r3n):(f0(),i3n))),r=n[t][0],h=!i||r.k==(won(),Fzn),s=RV(n[t]),this.ag(s,h,!1,e),a=0,o=new pb(s);o.a"),n0?RG(this.a,n[t-1],n[t]):!e&&t0&&(e+=o.n.a+o.o.a/2,++f),b=new pb(o.j);b.a0&&(e/=f),g=QQ(Zot,cMn,25,i.a.c.length,15,1),u=0,s=new pb(i.a);s.a1&&(ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),(pjn(),QZn))))?zln(n,this.d,this):(WH(),ZC(n,this.d)),ty(fL($un(gB((Lz(0,n.c.length),Jx(n.c[0],10))),QZn)))||o4(this.e,n))},TF(GAn,"ModelOrderBarycenterHeuristic",660),Vfn(1803,1,BMn,vd),Bjn.ue=function(n,t){return xon(this.a,Jx(n,10),Jx(t,10))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(GAn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),Vfn(1403,1,_An,yf),Bjn.Yf=function(n){var t;return Jx(n,37),sR(t=mC(Y3n),(Lun(),nzn),(Ljn(),eXn)),t},Bjn.pf=function(n,t){!function(n){cun(n,"No crossing minimization",1),Kon(n)}((Jx(n,37),t))},TF(GAn,"NoCrossingMinimizer",1403),Vfn(796,402,HAn,kk),Bjn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new pb(n.j);h.a1&&(r.j==(Ckn(),Tit)?this.b[n]=!0:r.j==Git&&n>0&&(this.b[n-1]=!0))},Bjn.f=0,TF(VIn,"AllCrossingsCounter",1798),Vfn(587,1,{},h2),Bjn.b=0,Bjn.d=0,TF(VIn,"BinaryIndexedTree",587),Vfn(524,1,{},cx),TF(VIn,"CrossingsCounter",524),Vfn(1906,1,BMn,md),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$0$Type",1906),Vfn(1907,1,BMn,yd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$1$Type",1907),Vfn(1908,1,BMn,kd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$2$Type",1908),Vfn(1909,1,BMn,jd),Bjn.ue=function(n,t){return function(n,t,e){return iO(n.d[t.p],n.d[e.p])}(this.a,Jx(n,11),Jx(t,11))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(VIn,"CrossingsCounter/lambda$3$Type",1909),Vfn(1910,1,IEn,Ed),Bjn.td=function(n){!function(n,t){gD(),iD(n,new yP(t,g9(t.e.c.length+t.g.c.length)))}(this.a,Jx(n,11))},TF(VIn,"CrossingsCounter/lambda$4$Type",1910),Vfn(1911,1,JEn,Td),Bjn.Mb=function(n){return function(n,t){return gD(),t!=n}(this.a,Jx(n,11))},TF(VIn,"CrossingsCounter/lambda$5$Type",1911),Vfn(1912,1,IEn,Md),Bjn.td=function(n){xP(this,n)},TF(VIn,"CrossingsCounter/lambda$6$Type",1912),Vfn(1913,1,IEn,vS),Bjn.td=function(n){var t;gD(),AX(this.b,(t=this.a,Jx(n,11),t))},TF(VIn,"CrossingsCounter/lambda$7$Type",1913),Vfn(826,1,cSn,xc),Bjn.Lb=function(n){return gD(),A$(Jx(n,11),(Ajn(),KQn))},Bjn.Fb=function(n){return this===n},Bjn.Mb=function(n){return gD(),A$(Jx(n,11),(Ajn(),KQn))},TF(VIn,"CrossingsCounter/lambda$8$Type",826),Vfn(1905,1,{},Sd),TF(VIn,"HyperedgeCrossingsCounter",1905),Vfn(467,1,{35:1,467:1},lN),Bjn.wd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:V5(n)-V5(t)}(this,Jx(n,467))},Bjn.b=0,Bjn.c=0,Bjn.e=0,Bjn.f=0;var t4n=TF(VIn,"HyperedgeCrossingsCounter/Hyperedge",467);Vfn(362,1,{35:1,362:1},pH),Bjn.wd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?V5(n.a)-V5(t.a):n.d==(zW(),i4n)&&t.d==e4n?-1:n.d==e4n&&t.d==i4n?1:0}(this,Jx(n,362))},Bjn.b=0,Bjn.c=0;var e4n,i4n,r4n=TF(VIn,"HyperedgeCrossingsCounter/HyperedgeCorner",362);Vfn(523,22,{3:1,35:1,22:1,523:1},pS);var c4n,a4n,u4n,o4n,s4n,h4n=W1(VIn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,o_n,(function(){return zW(),D4(zy(h4n,1),WEn,523,0,[i4n,e4n])}),(function(n){return zW(),cZ((xW(),c4n),n)}));Vfn(1405,1,_An,hf),Bjn.Yf=function(n){return Jx($un(Jx(n,37),(Ajn(),wQn)),21).Hc((idn(),PVn))?a4n:null},Bjn.pf=function(n,t){!function(n,t,e){var i;for(cun(e,"Interactive node placement",1),n.a=Jx($un(t,(Ajn(),UQn)),304),i=new pb(t.b);i.a1},TF(zAn,"NetworkSimplexPlacer/lambda$18$Type",1431),Vfn(1432,1,IEn,mH),Bjn.td=function(n){!function(n,t,e,i,r){fz(),own(xE(NE(LE(DE(new ev,0),r.d.e-n),t),r.d)),own(xE(NE(LE(DE(new ev,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,Jx(n,401))},Bjn.c=0,Bjn.d=0,TF(zAn,"NetworkSimplexPlacer/lambda$19$Type",1432),Vfn(1415,1,{},Xc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$2$Type",1415),Vfn(1433,1,IEn,Od),Bjn.td=function(n){!function(n,t){fz(),t.n.b+=n}(this.a,Jx(n,11))},Bjn.a=0,TF(zAn,"NetworkSimplexPlacer/lambda$20$Type",1433),Vfn(1434,1,{},Wc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$21$Type",1434),Vfn(1435,1,IEn,Ad),Bjn.td=function(n){KO(this.a,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$22$Type",1435),Vfn(1436,1,JEn,Vc),Bjn.Mb=function(n){return PL(n)},TF(zAn,"NetworkSimplexPlacer/lambda$23$Type",1436),Vfn(1437,1,{},Qc),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$24$Type",1437),Vfn(1438,1,JEn,$d),Bjn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$25$Type",1438),Vfn(1439,1,IEn,kS),Bjn.td=function(n){!function(n,t,e){var i,r,c;for(r=new LK(wA(u7(e).a.Kc(),new h));Qfn(r);)nV(i=Jx(jV(r),17))||!nV(i)&&i.c.i.c==i.d.i.c||(c=Obn(n,i,e,new kv)).c.length>1&&(t.c[t.c.length]=c)}(this.a,this.b,Jx(n,10))},TF(zAn,"NetworkSimplexPlacer/lambda$26$Type",1439),Vfn(1440,1,JEn,Yc),Bjn.Mb=function(n){return fz(),!nV(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$27$Type",1440),Vfn(1441,1,JEn,Jc),Bjn.Mb=function(n){return fz(),!nV(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$28$Type",1441),Vfn(1442,1,{},Ld),Bjn.Ce=function(n,t){return $O(this.a,Jx(n,29),Jx(t,29))},TF(zAn,"NetworkSimplexPlacer/lambda$29$Type",1442),Vfn(1416,1,{},Zc),Bjn.Kb=function(n){return fz(),new PR(null,new tF(new LK(wA(s7(Jx(n,10)).a.Kc(),new h))))},TF(zAn,"NetworkSimplexPlacer/lambda$3$Type",1416),Vfn(1417,1,JEn,na),Bjn.Mb=function(n){return fz(),function(n){return fz(),!(nV(n)||!nV(n)&&n.c.i.c==n.d.i.c)}(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$4$Type",1417),Vfn(1418,1,IEn,Nd),Bjn.td=function(n){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b;i=qA(new iv,n.f),o=n.i[t.c.i.p],l=n.i[t.d.i.p],u=t.c,f=t.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=sG(e.Math.max(0,a-h)),c=sG(e.Math.max(0,h-a)),b=e.Math.max(1,Jx($un(t,(pjn(),I0n)),19).a)*zX(t.c.i.k,t.d.i.k),r=new mS(own(xE(NE(LE(DE(new ev,b),c),i),Jx(HF(n.k,t.c),121))),own(xE(NE(LE(DE(new ev,b),s),i),Jx(HF(n.k,t.d),121)))),n.c[t.p]=r}(this.a,Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$5$Type",1418),Vfn(1419,1,{},ta),Bjn.Kb=function(n){return fz(),new PR(null,new xz(Jx(n,29).a,16))},TF(zAn,"NetworkSimplexPlacer/lambda$6$Type",1419),Vfn(1420,1,JEn,ea),Bjn.Mb=function(n){return fz(),Jx(n,10).k==(won(),qzn)},TF(zAn,"NetworkSimplexPlacer/lambda$7$Type",1420),Vfn(1421,1,{},ia),Bjn.Kb=function(n){return fz(),new PR(null,new tF(new LK(wA(u7(Jx(n,10)).a.Kc(),new h))))},TF(zAn,"NetworkSimplexPlacer/lambda$8$Type",1421),Vfn(1422,1,JEn,ra),Bjn.Mb=function(n){return fz(),function(n){return!nV(n)&&n.c.i.c==n.d.i.c}(Jx(n,17))},TF(zAn,"NetworkSimplexPlacer/lambda$9$Type",1422),Vfn(1404,1,_An,Sf),Bjn.Yf=function(n){return Jx($un(Jx(n,37),(Ajn(),wQn)),21).Hc((idn(),PVn))?w4n:null},Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l;for(cun(t,"Simple node placement",1),l=Jx($un(n,(Ajn(),UQn)),304),o=0,a=new pb(n.b);a.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),b0&&(k-=d),Ymn(u,k),l=0,w=new pb(u.a);w.a0),o.a.Xb(o.c=--o.b)),s=.4*r*l,!a&&o.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},Bjn.d=0,TF(QAn,"HyperEdgeSegmentDependency",129),Vfn(520,22,{3:1,35:1,22:1,520:1},SS);var H4n,q4n,G4n,z4n,U4n,X4n,W4n,V4n,Q4n=W1(QAn,"HyperEdgeSegmentDependency/DependencyType",520,o_n,(function(){return rQ(),D4(zy(Q4n,1),WEn,520,0,[F4n,_4n])}),(function(n){return rQ(),cZ((NW(),H4n),n)}));Vfn(1815,1,{},Dd),TF(QAn,"HyperEdgeSegmentSplitter",1815),Vfn(1816,1,{},Ck),Bjn.a=0,Bjn.b=0,TF(QAn,"HyperEdgeSegmentSplitter/AreaRating",1816),Vfn(329,1,{329:1},Nx),Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(QAn,"HyperEdgeSegmentSplitter/FreeArea",329),Vfn(1817,1,BMn,ja),Bjn.ue=function(n,t){return function(n,t){return L9(n.c-n.s,t.c-t.s)}(Jx(n,112),Jx(t,112))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(QAn,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),Vfn(1818,1,IEn,kH),Bjn.td=function(n){YX(this.a,this.d,this.c,this.b,Jx(n,112))},Bjn.b=0,TF(QAn,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),Vfn(1819,1,{},Ea),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).e,16))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),Vfn(1820,1,{},Ta),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).j,16))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),Vfn(1821,1,{},Ma),Bjn.Fe=function(n){return ey(lL(n))},TF(QAn,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),Vfn(655,1,{},pF),Bjn.a=0,Bjn.b=0,Bjn.c=0,TF(QAn,"OrthogonalRoutingGenerator",655),Vfn(1638,1,{},Sa),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).e,16))},TF(QAn,"OrthogonalRoutingGenerator/lambda$0$Type",1638),Vfn(1639,1,{},Pa),Bjn.Kb=function(n){return new PR(null,new xz(Jx(n,112).j,16))},TF(QAn,"OrthogonalRoutingGenerator/lambda$1$Type",1639),Vfn(661,1,{}),TF(YAn,"BaseRoutingDirectionStrategy",661),Vfn(1807,661,{},Av),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(l,a=f),_D(u.a,r),jpn(this,u,c,r,!1),(b=n.r)&&(r=new YS(w=ey(lL(jen(b.e,0))),a),_D(u.a,r),jpn(this,u,c,r,!1),c=b,r=new YS(w,a=t+b.o*i),_D(u.a,r),jpn(this,u,c,r,!1)),r=new YS(g,a),_D(u.a,r),jpn(this,u,c,r,!1)))},Bjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Bjn.fg=function(){return Ckn(),Hit},Bjn.gg=function(){return Ckn(),Mit},TF(YAn,"NorthToSouthRoutingStrategy",1807),Vfn(1808,661,{},$v),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(l,a=f),_D(u.a,r),jpn(this,u,c,r,!1),(b=n.r)&&(r=new YS(w=ey(lL(jen(b.e,0))),a),_D(u.a,r),jpn(this,u,c,r,!1),c=b,r=new YS(w,a=t-b.o*i),_D(u.a,r),jpn(this,u,c,r,!1)),r=new YS(g,a),_D(u.a,r),jpn(this,u,c,r,!1)))},Bjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Bjn.fg=function(){return Ckn(),Mit},Bjn.gg=function(){return Ckn(),Hit},TF(YAn,"SouthToNorthRoutingStrategy",1808),Vfn(1806,661,{},Lv),Bjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aIPn&&(c=n,r=new YS(a=f,l),_D(u.a,r),jpn(this,u,c,r,!0),(b=n.r)&&(r=new YS(a,w=ey(lL(jen(b.e,0)))),_D(u.a,r),jpn(this,u,c,r,!0),c=b,r=new YS(a=t+b.o*i,w),_D(u.a,r),jpn(this,u,c,r,!0)),r=new YS(a,g),_D(u.a,r),jpn(this,u,c,r,!0)))},Bjn.eg=function(n){return n.i.n.b+n.n.b+n.a.b},Bjn.fg=function(){return Ckn(),Tit},Bjn.gg=function(){return Ckn(),Git},TF(YAn,"WestToEastRoutingStrategy",1806),Vfn(813,1,{},Mvn),Bjn.Ib=function(){return zun(this.a)},Bjn.b=0,Bjn.c=!1,Bjn.d=!1,Bjn.f=0,TF(ZAn,"NubSpline",813),Vfn(407,1,{407:1},Iwn,Yq),TF(ZAn,"NubSpline/PolarCP",407),Vfn(1453,1,_An,prn),Bjn.Yf=function(n){return function(n){var t,e;return M3(t=new lX,q4n),(e=Jx($un(n,(Ajn(),wQn)),21)).Hc((idn(),LVn))&&M3(t,X4n),e.Hc(TVn)&&M3(t,G4n),e.Hc(AVn)&&M3(t,U4n),e.Hc(SVn)&&M3(t,z4n),t}(Jx(n,37))},Bjn.pf=function(n,t){!function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(cun(i,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void Kon(i);v=ey(lL($un(t,(pjn(),U0n)))),o=ey(lL($un(t,_0n))),u=ey(lL($un(t,D0n))),T=Jx($un(t,m1n),336)==(L6(),m3n),E=ey(lL($un(t,y1n))),n.d=t,n.j.c=QQ(XKn,rEn,1,0,5,1),n.a.c=QQ(XKn,rEn,1,0,5,1),X_(n.k),f=sI((s=Jx(MR(t.b,0),29)).a,(kwn(),R4n)),l=sI((d=Jx(MR(t.b,t.b.c.length-1),29)).a,R4n),g=new pb(t.b),p=null,I=0;do{for(xkn(n,p,m=g.a0?(h=0,p&&(h+=o),h+=(M-1)*u,m&&(h+=o),T&&m&&(h=e.Math.max(h,fwn(m,u,v,E))),h("+this.c+") "+this.b},Bjn.c=0,TF(ZAn,"SplineEdgeRouter/Dependency",268),Vfn(455,22,{3:1,35:1,22:1,455:1},PS);var Y4n,J4n,Z4n,n5n,t5n,e5n=W1(ZAn,"SplineEdgeRouter/SideToProcess",455,o_n,(function(){return Jq(),D4(zy(e5n,1),WEn,455,0,[W4n,V4n])}),(function(n){return Jq(),cZ((KW(),Y4n),n)}));Vfn(1454,1,JEn,ya),Bjn.Mb=function(n){return jwn(),!Jx(n,128).o},TF(ZAn,"SplineEdgeRouter/lambda$0$Type",1454),Vfn(1455,1,{},ma),Bjn.Ge=function(n){return jwn(),Jx(n,128).v+1},TF(ZAn,"SplineEdgeRouter/lambda$1$Type",1455),Vfn(1456,1,IEn,IS),Bjn.td=function(n){!function(n,t,e){DB(n.b,Jx(e.b,17),t)}(this.a,this.b,Jx(n,46))},TF(ZAn,"SplineEdgeRouter/lambda$2$Type",1456),Vfn(1457,1,IEn,CS),Bjn.td=function(n){!function(n,t,e){DB(n.b,Jx(e.b,17),t)}(this.a,this.b,Jx(n,46))},TF(ZAn,"SplineEdgeRouter/lambda$3$Type",1457),Vfn(128,1,{35:1,128:1},_sn,Gmn),Bjn.wd=function(n){return function(n,t){return n.s-t.s}(this,Jx(n,128))},Bjn.b=0,Bjn.e=!1,Bjn.f=0,Bjn.g=0,Bjn.j=!1,Bjn.k=!1,Bjn.n=0,Bjn.o=!1,Bjn.p=!1,Bjn.q=!1,Bjn.s=0,Bjn.u=0,Bjn.v=0,Bjn.F=0,TF(ZAn,"SplineSegment",128),Vfn(459,1,{459:1},ka),Bjn.a=0,Bjn.b=!1,Bjn.c=!1,Bjn.d=!1,Bjn.e=!1,Bjn.f=0,TF(ZAn,"SplineSegment/EdgeInformation",459),Vfn(1234,1,{},da),TF(r$n,mPn,1234),Vfn(1235,1,BMn,ga),Bjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Jx($un(t,(aln(),X5n)),19).a-Jx($un(n,X5n),19).a)?(i=kN(gO(Jx($un(n,(cyn(),w5n)),8)),Jx($un(n,d5n),8)),r=kN(gO(Jx($un(t,w5n),8)),Jx($un(t,d5n),8)),L9(i.a*i.b,r.a*r.b)):e}(Jx(n,135),Jx(t,135))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(r$n,yPn,1235),Vfn(1233,1,{},lj),TF(r$n,"MrTree",1233),Vfn(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},OS),Bjn.Kf=function(){return Fhn(this)},Bjn.Xf=function(){return Fhn(this)};var i5n,r5n=W1(r$n,"TreeLayoutPhases",393,o_n,(function(){return _rn(),D4(zy(r5n,1),WEn,393,0,[J4n,Z4n,n5n,t5n])}),(function(n){return _rn(),cZ((VY(),i5n),n)}));Vfn(1130,209,QSn,dN),Bjn.Ze=function(n,t){var i,r,c,a,u,o;for(ty(fL(Eln(n,(aln(),q5n))))||cG(new Xb((gT(),new Wm(n)))),s4(u=new tQ,n),w5(u,(cyn(),T5n),n),function(n,t,i){var r,c,a,u,o;for(a=0,c=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));c.e!=c.i.gc();)u="",0==(!(r=Jx(fen(c),33)).n&&(r.n=new y_(uct,r,1,7)),r.n).i||(u=Jx(a1((!r.n&&(r.n=new y_(uct,r,1,7)),r.n),0),137).a),s4(o=new n6(a++,t,u),r),w5(o,(cyn(),T5n),r),o.e.b=r.j+r.f/2,o.f.a=e.Math.max(r.g,1),o.e.a=r.i+r.g/2,o.f.b=e.Math.max(r.f,1),_D(t.b,o),Jsn(i.f,r,o)}(n,u,o=new cp),function(n,t,e){var i,r,c,a,u,o,s;for(a=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new LK(wA(bbn(c=Jx(fen(a),33)).a.Kc(),new h));Qfn(r);)Kfn(i=Jx(jV(r),79))||Kfn(i)||Vhn(i)||(o=Jx(iI(Rq(e.f,c)),86),s=Jx(HF(e,run(Jx(a1((!i.c&&(i.c=new $N(nct,i,5,8)),i.c),0),82))),86),o&&s&&(w5(u=new rq(o,s),(cyn(),T5n),i),s4(u,i),_D(o.d,u),_D(s.b,u),_D(t.a,u)))}(n,u,o),a=u,r=new pb(c=ppn(this.a,a));r.al&&(P=0,I+=f+E,f=0),pbn(k,u,P,I),t=e.Math.max(t,P+j.a),f=e.Math.max(f,j.b),P+=j.a+E;for(y=new cp,i=new cp,M=new pb(n);M.a"+Yz(this.c):"e_"+V5(this)},TF(c$n,"TEdge",188),Vfn(135,134,{3:1,135:1,94:1,134:1},tQ),Bjn.Ib=function(){var n,t,e,i,r;for(r=null,i=nen(this.b,0);i.b!=i.d.c;)r+=(null==(e=Jx(CX(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=nen(this.a,0);t.b!=t.d.c;)r+=((n=Jx(CX(t),188)).b&&n.c?Yz(n.b)+"->"+Yz(n.c):"e_"+V5(n))+"\n";return r};var c5n=TF(c$n,"TGraph",135);Vfn(633,502,{3:1,502:1,633:1,94:1,134:1}),TF(c$n,"TShape",633),Vfn(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},n6),Bjn.Ib=function(){return Yz(this)};var a5n,u5n,o5n,s5n,h5n,f5n,l5n=TF(c$n,"TNode",86);Vfn(255,1,LEn,Rd),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return new Kd(nen(this.a.d,0))},TF(c$n,"TNode/2",255),Vfn(358,1,lEn,Kd),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(CX(this.a),188).c},Bjn.Ob=function(){return rj(this.a)},Bjn.Qb=function(){HZ(this.a)},TF(c$n,"TNode/2/1",358),Vfn(1840,1,gIn,wN),Bjn.pf=function(n,t){rvn(this,Jx(n,135),t)},TF(a$n,"FanProcessor",1840),Vfn(327,22,{3:1,35:1,22:1,327:1,234:1},AS),Bjn.Kf=function(){switch(this.g){case 0:return new hm;case 1:return new wN;case 2:return new Oa;case 3:return new Ia;case 4:return new $a;case 5:return new La;default:throw fp(new Ym(BIn+(null!=this.f?this.f:""+this.g)))}};var b5n,w5n,d5n,g5n,p5n,v5n,m5n,y5n,k5n,j5n,E5n,T5n,M5n,S5n,P5n,I5n,C5n,O5n,A5n,$5n,L5n,N5n,x5n,D5n,R5n,K5n,_5n,F5n,B5n,H5n,q5n,G5n,z5n,U5n,X5n,W5n,V5n,Q5n,Y5n,J5n,Z5n,n6n=W1(a$n,HIn,327,o_n,(function(){return ksn(),D4(zy(n6n,1),WEn,327,0,[f5n,u5n,s5n,o5n,h5n,a5n])}),(function(n){return ksn(),cZ((S1(),b5n),n)}));Vfn(1843,1,gIn,Ia),Bjn.pf=function(n,t){Iln(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"LevelHeightProcessor",1843),Vfn(1844,1,LEn,Ca),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return WH(),hE(),IFn},TF(a$n,"LevelHeightProcessor/1",1844),Vfn(1841,1,gIn,Oa),Bjn.pf=function(n,t){xsn(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"NeighborsProcessor",1841),Vfn(1842,1,LEn,Aa),Bjn.Jc=function(n){WW(this,n)},Bjn.Kc=function(){return WH(),hE(),IFn},TF(a$n,"NeighborsProcessor/1",1842),Vfn(1845,1,gIn,$a),Bjn.pf=function(n,t){Pln(this,Jx(n,135),t)},Bjn.a=0,TF(a$n,"NodePositionProcessor",1845),Vfn(1839,1,gIn,hm),Bjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(n.a.c=QQ(XKn,rEn,1,0,5,1),i=nen(t.b,0);i.b!=i.d.c;)0==(e=Jx(CX(i),86)).b.b&&(w5(e,(cyn(),O5n),(MA(),!0)),iD(n.a,e));switch(n.a.c.length){case 0:w5(r=new n6(0,t,"DUMMY_ROOT"),(cyn(),O5n),(MA(),!0)),w5(r,p5n,!0),_D(t.b,r);break;case 1:break;default:for(c=new n6(0,t,"SUPER_ROOT"),u=new pb(n.a);u.ad$n&&(c-=d$n),h=(o=Jx(Eln(r,Att),8)).a,l=o.b+n,(a=e.Math.atan2(l,h))<0&&(a+=d$n),(a+=t)>d$n&&(a-=d$n),WC(),s0(1e-10),e.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:YI(isNaN(c),isNaN(a))}(this.a,this.b,Jx(n,33),Jx(t,33))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},Bjn.a=0,Bjn.b=0,TF(w$n,"RadialUtil/lambda$0$Type",549),Vfn(1375,1,gIn,Da),Bjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(cun(t,"Calculate Graph Size",1),t.n&&n&&tU(t,KU(n),(I6(),Ert)),o=dPn,s=dPn,a=g$n,u=g$n,l=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));l.e!=l.i.gc();)d=(h=Jx(fen(l),33)).i,g=h.j,v=h.g,r=h.f,c=Jx(Eln(h,(Ojn(),Xnt)),142),o=e.Math.min(o,d-c.b),s=e.Math.min(s,g-c.d),a=e.Math.max(a,d+v+c.c),u=e.Math.max(u,g+r+c.a);for(b=new YS(o-(w=Jx(Eln(n,(Ojn(),ott)),116)).b,s-w.d),f=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));f.e!=f.i.gc();)N1(h=Jx(fen(f),33),h.i-b.a),x1(h,h.j-b.b);p=a-o+(w.b+w.c),i=u-s+(w.d+w.a),L1(n,p),$1(n,i),t.n&&n&&tU(t,KU(n),(I6(),Ert))}(Jx(n,33),t)},TF(p$n,"CalculateGraphSize",1375),Vfn(442,22,{3:1,35:1,22:1,442:1,234:1},xS),Bjn.Kf=function(){switch(this.g){case 0:return new Ba;case 1:return new xa;case 2:return new Da;default:throw fp(new Ym(BIn+(null!=this.f?this.f:""+this.g)))}};var m6n,y6n,k6n,j6n=W1(p$n,HIn,442,o_n,(function(){return y7(),D4(zy(j6n,1),WEn,442,0,[p6n,d6n,g6n])}),(function(n){return y7(),cZ((_Q(),m6n),n)}));Vfn(645,1,{}),Bjn.e=1,Bjn.g=0,TF(v$n,"AbstractRadiusExtensionCompaction",645),Vfn(1772,645,{},cL),Bjn.hg=function(n){var t,e,i,r,c,a,u,o,s;for(this.c=Jx(Eln(n,(iL(),h6n)),33),function(n,t){n.f=t}(this,this.c),this.d=Qen(Jx(Eln(n,(Frn(),J6n)),293)),(o=Jx(Eln(n,F6n),19))&&Bl(this,o.a),Hl(this,(mB(u=lL(Eln(n,(Ojn(),Wtt)))),u)),s=rdn(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new pb(t);i.ai?1:0}(Jx(n,33),Jx(t,33))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(D$n,"RectPackingLayoutProvider/lambda$0$Type",1137),Vfn(1256,1,{},xx),Bjn.a=0,Bjn.c=!1,TF(R$n,"AreaApproximation",1256);var b8n,w8n,d8n,g8n=uR(R$n,"BestCandidateFilter");Vfn(638,1,{526:1},Qa),Bjn.mg=function(n,t,i){var r,c,a,u,o,s;for(s=new rp,a=ZTn,o=new pb(n);o.a1)for(i=new pb(n.a);i.a>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28);var n,t},Bjn.Jf=function(n){var t,e,i;for(e=0;e0&&l8((Nz(t-1,n.length),n.charCodeAt(t-1)),MIn);)--t;if(e>=t)throw fp(new Ym("The given string does not contain any numbers."));if(2!=(i=Agn(n.substr(e,t-e),",|;|\r|\n")).length)throw fp(new Ym("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=pon(Vun(i[0])),this.b=pon(Vun(i[1]))}catch(n){throw OO(n=E4(n),127)?fp(new Ym(SIn+n)):fp(n)}},Bjn.Ib=function(){return"("+this.a+","+this.b+")"},Bjn.a=0,Bjn.b=0;var H7n=TF(PIn,"KVector",8);Vfn(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},xv,jk,F$),Bjn.Pc=function(){return function(n){var t,e,i;for(t=0,i=QQ(H7n,MEn,8,n.b,0,1),e=nen(n,0);e.b!=e.d.c;)i[t++]=Jx(CX(e),8);return i}(this)},Bjn.Jf=function(n){var t,e,i,r,c;e=Agn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),HH(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=pon(e[t]):c=pon(e[t]),r>0&&r%2!=0&&_D(this,new YS(i,c)),++r),++t}catch(n){throw OO(n=E4(n),127)?fp(new Ym("The given string does not match the expected format for vectors."+n)):fp(n)}},Bjn.Ib=function(){var n,t,e;for(n=new PA("("),t=nen(this,0);t.b!=t.d.c;)kI(n,(e=Jx(CX(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var q7n,G7n,z7n,U7n,X7n,W7n,V7n=TF(PIn,"KVectorChain",74);Vfn(248,22,{3:1,35:1,22:1,248:1},JS);var Q7n,Y7n,J7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant,unt,ont,snt,hnt,fnt,lnt,bnt,wnt,dnt=W1(SLn,"Alignment",248,o_n,(function(){return Gen(),D4(zy(dnt,1),WEn,248,0,[q7n,U7n,X7n,W7n,G7n,z7n])}),(function(n){return Gen(),cZ((y1(),Q7n),n)}));Vfn(979,1,lSn,Af),Bjn.Qe=function(n){Tpn(n)},TF(SLn,"BoxLayouterOptions",979),Vfn(980,1,{},xu),Bjn.$e=function(){return new Gu},Bjn._e=function(n){},TF(SLn,"BoxLayouterOptions/BoxFactory",980),Vfn(291,22,{3:1,35:1,22:1,291:1},ZS);var gnt,pnt,vnt,mnt,ynt,knt,jnt,Ent,Tnt,Mnt,Snt,Pnt,Int,Cnt,Ont,Ant,$nt,Lnt,Nnt,xnt,Dnt,Rnt,Knt,_nt,Fnt,Bnt,Hnt,qnt,Gnt,znt,Unt,Xnt,Wnt,Vnt,Qnt,Ynt,Jnt,Znt,ntt,ttt,ett,itt,rtt,ctt,att,utt,ott,stt,htt,ftt,ltt,btt,wtt,dtt,gtt,ptt,vtt,mtt,ytt,ktt,jtt,Ett,Ttt,Mtt,Stt,Ptt,Itt,Ctt,Ott,Att,$tt,Ltt,Ntt,xtt,Dtt,Rtt,Ktt,_tt,Ftt,Btt,Htt,qtt,Gtt,ztt,Utt,Xtt,Wtt,Vtt,Qtt,Ytt,Jtt,Ztt,net,tet,eet,iet,ret=W1(SLn,"ContentAlignment",291,o_n,(function(){return gan(),D4(zy(ret,1),WEn,291,0,[wnt,bnt,lnt,hnt,snt,fnt])}),(function(n){return gan(),cZ((m1(),gnt),n)}));Vfn(684,1,lSn,$f),Bjn.Qe=function(n){E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,OLn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(bsn(),x7n)),lFn),Z9((Ytn(),M7n))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,ALn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),N7n),k7n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hAn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),mnt),A7n),dnt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,fPn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,$Ln),""),"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."),N7n),V7n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,EAn),""),"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."),Snt),$7n),ret),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sAn),""),"Debug Mode"),"Whether additional debug information shall be generated."),(MA(),!1)),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,wAn),""),FSn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Cnt),A7n),set),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DOn),""),"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."),Nnt),A7n),Tet),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,X$n),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,AOn),""),"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`."),_nt),A7n),Het),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lPn),""),"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."),stt),N7n),nUn),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,KPn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xAn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BPn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Pn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Ett),A7n),jit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,$An),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),N7n),H7n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,LPn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),L7n),X_n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,DPn),""),"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)."),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,RPn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,TAn),""),"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."),Unt),N7n),V7n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,PAn),""),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,IAn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,LLn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),N7n),est),eK(M7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,LAn),""),"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."),Wnt),N7n),Kzn),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,uAn),""),"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),C7n),R_n),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n,S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NLn),""),"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),O7n),q_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xLn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,DLn),""),"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'."),g9(100)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,RLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,KLn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),g9(4e3)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,_Ln),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),g9(400)),L7n),X_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FLn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,BLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,HLn),""),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qLn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,CLn),"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."),Ent),A7n),krt),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,VOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,QOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,sPn),ROn),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,YOn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,xPn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,JOn),ROn),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ZOn),ROn),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,eAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,nAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,tAn),ROn),"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),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NPn),ROn),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iAn),ROn),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),O7n),q_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,rAn),ROn),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),O7n),q_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,cAn),ROn),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),N7n),Srt),eK(T7n,D4(zy(R7n,1),WEn,175,0,[j7n,S7n,E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,NAn),ROn),"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."),Ytt),N7n),Kzn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,AAn),XLn),"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)."),L7n),X_n),eK(M7n,D4(zy(R7n,1),WEn,175,0,[T7n]))))),DU(n,AAn,OAn,btt),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,OAn),XLn),"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."),ftt),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,dAn),WLn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Qnt),N7n),nUn),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,GPn),WLn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Jnt),$7n),ait),eK(T7n,D4(zy(R7n,1),WEn,175,0,[E7n]))))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,vAn),VLn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),dtt),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,mAn),VLn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,yAn),VLn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,kAn),VLn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,jAn),VLn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),A7n),wit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,qPn),QLn),"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."),ntt),$7n),brt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,HPn),QLn),"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."),ctt),$7n),mrt),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,iIn),QLn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),itt),N7n),H7n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,bAn),QLn),"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),C7n),R_n),Z9(M7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,MAn),XOn),"Edge Label Placement"),"Gives a hint on where to put edge labels."),$nt),A7n),get),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,FPn),XOn),"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),C7n),R_n),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,GLn),"font"),"Font Name"),"Font name used for a label."),x7n),lFn),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,zLn),"font"),"Font Size"),"Font size used for a label."),L7n),X_n),Z9(E7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,CAn),YLn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),N7n),H7n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,SAn),YLn),"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."),L7n),X_n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,oAn),YLn),"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."),Ott),A7n),ert),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(hk(wk(lk(bk(new Fu,aAn),YLn),"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."),O7n),q_n),Z9(S7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,zPn),JLn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ptt),$7n),zit),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,gAn),JLn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,pAn),JLn),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,fAn),ZLn),"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),C7n),R_n),Z9(T7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,lAn),ZLn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),C7n),R_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,hPn),"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),O7n),q_n),Z9(j7n)))),E7(n,new rsn(gk(dk(pk(fk(hk(wk(lk(bk(new Fu,ULn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Dnt),A7n),Det),Z9(j7n)))),sT(n,new gz(uk(sk(ok(new pu,OIn),"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.'))),sT(n,new gz(uk(sk(ok(new pu,"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.'))),sT(n,new gz(uk(sk(ok(new pu,$Pn),"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."))),sT(n,new gz(uk(sk(ok(new pu,"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."))),sT(n,new gz(uk(sk(ok(new pu,b$n),"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."))),sT(n,new gz(uk(sk(ok(new pu,"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."))),sT(n,new gz(uk(sk(ok(new pu,O$n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Sgn((new Lf,n)),Tpn((new Af,n)),kdn((new Nf,n))},TF(SLn,"CoreOptions",684),Vfn(103,22,{3:1,35:1,22:1,103:1},nP);var cet,aet,uet,oet,set=W1(SLn,FSn,103,o_n,(function(){return e9(),D4(zy(set,1),WEn,103,0,[eet,tet,net,Ztt,iet])}),(function(n){return e9(),cZ((kZ(),cet),n)}));Vfn(272,22,{3:1,35:1,22:1,272:1},tP);var het,fet,bet,wet,det,get=W1(SLn,"EdgeLabelPlacement",272,o_n,(function(){return n1(),D4(zy(get,1),WEn,272,0,[aet,uet,oet])}),(function(n){return n1(),cZ((zQ(),het),n)}));Vfn(218,22,{3:1,35:1,22:1,218:1},eP);var pet,vet,met,yet,ket,jet,Eet,Tet=W1(SLn,"EdgeRouting",218,o_n,(function(){return p7(),D4(zy(Tet,1),WEn,218,0,[det,bet,fet,wet])}),(function(n){return p7(),cZ((eJ(),pet),n)}));Vfn(312,22,{3:1,35:1,22:1,312:1},iP);var Met,Set,Pet,Iet,Cet,Oet,Aet,$et,Let,Net,xet,Det=W1(SLn,"EdgeType",312,o_n,(function(){return mun(),D4(zy(Det,1),WEn,312,0,[jet,yet,Eet,vet,ket,met])}),(function(n){return mun(),cZ((I1(),Met),n)}));Vfn(977,1,lSn,Lf),Bjn.Qe=function(n){Sgn(n)},TF(SLn,"FixedLayouterOptions",977),Vfn(978,1,{},Vu),Bjn.$e=function(){return new Hu},Bjn._e=function(n){},TF(SLn,"FixedLayouterOptions/FixedFactory",978),Vfn(334,22,{3:1,35:1,22:1,334:1},rP);var Ret,Ket,_et,Fet,Bet,Het=W1(SLn,"HierarchyHandling",334,o_n,(function(){return A8(),D4(zy(Het,1),WEn,334,0,[Net,Let,xet])}),(function(n){return A8(),cZ((GQ(),Ret),n)}));Vfn(285,22,{3:1,35:1,22:1,285:1},cP);var qet,Get,zet,Uet,Xet,Wet,Vet,Qet,Yet,Jet,Zet=W1(SLn,"LabelSide",285,o_n,(function(){return Brn(),D4(zy(Zet,1),WEn,285,0,[Bet,Ket,_et,Fet])}),(function(n){return Brn(),cZ((tJ(),qet),n)}));Vfn(93,22,{3:1,35:1,22:1,93:1},aP);var nit,tit,eit,iit,rit,cit,ait=W1(SLn,"NodeLabelPlacement",93,o_n,(function(){return Tln(),D4(zy(ait,1),WEn,93,0,[zet,Get,Xet,Jet,Yet,Qet,Wet,Vet,Uet])}),(function(n){return Tln(),cZ((t4(),nit),n)}));Vfn(249,22,{3:1,35:1,22:1,249:1},uP);var uit,oit,sit,hit,fit,lit,bit,wit=W1(SLn,"PortAlignment",249,o_n,(function(){return Jtn(),D4(zy(wit,1),WEn,249,0,[iit,cit,tit,eit,rit])}),(function(n){return Jtn(),cZ((jZ(),uit),n)}));Vfn(98,22,{3:1,35:1,22:1,98:1},oP);var dit,git,pit,vit,mit,yit,kit,jit=W1(SLn,"PortConstraints",98,o_n,(function(){return Kan(),D4(zy(jit,1),WEn,98,0,[bit,lit,fit,oit,hit,sit])}),(function(n){return Kan(),cZ((t1(),dit),n)}));Vfn(273,22,{3:1,35:1,22:1,273:1},sP);var Eit,Tit,Mit,Sit,Pit,Iit,Cit,Oit,Ait,$it,Lit,Nit,xit,Dit,Rit,Kit,_it,Fit,Bit,Hit,qit,Git,zit=W1(SLn,"PortLabelPlacement",273,o_n,(function(){return Ohn(),D4(zy(zit,1),WEn,273,0,[yit,vit,mit,pit,git,kit])}),(function(n){return Ohn(),cZ((P1(),Eit),n)}));Vfn(61,22,{3:1,35:1,22:1,61:1},hP);var Uit,Xit,Wit,Vit,Qit,Yit,Jit,Zit,nrt,trt,ert=W1(SLn,"PortSide",61,o_n,(function(){return Ckn(),D4(zy(ert,1),bIn,61,0,[qit,Mit,Tit,Hit,Git])}),(function(n){return Ckn(),cZ((EZ(),Uit),n)}));Vfn(981,1,lSn,Nf),Bjn.Qe=function(n){kdn(n)},TF(SLn,"RandomLayouterOptions",981),Vfn(982,1,{},Qu),Bjn.$e=function(){return new no},Bjn._e=function(n){},TF(SLn,"RandomLayouterOptions/RandomFactory",982),Vfn(374,22,{3:1,35:1,22:1,374:1},fP);var irt,rrt,crt,art,urt,ort,srt,hrt,frt,lrt,brt=W1(SLn,"SizeConstraint",374,o_n,(function(){return $nn(),D4(zy(brt,1),WEn,374,0,[nrt,trt,Zit,Jit])}),(function(n){return $nn(),cZ((rJ(),irt),n)}));Vfn(259,22,{3:1,35:1,22:1,259:1},lP);var wrt,drt,grt,prt,vrt,mrt=W1(SLn,"SizeOptions",259,o_n,(function(){return Qgn(),D4(zy(mrt,1),WEn,259,0,[art,ort,crt,srt,hrt,lrt,frt,urt,rrt])}),(function(n){return Qgn(),cZ((e5(),wrt),n)}));Vfn(370,1,{1949:1},um),Bjn.b=!1,Bjn.c=0,Bjn.d=-1,Bjn.e=null,Bjn.f=null,Bjn.g=-1,Bjn.j=!1,Bjn.k=!1,Bjn.n=!1,Bjn.o=0,Bjn.q=0,Bjn.r=0,TF(DAn,"BasicProgressMonitor",370),Vfn(972,209,QSn,Gu),Bjn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h;cun(t,"Box layout",2),r=iy(lL(Eln(n,(Kun(),ont)))),c=Jx(Eln(n,cnt),116),e=ty(fL(Eln(n,nnt))),i=ty(fL(Eln(n,tnt))),0===Jx(Eln(n,J7n),311).g?(u=new hx((!n.a&&(n.a=new y_(oct,n,10,11)),n.a)),WH(),ZC(u,new Qd(i)),a=u,o=$sn(n),(null==(s=lL(Eln(n,Y7n)))||(mB(s),s<=0))&&(s=1.3),Dkn(n,(h=_kn(a,r,c,o.a,o.b,e,(mB(s),s))).a,h.b,!1,!0)):Qmn(n,r,c,e),Kon(t)},TF(DAn,"BoxLayoutProvider",972),Vfn(973,1,BMn,Qd),Bjn.ue=function(n,t){return function(n,t,e){var i,r,c;if(!(r=Jx(Eln(t,(Kun(),unt)),19))&&(r=g9(0)),!(c=Jx(Eln(e,unt),19))&&(c=g9(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&Dkn(g,d.a,d.b,!0,!0)),b=e.Math.max(b,g.i+g.g),w=e.Math.max(w,g.j+g.f),f=new XO((!g.n&&(g.n=new y_(uct,g,1,7)),g.n));f.e!=f.i.gc();)o=Jx(fen(f),137),(T=Jx(Eln(o,$et),8))&&EC(o,T.a,T.b),b=e.Math.max(b,g.i+o.i+o.g),w=e.Math.max(w,g.j+o.j+o.f);for(k=new XO((!g.c&&(g.c=new y_(sct,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Jx(fen(k),118),(T=Jx(Eln(y,$et),8))&&EC(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,b=e.Math.max(b,j+y.g),w=e.Math.max(w,E+y.f),s=new XO((!y.n&&(y.n=new y_(uct,y,1,7)),y.n));s.e!=s.i.gc();)o=Jx(fen(s),137),(T=Jx(Eln(o,$et),8))&&EC(o,T.a,T.b),b=e.Math.max(b,j+o.i+o.g),w=e.Math.max(w,E+o.j+o.f);for(c=new LK(wA(bbn(g).a.Kc(),new h));Qfn(c);)l=Rkn(i=Jx(jV(c),79)),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b);for(r=new LK(wA(lbn(g).a.Kc(),new h));Qfn(r);)CG(_un(i=Jx(jV(r),79)))!=n&&(l=Rkn(i),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b))}if(a==(p7(),fet))for(p=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new LK(wA(bbn(g=Jx(fen(p),33)).a.Kc(),new h));Qfn(r);)0==(u=xpn(i=Jx(jV(r),79))).b?$en(i,znt,null):$en(i,znt,u);ty(fL(Eln(n,(N6(),Iet))))||Dkn(n,b+(m=Jx(Eln(n,Oet),116)).b+m.c,w+m.d+m.a,!0,!0),Kon(t)},TF(DAn,"FixedLayoutProvider",1138),Vfn(373,134,{3:1,414:1,373:1,94:1,134:1},Yu,BJ),Bjn.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(a=Agn(n,";,;"),r=0,c=(i=a).length;r>16&lTn|n^(e&lTn)<<16},Bjn.Kc=function(){return new ng(this)},Bjn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+C7(this.b)+")":null==this.b?"pair("+C7(this.a)+",null)":"pair("+C7(this.a)+","+C7(this.b)+")"},TF(DAn,"Pair",46),Vfn(983,1,lEn,ng),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Bjn.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 fp(new _p)},Bjn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),fp(new Np)},Bjn.b=!1,Bjn.c=!1,TF(DAn,"Pair/1",983),Vfn(448,1,{448:1},EH),Bjn.Fb=function(n){return GB(this.a,Jx(n,448).a)&&GB(this.c,Jx(n,448).c)&&GB(this.d,Jx(n,448).d)&&GB(this.b,Jx(n,448).b)},Bjn.Hb=function(){return z6(D4(zy(XKn,1),rEn,1,5,[this.a,this.c,this.d,this.b]))},Bjn.Ib=function(){return"("+this.a+eEn+this.c+eEn+this.d+eEn+this.b+")"},TF(DAn,"Quadruple",448),Vfn(1126,209,QSn,no),Bjn.Ze=function(n,t){var i;cun(t,"Random Layout",1),0!=(!n.a&&(n.a=new y_(oct,n,10,11)),n.a).i?(function(n,t,i,r,c){var a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,g=0,d=0,w=1,m=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));m.e!=m.i.gc();)w+=BX(new LK(wA(bbn(p=Jx(fen(m),33)).a.Kc(),new h))),T=p.g,g=e.Math.max(g,T),b=p.f,d=e.Math.max(d,b),y+=T*b;for(u=y+2*r*r*w*(!n.a&&(n.a=new y_(oct,n,10,11)),n.a).i,a=e.Math.sqrt(u),s=e.Math.max(a*i,g),o=e.Math.max(a/i,d),v=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));v.e!=v.i.gc();)p=Jx(fen(v),33),M=c.b+(Wln(t,26)*yMn+Wln(t,27)*kMn)*(s-p.g),S=c.b+(Wln(t,26)*yMn+Wln(t,27)*kMn)*(o-p.f),N1(p,M),x1(p,S);for(E=s+(c.b+c.c),j=o+(c.d+c.a),k=new XO((!n.a&&(n.a=new y_(oct,n,10,11)),n.a));k.e!=k.i.gc();)for(l=new LK(wA(bbn(Jx(fen(k),33)).a.Kc(),new h));Qfn(l);)Kfn(f=Jx(jV(l),79))||gjn(f,t,E,j);Dkn(n,E+=c.b+c.c,j+=c.d+c.a,!1,!0)}(n,(i=Jx(Eln(n,(Ann(),Qit)),19))&&0!=i.a?new EW(i.a):new a7,iy(lL(Eln(n,Xit))),iy(lL(Eln(n,Yit))),Jx(Eln(n,Wit),116)),Kon(t)):Kon(t)},TF(DAn,"RandomLayoutProvider",1126),Vfn(553,1,{}),Bjn.qf=function(){return new YS(this.f.i,this.f.j)},Bjn.We=function(n){return Aq(n,(Ojn(),ktt))?Eln(this.f,Crt):Eln(this.f,n)},Bjn.rf=function(){return new YS(this.f.g,this.f.f)},Bjn.sf=function(){return this.g},Bjn.Xe=function(n){return UQ(this.f,n)},Bjn.tf=function(n){N1(this.f,n.a),x1(this.f,n.b)},Bjn.uf=function(n){L1(this.f,n.a),$1(this.f,n.b)},Bjn.vf=function(n){this.g=n},Bjn.g=0,TF(rNn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),Vfn(554,1,{839:1},tg),Bjn.wf=function(){var n,t;if(!this.b)for(this.b=tX(ZB(this.a).i),t=new XO(ZB(this.a));t.e!=t.i.gc();)n=Jx(fen(t),137),iD(this.b,new Vm(n));return this.b},Bjn.b=null,TF(rNn,"ElkGraphAdapters/ElkEdgeAdapter",554),Vfn(301,553,{},Wm),Bjn.xf=function(){return frn(this)},Bjn.a=null,TF(rNn,"ElkGraphAdapters/ElkGraphAdapter",301),Vfn(630,553,{181:1},Vm),TF(rNn,"ElkGraphAdapters/ElkLabelAdapter",630),Vfn(629,553,{680:1},i$),Bjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=tX(Jx(n.f,33).Ag().i),e=new XO(Jx(n.f,33).Ag());e.e!=e.i.gc();)t=Jx(fen(e),137),iD(n.b,new Vm(t));return n.b}(this)},Bjn.Af=function(){var n;return!(n=Jx(Eln(this.f,(Ojn(),Xnt)),142))&&(n=new Sv),n},Bjn.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=tX(nH(Jx(n.f,33)).i),e=new XO(nH(Jx(n.f,33)));e.e!=e.i.gc();)t=Jx(fen(e),118),iD(n.e,new $g(t));return n.e}(this)},Bjn.Ef=function(n){var t;t=new kx(n),$en(this.f,(Ojn(),Xnt),t)},Bjn.Ff=function(n){$en(this.f,(Ojn(),ott),new yx(n))},Bjn.yf=function(){return this.d},Bjn.zf=function(){var n,t;if(!this.a)for(this.a=new rp,t=new LK(wA(lbn(Jx(this.f,33)).a.Kc(),new h));Qfn(t);)n=Jx(jV(t),79),iD(this.a,new tg(n));return this.a},Bjn.Bf=function(){var n,t;if(!this.c)for(this.c=new rp,t=new LK(wA(bbn(Jx(this.f,33)).a.Kc(),new h));Qfn(t);)n=Jx(jV(t),79),iD(this.c,new tg(n));return this.c},Bjn.Df=function(){return 0!=oq(Jx(this.f,33)).i||ty(fL(Jx(this.f,33).We((Ojn(),Bnt))))},Bjn.Gf=function(){SJ(this,(gT(),Irt))},Bjn.a=null,Bjn.b=null,Bjn.c=null,Bjn.d=null,Bjn.e=null,TF(rNn,"ElkGraphAdapters/ElkNodeAdapter",629),Vfn(1266,553,{838:1},$g),Bjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=tX(Jx(n.f,118).Ag().i),e=new XO(Jx(n.f,118).Ag());e.e!=e.i.gc();)t=Jx(fen(e),137),iD(n.b,new Vm(t));return n.b}(this)},Bjn.zf=function(){var n,t;if(!this.a)for(this.a=f$(Jx(this.f,118).xg().i),t=new XO(Jx(this.f,118).xg());t.e!=t.i.gc();)n=Jx(fen(t),79),iD(this.a,new tg(n));return this.a},Bjn.Bf=function(){var n,t;if(!this.c)for(this.c=f$(Jx(this.f,118).yg().i),t=new XO(Jx(this.f,118).yg());t.e!=t.i.gc();)n=Jx(fen(t),79),iD(this.c,new tg(n));return this.c},Bjn.Hf=function(){return Jx(Jx(this.f,118).We((Ojn(),Ctt)),61)},Bjn.If=function(){var n,t,e,i,r,c,a;for(i=MG(Jx(this.f,118)),e=new XO(Jx(this.f,118).yg());e.e!=e.i.gc();)for(a=new XO((!(n=Jx(fen(e),79)).c&&(n.c=new $N(nct,n,5,8)),n.c));a.e!=a.i.gc();){if(WZ(run(c=Jx(fen(a),82)),i))return!0;if(run(c)==i&&ty(fL(Eln(n,(Ojn(),Hnt)))))return!0}for(t=new XO(Jx(this.f,118).xg());t.e!=t.i.gc();)for(r=new XO((!(n=Jx(fen(t),79)).b&&(n.b=new $N(nct,n,4,7)),n.b));r.e!=r.i.gc();)if(WZ(run(Jx(fen(r),82)),i))return!0;return!1},Bjn.a=null,Bjn.b=null,Bjn.c=null,TF(rNn,"ElkGraphAdapters/ElkPortAdapter",1266),Vfn(1267,1,BMn,to),Bjn.ue=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=Jx(Eln(n,(Ojn(),Ctt)),61).g-Jx(Eln(t,Ctt),61).g))return c;if(e=Jx(Eln(n,Ttt),19),i=Jx(Eln(t,Ttt),19),e&&i&&0!=(r=e.a-i.a))return r;switch(Jx(Eln(n,Ctt),61).g){case 1:return L9(n.i,t.i);case 2:return L9(n.j,t.j);case 3:return L9(t.i,n.i);case 4:return L9(t.j,n.j);default:throw fp(new Jm(yIn))}}(Jx(n,118),Jx(t,118))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(rNn,"ElkGraphAdapters/PortComparator",1267);var Art,$rt,Lrt,Nrt,xrt,Drt,Rrt,Krt,_rt,Frt,Brt,Hrt,qrt,Grt,zrt,Urt,Xrt,Wrt,Vrt=uR(cNn,"EObject"),Qrt=uR(aNn,uNn),Yrt=uR(aNn,oNn),Jrt=uR(aNn,sNn),Zrt=uR(aNn,"ElkShape"),nct=uR(aNn,hNn),tct=uR(aNn,fNn),ect=uR(aNn,lNn),ict=uR(cNn,bNn),rct=uR(cNn,"EFactory"),cct=uR(cNn,wNn),act=uR(cNn,"EPackage"),uct=uR(aNn,dNn),oct=uR(aNn,gNn),sct=uR(aNn,pNn);Vfn(90,1,vNn),Bjn.Jg=function(){return this.Kg(),null},Bjn.Kg=function(){return null},Bjn.Lg=function(){return this.Kg(),!1},Bjn.Mg=function(){return!1},Bjn.Ng=function(n){_3(this,n)},TF(mNn,"BasicNotifierImpl",90),Vfn(97,90,PNn),Bjn.nh=function(){return pC(this)},Bjn.Og=function(n,t){return n},Bjn.Pg=function(){throw fp(new Dp)},Bjn.Qg=function(n){var t;return t=tin(Jx(OZ(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},Bjn.Rg=function(n,t){throw fp(new Dp)},Bjn.Sg=function(n,t,e){return spn(this,n,t,e)},Bjn.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck())?n:this.zh()},Bjn.Ug=function(){return Hfn(this)},Bjn.Vg=function(){throw fp(new Dp)},Bjn.Wg=function(){var n,t;return!(t=this.ph().dk())&&this.Pg().ik((jT(),t=null==(n=Vq(hvn(this.Tg())))?Qat:new t$(this,n))),t},Bjn.Xg=function(n,t){return n},Bjn.Yg=function(n){return n.Gj()?n.aj():enn(this.Tg(),n)},Bjn.Zg=function(){var n;return(n=this.Pg())?n.fk():null},Bjn.$g=function(){return this.Pg()?this.Pg().ck():null},Bjn._g=function(n,t,e){return Len(this,n,t,e)},Bjn.ah=function(n){return MY(this,n)},Bjn.bh=function(n,t){return MV(this,n,t)},Bjn.dh=function(){var n;return!!(n=this.Pg())&&n.gk()},Bjn.eh=function(){throw fp(new Dp)},Bjn.fh=function(){return ctn(this)},Bjn.gh=function(n,t,e,i){return yen(this,n,t,i)},Bjn.hh=function(n,t,e){return Jx(OZ(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),n,e)},Bjn.ih=function(n,t,e,i){return Xq(this,n,t,i)},Bjn.jh=function(n,t,e){return Jx(OZ(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),n,e)},Bjn.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},Bjn.lh=function(n){return oen(this,n)},Bjn.mh=function(n){return OG(this,n)},Bjn.oh=function(n){return iyn(this,n)},Bjn.ph=function(){throw fp(new Dp)},Bjn.qh=function(){return this.Pg()?this.Pg().ek():null},Bjn.rh=function(){return ctn(this)},Bjn.sh=function(n,t){Qsn(this,n,t)},Bjn.th=function(n){this.ph().hk(n)},Bjn.uh=function(n){this.ph().kk(n)},Bjn.vh=function(n){this.ph().jk(n)},Bjn.wh=function(n,t){var e,i,r,c;return(c=this.Zg())&&n&&(t=Men(c.Vk(),this,t),c.Zk(this)),(i=this.eh())&&(0!=(Cgn(this,this.eh(),this.Vg()).Bb&iMn)?(r=i.fh())&&(n?!c&&r.Zk(this):r.Yk(this)):(t=(e=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},Bjn.xh=function(n){var t,e,i,r,c,a,u;if((c=enn(e=this.Tg(),n))>=(t=this.Ah()))return Jx(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(!(a=ryn((dsn(),dut),e,n)))throw fp(new Ym(yNn+n.ne()+ENn));if(MT(),Jx(a,66).Oj()||(a=Hz(IJ(dut,a))),r=Jx((i=this.Yg(a))>=0?this._g(i,!0,!0):efn(this,a,!0),153),(u=a.Zj())>1||-1==u)return Jx(Jx(r,215).hl(n,!1),76)}else if(n.$j())return Jx((i=this.Yg(n))>=0?this._g(i,!1,!0):efn(this,n,!1),76);return new GP(this,n)},Bjn.yh=function(){return RJ(this)},Bjn.zh=function(){return(JF(),pat).S},Bjn.Ah=function(){return mF(this.zh())},Bjn.Bh=function(n){osn(this,n)},Bjn.Ib=function(){return _ln(this)},TF(INn,"BasicEObjectImpl",97),Vfn(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),Bjn.Ch=function(n){return KJ(this)[n]},Bjn.Dh=function(n,t){RF(KJ(this),n,t)},Bjn.Eh=function(n){RF(KJ(this),n,null)},Bjn.Jg=function(){return Jx(q3(this,4),126)},Bjn.Kg=function(){throw fp(new Dp)},Bjn.Lg=function(){return 0!=(4&this.Db)},Bjn.Pg=function(){throw fp(new Dp)},Bjn.Fh=function(n){dtn(this,2,n)},Bjn.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},Bjn.Tg=function(){return Oq(this)},Bjn.Vg=function(){return this.Db>>16},Bjn.Wg=function(){var n;return jT(),null==(n=Vq(hvn(Jx(q3(this,16),26)||this.zh())))?Qat:new t$(this,n)},Bjn.Mg=function(){return 0==(1&this.Db)},Bjn.Zg=function(){return Jx(q3(this,128),1935)},Bjn.$g=function(){return Jx(q3(this,16),26)},Bjn.dh=function(){return 0!=(32&this.Db)},Bjn.eh=function(){return Jx(q3(this,2),49)},Bjn.kh=function(){return 0!=(64&this.Db)},Bjn.ph=function(){throw fp(new Dp)},Bjn.qh=function(){return Jx(q3(this,64),281)},Bjn.th=function(n){dtn(this,16,n)},Bjn.uh=function(n){dtn(this,128,n)},Bjn.vh=function(n){dtn(this,64,n)},Bjn.yh=function(){return gtn(this)},Bjn.Db=0,TF(INn,"MinimalEObjectImpl",114),Vfn(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Bjn.Fh=function(n){this.Cb=n},Bjn.eh=function(){return this.Cb},TF(INn,"MinimalEObjectImpl/Container",115),Vfn(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Bjn._g=function(n,t,e){return Srn(this,n,t,e)},Bjn.jh=function(n,t,e){return lon(this,n,t,e)},Bjn.lh=function(n){return nU(this,n)},Bjn.sh=function(n,t){Z5(this,n,t)},Bjn.zh=function(){return ujn(),qrt},Bjn.Bh=function(n){Y4(this,n)},Bjn.Ve=function(){return ien(this)},Bjn.We=function(n){return Eln(this,n)},Bjn.Xe=function(n){return UQ(this,n)},Bjn.Ye=function(n,t){return $en(this,n,t)},TF(CNn,"EMapPropertyHolderImpl",1985),Vfn(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ro),Bjn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Len(this,n,t,e)},Bjn.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return oen(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return void C1(this,ey(lL(t)));case 1:return void O1(this,ey(lL(t)))}Qsn(this,n,t)},Bjn.zh=function(){return ujn(),Lrt},Bjn.Bh=function(n){switch(n){case 0:return void C1(this,0);case 1:return void O1(this,0)}osn(this,n)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new SA(_ln(this))).a+=" (x: ",Zk(n,this.a),n.a+=", y: ",Zk(n,this.b),n.a+=")",n.a)},Bjn.a=0,Bjn.b=0,TF(CNn,"ElkBendPointImpl",567),Vfn(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}),Bjn._g=function(n,t,e){return t9(this,n,t,e)},Bjn.hh=function(n,t,e){return hun(this,n,t,e)},Bjn.jh=function(n,t,e){return g4(this,n,t,e)},Bjn.lh=function(n){return U3(this,n)},Bjn.sh=function(n,t){Qcn(this,n,t)},Bjn.zh=function(){return ujn(),Rrt},Bjn.Bh=function(n){$8(this,n)},Bjn.zg=function(){return this.k},Bjn.Ag=function(){return ZB(this)},Bjn.Ib=function(){return Q9(this)},Bjn.k=null,TF(CNn,"ElkGraphElementImpl",723),Vfn(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}),Bjn._g=function(n,t,e){return P7(this,n,t,e)},Bjn.lh=function(n){return U7(this,n)},Bjn.sh=function(n,t){Ycn(this,n,t)},Bjn.zh=function(){return ujn(),Hrt},Bjn.Bh=function(n){cnn(this,n)},Bjn.Bg=function(){return this.f},Bjn.Cg=function(){return this.g},Bjn.Dg=function(){return this.i},Bjn.Eg=function(){return this.j},Bjn.Fg=function(n,t){jC(this,n,t)},Bjn.Gg=function(n,t){EC(this,n,t)},Bjn.Hg=function(n){N1(this,n)},Bjn.Ig=function(n){x1(this,n)},Bjn.Ib=function(){return kon(this)},Bjn.f=0,Bjn.g=0,Bjn.i=0,Bjn.j=0,TF(CNn,"ElkShapeImpl",724),Vfn(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}),Bjn._g=function(n,t,e){return win(this,n,t,e)},Bjn.hh=function(n,t,e){return Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){return xcn(this,n,t,e)},Bjn.lh=function(n){return H5(this,n)},Bjn.sh=function(n,t){sln(this,n,t)},Bjn.zh=function(){return ujn(),Nrt},Bjn.Bh=function(n){ken(this,n)},Bjn.xg=function(){return!this.d&&(this.d=new $N(tct,this,8,5)),this.d},Bjn.yg=function(){return!this.e&&(this.e=new $N(tct,this,7,4)),this.e},TF(CNn,"ElkConnectableShapeImpl",725),Vfn(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},io),Bjn.Qg=function(n){return ocn(this,n)},Bjn._g=function(n,t,e){switch(n){case 3:return TG(this);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),this.c;case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),this.a;case 7:return MA(),!this.b&&(this.b=new $N(nct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $N(nct,this,5,8)),this.c.i<=1));case 8:return MA(),!!Kfn(this);case 9:return MA(),!!Vhn(this);case 10:return MA(),!this.b&&(this.b=new $N(nct,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $N(nct,this,5,8)),0!=this.c.i)}return t9(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ocn(this,e):this.Cb.ih(this,-1-i,null,e)),$L(this,Jx(n,33),e);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),dnn(this.b,n,e);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),dnn(this.c,n,e);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),dnn(this.a,n,e)}return hun(this,n,t,e)},Bjn.jh=function(n,t,e){switch(t){case 3:return $L(this,null,e);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),Men(this.b,n,e);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),Men(this.c,n,e);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),Men(this.a,n,e)}return g4(this,n,t,e)},Bjn.lh=function(n){switch(n){case 3:return!!TG(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 $N(nct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $N(nct,this,5,8)),this.c.i<=1));case 8:return Kfn(this);case 9:return Vhn(this);case 10:return!this.b&&(this.b=new $N(nct,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $N(nct,this,5,8)),0!=this.c.i)}return U3(this,n)},Bjn.sh=function(n,t){switch(n){case 3:return void Pbn(this,Jx(t,33));case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),qmn(this.b),!this.b&&(this.b=new $N(nct,this,4,7)),void EF(this.b,Jx(t,14));case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),qmn(this.c),!this.c&&(this.c=new $N(nct,this,5,8)),void EF(this.c,Jx(t,14));case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),qmn(this.a),!this.a&&(this.a=new y_(ect,this,6,6)),void EF(this.a,Jx(t,14))}Qcn(this,n,t)},Bjn.zh=function(){return ujn(),xrt},Bjn.Bh=function(n){switch(n){case 3:return void Pbn(this,null);case 4:return!this.b&&(this.b=new $N(nct,this,4,7)),void qmn(this.b);case 5:return!this.c&&(this.c=new $N(nct,this,5,8)),void qmn(this.c);case 6:return!this.a&&(this.a=new y_(ect,this,6,6)),void qmn(this.a)}$8(this,n)},Bjn.Ib=function(){return wmn(this)},TF(CNn,"ElkEdgeImpl",352),Vfn(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},co),Bjn.Qg=function(n){return Jrn(this,n)},Bjn._g=function(n,t,e){switch(n){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 WO(Yrt,this,5)),this.a;case 6:return SG(this);case 7:return t?nin(this):this.i;case 8:return t?Zen(this):this.f;case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),this.e;case 11:return this.d}return Srn(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Jrn(this,e):this.Cb.ih(this,-1-i,null,e)),LL(this,Jx(n,79),e);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),dnn(this.g,n,e);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),dnn(this.e,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(ujn(),Drt),t),66).Nj().Qj(this,gtn(this),t-mF((ujn(),Drt)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),Men(this.a,n,e);case 6:return LL(this,null,e);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),Men(this.g,n,e);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),Men(this.e,n,e)}return lon(this,n,t,e)},Bjn.lh=function(n){switch(n){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!!SG(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 nU(this,n)},Bjn.sh=function(n,t){switch(n){case 1:return void D1(this,ey(lL(t)));case 2:return void K1(this,ey(lL(t)));case 3:return void A1(this,ey(lL(t)));case 4:return void R1(this,ey(lL(t)));case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),qmn(this.a),!this.a&&(this.a=new WO(Yrt,this,5)),void EF(this.a,Jx(t,14));case 6:return void Mbn(this,Jx(t,79));case 7:return void x0(this,Jx(t,82));case 8:return void N0(this,Jx(t,82));case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),qmn(this.g),!this.g&&(this.g=new $N(ect,this,9,10)),void EF(this.g,Jx(t,14));case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),qmn(this.e),!this.e&&(this.e=new $N(ect,this,10,9)),void EF(this.e,Jx(t,14));case 11:return void J0(this,bL(t))}Z5(this,n,t)},Bjn.zh=function(){return ujn(),Drt},Bjn.Bh=function(n){switch(n){case 1:return void D1(this,0);case 2:return void K1(this,0);case 3:return void A1(this,0);case 4:return void R1(this,0);case 5:return!this.a&&(this.a=new WO(Yrt,this,5)),void qmn(this.a);case 6:return void Mbn(this,null);case 7:return void x0(this,null);case 8:return void N0(this,null);case 9:return!this.g&&(this.g=new $N(ect,this,9,10)),void qmn(this.g);case 10:return!this.e&&(this.e=new $N(ect,this,10,9)),void qmn(this.e);case 11:return void J0(this,null)}Y4(this,n)},Bjn.Ib=function(){return Sfn(this)},Bjn.b=0,Bjn.c=0,Bjn.d=null,Bjn.j=0,Bjn.k=0,TF(CNn,"ElkEdgeSectionImpl",439),Vfn(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Bjn._g=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab):KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e)):Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e)):Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.oh=function(n){return Ekn(this,n)},Bjn.sh=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.uh=function(n){dtn(this,128,n)},Bjn.zh=function(){return Djn(),Cat},Bjn.Bh=function(n){if(0===n)return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){this.Bb|=1},Bjn.Hh=function(n){return gpn(this,n)},Bjn.Bb=0,TF(INn,"EModelElementImpl",150),Vfn(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},xf),Bjn.Ih=function(n,t){return Ryn(this,n,t)},Bjn.Jh=function(n){var t,e,i,r;if(this.a!=r1(n)||0!=(256&n.Bb))throw fp(new Ym(xNn+n.zb+$Nn));for(e=Cq(n);0!=eW(e.a).i;){if(lrn(t=Jx(fyn(e,0,OO(r=Jx(a1(eW(e.a),0),87).c,88)?Jx(r,26):(Djn(),Aat)),26)))return Jx(i=r1(t).Nh().Jh(t),49).th(n),i;e=Cq(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new cR(n):new PD(n)},Bjn.Kh=function(n,t){return ljn(this,n,t)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.a}return KY(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n),t,e)},Bjn.hh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 1:return this.a&&(e=Jx(this.a,49).ih(this,4,act,e)),M8(this,Jx(n,235),e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Sat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Sat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 1:return M8(this,null,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Sat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Sat)),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return DX(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void Xun(this,Jx(t,235))}T7(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n),t)},Bjn.zh=function(){return Djn(),Sat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void Xun(this,null)}c9(this,n-mF((Djn(),Sat)),OZ(Jx(q3(this,16),26)||Sat,n))},TF(INn,"EFactoryImpl",704),Vfn(RNn,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},ao),Bjn.Ih=function(n,t){switch(n.yj()){case 12:return Jx(t,146).tg();case 13:return C7(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 4:return new uo;case 6:return new Dv;case 7:return new Rv;case 8:return new io;case 9:return new ro;case 10:return new co;case 11:return new so;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(CNn,"ElkGraphFactoryImpl",RNn),Vfn(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}),Bjn.Wg=function(){var n;return null==(n=Vq(hvn(Jx(q3(this,16),26)||this.zh())))?(jT(),jT(),Qat):new H$(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.ne()}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void this.Lh(bL(t))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),Oat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void this.Lh(null)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.ne=function(){return this.zb},Bjn.Lh=function(n){T2(this,n)},Bjn.Ib=function(){return H8(this)},Bjn.zb=null,TF(INn,"ENamedElementImpl",438),Vfn(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},Pq),Bjn.Qg=function(n){return icn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,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 g_(this,rat,this)),this.rb;case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?Jx(this.Cb,235):null:PG(this)}return KY(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 4:return this.sb&&(e=Jx(this.sb,49).ih(this,1,rct,e)),q8(this,Jx(n,471),e);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),dnn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),dnn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?icn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,7,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Nat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Nat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 4:return q8(this,null,e);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),Men(this.rb,n,e);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),Men(this.vb,n,e);case 7:return spn(this,null,7,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Nat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Nat)),n,e)},Bjn.lh=function(n){switch(n){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!!PG(this)}return DX(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n))},Bjn.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(!n.rb&&(n.rb=new g_(n,rat,n)),u=new jE((c=n.rb).i),r=new XO(c);r.e!=r.i.gc();)i=Jx(fen(r),138),(e=Jx(null==(a=i.ne())?Jsn(u.f,null,i):c7(u.g,a,i),138))&&(null==a?Jsn(u.f,null,e):c7(u.g,a,e));n.tb=u}return Jx(uG(n.tb,t),138)}(this,n)||Ekn(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void S2(this,bL(t));case 3:return void M2(this,bL(t));case 4:return void bon(this,Jx(t,471));case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),qmn(this.rb),!this.rb&&(this.rb=new g_(this,rat,this)),void EF(this.rb,Jx(t,14));case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),qmn(this.vb),!this.vb&&(this.vb=new TN(act,this,6,7)),void EF(this.vb,Jx(t,14))}T7(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n),t)},Bjn.vh=function(n){var t,e;if(n&&this.rb)for(e=new XO(this.rb);e.e!=e.i.gc();)OO(t=fen(e),351)&&(Jx(t,351).w=null);dtn(this,64,n)},Bjn.zh=function(){return Djn(),Nat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void S2(this,null);case 3:return void M2(this,null);case 4:return void bon(this,null);case 5:return!this.rb&&(this.rb=new g_(this,rat,this)),void qmn(this.rb);case 6:return!this.vb&&(this.vb=new TN(act,this,6,7)),void qmn(this.vb)}c9(this,n-mF((Djn(),Nat)),OZ(Jx(q3(this,16),26)||Nat,n))},Bjn.Gh=function(){Prn(this)},Bjn.Mh=function(){return!this.rb&&(this.rb=new g_(this,rat,this)),this.rb},Bjn.Nh=function(){return this.sb},Bjn.Oh=function(){return this.ub},Bjn.Ph=function(){return this.xb},Bjn.Qh=function(){return this.yb},Bjn.Rh=function(n){this.ub=n},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?H8(this):((n=new SA(H8(this))).a+=" (nsURI: ",vI(n,this.yb),n.a+=", nsPrefix: ",vI(n,this.xb),n.a+=")",n.a)},Bjn.xb=null,Bjn.yb=null,TF(INn,"EPackageImpl",179),Vfn(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},zfn),Bjn.q=!1,Bjn.r=!1;var hct=!1;TF(CNn,"ElkGraphPackageImpl",555),Vfn(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},uo),Bjn.Qg=function(n){return Zrn(this,n)},Bjn._g=function(n,t,e){switch(n){case 7:return IG(this);case 8:return this.a}return P7(this,n,t,e)},Bjn.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Zrn(this,e):this.Cb.ih(this,-1-i,null,e)),jK(this,Jx(n,160),e)):hun(this,n,t,e)},Bjn.jh=function(n,t,e){return 7==t?jK(this,null,e):g4(this,n,t,e)},Bjn.lh=function(n){switch(n){case 7:return!!IG(this);case 8:return!FN("",this.a)}return U7(this,n)},Bjn.sh=function(n,t){switch(n){case 7:return void Wbn(this,Jx(t,160));case 8:return void D0(this,bL(t))}Ycn(this,n,t)},Bjn.zh=function(){return ujn(),Krt},Bjn.Bh=function(n){switch(n){case 7:return void Wbn(this,null);case 8:return void D0(this,"")}cnn(this,n)},Bjn.Ib=function(){return Yon(this)},Bjn.a="",TF(CNn,"ElkLabelImpl",354),Vfn(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},Dv),Bjn.Qg=function(n){return scn(this,n)},Bjn._g=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),this.c;case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),this.a;case 11:return CG(this);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),this.b;case 13:return MA(),!this.a&&(this.a=new y_(oct,this,10,11)),this.a.i>0}return win(this,n,t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),dnn(this.c,n,e);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),dnn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?scn(this,e):this.Cb.ih(this,-1-i,null,e)),mN(this,Jx(n,33),e);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),dnn(this.b,n,e)}return Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),Men(this.c,n,e);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),Men(this.a,n,e);case 11:return mN(this,null,e);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),Men(this.b,n,e)}return xcn(this,n,t,e)},Bjn.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!CG(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new y_(oct,this,10,11)),this.a.i>0}return H5(this,n)},Bjn.sh=function(n,t){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),qmn(this.c),!this.c&&(this.c=new y_(sct,this,9,9)),void EF(this.c,Jx(t,14));case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),qmn(this.a),!this.a&&(this.a=new y_(oct,this,10,11)),void EF(this.a,Jx(t,14));case 11:return void Rbn(this,Jx(t,33));case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),qmn(this.b),!this.b&&(this.b=new y_(tct,this,12,3)),void EF(this.b,Jx(t,14))}sln(this,n,t)},Bjn.zh=function(){return ujn(),_rt},Bjn.Bh=function(n){switch(n){case 9:return!this.c&&(this.c=new y_(sct,this,9,9)),void qmn(this.c);case 10:return!this.a&&(this.a=new y_(oct,this,10,11)),void qmn(this.a);case 11:return void Rbn(this,null);case 12:return!this.b&&(this.b=new y_(tct,this,12,3)),void qmn(this.b)}ken(this,n)},Bjn.Ib=function(){return ogn(this)},TF(CNn,"ElkNodeImpl",239),Vfn(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},Rv),Bjn.Qg=function(n){return ncn(this,n)},Bjn._g=function(n,t,e){return 9==n?MG(this):win(this,n,t,e)},Bjn.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ncn(this,e):this.Cb.ih(this,-1-i,null,e)),NL(this,Jx(n,33),e)):Ncn(this,n,t,e)},Bjn.jh=function(n,t,e){return 9==t?NL(this,null,e):xcn(this,n,t,e)},Bjn.lh=function(n){return 9==n?!!MG(this):H5(this,n)},Bjn.sh=function(n,t){9!==n?sln(this,n,t):Sbn(this,Jx(t,33))},Bjn.zh=function(){return ujn(),Frt},Bjn.Bh=function(n){9!==n?ken(this,n):Sbn(this,null)},Bjn.Ib=function(){return sgn(this)},TF(CNn,"ElkPortImpl",186);var fct=uR(ixn,"BasicEMap/Entry");Vfn(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},so),Bjn.Fb=function(n){return this===n},Bjn.cd=function(){return this.b},Bjn.Hb=function(){return FA(this)},Bjn.Uh=function(n){R0(this,Jx(n,146))},Bjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Len(this,n,t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return oen(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return void R0(this,Jx(t,146));case 1:return void F0(this,t)}Qsn(this,n,t)},Bjn.zh=function(){return ujn(),Brt},Bjn.Bh=function(n){switch(n){case 0:return void R0(this,null);case 1:return void F0(this,null)}osn(this,n)},Bjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=n?V5(n):0),this.a},Bjn.dd=function(){return this.c},Bjn.Th=function(n){this.a=n},Bjn.ed=function(n){var t;return t=this.c,F0(this,n),t},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):(kI(kI(kI(n=new $y,this.b?this.b.tg():uEn),vIn),DA(this.c)),n.a)},Bjn.a=-1,Bjn.c=null;var lct,bct,wct,dct,gct,pct,vct,mct,yct=TF(CNn,"ElkPropertyToValueMapEntryImpl",1092);Vfn(984,1,{},lo),TF(axn,"JsonAdapter",984),Vfn(210,60,iTn,fy),TF(axn,"JsonImportException",210),Vfn(857,1,{},rcn),TF(axn,"JsonImporter",857),Vfn(891,1,{},jP),TF(axn,"JsonImporter/lambda$0$Type",891),Vfn(892,1,{},EP),TF(axn,"JsonImporter/lambda$1$Type",892),Vfn(900,1,{},eg),TF(axn,"JsonImporter/lambda$10$Type",900),Vfn(902,1,{},TP),TF(axn,"JsonImporter/lambda$11$Type",902),Vfn(903,1,{},MP),TF(axn,"JsonImporter/lambda$12$Type",903),Vfn(909,1,{},LH),TF(axn,"JsonImporter/lambda$13$Type",909),Vfn(908,1,{},$H),TF(axn,"JsonImporter/lambda$14$Type",908),Vfn(904,1,{},SP),TF(axn,"JsonImporter/lambda$15$Type",904),Vfn(905,1,{},PP),TF(axn,"JsonImporter/lambda$16$Type",905),Vfn(906,1,{},IP),TF(axn,"JsonImporter/lambda$17$Type",906),Vfn(907,1,{},CP),TF(axn,"JsonImporter/lambda$18$Type",907),Vfn(912,1,{},ig),TF(axn,"JsonImporter/lambda$19$Type",912),Vfn(893,1,{},rg),TF(axn,"JsonImporter/lambda$2$Type",893),Vfn(910,1,{},cg),TF(axn,"JsonImporter/lambda$20$Type",910),Vfn(911,1,{},ag),TF(axn,"JsonImporter/lambda$21$Type",911),Vfn(915,1,{},ug),TF(axn,"JsonImporter/lambda$22$Type",915),Vfn(913,1,{},og),TF(axn,"JsonImporter/lambda$23$Type",913),Vfn(914,1,{},sg),TF(axn,"JsonImporter/lambda$24$Type",914),Vfn(917,1,{},hg),TF(axn,"JsonImporter/lambda$25$Type",917),Vfn(916,1,{},fg),TF(axn,"JsonImporter/lambda$26$Type",916),Vfn(918,1,IEn,OP),Bjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=EG(n,e))&&(r=ssn(i)),Btn(t,e,r)}(this.b,this.a,bL(n))},TF(axn,"JsonImporter/lambda$27$Type",918),Vfn(919,1,IEn,AP),Bjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=EG(n,e))&&(r=ssn(i)),Btn(t,e,r)}(this.b,this.a,bL(n))},TF(axn,"JsonImporter/lambda$28$Type",919),Vfn(920,1,{},$P),TF(axn,"JsonImporter/lambda$29$Type",920),Vfn(896,1,{},lg),TF(axn,"JsonImporter/lambda$3$Type",896),Vfn(921,1,{},LP),TF(axn,"JsonImporter/lambda$30$Type",921),Vfn(922,1,{},bg),TF(axn,"JsonImporter/lambda$31$Type",922),Vfn(923,1,{},wg),TF(axn,"JsonImporter/lambda$32$Type",923),Vfn(924,1,{},dg),TF(axn,"JsonImporter/lambda$33$Type",924),Vfn(925,1,{},gg),TF(axn,"JsonImporter/lambda$34$Type",925),Vfn(859,1,{},pg),TF(axn,"JsonImporter/lambda$35$Type",859),Vfn(929,1,{},Kx),TF(axn,"JsonImporter/lambda$36$Type",929),Vfn(926,1,IEn,vg),Bjn.td=function(n){!function(n,t){var e;tq(e=new Am,"x",t.a),tq(e,"y",t.b),tB(n,e)}(this.a,Jx(n,469))},TF(axn,"JsonImporter/lambda$37$Type",926),Vfn(927,1,IEn,BP),Bjn.td=function(n){!function(n,t,e){Xcn(t,jsn(n,e))}(this.a,this.b,Jx(n,202))},TF(axn,"JsonImporter/lambda$38$Type",927),Vfn(928,1,IEn,HP),Bjn.td=function(n){!function(n,t,e){Xcn(t,jsn(n,e))}(this.a,this.b,Jx(n,202))},TF(axn,"JsonImporter/lambda$39$Type",928),Vfn(894,1,{},mg),TF(axn,"JsonImporter/lambda$4$Type",894),Vfn(930,1,IEn,yg),Bjn.td=function(n){!function(n,t){var e;tq(e=new Am,"x",t.a),tq(e,"y",t.b),tB(n,e)}(this.a,Jx(n,8))},TF(axn,"JsonImporter/lambda$40$Type",930),Vfn(895,1,{},kg),TF(axn,"JsonImporter/lambda$5$Type",895),Vfn(899,1,{},jg),TF(axn,"JsonImporter/lambda$6$Type",899),Vfn(897,1,{},Eg),TF(axn,"JsonImporter/lambda$7$Type",897),Vfn(898,1,{},Tg),TF(axn,"JsonImporter/lambda$8$Type",898),Vfn(901,1,{},Mg),TF(axn,"JsonImporter/lambda$9$Type",901),Vfn(948,1,IEn,Sg),Bjn.td=function(n){tB(this.a,new UF(bL(n)))},TF(axn,"JsonMetaDataConverter/lambda$0$Type",948),Vfn(949,1,IEn,Pg),Bjn.td=function(n){!function(n,t){tB(n,new UF(null!=t.f?t.f:""+t.g))}(this.a,Jx(n,237))},TF(axn,"JsonMetaDataConverter/lambda$1$Type",949),Vfn(950,1,IEn,Ig),Bjn.td=function(n){!function(n,t){null!=t.c&&tB(n,new UF(t.c))}(this.a,Jx(n,149))},TF(axn,"JsonMetaDataConverter/lambda$2$Type",950),Vfn(951,1,IEn,Cg),Bjn.td=function(n){!function(n,t){tB(n,new UF(null!=t.f?t.f:""+t.g))}(this.a,Jx(n,175))},TF(axn,"JsonMetaDataConverter/lambda$3$Type",951),Vfn(237,22,{3:1,35:1,22:1,237:1},FP);var kct,jct=W1(zSn,"GraphFeature",237,o_n,(function(){return Ufn(),D4(zy(jct,1),WEn,237,0,[mct,gct,pct,dct,vct,bct,lct,wct])}),(function(n){return Ufn(),cZ((y3(),kct),n)}));Vfn(13,1,{35:1,146:1},Ag,FL,BI,RC),Bjn.wd=function(n){return function(n,t){return BV(n.b,t.tg())}(this,Jx(n,146))},Bjn.Fb=function(n){return Aq(this,n)},Bjn.wg=function(){return sen(this)},Bjn.tg=function(){return this.b},Bjn.Hb=function(){return Wen(this.b)},Bjn.Ib=function(){return this.b},TF(zSn,"Property",13),Vfn(818,1,BMn,Og),Bjn.ue=function(n,t){return function(n,t,e){var i,r;return i=Jx(t.We(n.a),35),r=Jx(e.We(n.a),35),null!=i&&null!=r?o3(i,r):null!=i?-1:null!=r?1:0}(this,Jx(n,94),Jx(t,94))},Bjn.Fb=function(n){return this===n},Bjn.ve=function(){return new Eb(this)},TF(zSn,"PropertyHolderComparator",818),Vfn(695,1,lEn,Lg),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return function(n){var t;if(!n.a)throw fp(new VB);return t=n.a,n.a=CG(n.a),t}(this)},Bjn.Qb=function(){Hk()},Bjn.Ob=function(){return!!this.a},TF(kxn,"ElkGraphUtil/AncestorIterator",695);var Ect=uR(ixn,"EList");Vfn(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),Bjn.Vc=function(n,t){k9(this,n,t)},Bjn.Fc=function(n){return lY(this,n)},Bjn.Wc=function(n,t){return l5(this,n,t)},Bjn.Gc=function(n){return EF(this,n)},Bjn.Zh=function(){return new o$(this)},Bjn.$h=function(){return new s$(this)},Bjn._h=function(n){return w0(this,n)},Bjn.ai=function(){return!0},Bjn.bi=function(n,t){},Bjn.ci=function(){},Bjn.di=function(n,t){WQ(this,n,t)},Bjn.ei=function(n,t,e){},Bjn.fi=function(n,t){},Bjn.gi=function(n,t,e){},Bjn.Fb=function(n){return Idn(this,n)},Bjn.Hb=function(){return N4(this)},Bjn.hi=function(){return!1},Bjn.Kc=function(){return new XO(this)},Bjn.Yc=function(){return new u$(this)},Bjn.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw fp(new EN(n,t));return new nF(this,n)},Bjn.ji=function(n,t){this.ii(n,this.Xc(t))},Bjn.Mc=function(n){return GJ(this,n)},Bjn.li=function(n,t){return t},Bjn._c=function(n,t){return _en(this,n,t)},Bjn.Ib=function(){return R7(this)},Bjn.ni=function(){return!0},Bjn.oi=function(n,t){return j6(this,t)},TF(ixn,"AbstractEList",67),Vfn(63,67,Sxn,go,BZ,e3),Bjn.Vh=function(n,t){return fun(this,n,t)},Bjn.Wh=function(n){return Lin(this,n)},Bjn.Xh=function(n,t){W8(this,n,t)},Bjn.Yh=function(n){xV(this,n)},Bjn.pi=function(n){return $Y(this,n)},Bjn.$b=function(){DV(this)},Bjn.Hc=function(n){return Bcn(this,n)},Bjn.Xb=function(n){return a1(this,n)},Bjn.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.$c(t),!0)},Bjn.mi=function(n,t){return this.Ui(n,this.oi(n,t))},Bjn.gc=function(){return this.Vi()},Bjn.Pc=function(){return this.Wi()},Bjn.Qc=function(n){return this.Xi(n)},Bjn.Ib=function(){return this.Yi()},TF(ixn,"DelegatingEList",1995),Vfn(1996,1995,gDn),Bjn.Vh=function(n,t){return Rpn(this,n,t)},Bjn.Wh=function(n){return this.Vh(this.Vi(),n)},Bjn.Xh=function(n,t){Ffn(this,n,t)},Bjn.Yh=function(n){kfn(this,n)},Bjn.ai=function(){return!this.bj()},Bjn.$b=function(){Vmn(this)},Bjn.Zi=function(n,t,e,i,r){return new Fq(this,n,t,e,i,r)},Bjn.$i=function(n){_3(this.Ai(),n)},Bjn._i=function(){return null},Bjn.aj=function(){return-1},Bjn.Ai=function(){return null},Bjn.bj=function(){return!1},Bjn.cj=function(n,t){return t},Bjn.dj=function(n,t){return t},Bjn.ej=function(){return!1},Bjn.fj=function(){return!this.Ri()},Bjn.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=qun(this,n,t),this.$i(this.Zi(7,g9(t),e,n,i)),e):qun(this,n,t)},Bjn.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=oR(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t),r):(r=oR(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi(),r)},Bjn.mi=function(n,t){return Kpn(this,n,t)},TF(mNn,"DelegatingNotifyingListImpl",1996),Vfn(143,1,pDn),Bjn.Ei=function(n){return Ian(this,n)},Bjn.Fi=function(){mJ(this)},Bjn.xi=function(){return this.d},Bjn._i=function(){return null},Bjn.gj=function(){return null},Bjn.yi=function(n){return-1},Bjn.zi=function(){return Kwn(this)},Bjn.Ai=function(){return null},Bjn.Bi=function(){return _wn(this)},Bjn.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Bjn.hj=function(){return!1},Bjn.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null))return a=hyn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new BZ(2),c<=i?(lY(o,this.n),lY(o,n.Bi()),this.g=D4(zy(Vot,1),STn,25,15,[this.o=c,i+1])):(lY(o,n.Bi()),lY(o,this.n),this.g=D4(zy(Vot,1),STn,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&rI(n.Ai())===rI(this.Ai())&&this.yi(null)==n.yi(null)){for(a=hyn(this),i=n.Ci(),u=Jx(this.g,48),e=QQ(Vot,STn,25,u.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:nj(e,this.d)}if(Mgn(this)&&(e.a+=", touch: true"),e.a+=", position: ",nj(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",pI(e,this.Ai()),e.a+=", feature: ",pI(e,this._i()),e.a+=", oldValue: ",pI(e,_wn(this)),e.a+=", newValue: ",6==this.d&&OO(this.g,48)){for(t=Jx(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new jR(this),this.a=this.j),pE(this.b,n)):Bcn(this,n)},Bjn.ni=function(){return!0},Bjn.a=0,TF(ixn,"AbstractEList/1",953),Vfn(295,73,QTn,EN),TF(ixn,"AbstractEList/BasicIndexOutOfBoundsException",295),Vfn(40,1,lEn,XO),Bjn.Nb=function(n){C_(this,n)},Bjn.mj=function(){if(this.i.j!=this.f)throw fp(new Rp)},Bjn.nj=function(){return fen(this)},Bjn.Ob=function(){return this.e!=this.i.gc()},Bjn.Pb=function(){return this.nj()},Bjn.Qb=function(){ean(this)},Bjn.e=0,Bjn.f=0,Bjn.g=-1,TF(ixn,"AbstractEList/EIterator",40),Vfn(278,40,kEn,u$,nF),Bjn.Qb=function(){ean(this)},Bjn.Rb=function(n){Tnn(this,n)},Bjn.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.pj=function(n){Kin(this,n)},Bjn.Sb=function(){return 0!=this.e},Bjn.Tb=function(){return this.e},Bjn.Ub=function(){return this.oj()},Bjn.Vb=function(){return this.e-1},Bjn.Wb=function(n){this.pj(n)},TF(ixn,"AbstractEList/EListIterator",278),Vfn(341,40,lEn,o$),Bjn.nj=function(){return len(this)},Bjn.Qb=function(){throw fp(new Dp)},TF(ixn,"AbstractEList/NonResolvingEIterator",341),Vfn(385,278,kEn,s$,VN),Bjn.Rb=function(n){throw fp(new Dp)},Bjn.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){throw OO(n=E4(n),73)?(this.mj(),fp(new _p)):fp(n)}},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Wb=function(n){throw fp(new Dp)},TF(ixn,"AbstractEList/NonResolvingEListIterator",385),Vfn(1982,67,yDn),Bjn.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=(i=t.gc())){for(e=g6(this,(s=null==(o=Jx(q3(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&hmn(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw fp(new EN(n,e));return new IB(this,n)},Bjn.$b=function(){var n,t;++this.j,t=null==(n=Jx(q3(this.a,4),126))?0:n.length,Dtn(this,null),WQ(this,t,n)},Bjn.Hc=function(n){var t,e,i,r;if(null!=(t=Jx(q3(this.a,4),126)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Jx(q3(this.a,4),126))?0:t.length))throw fp(new EN(n,e));return t[n]},Bjn.Xc=function(n){var t,e,i;if(null!=(t=Jx(q3(this.a,4),126)))if(null!=n){for(e=0,i=t.length;ee)throw fp(new EN(n,e));return new PB(this,n)},Bjn.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=qnn(this))?0:e.length))throw fp(new qm(Exn+n+Txn+r));if(t>=r)throw fp(new qm(Mxn+t+Txn+r));return i=e[t],n!=t&&(n=(a=null==(e=Jx(q3(n.a,4),126))?0:e.length))throw fp(new EN(t,a));return r=e[t],1==a?i=null:(hmn(e,0,i=QQ(Act,mDn,415,a-1,0,1),0,t),(c=a-t-1)>0&&hmn(e,t+1,i,t,c)),Dtn(n,i),Fsn(n,t,r),r}(this,n)},Bjn.mi=function(n,t){var e,i;return i=(e=qnn(this))[n],BC(e,n,j6(this,t)),Dtn(this,e),i},Bjn.gc=function(){var n;return null==(n=Jx(q3(this.a,4),126))?0:n.length},Bjn.Pc=function(){var n,t,e;return e=null==(n=Jx(q3(this.a,4),126))?0:n.length,t=QQ(Act,mDn,415,e,0,1),e>0&&hmn(n,0,t,0,e),t},Bjn.Qc=function(n){var t,e;return(e=null==(t=Jx(q3(this.a,4),126))?0:t.length)>0&&(n.lengthe&&RF(n,e,null),n},TF(ixn,"ArrayDelegatingEList",1982),Vfn(1038,40,lEn,lV),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},Bjn.Qb=function(){ean(this),this.a=Jx(q3(this.b.a,4),126)},TF(ixn,"ArrayDelegatingEList/EIterator",1038),Vfn(706,278,kEn,w_,PB),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},Bjn.pj=function(n){Kin(this,n),this.a=Jx(q3(this.b.a,4),126)},Bjn.Qb=function(){ean(this),this.a=Jx(q3(this.b.a,4),126)},TF(ixn,"ArrayDelegatingEList/EListIterator",706),Vfn(1039,341,lEn,bV),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},TF(ixn,"ArrayDelegatingEList/NonResolvingEIterator",1039),Vfn(707,385,kEn,d_,IB),Bjn.mj=function(){if(this.b.j!=this.f||rI(Jx(q3(this.b.a,4),126))!==rI(this.a))throw fp(new Rp)},TF(ixn,"ArrayDelegatingEList/NonResolvingEListIterator",707),Vfn(606,295,QTn,HI),TF(ixn,"BasicEList/BasicIndexOutOfBoundsException",606),Vfn(696,63,Sxn,YP),Bjn.Vc=function(n,t){throw fp(new Dp)},Bjn.Fc=function(n){throw fp(new Dp)},Bjn.Wc=function(n,t){throw fp(new Dp)},Bjn.Gc=function(n){throw fp(new Dp)},Bjn.$b=function(){throw fp(new Dp)},Bjn.qi=function(n){throw fp(new Dp)},Bjn.Kc=function(){return this.Zh()},Bjn.Yc=function(){return this.$h()},Bjn.Zc=function(n){return this._h(n)},Bjn.ii=function(n,t){throw fp(new Dp)},Bjn.ji=function(n,t){throw fp(new Dp)},Bjn.$c=function(n){throw fp(new Dp)},Bjn.Mc=function(n){throw fp(new Dp)},Bjn._c=function(n,t){throw fp(new Dp)},TF(ixn,"BasicEList/UnmodifiableEList",696),Vfn(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),Bjn.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Jx(e,133))}(this,n,Jx(t,42))},Bjn.Fc=function(n){return function(n,t){return n.c.Fc(Jx(t,133))}(this,Jx(n,42))},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return Jx(a1(this.c,n),133)},Bjn.ii=function(n,t){return Jx(this.c.ii(n,t),42)},Bjn.ji=function(n,t){!function(n,t,e){n.c.ji(t,Jx(e,133))}(this,n,Jx(t,42))},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return Jx(this.c.$c(n),42)},Bjn._c=function(n,t){return function(n,t,e){return Jx(n.c._c(t,Jx(e,133)),42)}(this,n,Jx(t,42))},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.Wc=function(n,t){return this.c.Wc(n,t)},Bjn.Gc=function(n){return this.c.Gc(n)},Bjn.$b=function(){this.c.$b()},Bjn.Hc=function(n){return this.c.Hc(n)},Bjn.Ic=function(n){return y4(this.c,n)},Bjn.qj=function(){var n,t;if(null==this.d){for(this.d=QQ(Tct,kDn,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)ein(this,Jx(n.nj(),133));this.e=t}},Bjn.Fb=function(n){return XN(this,n)},Bjn.Hb=function(){return N4(this.c)},Bjn.Xc=function(n){return this.c.Xc(n)},Bjn.rj=function(){this.c=new Ng(this)},Bjn.dc=function(){return 0==this.f},Bjn.Kc=function(){return this.c.Kc()},Bjn.Yc=function(){return this.c.Yc()},Bjn.Zc=function(n){return this.c.Zc(n)},Bjn.sj=function(){return XQ(this)},Bjn.tj=function(n,t,e){return new _x(n,t,e)},Bjn.uj=function(){return new vo},Bjn.Mc=function(n){return d0(this,n)},Bjn.gc=function(){return this.f},Bjn.bd=function(n,t){return new Az(this.c,n,t)},Bjn.Pc=function(){return this.c.Pc()},Bjn.Qc=function(n){return this.c.Qc(n)},Bjn.Ib=function(){return R7(this.c)},Bjn.e=0,Bjn.f=0,TF(ixn,"BasicEMap",705),Vfn(1033,63,Sxn,Ng),Bjn.bi=function(n,t){!function(n,t){ein(n.a,t)}(this,Jx(t,133))},Bjn.ei=function(n,t,e){++(this,Jx(t,133),this).a.e},Bjn.fi=function(n,t){!function(n,t){x9(n.a,t)}(this,Jx(t,133))},Bjn.gi=function(n,t,e){!function(n,t,e){x9(n.a,e),ein(n.a,t)}(this,Jx(t,133),Jx(e,133))},Bjn.di=function(n,t){$3(this.a)},TF(ixn,"BasicEMap/1",1033),Vfn(1034,63,Sxn,vo),Bjn.ri=function(n){return QQ(Nct,jDn,612,n,0,1)},TF(ixn,"BasicEMap/2",1034),Vfn(1035,gEn,pEn,xg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){return ynn(this.a,n)},Bjn.Kc=function(){return 0==this.a.f?(rL(),Lct.a):new Mk(this.a)},Bjn.Mc=function(n){var t;return t=this.a.f,etn(this.a,n),this.a.f!=t},Bjn.gc=function(){return this.a.f},TF(ixn,"BasicEMap/3",1035),Vfn(1036,28,dEn,Dg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){return Cdn(this.a,n)},Bjn.Kc=function(){return 0==this.a.f?(rL(),Lct.a):new Sk(this.a)},Bjn.gc=function(){return this.a.f},TF(ixn,"BasicEMap/4",1036),Vfn(1037,gEn,pEn,Rg),Bjn.$b=function(){this.a.c.$b()},Bjn.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&OO(n,42)&&(this.a.qj(),r=null==(u=(o=Jx(n,42)).cd())?0:V5(u),c=_L(this.a,r),t=this.a.d[c]))for(e=Jx(t.g,367),s=t.i,a=0;a"+this.c},Bjn.a=0;var Lct,Nct=TF(ixn,"BasicEMap/EntryImpl",612);Vfn(536,1,{},oo),TF(ixn,"BasicEMap/View",536),Vfn(768,1,{}),Bjn.Fb=function(n){return hln((WH(),MFn),n)},Bjn.Hb=function(){return _5((WH(),MFn))},Bjn.Ib=function(){return zun((WH(),MFn))},TF(ixn,"ECollections/BasicEmptyUnmodifiableEList",768),Vfn(1312,1,kEn,mo),Bjn.Nb=function(n){C_(this,n)},Bjn.Rb=function(n){throw fp(new Dp)},Bjn.Ob=function(){return!1},Bjn.Sb=function(){return!1},Bjn.Pb=function(){throw fp(new _p)},Bjn.Tb=function(){return 0},Bjn.Ub=function(){throw fp(new _p)},Bjn.Vb=function(){return-1},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Wb=function(n){throw fp(new Dp)},TF(ixn,"ECollections/BasicEmptyUnmodifiableEList/1",1312),Vfn(1310,768,{20:1,14:1,15:1,58:1},Kv),Bjn.Vc=function(n,t){dj()},Bjn.Fc=function(n){return gj()},Bjn.Wc=function(n,t){return pj()},Bjn.Gc=function(n){return vj()},Bjn.$b=function(){mj()},Bjn.Hc=function(n){return!1},Bjn.Ic=function(n){return!1},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return OI((WH(),n)),null},Bjn.Xc=function(n){return-1},Bjn.dc=function(){return!0},Bjn.Kc=function(){return this.a},Bjn.Yc=function(){return this.a},Bjn.Zc=function(n){return this.a},Bjn.ii=function(n,t){return yj()},Bjn.ji=function(n,t){kj()},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return jj()},Bjn.Mc=function(n){return Ej()},Bjn._c=function(n,t){return Tj()},Bjn.gc=function(){return 0},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.bd=function(n,t){return WH(),new Az(MFn,n,t)},Bjn.Pc=function(){return OK((WH(),MFn))},Bjn.Qc=function(n){return WH(),Fin(MFn,n)},TF(ixn,"ECollections/EmptyUnmodifiableEList",1310),Vfn(1311,768,{20:1,14:1,15:1,58:1,589:1},_v),Bjn.Vc=function(n,t){dj()},Bjn.Fc=function(n){return gj()},Bjn.Wc=function(n,t){return pj()},Bjn.Gc=function(n){return vj()},Bjn.$b=function(){mj()},Bjn.Hc=function(n){return!1},Bjn.Ic=function(n){return!1},Bjn.Jc=function(n){WW(this,n)},Bjn.Xb=function(n){return OI((WH(),n)),null},Bjn.Xc=function(n){return-1},Bjn.dc=function(){return!0},Bjn.Kc=function(){return this.a},Bjn.Yc=function(){return this.a},Bjn.Zc=function(n){return this.a},Bjn.ii=function(n,t){return yj()},Bjn.ji=function(n,t){kj()},Bjn.Lc=function(){return new PR(null,new xz(this,16))},Bjn.$c=function(n){return jj()},Bjn.Mc=function(n){return Ej()},Bjn._c=function(n,t){return Tj()},Bjn.gc=function(){return 0},Bjn.ad=function(n){C2(this,n)},Bjn.Nc=function(){return new xz(this,16)},Bjn.Oc=function(){return new PR(null,new xz(this,16))},Bjn.bd=function(n,t){return WH(),new Az(MFn,n,t)},Bjn.Pc=function(){return OK((WH(),MFn))},Bjn.Qc=function(n){return WH(),Fin(MFn,n)},Bjn.sj=function(){return WH(),WH(),SFn},TF(ixn,"ECollections/EmptyUnmodifiableEMap",1311);var xct,Dct=uR(ixn,"Enumerator");Vfn(281,1,{281:1},Ddn),Bjn.Fb=function(n){var t;return this===n||!!OO(n,281)&&(t=Jx(n,281),this.f==t.f&&function(n,t){return null==n?null==t:mtn(n,t)}(this.i,t.i)&&YR(this.a,0!=(256&this.f)?0!=(256&t.f)?t.a:null:0!=(256&t.f)?null:t.a)&&YR(this.d,t.d)&&YR(this.g,t.g)&&YR(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.Bh(e):Thn(n,t)},TF(INn,"BasicEObjectImpl/4",1027),Vfn(1983,1,{108:1}),Bjn.bk=function(n){this.e=0==n?Bat:QQ(XKn,rEn,1,n,5,1)},Bjn.Ch=function(n){return this.e[n]},Bjn.Dh=function(n,t){this.e[n]=t},Bjn.Eh=function(n){this.e[n]=null},Bjn.ck=function(){return this.c},Bjn.dk=function(){throw fp(new Dp)},Bjn.ek=function(){throw fp(new Dp)},Bjn.fk=function(){return this.d},Bjn.gk=function(){return null!=this.e},Bjn.hk=function(n){this.c=n},Bjn.ik=function(n){throw fp(new Dp)},Bjn.jk=function(n){throw fp(new Dp)},Bjn.kk=function(n){this.d=n},TF(INn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),Vfn(185,1983,{108:1},Df),Bjn.dk=function(){return this.a},Bjn.ek=function(){return this.b},Bjn.ik=function(n){this.a=n},Bjn.jk=function(n){this.b=n},TF(INn,"BasicEObjectImpl/EPropertiesHolderImpl",185),Vfn(506,97,PNn,yo),Bjn.Kg=function(){return this.f},Bjn.Pg=function(){return this.k},Bjn.Rg=function(n,t){this.g=n,this.i=t},Bjn.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},Bjn.Vg=function(){return this.i},Bjn.Mg=function(){return 0!=(1&this.j)},Bjn.eh=function(){return this.g},Bjn.kh=function(){return 0!=(4&this.j)},Bjn.ph=function(){return!this.k&&(this.k=new Df),this.k},Bjn.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},Bjn.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},Bjn.zh=function(){return(JF(),pat).S},Bjn.i=0,Bjn.j=1,TF(INn,"EObjectImpl",506),Vfn(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},PD),Bjn.Ch=function(n){return this.e[n]},Bjn.Dh=function(n,t){this.e[n]=t},Bjn.Eh=function(n){this.e[n]=null},Bjn.Tg=function(){return this.d},Bjn.Yg=function(n){return enn(this.d,n)},Bjn.$g=function(){return this.d},Bjn.dh=function(){return null!=this.e},Bjn.ph=function(){return!this.k&&(this.k=new ko),this.k},Bjn.th=function(n){this.d=n},Bjn.yh=function(){var n;return null==this.e&&(n=mF(this.d),this.e=0==n?Hat:QQ(XKn,rEn,1,n,5,1)),this},Bjn.Ah=function(){return 0},TF(INn,"DynamicEObjectImpl",780),Vfn(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},cR),Bjn.Fb=function(n){return this===n},Bjn.Hb=function(){return FA(this)},Bjn.th=function(n){this.d=n,this.b=Jbn(n,"key"),this.c=Jbn(n,_Nn)},Bjn.Sh=function(){var n;return-1==this.a&&(n=_J(this,this.b),this.a=null==n?0:V5(n)),this.a},Bjn.cd=function(){return _J(this,this.b)},Bjn.dd=function(){return _J(this,this.c)},Bjn.Th=function(n){this.a=n},Bjn.Uh=function(n){wG(this,this.b,n)},Bjn.ed=function(n){var t;return t=_J(this,this.c),wG(this,this.c,n),t},Bjn.a=0,TF(INn,"DynamicEObjectImpl/BasicEMapEntry",1376),Vfn(1377,1,{108:1},ko),Bjn.bk=function(n){throw fp(new Dp)},Bjn.Ch=function(n){throw fp(new Dp)},Bjn.Dh=function(n,t){throw fp(new Dp)},Bjn.Eh=function(n){throw fp(new Dp)},Bjn.ck=function(){throw fp(new Dp)},Bjn.dk=function(){return this.a},Bjn.ek=function(){return this.b},Bjn.fk=function(){return this.c},Bjn.gk=function(){throw fp(new Dp)},Bjn.hk=function(n){throw fp(new Dp)},Bjn.ik=function(n){this.a=n},Bjn.jk=function(n){this.b=n},Bjn.kk=function(n){this.c=n},TF(INn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),Vfn(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},jo),Bjn.Qg=function(n){return ecn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),this.b):(!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),XQ(this.b));case 3:return BG(this);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),this.a;case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),this.c}return KY(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ecn(this,e):this.Cb.ih(this,-1-i,null,e)),EK(this,Jx(n,147),e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),vat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),vat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),JN(this.b,n,e);case 3:return EK(this,null,e);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),vat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),vat)),n,e)},Bjn.lh=function(n){switch(n){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!!BG(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return DX(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void function(n,t){H0(n,null==t?null:(mB(t),t))}(this,bL(t));case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),void I3(this.b,t);case 3:return void Vbn(this,Jx(t,147));case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),qmn(this.a),!this.a&&(this.a=new WO(Vrt,this,4)),void EF(this.a,Jx(t,14));case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),qmn(this.c),!this.c&&(this.c=new ZO(Vrt,this,5)),void EF(this.c,Jx(t,14))}T7(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n),t)},Bjn.zh=function(){return Djn(),vat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void H0(this,null);case 2:return!this.b&&(this.b=new U$((Djn(),Rat),sut,this)),void this.b.c.$b();case 3:return void Vbn(this,null);case 4:return!this.a&&(this.a=new WO(Vrt,this,4)),void qmn(this.a);case 5:return!this.c&&(this.c=new ZO(Vrt,this,5)),void qmn(this.c)}c9(this,n-mF((Djn(),vat)),OZ(Jx(q3(this,16),26)||vat,n))},Bjn.Ib=function(){return s9(this)},Bjn.d=null,TF(INn,"EAnnotationImpl",510),Vfn(151,705,KDn,kY),Bjn.Xh=function(n,t){!function(n,t,e){Jx(n.c,69).Xh(t,e)}(this,n,Jx(t,42))},Bjn.lk=function(n,t){return function(n,t,e){return Jx(n.c,69).lk(t,e)}(this,Jx(n,42),t)},Bjn.pi=function(n){return Jx(Jx(this.c,69).pi(n),133)},Bjn.Zh=function(){return Jx(this.c,69).Zh()},Bjn.$h=function(){return Jx(this.c,69).$h()},Bjn._h=function(n){return Jx(this.c,69)._h(n)},Bjn.mk=function(n,t){return JN(this,n,t)},Bjn.Wj=function(n){return Jx(this.c,76).Wj(n)},Bjn.rj=function(){},Bjn.fj=function(){return Jx(this.c,76).fj()},Bjn.tj=function(n,t,e){var i;return(i=Jx(r1(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},Bjn.uj=function(){return new Zg(this)},Bjn.Wb=function(n){I3(this,n)},Bjn.Xj=function(){Jx(this.c,76).Xj()},TF(DDn,"EcoreEMap",151),Vfn(158,151,KDn,U$),Bjn.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=QQ(Tct,kDn,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=Jx(e.nj(),133)).Sh()&Jjn)%r.length])&&(n=r[i]=new Zg(this)),n.Fc(t);this.d=r}},TF(INn,"EAnnotationImpl/1",158),Vfn(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}),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!this.$j();case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i)}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void this.Lh(bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void this.ok(Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi())}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),_at},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void this.Lh(null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void this.ok(1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi())}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){lcn(this),this.Bb|=1},Bjn.Yj=function(){return lcn(this)},Bjn.Zj=function(){return this.t},Bjn.$j=function(){var n;return(n=this.t)>1||-1==n},Bjn.hi=function(){return 0!=(512&this.Bb)},Bjn.nk=function(n,t){return U8(this,n,t)},Bjn.ok=function(n){B1(this,n)},Bjn.Ib=function(){return Pfn(this)},Bjn.s=0,Bjn.t=1,TF(INn,"ETypedElementImpl",284),Vfn(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}),Bjn.Qg=function(n){return $rn(this,n)},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!this.$j();case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this)}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?$rn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,17,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 17:return spn(this,null,17,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this)}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void this.ok(Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),Kat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void this.ok(1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.Gh=function(){tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.Gj=function(){return this.f},Bjn.zj=function(){return Ibn(this)},Bjn.Hj=function(){return qG(this)},Bjn.Lj=function(){return null},Bjn.pk=function(){return this.k},Bjn.aj=function(){return this.n},Bjn.Mj=function(){return lan(this)},Bjn.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=qG(this)).i&&hvn(e),e.i).length,(i=this.Lj())&&mF(qG(i)),n=(a=(r=lcn(this)).Bj())?0!=(1&a.i)?a==Qot?R_n:a==Vot?X_n:a==nst?G_n:a==Zot?q_n:a==Yot?Z_n:a==tst?tFn:a==Jot?F_n:H_n:a:null,t=Ibn(this),u=r.zj(),h7(this),0!=(this.Bb&SEn)&&((c=Rcn((dsn(),dut),e))&&c!=this||(c=Hz(IJ(dut,this))))?this.p=new UP(this,c):this.$j()?this.rk()?i?0!=(this.Bb&FDn)?n?this.sk()?this.p=new NH(47,n,this,i):this.p=new NH(5,n,this,i):this.sk()?this.p=new hW(46,this,i):this.p=new hW(4,this,i):n?this.sk()?this.p=new NH(49,n,this,i):this.p=new NH(7,n,this,i):this.sk()?this.p=new hW(48,this,i):this.p=new hW(6,this,i):0!=(this.Bb&FDn)?n?n==r_n?this.p=new Fx(50,fct,this):this.sk()?this.p=new Fx(43,n,this):this.p=new Fx(1,n,this):this.sk()?this.p=new qq(42,this):this.p=new qq(0,this):n?n==r_n?this.p=new Fx(41,fct,this):this.sk()?this.p=new Fx(45,n,this):this.p=new Fx(3,n,this):this.sk()?this.p=new qq(44,this):this.p=new qq(2,this):OO(r,148)?n==Wat?this.p=new qq(40,this):0!=(512&this.Bb)?0!=(this.Bb&FDn)?this.p=n?new Fx(9,n,this):new qq(8,this):this.p=n?new Fx(11,n,this):new qq(10,this):0!=(this.Bb&FDn)?this.p=n?new Fx(13,n,this):new qq(12,this):this.p=n?new Fx(15,n,this):new qq(14,this):i?(o=i.t)>1||-1==o?this.sk()?0!=(this.Bb&FDn)?this.p=n?new NH(25,n,this,i):new hW(24,this,i):this.p=n?new NH(27,n,this,i):new hW(26,this,i):0!=(this.Bb&FDn)?this.p=n?new NH(29,n,this,i):new hW(28,this,i):this.p=n?new NH(31,n,this,i):new hW(30,this,i):this.sk()?0!=(this.Bb&FDn)?this.p=n?new NH(33,n,this,i):new hW(32,this,i):this.p=n?new NH(35,n,this,i):new hW(34,this,i):0!=(this.Bb&FDn)?this.p=n?new NH(37,n,this,i):new hW(36,this,i):this.p=n?new NH(39,n,this,i):new hW(38,this,i):this.sk()?0!=(this.Bb&FDn)?this.p=n?new Fx(17,n,this):new qq(16,this):this.p=n?new Fx(19,n,this):new qq(18,this):0!=(this.Bb&FDn)?this.p=n?new Fx(21,n,this):new qq(20,this):this.p=n?new Fx(23,n,this):new qq(22,this):this.qk()?this.sk()?this.p=new Bx(Jx(r,26),this,i):this.p=new eG(Jx(r,26),this,i):OO(r,148)?n==Wat?this.p=new qq(40,this):0!=(this.Bb&FDn)?this.p=n?new PK(t,u,this,(snn(),a==Vot?cut:a==Qot?nut:a==Yot?aut:a==nst?rut:a==Zot?iut:a==tst?out:a==Jot?tut:a==Wot?eut:uut)):new RH(Jx(r,148),t,u,this):this.p=n?new SK(t,u,this,(snn(),a==Vot?cut:a==Qot?nut:a==Yot?aut:a==nst?rut:a==Zot?iut:a==tst?out:a==Jot?tut:a==Wot?eut:uut)):new DH(Jx(r,148),t,u,this):this.rk()?i?0!=(this.Bb&FDn)?this.sk()?this.p=new Xx(Jx(r,26),this,i):this.p=new Ux(Jx(r,26),this,i):this.sk()?this.p=new zx(Jx(r,26),this,i):this.p=new Hx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.sk()?this.p=new Q$(Jx(r,26),this):this.p=new V$(Jx(r,26),this):this.sk()?this.p=new W$(Jx(r,26),this):this.p=new X$(Jx(r,26),this):this.sk()?i?0!=(this.Bb&FDn)?this.p=new Wx(Jx(r,26),this,i):this.p=new qx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.p=new J$(Jx(r,26),this):this.p=new Y$(Jx(r,26),this):i?0!=(this.Bb&FDn)?this.p=new Vx(Jx(r,26),this,i):this.p=new Gx(Jx(r,26),this,i):0!=(this.Bb&FDn)?this.p=new Z$(Jx(r,26),this):this.p=new _R(Jx(r,26),this)),this.p},Bjn.Ij=function(){return 0!=(this.Bb&RNn)},Bjn.qk=function(){return!1},Bjn.rk=function(){return!1},Bjn.Jj=function(){return 0!=(this.Bb&SEn)},Bjn.Oj=function(){return zJ(this)},Bjn.sk=function(){return!1},Bjn.Kj=function(){return 0!=(this.Bb&FDn)},Bjn.tk=function(n){this.k=n},Bjn.Lh=function(n){kz(this,n)},Bjn.Ib=function(){return Ydn(this)},Bjn.e=!1,Bjn.n=0,TF(INn,"EStructuralFeatureImpl",449),Vfn(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},Gv),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),!!Hhn(this);case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this);case 18:return MA(),0!=(this.Bb&SNn);case 19:return t?m4(this):oQ(this)}return KY(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n),t,e)},Bjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Hhn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this);case 18:return 0!=(this.Bb&SNn);case 19:return!!oQ(this)}return DX(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void Ok(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)));case 18:return void G9(this,ty(fL(t)))}T7(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n),t)},Bjn.zh=function(){return Djn(),mat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return this.b=0,void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1);case 18:return void G9(this,!1)}c9(this,n-mF((Djn(),mat)),OZ(Jx(q3(this,16),26)||mat,n))},Bjn.Gh=function(){m4(this),tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.$j=function(){return Hhn(this)},Bjn.nk=function(n,t){return this.b=0,this.a=null,U8(this,n,t)},Bjn.ok=function(n){Ok(this,n)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?Ydn(this):((n=new SA(Ydn(this))).a+=" (iD: ",tj(n,0!=(this.Bb&SNn)),n.a+=")",n.a)},Bjn.b=0,TF(INn,"EAttributeImpl",322),Vfn(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}),Bjn.uk=function(n){return n.Tg()==this},Bjn.Qg=function(n){return vrn(this,n)},Bjn.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return lrn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?r1(this):HG(this);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),this.A}return KY(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Qj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e)}return Jx(OZ(Jx(q3(this,16),26)||this.zh(),t),66).Nj().Rj(this,gtn(this),t-mF(this.zh()),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i}return DX(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14))}T7(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n),t)},Bjn.zh=function(){return Djn(),kat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A)}c9(this,n-mF(this.zh()),OZ(Jx(q3(this,16),26)||this.zh(),n))},Bjn.yj=function(){var n;return-1==this.G&&(this.G=(n=r1(this))?Ken(n.Mh(),this):-1),this.G},Bjn.zj=function(){return null},Bjn.Aj=function(){return r1(this)},Bjn.vk=function(){return this.v},Bjn.Bj=function(){return lrn(this)},Bjn.Cj=function(){return null!=this.D?this.D:this.B},Bjn.Dj=function(){return this.F},Bjn.wj=function(n){return Jpn(this,n)},Bjn.wk=function(n){this.v=n},Bjn.xk=function(n){x2(this,n)},Bjn.yk=function(n){this.C=n},Bjn.Lh=function(n){jz(this,n)},Bjn.Ib=function(){return tnn(this)},Bjn.C=null,Bjn.D=null,Bjn.G=-1,TF(INn,"EClassifierImpl",351),Vfn(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},Rf),Bjn.uk=function(n){return function(n,t){return t==n||Bcn(ybn(t),n)}(this,n.Tg())},Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return lrn(this);case 4:return null;case 5:return this.F;case 6:return t?r1(this):HG(this);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),this.A;case 8:return MA(),0!=(256&this.Bb);case 9:return MA(),0!=(512&this.Bb);case 10:return Cq(this);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),this.q;case 12:return imn(this);case 13:return Xvn(this);case 14:return Xvn(this),this.r;case 15:return imn(this),this.k;case 16:return Lsn(this);case 17:return $vn(this);case 18:return hvn(this);case 19:return ybn(this);case 20:return imn(this),this.o;case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),this.s;case 22:return eW(this);case 23:return Tdn(this)}return KY(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),dnn(this.q,n,e);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),dnn(this.s,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),yat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),yat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e);case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),Men(this.q,n,e);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),Men(this.s,n,e);case 22:return Men(eW(this),n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),yat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),yat)),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==eW(this.u.a).i||this.n&&hin(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=imn(this).i;case 13:return 0!=Xvn(this).i;case 14:return Xvn(this),0!=this.r.i;case 15:return imn(this),0!=this.k.i;case 16:return 0!=Lsn(this).i;case 17:return 0!=$vn(this).i;case 18:return 0!=hvn(this).i;case 19:return 0!=ybn(this).i;case 20:return imn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&hin(this.n);case 23:return 0!=Tdn(this).i}return DX(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n))},Bjn.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:Jbn(this,n))||Ekn(this,n)},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14));case 8:return void f9(this,ty(fL(t)));case 9:return void w9(this,ty(fL(t)));case 10:return Vmn(Cq(this)),void EF(Cq(this),Jx(t,14));case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),qmn(this.q),!this.q&&(this.q=new y_(lat,this,11,10)),void EF(this.q,Jx(t,14));case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),qmn(this.s),!this.s&&(this.s=new y_(eat,this,21,17)),void EF(this.s,Jx(t,14));case 22:return qmn(eW(this)),void EF(eW(this),Jx(t,14))}T7(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n),t)},Bjn.zh=function(){return Djn(),yat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A);case 8:return void f9(this,!1);case 9:return void w9(this,!1);case 10:return void(this.u&&Vmn(this.u));case 11:return!this.q&&(this.q=new y_(lat,this,11,10)),void qmn(this.q);case 21:return!this.s&&(this.s=new y_(eat,this,21,17)),void qmn(this.s);case 22:return void(this.n&&qmn(this.n))}c9(this,n-mF((Djn(),yat)),OZ(Jx(q3(this,16),26)||yat,n))},Bjn.Gh=function(){var n,t;if(imn(this),Xvn(this),Lsn(this),$vn(this),hvn(this),ybn(this),Tdn(this),DV(function(n){return!n.c&&(n.c=new Bo),n.c}(wV(this))),this.s)for(n=0,t=this.s.i;n=0;--t)a1(this,t);return wnn(this,n)},Bjn.Xj=function(){qmn(this)},Bjn.oi=function(n,t){return U1(this,0,t)},TF(DDn,"EcoreEList",622),Vfn(496,622,ZDn,MD),Bjn.ai=function(){return!1},Bjn.aj=function(){return this.c},Bjn.bj=function(){return!1},Bjn.Fk=function(){return!0},Bjn.hi=function(){return!0},Bjn.li=function(n,t){return t},Bjn.ni=function(){return!1},Bjn.c=0,TF(DDn,"EObjectEList",496),Vfn(85,496,ZDn,WO),Bjn.bj=function(){return!0},Bjn.Dk=function(){return!1},Bjn.rk=function(){return!0},TF(DDn,"EObjectContainmentEList",85),Vfn(545,85,ZDn,VO),Bjn.ci=function(){this.b=!0},Bjn.fj=function(){return this.b},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.b,this.b=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.b=!1},Bjn.b=!1,TF(DDn,"EObjectContainmentEList/Unsettable",545),Vfn(1140,545,ZDn,TK),Bjn.ii=function(n,t){var e,i;return e=Jx(N9(this,n,t),87),pC(this.e)&&Wp(this,new EY(this.a,7,(Djn(),jat),g9(t),OO(i=e.c,88)?Jx(i,26):Aat,n)),e},Bjn.jj=function(n,t){return function(n,t,e){var i,r;return i=new kJ(n.e,3,10,null,OO(r=t.c,88)?Jx(r,26):(Djn(),Aat),Ken(n,t),!1),e?e.Ei(i):e=i,e}(this,Jx(n,87),t)},Bjn.kj=function(n,t){return function(n,t,e){var i,r;return i=new kJ(n.e,4,10,OO(r=t.c,88)?Jx(r,26):(Djn(),Aat),null,Ken(n,t),!1),e?e.Ei(i):e=i,e}(this,Jx(n,87),t)},Bjn.lj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new kJ(n.e,1,10,OO(a=t.c,88)?Jx(a,26):(Djn(),Aat),OO(c=e.c,88)?Jx(c,26):(Djn(),Aat),Ken(n,t),!1),i?i.Ei(r):i=r,i}(this,Jx(n,87),Jx(t,87),e)},Bjn.Zi=function(n,t,e,i,r){switch(n){case 3:return UG(this,n,t,e,i,this.i>1);case 5:return UG(this,n,t,e,i,this.i-Jx(e,15).gc()>0);default:return new kJ(this.e,n,this.c,t,e,i,!0)}},Bjn.ij=function(){return!0},Bjn.fj=function(){return hin(this)},Bjn.Xj=function(){qmn(this)},TF(INn,"EClassImpl/1",1140),Vfn(1154,1153,dDn),Bjn.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&(!(t=wV(Jx(u,473))).c&&(t.c=new Bo),GJ(t.c,n.Ai())),null!=(a=n.zi())&&0==(1&(r=Jx(a,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&0==(1&(r=Jx(a,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Jx(a,14).Kc();c.Ob();)0==(1&(r=Jx(c.Pb(),473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),lY(t.c,Jx(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&0==(1&(r=Jx(u,473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),GJ(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Jx(u,14).Kc();c.Ob();)0==(1&(r=Jx(c.Pb(),473)).Bb)&&(!(t=wV(r)).c&&(t.c=new Bo),GJ(t.c,n.Ai()))}this.Hk(i)}},Bjn.Hk=function(n){zdn(this,n)},Bjn.b=63,TF(INn,"ESuperAdapter",1154),Vfn(1155,1154,dDn,_g),Bjn.Hk=function(n){chn(this,n)},TF(INn,"EClassImpl/10",1155),Vfn(1144,696,ZDn),Bjn.Vh=function(n,t){return fun(this,n,t)},Bjn.Wh=function(n){return Lin(this,n)},Bjn.Xh=function(n,t){W8(this,n,t)},Bjn.Yh=function(n){xV(this,n)},Bjn.pi=function(n){return $Y(this,n)},Bjn.mi=function(n,t){return qJ(this,n,t)},Bjn.lk=function(n,t){throw fp(new Dp)},Bjn.Zh=function(){return new o$(this)},Bjn.$h=function(){return new s$(this)},Bjn._h=function(n){return w0(this,n)},Bjn.mk=function(n,t){throw fp(new Dp)},Bjn.Wj=function(n){return this},Bjn.fj=function(){return 0!=this.i},Bjn.Wb=function(n){throw fp(new Dp)},Bjn.Xj=function(){throw fp(new Dp)},TF(DDn,"EcoreEList/UnmodifiableEList",1144),Vfn(319,1144,ZDn,qI),Bjn.ni=function(){return!1},TF(DDn,"EcoreEList/UnmodifiableEList/FastCompare",319),Vfn(1147,319,ZDn,v5),Bjn.Xc=function(n){var t,e;if(OO(n,170)&&-1!=(t=Jx(n,170).aj()))for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Jx(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Jx(OZ(Oq(this.b),this.aj()).Yj(),26).Bj())==tin(Jx(OZ(Oq(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg())for(i=0;i1||-1==e)},Bjn.Dk=function(){var n;return!!OO(n=OZ(Oq(this.b),this.aj()),99)&&!!tin(Jx(n,18))},Bjn.Ek=function(){var n;return!!OO(n=OZ(Oq(this.b),this.aj()),99)&&0!=(Jx(n,18).Bb&iMn)},Bjn.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk())for(t=0,i=this.Vi();t=0;--n)fyn(this,n,this.Oi(n));return this.Wi()},Bjn.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)fyn(this,t,this.Oi(t));return this.Xi(n)},Bjn.Xj=function(){Vmn(this)},Bjn.oi=function(n,t){return LY(this,0,t)},TF(DDn,"DelegatingEcoreEList",742),Vfn(1150,742,rRn,GL),Bjn.Hi=function(n,t){!function(n,t,e){k9(eW(n.a),t,Tz(e))}(this,n,Jx(t,26))},Bjn.Ii=function(n){!function(n,t){lY(eW(n.a),Tz(t))}(this,Jx(n,26))},Bjn.Oi=function(n){var t;return OO(t=Jx(a1(eW(this.a),n),87).c,88)?Jx(t,26):(Djn(),Aat)},Bjn.Ti=function(n){var t;return OO(t=Jx(edn(eW(this.a),n),87).c,88)?Jx(t,26):(Djn(),Aat)},Bjn.Ui=function(n,t){return function(n,t,e){var i,r,c;return(0!=(64&(c=OO(r=(i=Jx(a1(eW(n.a),t),87)).c,88)?Jx(r,26):(Djn(),Aat)).Db)?I8(n.b,c):c)==e?Hpn(i):w1(i,e),c}(this,n,Jx(t,26))},Bjn.ai=function(){return!1},Bjn.Zi=function(n,t,e,i,r){return null},Bjn.Ji=function(){return new Bg(this)},Bjn.Ki=function(){qmn(eW(this.a))},Bjn.Li=function(n){return u9(this,n)},Bjn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!u9(this,t.Pb()))return!1;return!0},Bjn.Ni=function(n){var t,e,i;if(OO(n,15)&&(i=Jx(n,15)).gc()==eW(this.a).i){for(t=i.Kc(),e=new XO(this);t.Ob();)if(rI(t.Pb())!==rI(fen(e)))return!1;return!0}return!1},Bjn.Pi=function(){var n,t,e,i;for(t=1,n=new XO(eW(this.a));n.e!=n.i.gc();)t=31*t+((e=OO(i=Jx(fen(n),87).c,88)?Jx(i,26):(Djn(),Aat))?FA(e):0);return t},Bjn.Qi=function(n){var t,e,i,r;for(i=0,e=new XO(eW(this.a));e.e!=e.i.gc();){if(t=Jx(fen(e),87),rI(n)===rI(OO(r=t.c,88)?Jx(r,26):(Djn(),Aat)))return i;++i}return-1},Bjn.Ri=function(){return 0==eW(this.a).i},Bjn.Si=function(){return null},Bjn.Vi=function(){return eW(this.a).i},Bjn.Wi=function(){var n,t,e,i,r,c;for(c=eW(this.a).i,r=QQ(XKn,rEn,1,c,5,1),e=0,t=new XO(eW(this.a));t.e!=t.i.gc();)n=Jx(fen(t),87),r[e++]=OO(i=n.c,88)?Jx(i,26):(Djn(),Aat);return r},Bjn.Xi=function(n){var t,e,i,r;for(r=eW(this.a).i,n.lengthr&&RF(n,r,null),e=0,t=new XO(eW(this.a));t.e!=t.i.gc();)RF(n,e++,OO(i=Jx(fen(t),87).c,88)?Jx(i,26):(Djn(),Aat));return n},Bjn.Yi=function(){var n,t,e,i,r;for((r=new Oy).a+="[",n=eW(this.a),t=0,i=eW(this.a).i;t>16)>=0?vrn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,6,e);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),dnn(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Tat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Tat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 6:return spn(this,null,6,e);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),Men(this.A,n,e);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Tat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Tat)),n,e)},Bjn.lh=function(n){switch(n){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!!lrn(this);case 4:return!!D6(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!HG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return DX(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void jz(this,bL(t));case 2:return void SC(this,bL(t));case 5:return void oyn(this,bL(t));case 7:return!this.A&&(this.A=new QO(Uat,this,7)),qmn(this.A),!this.A&&(this.A=new QO(Uat,this,7)),void EF(this.A,Jx(t,14));case 8:return void l9(this,ty(fL(t)));case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),qmn(this.a),!this.a&&(this.a=new y_(hat,this,9,5)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n),t)},Bjn.zh=function(){return Djn(),Tat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,179)&&(Jx(this.Cb,179).tb=null),void T2(this,null);case 2:return E6(this,null),void H1(this,this.D);case 5:return void oyn(this,null);case 7:return!this.A&&(this.A=new QO(Uat,this,7)),void qmn(this.A);case 8:return void l9(this,!0);case 9:return!this.a&&(this.a=new y_(hat,this,9,5)),void qmn(this.a)}c9(this,n-mF((Djn(),Tat)),OZ(Jx(q3(this,16),26)||Tat,n))},Bjn.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Jx(this.Cb,671):null}return KY(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?tcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,5,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Mat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),Mat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 5:return spn(this,null,5,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Mat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Mat)),n,e)},Bjn.lh=function(n){switch(n){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||!Jx(this.Cb,671))}return DX(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void _1(this,Jx(t,19).a);case 3:return void ffn(this,Jx(t,1940));case 4:return void B0(this,bL(t))}T7(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n),t)},Bjn.zh=function(){return Djn(),Mat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void _1(this,0);case 3:return void ffn(this,null);case 4:return void B0(this,null)}c9(this,n-mF((Djn(),Mat)),OZ(Jx(q3(this,16),26)||Mat,n))},Bjn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},Bjn.b=null,Bjn.c=null,Bjn.d=0,TF(INn,"EEnumLiteralImpl",573);var Vat,Qat,Yat,Jat=uR(INn,"EFactoryImpl/InternalEDateTimeFormat");Vfn(489,1,{2015:1},Hg),TF(INn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),Vfn(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},op),Bjn.Sg=function(n,t,e){var i;return e=spn(this,n,t,e),this.e&&OO(n,170)&&(i=gbn(this,this.e))!=this.c&&(e=Uyn(this,i,e)),e},Bjn._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new WO(fat,this,1)),this.d;case 2:return t?Hpn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?din(this):this.a}return KY(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return P8(this,null,e);case 1:return!this.d&&(this.d=new WO(fat,this,1)),Men(this.d,n,e);case 3:return S8(this,null,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Pat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Pat)),n,e)},Bjn.lh=function(n){switch(n){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 DX(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n))},Bjn.sh=function(n,t){switch(n){case 0:return void yan(this,Jx(t,87));case 1:return!this.d&&(this.d=new WO(fat,this,1)),qmn(this.d),!this.d&&(this.d=new WO(fat,this,1)),void EF(this.d,Jx(t,14));case 3:return void man(this,Jx(t,87));case 4:return void Wun(this,Jx(t,836));case 5:return void w1(this,Jx(t,138))}T7(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n),t)},Bjn.zh=function(){return Djn(),Pat},Bjn.Bh=function(n){switch(n){case 0:return void yan(this,null);case 1:return!this.d&&(this.d=new WO(fat,this,1)),void qmn(this.d);case 3:return void man(this,null);case 4:return void Wun(this,null);case 5:return void w1(this,null)}c9(this,n-mF((Djn(),Pat)),OZ(Jx(q3(this,16),26)||Pat,n))},Bjn.Ib=function(){var n;return(n=new PA(_ln(this))).a+=" (expression: ",dmn(this,n),n.a+=")",n.a},TF(INn,"EGenericTypeImpl",241),Vfn(1969,1964,cRn),Bjn.Xh=function(n,t){RL(this,n,t)},Bjn.lk=function(n,t){return RL(this,this.gc(),n),t},Bjn.pi=function(n){return jen(this.Gi(),n)},Bjn.Zh=function(){return this.$h()},Bjn.Gi=function(){return new Yg(this)},Bjn.$h=function(){return this._h(0)},Bjn._h=function(n){return this.Gi().Zc(n)},Bjn.mk=function(n,t){return Q7(this,n,!0),t},Bjn.ii=function(n,t){var e;return e=Xrn(this,t),this.Zc(n).Rb(e),e},Bjn.ji=function(n,t){Q7(this,t,!0),this.Zc(n).Rb(t)},TF(DDn,"AbstractSequentialInternalEList",1969),Vfn(486,1969,cRn,t$),Bjn.pi=function(n){return jen(this.Gi(),n)},Bjn.Zh=function(){return null==this.b?(ET(),ET(),Yat):this.Jk()},Bjn.Gi=function(){return new zI(this.a,this.b)},Bjn.$h=function(){return null==this.b?(ET(),ET(),Yat):this.Jk()},Bjn._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw fp(new qm(vDn+n+", size=0"));return ET(),ET(),Yat}for(e=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=Qrt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(MT(),Jx(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Jx(c,15),this.k=i):(i=Jx(c,69),this.k=this.j=i),OO(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?fsn(this,this.p):Usn(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Jx(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},Bjn.Pb=function(){return W3(this)},Bjn.Tb=function(){return this.a},Bjn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw fp(new _p)},Bjn.Vb=function(){return this.a-1},Bjn.Qb=function(){throw fp(new Dp)},Bjn.Lk=function(){return!1},Bjn.Wb=function(n){throw fp(new Dp)},Bjn.Mk=function(){return!0},Bjn.a=0,Bjn.d=0,Bjn.f=!1,Bjn.g=0,Bjn.n=0,Bjn.o=0,TF(DDn,"EContentsEList/FeatureIteratorImpl",279),Vfn(697,279,aRn,q$),Bjn.Lk=function(){return!0},TF(DDn,"EContentsEList/ResolvingFeatureIteratorImpl",697),Vfn(1157,697,aRn,z$),Bjn.Mk=function(){return!1},TF(INn,"ENamedElementImpl/1/1",1157),Vfn(1158,279,aRn,G$),Bjn.Mk=function(){return!1},TF(INn,"ENamedElementImpl/1/2",1158),Vfn(36,143,pDn,uW,oW,v_,jY,kJ,AV,V1,uU,Q1,oU,IV,sU,Z1,hU,CV,fU,Y1,lU,m_,EY,eq,J1,bU,OV,wU),Bjn._i=function(){return fY(this)},Bjn.gj=function(){var n;return(n=fY(this))?n.zj():null},Bjn.yi=function(n){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},Bjn.Ai=function(){return this.c},Bjn.hj=function(){var n;return!!(n=fY(this))&&n.Kj()},Bjn.b=-1,TF(INn,"ENotificationImpl",36),Vfn(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},Uv),Bjn.Qg=function(n){return hcn(this,n)},Bjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(i=this.t)>1||-1==i;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Jx(this.Cb,26):null;case 11:return!this.d&&(this.d=new QO(Uat,this,11)),this.d;case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),this.c;case 13:return!this.a&&(this.a=new zL(this,this)),this.a;case 14:return CJ(this)}return KY(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?hcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,10,e);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),dnn(this.c,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),$at),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),$at)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 10:return spn(this,null,10,e);case 11:return!this.d&&(this.d=new QO(Uat,this,11)),Men(this.d,n,e);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),Men(this.c,n,e);case 14:return Men(CJ(this),n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),$at),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),$at)),n,e)},Bjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return!(this.Db>>16!=10||!Jx(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==CJ(this.a.a).i||this.b&&fin(this.b));case 14:return!!this.b&&fin(this.b)}return DX(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void B1(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 11:return!this.d&&(this.d=new QO(Uat,this,11)),qmn(this.d),!this.d&&(this.d=new QO(Uat,this,11)),void EF(this.d,Jx(t,14));case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),qmn(this.c),!this.c&&(this.c=new y_(bat,this,12,10)),void EF(this.c,Jx(t,14));case 13:return!this.a&&(this.a=new zL(this,this)),Vmn(this.a),!this.a&&(this.a=new zL(this,this)),void EF(this.a,Jx(t,14));case 14:return qmn(CJ(this)),void EF(CJ(this),Jx(t,14))}T7(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n),t)},Bjn.zh=function(){return Djn(),$at},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 11:return!this.d&&(this.d=new QO(Uat,this,11)),void qmn(this.d);case 12:return!this.c&&(this.c=new y_(bat,this,12,10)),void qmn(this.c);case 13:return void(this.a&&Vmn(this.a));case 14:return void(this.b&&qmn(this.b))}c9(this,n-mF((Djn(),$at)),OZ(Jx(q3(this,16),26)||$at,n))},Bjn.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&RF(n,i,null),e=0,t=new XO(CJ(this.a));t.e!=t.i.gc();)RF(n,e++,Jx(fen(t),87).c||(Djn(),Iat));return n},Bjn.Yi=function(){var n,t,e,i;for((i=new Oy).a+="[",n=CJ(this.a),t=0,e=CJ(this.a).i;t1);case 5:return UG(this,n,t,e,i,this.i-Jx(e,15).gc()>0);default:return new kJ(this.e,n,this.c,t,e,i,!0)}},Bjn.ij=function(){return!0},Bjn.fj=function(){return fin(this)},Bjn.Xj=function(){qmn(this)},TF(INn,"EOperationImpl/2",1341),Vfn(498,1,{1938:1,498:1},zP),TF(INn,"EPackageImpl/1",498),Vfn(16,85,ZDn,y_),Bjn.zk=function(){return this.d},Bjn.Ak=function(){return this.b},Bjn.Dk=function(){return!0},Bjn.b=0,TF(DDn,"EObjectContainmentWithInverseEList",16),Vfn(353,16,ZDn,TN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentWithInverseEList/Resolving",353),Vfn(298,353,ZDn,g_),Bjn.ci=function(){this.a.tb=null},TF(INn,"EPackageImpl/2",298),Vfn(1228,1,{},Oo),TF(INn,"EPackageImpl/3",1228),Vfn(718,43,pMn,Wv),Bjn._b=function(n){return uI(n)?fq(this,n):!!Rq(this.f,n)},TF(INn,"EPackageRegistryImpl",718),Vfn(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},Xv),Bjn.Qg=function(n){return fcn(this,n)},Bjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(i=this.t)>1||-1==i;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Jx(this.Cb,59):null}return KY(this,n-mF((Djn(),xat)),OZ(Jx(q3(this,16),26)||xat,n),t,e)},Bjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),dnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?fcn(this,e):this.Cb.ih(this,-1-i,null,e)),spn(this,n,10,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),xat),t),66).Nj().Qj(this,gtn(this),t-mF((Djn(),xat)),n,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 9:return jF(this,e);case 10:return spn(this,null,10,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),xat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),xat)),n,e)},Bjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return!(this.Db>>16!=10||!Jx(this.Cb,59))}return DX(this,n-mF((Djn(),xat)),OZ(Jx(q3(this,16),26)||xat,n))},Bjn.zh=function(){return Djn(),xat},TF(INn,"EParameterImpl",509),Vfn(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},aL),Bjn._g=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return MA(),0!=(256&this.Bb);case 3:return MA(),0!=(512&this.Bb);case 4:return g9(this.s);case 5:return g9(this.t);case 6:return MA(),(r=this.t)>1||-1==r;case 7:return MA(),this.s>=1;case 8:return t?lcn(this):this.r;case 9:return this.q;case 10:return MA(),0!=(this.Bb&RNn);case 11:return MA(),0!=(this.Bb&BDn);case 12:return MA(),0!=(this.Bb&tMn);case 13:return this.j;case 14:return Ibn(this);case 15:return MA(),0!=(this.Bb&FDn);case 16:return MA(),0!=(this.Bb&SEn);case 17:return qG(this);case 18:return MA(),0!=(this.Bb&SNn);case 19:return MA(),!(!(i=tin(this))||0==(i.Bb&SNn));case 20:return MA(),0!=(this.Bb&iMn);case 21:return t?tin(this):this.b;case 22:return t?A5(this):gV(this);case 23:return!this.a&&(this.a=new ZO(iat,this,23)),this.a}return KY(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n),t,e)},Bjn.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vB(this.q).i);case 10:return 0==(this.Bb&RNn);case 11:return 0!=(this.Bb&BDn);case 12:return 0!=(this.Bb&tMn);case 13:return null!=this.j;case 14:return null!=Ibn(this);case 15:return 0!=(this.Bb&FDn);case 16:return 0!=(this.Bb&SEn);case 17:return!!qG(this);case 18:return 0!=(this.Bb&SNn);case 19:return!!(t=tin(this))&&0!=(t.Bb&SNn);case 20:return 0==(this.Bb&iMn);case 21:return!!this.b;case 22:return!!gV(this);case 23:return!!this.a&&0!=this.a.i}return DX(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n))},Bjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void kz(this,bL(t));case 2:return void h9(this,ty(fL(t)));case 3:return void b9(this,ty(fL(t)));case 4:return void F1(this,Jx(t,19).a);case 5:return void B1(this,Jx(t,19).a);case 8:return void u8(this,Jx(t,138));case 9:return void((e=lun(this,Jx(t,87),null))&&e.Fi());case 10:return void D9(this,ty(fL(t)));case 11:return void _9(this,ty(fL(t)));case 12:return void R9(this,ty(fL(t)));case 13:return void nI(this,bL(t));case 15:return void K9(this,ty(fL(t)));case 16:return void q9(this,ty(fL(t)));case 18:return void function(n,t){z9(n,t),OO(n.Cb,88)&&chn(wV(Jx(n.Cb,88)),2)}(this,ty(fL(t)));case 20:return void U9(this,ty(fL(t)));case 21:return void Y0(this,Jx(t,18));case 23:return!this.a&&(this.a=new ZO(iat,this,23)),qmn(this.a),!this.a&&(this.a=new ZO(iat,this,23)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n),t)},Bjn.zh=function(){return Djn(),Dat},Bjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),4),void T2(this,null);case 2:return void h9(this,!0);case 3:return void b9(this,!0);case 4:return void F1(this,0);case 5:return void B1(this,1);case 8:return void u8(this,null);case 9:return void((t=lun(this,null,null))&&t.Fi());case 10:return void D9(this,!0);case 11:return void _9(this,!1);case 12:return void R9(this,!1);case 13:return this.i=null,void Z0(this,null);case 15:return void K9(this,!1);case 16:return void q9(this,!1);case 18:return z9(this,!1),void(OO(this.Cb,88)&&chn(wV(Jx(this.Cb,88)),2));case 20:return void U9(this,!0);case 21:return void Y0(this,null);case 23:return!this.a&&(this.a=new ZO(iat,this,23)),void qmn(this.a)}c9(this,n-mF((Djn(),Dat)),OZ(Jx(q3(this,16),26)||Dat,n))},Bjn.Gh=function(){A5(this),tH(IJ((dsn(),dut),this)),lcn(this),this.Bb|=1},Bjn.Lj=function(){return tin(this)},Bjn.qk=function(){var n;return!!(n=tin(this))&&0!=(n.Bb&SNn)},Bjn.rk=function(){return 0!=(this.Bb&SNn)},Bjn.sk=function(){return 0!=(this.Bb&iMn)},Bjn.nk=function(n,t){return this.c=null,U8(this,n,t)},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?Ydn(this):((n=new SA(Ydn(this))).a+=" (containment: ",tj(n,0!=(this.Bb&SNn)),n.a+=", resolveProxies: ",tj(n,0!=(this.Bb&iMn)),n.a+=")",n.a)},TF(INn,"EReferenceImpl",99),Vfn(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},Ao),Bjn.Fb=function(n){return this===n},Bjn.cd=function(){return this.b},Bjn.dd=function(){return this.c},Bjn.Hb=function(){return FA(this)},Bjn.Uh=function(n){!function(n,t){K0(n,null==t?null:(mB(t),t))}(this,bL(n))},Bjn.ed=function(n){return function(n,t){var e;return e=n.c,_0(n,t),e}(this,bL(n))},Bjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return KY(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n),t,e)},Bjn.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return DX(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n))},Bjn.sh=function(n,t){switch(n){case 0:return void function(n,t){K0(n,null==t?null:(mB(t),t))}(this,bL(t));case 1:return void _0(this,bL(t))}T7(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n),t)},Bjn.zh=function(){return Djn(),Rat},Bjn.Bh=function(n){switch(n){case 0:return void K0(this,null);case 1:return void _0(this,null)}c9(this,n-mF((Djn(),Rat)),OZ(Jx(q3(this,16),26)||Rat,n))},Bjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:Wen(n)),this.a},Bjn.Th=function(n){this.a=n},Bjn.Ib=function(){var n;return 0!=(64&this.Db)?_ln(this):((n=new SA(_ln(this))).a+=" (key: ",vI(n,this.b),n.a+=", value: ",vI(n,this.c),n.a+=")",n.a)},Bjn.a=-1,Bjn.b=null,Bjn.c=null;var Zat,nut,tut,eut,iut,rut,cut,aut,uut,out,sut=TF(INn,"EStringToStringMapEntryImpl",548),hut=uR(DDn,"FeatureMap/Entry/Internal");Vfn(565,1,uRn),Bjn.Ok=function(n){return this.Pk(Jx(n,49))},Bjn.Pk=function(n){return this.Ok(n)},Bjn.Fb=function(n){var t,e;return this===n||!!OO(n,72)&&(t=Jx(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():Y8(e,t.dd()))},Bjn.ak=function(){return this.c},Bjn.Hb=function(){var n;return n=this.dd(),V5(this.c)^(null==n?0:V5(n))},Bjn.Ib=function(){var n,t;return t=r1((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},TF(INn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),Vfn(776,565,uRn,BL),Bjn.Pk=function(n){return new BL(this.c,n)},Bjn.dd=function(){return this.a},Bjn.Qk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=enn(t.Tg(),n.c),r=e.gh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},Bjn.Rk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=enn(t.Tg(),n.c),r=e.ih(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},TF(INn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),Vfn(1314,1,{},UP),Bjn.Pj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).nl(this.a).Wj(i)},Bjn.Qj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).el(this.a,i,r)},Bjn.Rj=function(n,t,e,i,r){return Jx(MY(n,this.b),215).fl(this.a,i,r)},Bjn.Sj=function(n,t,e){return Jx(MY(n,this.b),215).nl(this.a).fj()},Bjn.Tj=function(n,t,e,i){Jx(MY(n,this.b),215).nl(this.a).Wb(i)},Bjn.Uj=function(n,t,e){return Jx(MY(n,this.b),215).nl(this.a)},Bjn.Vj=function(n,t,e){Jx(MY(n,this.b),215).nl(this.a).Xj()},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),Vfn(89,1,{},Fx,NH,qq,hW),Bjn.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=Sjn(this,n)),!r)switch(this.e){case 50:case 41:return Jx(c,589).sj();case 40:return Jx(c,215).kl()}return c},Bjn.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=Sjn(this,n)),Jx(c,69).lk(i,r)},Bjn.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Jx(c,69).mk(i,r)),r},Bjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Jx(i,76).fj()},Bjn.Tj=function(n,t,e,i){var r;!(r=Jx(t.Ch(e),76))&&t.Dh(e,r=Sjn(this,n)),r.Wb(i)},Bjn.Uj=function(n,t,e){var i;return null==(i=t.Ch(e))&&t.Dh(e,i=Sjn(this,n)),OO(i,76)?Jx(i,76):new Xg(Jx(t.Ch(e),15))},Bjn.Vj=function(n,t,e){var i;!(i=Jx(t.Ch(e),76))&&t.Dh(e,i=Sjn(this,n)),i.Xj()},Bjn.b=0,Bjn.e=0,TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),Vfn(504,1,{}),Bjn.Qj=function(n,t,e,i,r){throw fp(new Dp)},Bjn.Rj=function(n,t,e,i,r){throw fp(new Dp)},Bjn.Uj=function(n,t,e){return new xH(this,n,t,e)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),Vfn(1331,1,RDn,xH),Bjn.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},Bjn.fj=function(){return this.a.Sj(this.c,this.d,this.b)},Bjn.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},Bjn.Xj=function(){this.a.Vj(this.c,this.d,this.b)},Bjn.b=0,TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),Vfn(769,504,{},eG),Bjn.Pj=function(n,t,e,i,r){return Cgn(n,n.eh(),n.Vg())==this.b?this.sk()&&i?Hfn(n):n.eh():null},Bjn.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=enn(n.Tg(),this.e),n.Sg(i,a,r)},Bjn.Rj=function(n,t,e,i,r){var c;return c=enn(n.Tg(),this.e),n.Sg(null,c,r)},Bjn.Sj=function(n,t,e){var i;return i=enn(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},Bjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Jpn(this.a,i))throw fp(new Qm(oRn+(OO(i,56)?pan(Jx(i,56).Tg()):NZ(Q5(i)))+sRn+this.a+"'"));if(r=n.eh(),a=enn(n.Tg(),this.e),rI(i)!==rI(r)||n.Vg()!=a&&null!=i){if(acn(n,Jx(i,56)))throw fp(new Ym(ONn+n.Ib()));o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Jx(i,49))&&(o=u.gh(n,enn(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&_3(n,new v_(n,1,a,i,i))},Bjn.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=enn(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&_3(n,new m_(n,1,this.e,null,null))},Bjn.sk=function(){return!1},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),Vfn(1315,769,{},Bx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),Vfn(563,504,{}),Bjn.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:rI(c)===rI(Zat)?null:c},Bjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(rI(i)===rI(Zat)||!Y8(i,this.b))},Bjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:rI(c)===rI(Zat)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,Zat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,Zat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},Bjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:rI(r)===rI(Zat)?null:r,t.Eh(e),_3(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},Bjn.Sk=function(n){throw fp(new $p)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),Vfn(hRn,1,{},$o),Bjn.Tk=function(n,t,e,i,r){return new m_(n,t,e,i,r)},Bjn.Uk=function(n,t,e,i,r,c){return new eq(n,t,e,i,r,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",hRn),Vfn(1332,hRn,{},Lo),Bjn.Tk=function(n,t,e,i,r){return new OV(n,t,e,ty(fL(i)),ty(fL(r)))},Bjn.Uk=function(n,t,e,i,r,c){return new wU(n,t,e,ty(fL(i)),ty(fL(r)),c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),Vfn(1333,hRn,{},No),Bjn.Tk=function(n,t,e,i,r){return new V1(n,t,e,Jx(i,217).a,Jx(r,217).a)},Bjn.Uk=function(n,t,e,i,r,c){return new uU(n,t,e,Jx(i,217).a,Jx(r,217).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),Vfn(1334,hRn,{},xo),Bjn.Tk=function(n,t,e,i,r){return new Q1(n,t,e,Jx(i,172).a,Jx(r,172).a)},Bjn.Uk=function(n,t,e,i,r,c){return new oU(n,t,e,Jx(i,172).a,Jx(r,172).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),Vfn(1335,hRn,{},Do),Bjn.Tk=function(n,t,e,i,r){return new IV(n,t,e,ey(lL(i)),ey(lL(r)))},Bjn.Uk=function(n,t,e,i,r,c){return new sU(n,t,e,ey(lL(i)),ey(lL(r)),c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),Vfn(1336,hRn,{},Ro),Bjn.Tk=function(n,t,e,i,r){return new Z1(n,t,e,Jx(i,155).a,Jx(r,155).a)},Bjn.Uk=function(n,t,e,i,r,c){return new hU(n,t,e,Jx(i,155).a,Jx(r,155).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),Vfn(1337,hRn,{},Ko),Bjn.Tk=function(n,t,e,i,r){return new CV(n,t,e,Jx(i,19).a,Jx(r,19).a)},Bjn.Uk=function(n,t,e,i,r,c){return new fU(n,t,e,Jx(i,19).a,Jx(r,19).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),Vfn(1338,hRn,{},_o),Bjn.Tk=function(n,t,e,i,r){return new Y1(n,t,e,Jx(i,162).a,Jx(r,162).a)},Bjn.Uk=function(n,t,e,i,r,c){return new lU(n,t,e,Jx(i,162).a,Jx(r,162).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),Vfn(1339,hRn,{},Fo),Bjn.Tk=function(n,t,e,i,r){return new J1(n,t,e,Jx(i,184).a,Jx(r,184).a)},Bjn.Uk=function(n,t,e,i,r,c){return new bU(n,t,e,Jx(i,184).a,Jx(r,184).a,c)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),Vfn(1317,563,{},DH),Bjn.Sk=function(n){if(!this.a.wj(n))throw fp(new Qm(oRn+Q5(n)+sRn+this.a+"'"))},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),Vfn(1318,563,{},SK),Bjn.Sk=function(n){},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),Vfn(770,563,{}),Bjn.Sj=function(n,t,e){return null!=t.Ch(e)},Bjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):rI(c)===rI(Zat)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,Zat):(this.Sk(i),t.Dh(e,i)),_3(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,Zat):(this.Sk(i),t.Dh(e,i))},Bjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):rI(r)===rI(Zat)&&(r=null),t.Eh(e),_3(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),Vfn(1319,770,{},RH),Bjn.Sk=function(n){if(!this.a.wj(n))throw fp(new Qm(oRn+Q5(n)+sRn+this.a+"'"))},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),Vfn(1320,770,{},PK),Bjn.Sk=function(n){},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),Vfn(398,504,{},_R),Bjn.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&rI(s)===rI(Zat))return null;if(this.sk()&&i&&null!=s){if((u=Jx(s,49)).kh()&&u!=(o=I8(n,u))){if(!Jpn(this.a,o))throw fp(new Qm(oRn+Q5(o)+sRn+this.a+"'"));t.Dh(e,s=o),this.rk()&&(c=Jx(o,49),a=u.ih(n,this.b?enn(u.Tg(),this.b):-1-enn(n.Tg(),this.e),null,null),!c.eh()&&(a=c.gh(n,this.b?enn(c.Tg(),this.b):-1-enn(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&_3(n,new m_(n,9,this.e,u,o))}return s}return s},Bjn.Qj=function(n,t,e,i,r){var c,a;return rI(a=t.Ch(e))===rI(Zat)&&(a=null),t.Dh(e,i),this.bj()?rI(a)!==rI(i)&&null!=a&&(r=(c=Jx(a,49)).ih(n,enn(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Jx(a,49).ih(n,-1-enn(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(!r&&(r=new Tk(4)),r.Ei(new m_(n,1,this.e,a,i))),r},Bjn.Rj=function(n,t,e,i,r){var c;return rI(c=t.Ch(e))===rI(Zat)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(!r&&(r=new Tk(4)),this.Kj()?r.Ei(new m_(n,2,this.e,c,null)):r.Ei(new m_(n,1,this.e,c,null))),r},Bjn.Sj=function(n,t,e){return null!=t.Ch(e)},Bjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Jpn(this.a,i))throw fp(new Qm(oRn+(OO(i,56)?pan(Jx(i,56).Tg()):NZ(Q5(i)))+sRn+this.a+"'"));u=null!=(o=t.Ch(e)),this.Kj()&&rI(o)===rI(Zat)&&(o=null),a=null,this.bj()?rI(o)!==rI(i)&&(null!=o&&(a=(r=Jx(o,49)).ih(n,enn(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Jx(i,49)).gh(n,enn(r.Tg(),this.b),null,a))):this.rk()&&rI(o)!==rI(i)&&(null!=o&&(a=Jx(o,49).ih(n,-1-enn(n.Tg(),this.e),null,a)),null!=i&&(a=Jx(i,49).gh(n,-1-enn(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,Zat):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new eq(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):_3(n,c)):a&&a.Fi()},Bjn.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&rI(u)===rI(Zat)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Jx(u,49)).ih(n,enn(i.Tg(),this.b),null,c):this.rk()&&(c=Jx(u,49).ih(n,-1-enn(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new eq(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):_3(n,r)):c&&c.Fi()},Bjn.bj=function(){return!1},Bjn.rk=function(){return!1},Bjn.sk=function(){return!1},Bjn.Kj=function(){return!1},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),Vfn(564,398,{},X$),Bjn.rk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),Vfn(1323,564,{},W$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),Vfn(772,564,{},V$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),Vfn(1325,772,{},Q$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),Vfn(640,564,{},Hx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),Vfn(1324,640,{},zx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),Vfn(773,640,{},Ux),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),Vfn(1326,773,{},Xx),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),Vfn(641,398,{},Y$),Bjn.sk=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),Vfn(1327,641,{},J$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),Vfn(774,641,{},qx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),Vfn(1328,774,{},Wx),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),Vfn(1321,398,{},Z$),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),Vfn(771,398,{},Gx),Bjn.bj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),Vfn(1322,771,{},Vx),Bjn.Kj=function(){return!0},TF(INn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),Vfn(775,565,uRn,aB),Bjn.Pk=function(n){return new aB(this.a,this.c,n)},Bjn.dd=function(){return this.b},Bjn.Qk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.gh(t,enn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},Bjn.Rk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.ih(t,enn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},TF(INn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),Vfn(1329,1,RDn,Xg),Bjn.Wj=function(n){return this.a},Bjn.fj=function(){return OO(this.a,95)?Jx(this.a,95).fj():!this.a.dc()},Bjn.Wb=function(n){this.a.$b(),this.a.Gc(Jx(n,15))},Bjn.Xj=function(){OO(this.a,95)?Jx(this.a,95).Xj():this.a.$b()},TF(INn,"EStructuralFeatureImpl/SettingMany",1329),Vfn(1330,565,uRn,lW),Bjn.Ok=function(n){return new HL((uyn(),eot),this.b.Ih(this.a,n))},Bjn.dd=function(){return null},Bjn.Qk=function(n,t,e){return e},Bjn.Rk=function(n,t,e){return e},TF(INn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),Vfn(642,565,uRn,HL),Bjn.Ok=function(n){return new HL(this.c,n)},Bjn.dd=function(){return this.a},Bjn.Qk=function(n,t,e){return e},Bjn.Rk=function(n,t,e){return e},TF(INn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),Vfn(391,497,Sxn,Bo),Bjn.ri=function(n){return QQ(cat,rEn,26,n,0,1)},Bjn.ni=function(){return!1},TF(INn,"ESuperAdapter/1",391),Vfn(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},Ho),Bjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new FR(this,fat,this)),this.a}return KY(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n),t,e)},Bjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),Men(this.Ab,n,e);case 2:return!this.a&&(this.a=new FR(this,fat,this)),Men(this.a,n,e)}return Jx(OZ(Jx(q3(this,16),26)||(Djn(),Fat),t),66).Nj().Rj(this,gtn(this),t-mF((Djn(),Fat)),n,e)},Bjn.lh=function(n){switch(n){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 DX(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n))},Bjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),qmn(this.Ab),!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void EF(this.Ab,Jx(t,14));case 1:return void T2(this,bL(t));case 2:return!this.a&&(this.a=new FR(this,fat,this)),qmn(this.a),!this.a&&(this.a=new FR(this,fat,this)),void EF(this.a,Jx(t,14))}T7(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n),t)},Bjn.zh=function(){return Djn(),Fat},Bjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new y_(nat,this,0,3)),void qmn(this.Ab);case 1:return void T2(this,null);case 2:return!this.a&&(this.a=new FR(this,fat,this)),void qmn(this.a)}c9(this,n-mF((Djn(),Fat)),OZ(Jx(q3(this,16),26)||Fat,n))},TF(INn,"ETypeParameterImpl",444),Vfn(445,85,ZDn,FR),Bjn.cj=function(n,t){return function(n,t,e){var i,r;for(e=yen(t,n.e,-1-n.c,e),r=new Vg(new e6(new Ql(TB(n.a).a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,n.a),e);return e}(this,Jx(n,87),t)},Bjn.dj=function(n,t){return function(n,t,e){var i,r;for(e=Xq(t,n.e,-1-n.c,e),r=new Vg(new e6(new Ql(TB(n.a).a).a));r.a.b;)e=Uyn(i=Jx(h1(r.a).cd(),87),gbn(i,n.a),e);return e}(this,Jx(n,87),t)},TF(INn,"ETypeParameterImpl/1",445),Vfn(634,43,pMn,Vv),Bjn.ec=function(){return new Wg(this)},TF(INn,"ETypeParameterImpl/2",634),Vfn(556,gEn,pEn,Wg),Bjn.Fc=function(n){return jN(this,Jx(n,87))},Bjn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Jx(e.Pb(),87),null==DB(this.a,t,"")&&(i=!0);return i},Bjn.$b=function(){X_(this.a)},Bjn.Hc=function(n){return I_(this.a,n)},Bjn.Kc=function(){return new Vg(new e6(new Ql(this.a).a))},Bjn.Mc=function(n){return fQ(this,n)},Bjn.gc=function(){return fE(this.a)},TF(INn,"ETypeParameterImpl/2/1",556),Vfn(557,1,lEn,Vg),Bjn.Nb=function(n){C_(this,n)},Bjn.Pb=function(){return Jx(h1(this.a).cd(),87)},Bjn.Ob=function(){return this.a.b},Bjn.Qb=function(){sY(this.a)},TF(INn,"ETypeParameterImpl/2/1/1",557),Vfn(1276,43,pMn,Qv),Bjn._b=function(n){return uI(n)?fq(this,n):!!Rq(this.f,n)},Bjn.xc=function(n){var t;return OO(t=uI(n)?uG(this,n):iI(Rq(this.f,n)),837)?(t=Jx(t,837)._j(),DB(this,Jx(n,235),t),t):null!=t?t:null==n?(TT(),yut):null},TF(INn,"EValidatorRegistryImpl",1276),Vfn(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},qo),Bjn.Ih=function(n,t){switch(n.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==t?null:C7(t);case 25:return c1(t);case 27:case 28:return function(n){return OO(n,172)?""+Jx(n,172).a:null==n?null:C7(n)}(t);case 29:return null==t?null:pO(zrt[0],Jx(t,199));case 41:return null==t?"":xk(Jx(t,290));case 42:return C7(t);case 50:return bL(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 0:return new Gv;case 1:return new jo;case 2:return new Rf;case 4:return new Hp;case 5:return new zv;case 6:return new Bp;case 7:return new xf;case 10:return new yo;case 11:return new Uv;case 12:return new Pq;case 13:return new Xv;case 14:return new aL;case 17:return new Ao;case 18:return new op;case 19:return new Ho;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new Vk(t);case 21:return null==t?null:new CC(t);case 23:case 22:return null==t?null:function(n){if(mtn(jLn,n))return MA(),N_n;if(mtn(ELn,n))return MA(),L_n;throw fp(new Ym("Expecting true or false"))}(t);case 26:case 24:return null==t?null:rZ(rpn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(u=n.length,a=QQ(Jot,NNn,25,r=(u+1)/2|0,15,1),u%2!=0&&(a[--r]=Adn((Nz(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=rpn(n,tTn,Jjn)&lTn}catch(e){if(!OO(e=E4(e),127))throw fp(e);t=DJ(n)[0]}return j4(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=rpn(n,tTn,Jjn)&lTn}catch(e){if(!OO(e=E4(e),127))throw fp(e);t=DJ(n)[0]}return j4(t)}(t);case 29:return function(n){var t,e;if(null==n)return null;for(t=null,e=0;e>16);case 50:return t;default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(INn,"EcoreFactoryImpl",1313),Vfn(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},LB),Bjn.gb=!1,Bjn.hb=!1;var fut,lut=!1;TF(INn,"EcorePackageImpl",547),Vfn(1184,1,{837:1},Go),Bjn._j=function(){return TA(),kut},TF(INn,"EcorePackageImpl/1",1184),Vfn(1193,1,MRn,zo),Bjn.wj=function(n){return OO(n,147)},Bjn.xj=function(n){return QQ(ict,rEn,147,n,0,1)},TF(INn,"EcorePackageImpl/10",1193),Vfn(1194,1,MRn,Uo),Bjn.wj=function(n){return OO(n,191)},Bjn.xj=function(n){return QQ(cct,rEn,191,n,0,1)},TF(INn,"EcorePackageImpl/11",1194),Vfn(1195,1,MRn,Xo),Bjn.wj=function(n){return OO(n,56)},Bjn.xj=function(n){return QQ(Vrt,rEn,56,n,0,1)},TF(INn,"EcorePackageImpl/12",1195),Vfn(1196,1,MRn,Wo),Bjn.wj=function(n){return OO(n,399)},Bjn.xj=function(n){return QQ(lat,YDn,59,n,0,1)},TF(INn,"EcorePackageImpl/13",1196),Vfn(1197,1,MRn,Vo),Bjn.wj=function(n){return OO(n,235)},Bjn.xj=function(n){return QQ(act,rEn,235,n,0,1)},TF(INn,"EcorePackageImpl/14",1197),Vfn(1198,1,MRn,Qo),Bjn.wj=function(n){return OO(n,509)},Bjn.xj=function(n){return QQ(bat,rEn,2017,n,0,1)},TF(INn,"EcorePackageImpl/15",1198),Vfn(1199,1,MRn,Yo),Bjn.wj=function(n){return OO(n,99)},Bjn.xj=function(n){return QQ(wat,QDn,18,n,0,1)},TF(INn,"EcorePackageImpl/16",1199),Vfn(1200,1,MRn,Jo),Bjn.wj=function(n){return OO(n,170)},Bjn.xj=function(n){return QQ(eat,QDn,170,n,0,1)},TF(INn,"EcorePackageImpl/17",1200),Vfn(1201,1,MRn,Zo),Bjn.wj=function(n){return OO(n,472)},Bjn.xj=function(n){return QQ(tat,rEn,472,n,0,1)},TF(INn,"EcorePackageImpl/18",1201),Vfn(1202,1,MRn,ns),Bjn.wj=function(n){return OO(n,548)},Bjn.xj=function(n){return QQ(sut,jDn,548,n,0,1)},TF(INn,"EcorePackageImpl/19",1202),Vfn(1185,1,MRn,ts),Bjn.wj=function(n){return OO(n,322)},Bjn.xj=function(n){return QQ(iat,QDn,34,n,0,1)},TF(INn,"EcorePackageImpl/2",1185),Vfn(1203,1,MRn,es),Bjn.wj=function(n){return OO(n,241)},Bjn.xj=function(n){return QQ(fat,iRn,87,n,0,1)},TF(INn,"EcorePackageImpl/20",1203),Vfn(1204,1,MRn,is),Bjn.wj=function(n){return OO(n,444)},Bjn.xj=function(n){return QQ(Uat,rEn,836,n,0,1)},TF(INn,"EcorePackageImpl/21",1204),Vfn(1205,1,MRn,rs),Bjn.wj=function(n){return cI(n)},Bjn.xj=function(n){return QQ(R_n,MEn,476,n,8,1)},TF(INn,"EcorePackageImpl/22",1205),Vfn(1206,1,MRn,cs),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(INn,"EcorePackageImpl/23",1206),Vfn(1207,1,MRn,as),Bjn.wj=function(n){return OO(n,217)},Bjn.xj=function(n){return QQ(F_n,MEn,217,n,0,1)},TF(INn,"EcorePackageImpl/24",1207),Vfn(1208,1,MRn,us),Bjn.wj=function(n){return OO(n,172)},Bjn.xj=function(n){return QQ(H_n,MEn,172,n,0,1)},TF(INn,"EcorePackageImpl/25",1208),Vfn(1209,1,MRn,os),Bjn.wj=function(n){return OO(n,199)},Bjn.xj=function(n){return QQ(x_n,MEn,199,n,0,1)},TF(INn,"EcorePackageImpl/26",1209),Vfn(1210,1,MRn,ss),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(ist,rEn,2110,n,0,1)},TF(INn,"EcorePackageImpl/27",1210),Vfn(1211,1,MRn,hs),Bjn.wj=function(n){return aI(n)},Bjn.xj=function(n){return QQ(q_n,MEn,333,n,7,1)},TF(INn,"EcorePackageImpl/28",1211),Vfn(1212,1,MRn,fs),Bjn.wj=function(n){return OO(n,58)},Bjn.xj=function(n){return QQ(Ect,gPn,58,n,0,1)},TF(INn,"EcorePackageImpl/29",1212),Vfn(1186,1,MRn,ls),Bjn.wj=function(n){return OO(n,510)},Bjn.xj=function(n){return QQ(nat,{3:1,4:1,5:1,1934:1},590,n,0,1)},TF(INn,"EcorePackageImpl/3",1186),Vfn(1213,1,MRn,bs),Bjn.wj=function(n){return OO(n,573)},Bjn.xj=function(n){return QQ(Dct,rEn,1940,n,0,1)},TF(INn,"EcorePackageImpl/30",1213),Vfn(1214,1,MRn,ws),Bjn.wj=function(n){return OO(n,153)},Bjn.xj=function(n){return QQ(Tut,gPn,153,n,0,1)},TF(INn,"EcorePackageImpl/31",1214),Vfn(1215,1,MRn,ds),Bjn.wj=function(n){return OO(n,72)},Bjn.xj=function(n){return QQ(Wat,SRn,72,n,0,1)},TF(INn,"EcorePackageImpl/32",1215),Vfn(1216,1,MRn,gs),Bjn.wj=function(n){return OO(n,155)},Bjn.xj=function(n){return QQ(G_n,MEn,155,n,0,1)},TF(INn,"EcorePackageImpl/33",1216),Vfn(1217,1,MRn,ps),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(INn,"EcorePackageImpl/34",1217),Vfn(1218,1,MRn,vs),Bjn.wj=function(n){return OO(n,290)},Bjn.xj=function(n){return QQ(WKn,rEn,290,n,0,1)},TF(INn,"EcorePackageImpl/35",1218),Vfn(1219,1,MRn,ms),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(INn,"EcorePackageImpl/36",1219),Vfn(1220,1,MRn,ys),Bjn.wj=function(n){return OO(n,83)},Bjn.xj=function(n){return QQ(QKn,rEn,83,n,0,1)},TF(INn,"EcorePackageImpl/37",1220),Vfn(1221,1,MRn,ks),Bjn.wj=function(n){return OO(n,591)},Bjn.xj=function(n){return QQ(mut,rEn,591,n,0,1)},TF(INn,"EcorePackageImpl/38",1221),Vfn(1222,1,MRn,js),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(rst,rEn,2111,n,0,1)},TF(INn,"EcorePackageImpl/39",1222),Vfn(1187,1,MRn,Es),Bjn.wj=function(n){return OO(n,88)},Bjn.xj=function(n){return QQ(cat,rEn,26,n,0,1)},TF(INn,"EcorePackageImpl/4",1187),Vfn(1223,1,MRn,Ts),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(INn,"EcorePackageImpl/40",1223),Vfn(1224,1,MRn,Ms),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(INn,"EcorePackageImpl/41",1224),Vfn(1225,1,MRn,Ss),Bjn.wj=function(n){return OO(n,588)},Bjn.xj=function(n){return QQ(Mct,rEn,588,n,0,1)},TF(INn,"EcorePackageImpl/42",1225),Vfn(1226,1,MRn,Ps),Bjn.wj=function(n){return!1},Bjn.xj=function(n){return QQ(cst,MEn,2112,n,0,1)},TF(INn,"EcorePackageImpl/43",1226),Vfn(1227,1,MRn,Is),Bjn.wj=function(n){return OO(n,42)},Bjn.xj=function(n){return QQ(r_n,REn,42,n,0,1)},TF(INn,"EcorePackageImpl/44",1227),Vfn(1188,1,MRn,Cs),Bjn.wj=function(n){return OO(n,138)},Bjn.xj=function(n){return QQ(rat,rEn,138,n,0,1)},TF(INn,"EcorePackageImpl/5",1188),Vfn(1189,1,MRn,Os),Bjn.wj=function(n){return OO(n,148)},Bjn.xj=function(n){return QQ(aat,rEn,148,n,0,1)},TF(INn,"EcorePackageImpl/6",1189),Vfn(1190,1,MRn,As),Bjn.wj=function(n){return OO(n,457)},Bjn.xj=function(n){return QQ(sat,rEn,671,n,0,1)},TF(INn,"EcorePackageImpl/7",1190),Vfn(1191,1,MRn,$s),Bjn.wj=function(n){return OO(n,573)},Bjn.xj=function(n){return QQ(hat,rEn,678,n,0,1)},TF(INn,"EcorePackageImpl/8",1191),Vfn(1192,1,MRn,Ls),Bjn.wj=function(n){return OO(n,471)},Bjn.xj=function(n){return QQ(rct,rEn,471,n,0,1)},TF(INn,"EcorePackageImpl/9",1192),Vfn(1025,1982,yDn,Xm),Bjn.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Jx(q3(n.a,8),1936)))for(e=0,i=r.length;e0){if(Nz(0,n.length),47==n.charCodeAt(0)){for(c=new vQ(4),r=1,t=1;t0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new j_((!n.a&&(n.a=new Qg(n)),n.a));ofn(r);)if(imn(a=(e=Jx(ubn(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?KN(m4(u),e.ah(u)):null)&&FN(i,t)){c=e;break}return c}(this,n)},Bjn.Xk=function(){return this.c},Bjn.Ib=function(){return xk(this.gm)+"@"+(V5(this)>>>0).toString(16)+" uri='"+this.d+"'"},Bjn.b=!1,TF(CRn,"ResourceImpl",781),Vfn(1379,781,IRn,Jg),TF(CRn,"BinaryResourceImpl",1379),Vfn(1169,694,Pxn),Bjn.si=function(n){return OO(n,56)?function(n,t){return n.a?t.Wg().Kc():Jx(t.Wg(),69).Zh()}(this,Jx(n,56)):OO(n,591)?new XO(Jx(n,591).Vk()):rI(n)===rI(this.f)?Jx(n,14).Kc():(rL(),Lct.a)},Bjn.Ob=function(){return ofn(this)},Bjn.a=!1,TF(DDn,"EcoreUtil/ContentTreeIterator",1169),Vfn(1380,1169,Pxn,j_),Bjn.si=function(n){return rI(n)===rI(this.f)?Jx(n,15).Kc():new fX(Jx(n,56))},TF(CRn,"ResourceImpl/5",1380),Vfn(648,1994,JDn,Qg),Bjn.Hc=function(n){return this.i<=4?Bcn(this,n):OO(n,49)&&Jx(n,49).Zg()==this.a},Bjn.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},Bjn.di=function(n,t){0==n?this.a.b||(this.a.b=!0):WQ(this,n,t)},Bjn.fi=function(n,t){},Bjn.gi=function(n,t,e){},Bjn.aj=function(){return 2},Bjn.Ai=function(){return this.a},Bjn.bj=function(){return!0},Bjn.cj=function(n,t){return Jx(n,49).wh(this.a,t)},Bjn.dj=function(n,t){return Jx(n,49).wh(null,t)},Bjn.ej=function(){return!1},Bjn.hi=function(){return!0},Bjn.ri=function(n){return QQ(Vrt,rEn,56,n,0,1)},Bjn.ni=function(){return!1},TF(CRn,"ResourceImpl/ContentsEList",648),Vfn(957,1964,VEn,Yg),Bjn.Zc=function(n){return this.a._h(n)},Bjn.gc=function(){return this.a.gc()},TF(DDn,"AbstractSequentialInternalEList/1",957),Vfn(624,1,{},AD),TF(DDn,"BasicExtendedMetaData",624),Vfn(1160,1,{},XP),Bjn.$k=function(){return null},Bjn._k=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),eRn)))for(i=1;i<(dsn(),but).length;++i)if(FN(but[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},Bjn.al=function(){return null},Bjn.bl=function(){return WH(),WH(),MFn},Bjn.ne=function(){return this.c==GRn&&(n=this,t=jtn(this.d,this.b),n.c=t),this.c;var n,t},Bjn.cl=function(){return 0},Bjn.a=-2,Bjn.c=GRn,TF(DDn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),Vfn(1161,1,{},yU),Bjn.$k=function(){return this.a==(dV(),put)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.Hh(n.a))&&(!i.b&&(i.b=new U$((Djn(),Rat),sut,i)),null!=(e=bL(knn(i.b,wRn)))&&OO(c=-1==(r=e.lastIndexOf("#"))?nL(n,t.Aj(),e):0==r?TY(n,null,e.substr(1)):TY(n,e.substr(0,r),e.substr(r+1)),148))?Jx(c,148):null)),this.a;var n,t,e,i,r,c},Bjn._k=function(){return 0},Bjn.al=function(){return this.c==(dV(),put)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.Hh(n.a))&&(!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),null!=(r=bL(knn(e.b,RRn)))&&OO(c=-1==(i=r.lastIndexOf("#"))?nL(n,t.Aj(),r):0==i?TY(n,null,r.substr(1)):TY(n,r.substr(0,i),r.substr(i+1)),148))?Jx(c,148):null)),this.c;var n,t,e,i,r,c},Bjn.bl=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=bL(knn((!e.b&&(e.b=new U$((Djn(),Rat),sut,e)),e.b),"memberTypes")))){for(s=new rp,a=0,u=(c=Agn(o,"\\w")).length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Jx(N9(n,t,e),72),u!=o&&Wp(n,new EY(n.e,7,a,g9(u),b.dd(),o)),l}return Jx(N9(n,t,e),72)}(this,n,t)},Bjn.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(OO(a=e.ak(),99)&&0!=(Jx(a,18).Bb&iMn)&&(l=Jx(e.dd(),49),(d=I8(n.e,l))!=l)){if(FO(n,t,Uan(n,0,h=QX(a,d))),f=null,pC(n.e)&&(i=ryn((dsn(),dut),n.e.Tg(),a))!=OZ(n.e.Tg(),n.c)){for(g=gwn(n.e.Tg(),a),u=0,c=Jx(n.g,119),o=0;o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},TF(DDn,"BasicFeatureMap/FeatureEIterator",410),Vfn(662,410,kEn,GI),Bjn.Lk=function(){return!0},TF(DDn,"BasicFeatureMap/ResolvingFeatureEIterator",662),Vfn(955,486,cRn,mO),Bjn.Gi=function(){return this},TF(DDn,"EContentsEList/1",955),Vfn(956,486,cRn,zI),Bjn.Lk=function(){return!1},TF(DDn,"EContentsEList/2",956),Vfn(954,279,aRn,yO),Bjn.Nk=function(n){},Bjn.Ob=function(){return!1},Bjn.Sb=function(){return!1},TF(DDn,"EContentsEList/FeatureIteratorImpl/1",954),Vfn(825,585,ZDn,nA),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EDataTypeEList/Unsettable",825),Vfn(1849,585,ZDn,tA),Bjn.hi=function(){return!0},TF(DDn,"EDataTypeUniqueEList",1849),Vfn(1850,825,ZDn,eA),Bjn.hi=function(){return!0},TF(DDn,"EDataTypeUniqueEList/Unsettable",1850),Vfn(139,85,ZDn,QO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentEList/Resolving",139),Vfn(1163,545,ZDn,YO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentEList/Unsettable/Resolving",1163),Vfn(748,16,ZDn,MN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectContainmentWithInverseEList/Unsettable",748),Vfn(1173,748,ZDn,SN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),Vfn(743,496,ZDn,JO),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectEList/Unsettable",743),Vfn(328,496,ZDn,ZO),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectResolvingEList",328),Vfn(1641,743,ZDn,iA),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectResolvingEList/Unsettable",1641),Vfn(1381,1,{},Ns),TF(DDn,"EObjectValidator",1381),Vfn(546,496,ZDn,k_),Bjn.zk=function(){return this.d},Bjn.Ak=function(){return this.b},Bjn.bj=function(){return!0},Bjn.Dk=function(){return!0},Bjn.b=0,TF(DDn,"EObjectWithInverseEList",546),Vfn(1176,546,ZDn,PN),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseEList/ManyInverse",1176),Vfn(625,546,ZDn,IN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EObjectWithInverseEList/Unsettable",625),Vfn(1175,625,ZDn,ON),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),Vfn(749,546,ZDn,CN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectWithInverseResolvingEList",749),Vfn(31,749,ZDn,$N),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseResolvingEList/ManyInverse",31),Vfn(750,625,ZDn,AN),Bjn.Ek=function(){return!0},Bjn.li=function(n,t){return Lfn(this,n,Jx(t,56))},TF(DDn,"EObjectWithInverseResolvingEList/Unsettable",750),Vfn(1174,750,ZDn,LN),Bjn.Ck=function(){return!0},TF(DDn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),Vfn(1164,622,ZDn),Bjn.ai=function(){return 0==(1792&this.b)},Bjn.ci=function(){this.b|=1},Bjn.Bk=function(){return 0!=(4&this.b)},Bjn.bj=function(){return 0!=(40&this.b)},Bjn.Ck=function(){return 0!=(16&this.b)},Bjn.Dk=function(){return 0!=(8&this.b)},Bjn.Ek=function(){return 0!=(this.b&BDn)},Bjn.rk=function(){return 0!=(32&this.b)},Bjn.Fk=function(){return 0!=(this.b&RNn)},Bjn.wj=function(n){return this.d?FX(this.d,n):this.ak().Yj().wj(n)},Bjn.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Bjn.hi=function(){return 0!=(128&this.b)},Bjn.Xj=function(){var n;qmn(this),0!=(2&this.b)&&(pC(this.e)?(n=0!=(1&this.b),this.b&=-2,Wp(this,new AV(this.e,2,enn(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},Bjn.ni=function(){return 0==(1536&this.b)},Bjn.b=0,TF(DDn,"EcoreEList/Generic",1164),Vfn(1165,1164,ZDn,iq),Bjn.ak=function(){return this.a},TF(DDn,"EcoreEList/Dynamic",1165),Vfn(747,63,Sxn,Zg),Bjn.ri=function(n){return q1(this.a.a,n)},TF(DDn,"EcoreEMap/1",747),Vfn(746,85,ZDn,p_),Bjn.bi=function(n,t){ein(this.b,Jx(t,133))},Bjn.di=function(n,t){$3(this.b)},Bjn.ei=function(n,t,e){var i;++(i=this.b,Jx(t,133),i).e},Bjn.fi=function(n,t){x9(this.b,Jx(t,133))},Bjn.gi=function(n,t,e){x9(this.b,Jx(e,133)),rI(e)===rI(t)&&Jx(e,133).Th(function(n){return null==n?0:V5(n)}(Jx(t,133).cd())),ein(this.b,Jx(t,133))},TF(DDn,"EcoreEMap/DelegateEObjectContainmentEList",746),Vfn(1171,151,KDn,E0),TF(DDn,"EcoreEMap/Unsettable",1171),Vfn(1172,746,ZDn,NN),Bjn.ci=function(){this.a=!0},Bjn.fj=function(){return this.a},Bjn.Xj=function(){var n;qmn(this),pC(this.e)?(n=this.a,this.a=!1,_3(this.e,new AV(this.e,2,this.c,n,!1))):this.a=!1},Bjn.a=!1,TF(DDn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),Vfn(1168,228,pMn,vF),Bjn.a=!1,Bjn.b=!1,TF(DDn,"EcoreUtil/Copier",1168),Vfn(745,1,lEn,fX),Bjn.Nb=function(n){C_(this,n)},Bjn.Ob=function(){return Enn(this)},Bjn.Pb=function(){var n;return Enn(this),n=this.b,this.b=null,n},Bjn.Qb=function(){this.a.Qb()},TF(DDn,"EcoreUtil/ProperContentIterator",745),Vfn(1382,1381,{},Kf),TF(DDn,"EcoreValidator",1382),uR(DDn,"FeatureMapUtil/Validator"),Vfn(1260,1,{1942:1},xs),Bjn.rl=function(n){return!0},TF(DDn,"FeatureMapUtil/1",1260),Vfn(757,1,{1942:1},kkn),Bjn.rl=function(n){var t;return this.c==n||(null==(t=fL(HF(this.a,n)))?function(n,t){var e;return n.f==Eut?(e=MB(IJ((dsn(),dut),t)),n.e?4==e&&t!=(gfn(),Iut)&&t!=(gfn(),Mut)&&t!=(gfn(),Sut)&&t!=(gfn(),Put):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Hz(IJ((dsn(),dut),t)))||n.d.Hc(ryn((dsn(),dut),n.b,t))))||!(!n.f||!_bn((dsn(),n.f),eH(IJ(dut,t))))&&(e=MB(IJ(dut,t)),n.e?4==e:2==e)}(this,n)?(NV(this.a,n,(MA(),N_n)),!0):(NV(this.a,n,(MA(),L_n)),!1):t==(MA(),N_n))},Bjn.e=!1,TF(DDn,"FeatureMapUtil/BasicValidator",757),Vfn(758,43,pMn,kO),TF(DDn,"FeatureMapUtil/BasicValidator/Cache",758),Vfn(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},QP),Bjn.Vc=function(n,t){Lwn(this.c,this.b,n,t)},Bjn.Fc=function(n){return Kgn(this.c,this.b,n)},Bjn.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(MT(),a=(o=Jx(t,66).Oj())?i:new BZ(i.gc()),Nwn(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)lvn(n,t,s=h.Pb(),OO(t,99)&&0!=(Jx(t,18).Bb&iMn))||(c=QX(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=QX(t,s=h.Pb()),a.Fc(c)}else{for(f=gwn(n.e.Tg(),t),r=Jx(n.g,119),u=0;u1)throw fp(new Ym(zRn));o||(c=QX(t,i.Kc().Pb()),a.Fc(c))}return l5(n,lsn(n,t,e),a)}(this.c,this.b,n,t)},Bjn.Gc=function(n){return MO(this,n)},Bjn.Xh=function(n,t){!function(n,t,e,i){n.j=-1,$fn(n,lsn(n,t,e),(MT(),Jx(t,66).Mj().Ok(i)))}(this.c,this.b,n,t)},Bjn.lk=function(n,t){return Jdn(this.c,this.b,n,t)},Bjn.pi=function(n){return umn(this.c,this.b,n,!1)},Bjn.Zh=function(){return yC(this.c,this.b)},Bjn.$h=function(){return n=this.c,new J3(this.b,n);var n},Bjn._h=function(n){return function(n,t,e){var i,r;for(r=new J3(t,n),i=0;i0)if((i-=r.length-t)>=0){for(c.a+="0.";i>cFn.length;i-=cFn.length)TR(c,cFn);YL(c,cFn,sG(i)),kI(c,r.substr(t))}else kI(c,b$(r,t,sG(i=t-i))),c.a+=".",kI(c,bI(r,sG(i)));else{for(kI(c,r.substr(t));i<-cFn.length;i+=cFn.length)TR(c,cFn);YL(c,cFn,sG(-i))}return c.a}(Jx(t,240));case 15:case 14:return null==t?null:function(n){return n==ZTn?YRn:n==nMn?"-INF":""+n}(ey(lL(t)));case 17:return kan((uyn(),t));case 18:return kan(t);case 21:case 20:return null==t?null:function(n){return n==ZTn?YRn:n==nMn?"-INF":""+n}(Jx(t,155).a);case 27:return sL(Jx(t,190));case 30:return Jin((uyn(),Jx(t,15)));case 31:return Jin(Jx(t,15));case 40:case 59:case 48:return function(n){return null==n?null:C7(n)}((uyn(),t));case 42:return jan((uyn(),t));case 43:return jan(t);default:throw fp(new Ym(ANn+n.ne()+$Nn))}},Bjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=r1(n))?Ken(t.Mh(),n):-1),n.G){case 0:return new Yv;case 1:return new Rs;case 2:return new Zv;case 3:return new Jv;default:throw fp(new Ym(xNn+n.zb+$Nn))}},Bjn.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return hen(t);case 8:case 7:return null==t?null:function(n){if(n=Qvn(n,!0),FN(jLn,n)||FN("1",n))return MA(),N_n;if(FN(ELn,n)||FN("0",n))return MA(),L_n;throw fp(new ly("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:rZ(rpn((i=Qvn(t,!0)).length>0&&(Nz(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:rZ(rpn((r=Qvn(t,!0)).length>0&&(Nz(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return bL(ljn(this,(uyn(),Rut),t));case 12:return bL(ljn(this,(uyn(),Kut),t));case 13:return null==t?null:new Vk(Qvn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=Qvn(n,!0),r=YRn.length,FN(i.substr(i.length-r,r),YRn))if(4==(e=i.length)){if(Nz(0,i.length),43==(t=i.charCodeAt(0)))return rot;if(45==t)return iot}else if(3==e)return rot;return pon(i)}(t);case 16:return bL(ljn(this,(uyn(),_ut),t));case 17:return Ynn((uyn(),t));case 18:return Ynn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Qvn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=Qvn(n,!0),r=YRn.length,FN(i.substr(i.length-r,r),YRn))if(4==(e=i.length)){if(Nz(0,i.length),43==(t=i.charCodeAt(0)))return aot;if(45==t)return cot}else if(3==e)return aot;return new Qp(i)}(t);case 22:return bL(ljn(this,(uyn(),Fut),t));case 23:return bL(ljn(this,(uyn(),But),t));case 24:return bL(ljn(this,(uyn(),Hut),t));case 25:return bL(ljn(this,(uyn(),qut),t));case 26:return bL(ljn(this,(uyn(),Gut),t));case 27:return Utn(t);case 30:return Jnn((uyn(),t));case 31:return Jnn(t);case 32:return null==t?null:g9(rpn((h=Qvn(t,!0)).length>0&&(Nz(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,tTn,Jjn));case 33:return null==t?null:new CC((f=Qvn(t,!0)).length>0&&(Nz(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:g9(rpn((l=Qvn(t,!0)).length>0&&(Nz(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,tTn,Jjn));case 36:return null==t?null:ktn(ykn((b=Qvn(t,!0)).length>0&&(Nz(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:ktn(ykn((w=Qvn(t,!0)).length>0&&(Nz(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new CC((t=Qvn(n,!0)).length>0&&(Nz(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}((uyn(),t));case 42:return Znn((uyn(),t));case 43:return Znn(t);case 44:return null==t?null:new CC((d=Qvn(t,!0)).length>0&&(Nz(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new CC((g=Qvn(t,!0)).length>0&&(Nz(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return Qvn(t,!1);case 47:return bL(ljn(this,(uyn(),zut),t));case 49:return bL(ljn(this,(uyn(),Xut),t));case 50:return null==t?null:p9(rpn((p=Qvn(t,!0)).length>0&&(Nz(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,lRn,32767)<<16>>16);case 51:return null==t?null:p9(rpn((c=Qvn(t,!0)).length>0&&(Nz(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,lRn,32767)<<16>>16);case 53:return bL(ljn(this,(uyn(),Qut),t));case 55:return null==t?null:p9(rpn((a=Qvn(t,!0)).length>0&&(Nz(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,lRn,32767)<<16>>16);case 56:return null==t?null:p9(rpn((u=Qvn(t,!0)).length>0&&(Nz(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,lRn,32767)<<16>>16);case 57:return null==t?null:ktn(ykn((o=Qvn(t,!0)).length>0&&(Nz(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:ktn(ykn((s=Qvn(t,!0)).length>0&&(Nz(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:g9(rpn((e=Qvn(t,!0)).length>0&&(Nz(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,tTn,Jjn));case 61:return null==t?null:g9(rpn(Qvn(t,!0),tTn,Jjn));default:throw fp(new Ym(ANn+n.ne()+$Nn))}},TF(QRn,"XMLTypeFactoryImpl",1919),Vfn(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},$B),Bjn.N=!1,Bjn.O=!1;var hot,fot,lot,bot,wot,dot=!1;TF(QRn,"XMLTypePackageImpl",586),Vfn(1852,1,{837:1},Ks),Bjn._j=function(){return Bpn(),Fot},TF(QRn,"XMLTypePackageImpl/1",1852),Vfn(1861,1,MRn,_s),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/10",1861),Vfn(1862,1,MRn,Fs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/11",1862),Vfn(1863,1,MRn,Bs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/12",1863),Vfn(1864,1,MRn,Hs),Bjn.wj=function(n){return aI(n)},Bjn.xj=function(n){return QQ(q_n,MEn,333,n,7,1)},TF(QRn,"XMLTypePackageImpl/13",1864),Vfn(1865,1,MRn,qs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/14",1865),Vfn(1866,1,MRn,Gs),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/15",1866),Vfn(1867,1,MRn,zs),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/16",1867),Vfn(1868,1,MRn,Us),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/17",1868),Vfn(1869,1,MRn,Xs),Bjn.wj=function(n){return OO(n,155)},Bjn.xj=function(n){return QQ(G_n,MEn,155,n,0,1)},TF(QRn,"XMLTypePackageImpl/18",1869),Vfn(1870,1,MRn,Ws),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/19",1870),Vfn(1853,1,MRn,Vs),Bjn.wj=function(n){return OO(n,843)},Bjn.xj=function(n){return QQ(Out,rEn,843,n,0,1)},TF(QRn,"XMLTypePackageImpl/2",1853),Vfn(1871,1,MRn,Qs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/20",1871),Vfn(1872,1,MRn,Ys),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/21",1872),Vfn(1873,1,MRn,Js),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/22",1873),Vfn(1874,1,MRn,Zs),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/23",1874),Vfn(1875,1,MRn,nh),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(QRn,"XMLTypePackageImpl/24",1875),Vfn(1876,1,MRn,th),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/25",1876),Vfn(1877,1,MRn,eh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/26",1877),Vfn(1878,1,MRn,ih),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/27",1878),Vfn(1879,1,MRn,rh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/28",1879),Vfn(1880,1,MRn,ch),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/29",1880),Vfn(1854,1,MRn,ah),Bjn.wj=function(n){return OO(n,667)},Bjn.xj=function(n){return QQ(uot,rEn,2021,n,0,1)},TF(QRn,"XMLTypePackageImpl/3",1854),Vfn(1881,1,MRn,uh),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(QRn,"XMLTypePackageImpl/30",1881),Vfn(1882,1,MRn,oh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/31",1882),Vfn(1883,1,MRn,sh),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(QRn,"XMLTypePackageImpl/32",1883),Vfn(1884,1,MRn,hh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/33",1884),Vfn(1885,1,MRn,fh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/34",1885),Vfn(1886,1,MRn,lh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/35",1886),Vfn(1887,1,MRn,bh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/36",1887),Vfn(1888,1,MRn,wh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/37",1888),Vfn(1889,1,MRn,dh),Bjn.wj=function(n){return OO(n,15)},Bjn.xj=function(n){return QQ(ZKn,gPn,15,n,0,1)},TF(QRn,"XMLTypePackageImpl/38",1889),Vfn(1890,1,MRn,gh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/39",1890),Vfn(1855,1,MRn,ph),Bjn.wj=function(n){return OO(n,668)},Bjn.xj=function(n){return QQ(oot,rEn,2022,n,0,1)},TF(QRn,"XMLTypePackageImpl/4",1855),Vfn(1891,1,MRn,vh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/40",1891),Vfn(1892,1,MRn,mh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/41",1892),Vfn(1893,1,MRn,yh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/42",1893),Vfn(1894,1,MRn,kh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/43",1894),Vfn(1895,1,MRn,jh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/44",1895),Vfn(1896,1,MRn,Eh),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(QRn,"XMLTypePackageImpl/45",1896),Vfn(1897,1,MRn,Th),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/46",1897),Vfn(1898,1,MRn,Mh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/47",1898),Vfn(1899,1,MRn,Sh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/48",1899),Vfn(MTn,1,MRn,Ph),Bjn.wj=function(n){return OO(n,184)},Bjn.xj=function(n){return QQ(tFn,MEn,184,n,0,1)},TF(QRn,"XMLTypePackageImpl/49",MTn),Vfn(1856,1,MRn,Ih),Bjn.wj=function(n){return OO(n,669)},Bjn.xj=function(n){return QQ(sot,rEn,2023,n,0,1)},TF(QRn,"XMLTypePackageImpl/5",1856),Vfn(1901,1,MRn,Ch),Bjn.wj=function(n){return OO(n,162)},Bjn.xj=function(n){return QQ(Z_n,MEn,162,n,0,1)},TF(QRn,"XMLTypePackageImpl/50",1901),Vfn(1902,1,MRn,Oh),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/51",1902),Vfn(1903,1,MRn,Ah),Bjn.wj=function(n){return OO(n,19)},Bjn.xj=function(n){return QQ(X_n,MEn,19,n,0,1)},TF(QRn,"XMLTypePackageImpl/52",1903),Vfn(1857,1,MRn,$h),Bjn.wj=function(n){return uI(n)},Bjn.xj=function(n){return QQ(lFn,MEn,2,n,6,1)},TF(QRn,"XMLTypePackageImpl/6",1857),Vfn(1858,1,MRn,Lh),Bjn.wj=function(n){return OO(n,190)},Bjn.xj=function(n){return QQ(Jot,MEn,190,n,0,2)},TF(QRn,"XMLTypePackageImpl/7",1858),Vfn(1859,1,MRn,Nh),Bjn.wj=function(n){return cI(n)},Bjn.xj=function(n){return QQ(R_n,MEn,476,n,8,1)},TF(QRn,"XMLTypePackageImpl/8",1859),Vfn(1860,1,MRn,xh),Bjn.wj=function(n){return OO(n,217)},Bjn.xj=function(n){return QQ(F_n,MEn,217,n,0,1)},TF(QRn,"XMLTypePackageImpl/9",1860),Vfn(50,60,iTn,dy),TF(jKn,"RegEx/ParseException",50),Vfn(820,1,{},Dh),Bjn.sl=function(n){return n16*e)throw fp(new dy(_jn((zC(),rDn))));e=16*e+r}if(125!=this.a)throw fp(new dy(_jn((zC(),cDn))));if(e>EKn)throw fp(new dy(_jn((zC(),aDn))));n=e}else{if(r=0,0!=this.c||(r=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(e=r,jjn(this),0!=this.c||(r=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));n=e=16*e+r}break;case 117:if(i=0,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));n=t=16*t+i;break;case 118:if(jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if(t=16*t+i,jjn(this),0!=this.c||(i=gin(this.a))<0)throw fp(new dy(_jn((zC(),iDn))));if((t=16*t+i)>EKn)throw fp(new dy(_jn((zC(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw fp(new dy(_jn((zC(),uDn))))}return n},Bjn.ul=function(n){var t;switch(n){case 100:t=32==(32&this.e)?zkn("Nd",!0):(Njn(),Eot);break;case 68:t=32==(32&this.e)?zkn("Nd",!1):(Njn(),Iot);break;case 119:t=32==(32&this.e)?zkn("IsWord",!0):(Njn(),Rot);break;case 87:t=32==(32&this.e)?zkn("IsWord",!1):(Njn(),Oot);break;case 115:t=32==(32&this.e)?zkn("IsSpace",!0):(Njn(),$ot);break;case 83:t=32==(32&this.e)?zkn("IsSpace",!1):(Njn(),Cot);break;default:throw fp(new Cm(TKn+n.toString(16)))}return t},Bjn.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,jjn(this),t=null,0==this.c&&94==this.a?(jjn(this),n?(Njn(),Njn(),s=new aU(5)):(Njn(),Njn(),Uwn(t=new aU(4),0,EKn),s=new aU(4))):(Njn(),Njn(),s=new aU(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:lmn(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=qhn(this,e)))throw fp(new dy(_jn((zC(),Uxn))));lmn(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=w$(this.i,58,this.d))<0)throw fp(new dy(_jn((zC(),Xxn))));if(a=!0,94==WB(this.i,this.d)&&(++this.d,a=!1),!(u=wY(b$(this.i,this.d,c),a,512==(512&this.e))))throw fp(new dy(_jn((zC(),Vxn))));if(lmn(s,u),i=!0,c+1>=this.j||93!=WB(this.i,c+1))throw fp(new dy(_jn((zC(),Xxn))));this.d=c+2}if(jjn(this),!i)if(0!=this.c||45!=this.a)Uwn(s,e,e);else{if(jjn(this),1==(f=this.c))throw fp(new dy(_jn((zC(),Wxn))));0==f&&93==this.a?(Uwn(s,e,e),Uwn(s,45,45)):(o=this.a,10==f&&(o=this.tl()),jjn(this),Uwn(s,e,o))}(this.e&RNn)==RNn&&0==this.c&&44==this.a&&jjn(this)}if(1==this.c)throw fp(new dy(_jn((zC(),Wxn))));return t&&(Fyn(t,s),s=t),Dln(s),Nmn(s),this.b=0,jjn(this),s},Bjn.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw fp(new dy(_jn((zC(),tDn))));if(jjn(this),9!=this.c)throw fp(new dy(_jn((zC(),nDn))));if(t=this.vl(!1),4==i)lmn(e,t);else if(45==n)Fyn(e,t);else{if(38!=n)throw fp(new Cm("ASSERT"));Tyn(e,t)}}return jjn(this),e},Bjn.xl=function(){var n,t;return n=this.a-48,Njn(),Njn(),t=new tG(12,null,n),!this.g&&(this.g=new Zp),Xp(this.g,new np(n)),jjn(this),t},Bjn.yl=function(){return jjn(this),Njn(),Lot},Bjn.zl=function(){return jjn(this),Njn(),Aot},Bjn.Al=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Bl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Cl=function(){return jjn(this),c6()},Bjn.Dl=function(){return jjn(this),Njn(),xot},Bjn.El=function(){return jjn(this),Njn(),Kot},Bjn.Fl=function(){var n;if(this.d>=this.j||64!=(65504&(n=WB(this.i,this.d++))))throw fp(new dy(_jn((zC(),Hxn))));return jjn(this),Njn(),Njn(),new HR(0,n-64)},Bjn.Gl=function(){return jjn(this),function(){var n,t,e,i,r,c;if(Njn(),Got)return Got;for(lmn(n=new aU(4),zkn(LKn,!0)),Fyn(n,zkn("M",!0)),Fyn(n,zkn("C",!0)),c=new aU(4),i=0;i<11;i++)Uwn(c,i,i);return lmn(t=new aU(4),zkn("M",!0)),Uwn(t,4448,4607),Uwn(t,65438,65439),Kmn(r=new qC(2),n),Kmn(r,Mot),(e=new qC(2)).$l(QR(c,zkn("L",!0))),e.$l(t),e=new eF(r,e=new aW(3,e)),Got=e}()},Bjn.Hl=function(){return jjn(this),Njn(),_ot},Bjn.Il=function(){var n;return Njn(),Njn(),n=new HR(0,105),jjn(this),n},Bjn.Jl=function(){return jjn(this),Njn(),Dot},Bjn.Kl=function(){return jjn(this),Njn(),Not},Bjn.Ll=function(n,t){return this.tl()},Bjn.Ml=function(){return jjn(this),Njn(),Sot},Bjn.Nl=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw fp(new dy(_jn((zC(),_xn))));if(i=-1,t=null,49<=(n=WB(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new Zp),Xp(this.g,new np(i)),++this.d,41!=WB(this.i,this.d))throw fp(new dy(_jn((zC(),Dxn))));++this.d}else switch(63==n&&--this.d,jjn(this),(t=ojn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));break;default:throw fp(new dy(_jn((zC(),Fxn))))}if(jjn(this),e=null,2==(r=itn(this)).e){if(2!=r.em())throw fp(new dy(_jn((zC(),Bxn))));e=r.am(1),r=r.am(0)}if(7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),Njn(),Njn(),new tZ(i,t,r,e)},Bjn.Ol=function(){return jjn(this),Njn(),Pot},Bjn.Pl=function(){var n;if(jjn(this),n=M_(24,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Ql=function(){var n;if(jjn(this),n=M_(20,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Rl=function(){var n;if(jjn(this),n=M_(22,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw fp(new dy(_jn((zC(),Rxn))));if(45==t){for(++this.d;this.d=this.j)throw fp(new dy(_jn((zC(),Rxn))))}if(58==t){if(++this.d,jjn(this),i=DF(itn(this),n,e),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));jjn(this)}else{if(41!=t)throw fp(new dy(_jn((zC(),Kxn))));++this.d,jjn(this),i=DF(itn(this),n,e)}return i},Bjn.Tl=function(){var n;if(jjn(this),n=M_(21,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Ul=function(){var n;if(jjn(this),n=M_(23,itn(this)),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Vl=function(){var n,t;if(jjn(this),n=this.f++,t=S_(itn(this),n),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),t},Bjn.Wl=function(){var n;if(jjn(this),n=S_(itn(this),0),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Xl=function(n){return jjn(this),5==this.c?(jjn(this),QR(n,(Njn(),Njn(),new aW(9,n)))):QR(n,(Njn(),Njn(),new aW(3,n)))},Bjn.Yl=function(n){var t;return jjn(this),Njn(),Njn(),t=new qC(2),5==this.c?(jjn(this),Kmn(t,Mot),Kmn(t,n)):(Kmn(t,n),Kmn(t,Mot)),t},Bjn.Zl=function(n){return jjn(this),5==this.c?(jjn(this),Njn(),Njn(),new aW(9,n)):(Njn(),Njn(),new aW(3,n))},Bjn.a=0,Bjn.b=0,Bjn.c=0,Bjn.d=0,Bjn.e=0,Bjn.f=1,Bjn.g=null,Bjn.j=0,TF(jKn,"RegEx/RegexParser",820),Vfn(1824,820,{},nm),Bjn.sl=function(n){return!1},Bjn.tl=function(){return Mdn(this)},Bjn.ul=function(n){return cpn(n)},Bjn.vl=function(n){return Tjn(this)},Bjn.wl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.xl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.yl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.zl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Al=function(){return jjn(this),cpn(67)},Bjn.Bl=function(){return jjn(this),cpn(73)},Bjn.Cl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Dl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.El=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Fl=function(){return jjn(this),cpn(99)},Bjn.Gl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Hl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Il=function(){return jjn(this),cpn(105)},Bjn.Jl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Kl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ll=function(n,t){return lmn(n,cpn(t)),-1},Bjn.Ml=function(){return jjn(this),Njn(),Njn(),new HR(0,94)},Bjn.Nl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ol=function(){return jjn(this),Njn(),Njn(),new HR(0,36)},Bjn.Pl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ql=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Rl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Sl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Tl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Ul=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Vl=function(){var n;if(jjn(this),n=S_(itn(this),0),7!=this.c)throw fp(new dy(_jn((zC(),Dxn))));return jjn(this),n},Bjn.Wl=function(){throw fp(new dy(_jn((zC(),oDn))))},Bjn.Xl=function(n){return jjn(this),QR(n,(Njn(),Njn(),new aW(3,n)))},Bjn.Yl=function(n){var t;return jjn(this),Njn(),Njn(),Kmn(t=new qC(2),n),Kmn(t,Mot),t},Bjn.Zl=function(n){return jjn(this),Njn(),Njn(),new aW(3,n)};var got=null,pot=null;TF(jKn,"RegEx/ParserForXMLSchema",1824),Vfn(117,1,DKn,tp),Bjn.$l=function(n){throw fp(new Cm("Not supported."))},Bjn._l=function(){return-1},Bjn.am=function(n){return null},Bjn.bm=function(){return null},Bjn.cm=function(n){},Bjn.dm=function(n){},Bjn.em=function(){return 0},Bjn.Ib=function(){return this.fm(0)},Bjn.fm=function(n){return 11==this.e?".":""},Bjn.e=0;var vot,mot,yot,kot,jot,Eot,Tot,Mot,Sot,Pot,Iot,Cot,Oot,Aot,$ot,Lot,Not,xot,Dot,Rot,Kot,_ot,Fot,Bot,Hot=null,qot=null,Got=null,zot=TF(jKn,"RegEx/Token",117);Vfn(136,117,{3:1,136:1,117:1},aU),Bjn.fm=function(n){var t,e,i;if(4==this.e)if(this==Tot)e=".";else if(this==Eot)e="\\d";else if(this==Rot)e="\\w";else if(this==$ot)e="\\s";else{for((i=new Oy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?vI(i,Evn(this.b[t])):(vI(i,Evn(this.b[t])),i.a+="-",vI(i,Evn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Iot)e="\\D";else if(this==Oot)e="\\W";else if(this==Cot)e="\\S";else{for((i=new Oy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?vI(i,Evn(this.b[t])):(vI(i,Evn(this.b[t])),i.a+="-",vI(i,Evn(this.b[t+1])));i.a+="]",e=i.a}return e},Bjn.a=!1,Bjn.c=!1,TF(jKn,"RegEx/RangeToken",136),Vfn(584,1,{584:1},np),Bjn.a=0,TF(jKn,"RegEx/RegexParser/ReferencePosition",584),Vfn(583,1,{3:1,583:1},Sj),Bjn.Fb=function(n){var t;return null!=n&&!!OO(n,583)&&(t=Jx(n,583),FN(this.b,t.b)&&this.a==t.a)},Bjn.Hb=function(){return Wen(this.b+"/"+lwn(this.a))},Bjn.Ib=function(){return this.c.fm(this.a)},Bjn.a=0,TF(jKn,"RegEx/RegularExpression",583),Vfn(223,117,DKn,HR),Bjn._l=function(){return this.a},Bjn.fm=function(n){var t,e;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:e="\\"+rN(this.a&lTn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=iMn?"\\v"+b$(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+rN(this.a&lTn)}break;case 8:e=this==Sot||this==Pot?""+rN(this.a&lTn):"\\"+rN(this.a&lTn);break;default:e=null}return e},Bjn.a=0,TF(jKn,"RegEx/Token/CharToken",223),Vfn(309,117,DKn,aW),Bjn.am=function(n){return this.a},Bjn.cm=function(n){this.b=n},Bjn.dm=function(n){this.c=n},Bjn.em=function(){return 1},Bjn.fm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw fp(new Cm("Token#toString(): CLOSURE "+this.c+eEn+this.b));t=this.a.fm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw fp(new Cm("Token#toString(): NONGREEDYCLOSURE "+this.c+eEn+this.b));t=this.a.fm(n)+"{"+this.c+",}?"}return t},Bjn.b=0,Bjn.c=0,TF(jKn,"RegEx/Token/ClosureToken",309),Vfn(821,117,DKn,eF),Bjn.am=function(n){return 0==n?this.a:this.b},Bjn.em=function(){return 2},Bjn.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},TF(jKn,"RegEx/Token/ConcatToken",821),Vfn(1822,117,DKn,tZ),Bjn.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw fp(new Cm("Internal Error: "+n))},Bjn.em=function(){return this.b?2:1},Bjn.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},Bjn.c=0,TF(jKn,"RegEx/Token/ConditionToken",1822),Vfn(1823,117,DKn,cU),Bjn.am=function(n){return this.b},Bjn.em=function(){return 1},Bjn.fm=function(n){return"(?"+(0==this.a?"":lwn(this.a))+(0==this.c?"":lwn(this.c))+":"+this.b.fm(n)+")"},Bjn.a=0,Bjn.c=0,TF(jKn,"RegEx/Token/ModifierToken",1823),Vfn(822,117,DKn,cB),Bjn.am=function(n){return this.a},Bjn.em=function(){return 1},Bjn.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},Bjn.b=0,TF(jKn,"RegEx/Token/ParenToken",822),Vfn(521,117,{3:1,117:1,521:1},tG),Bjn.bm=function(){return this.b},Bjn.fm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(r=n.length,t=null,i=0;i=0?(t||(t=new Ay,i>0&&vI(t,n.substr(0,i))),t.a+="\\",_F(t,e&lTn)):t&&_F(t,e&lTn);return t?t.a:n}(this.b)},Bjn.a=0,TF(jKn,"RegEx/Token/StringToken",521),Vfn(465,117,DKn,qC),Bjn.$l=function(n){Kmn(this,n)},Bjn.am=function(n){return Jx(bB(this.a,n),117)},Bjn.em=function(){return this.a?this.a.a.c.length:0},Bjn.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Jx(bB(this.a,0),117),r=3==(e=Jx(bB(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(c=new Oy,i=0;i=n.c.b:n.a<=n.c.b))throw fp(new _p);return t=n.a,n.a+=n.c.c,++n.b,g9(t)}(this)},Bjn.Ub=function(){return function(n){if(n.b<=0)throw fp(new _p);return--n.b,n.a-=n.c.c,g9(n.a)}(this)},Bjn.Wb=function(n){Jx(n,19),function(){throw fp(new hy(BKn))}()},Bjn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Bjn.Sb=function(){return this.b>0},Bjn.Tb=function(){return this.b},Bjn.Vb=function(){return this.b-1},Bjn.Qb=function(){throw fp(new hy(HKn))},Bjn.a=0,Bjn.b=0,TF(_Kn,"ExclusiveRange/RangeIterator",254);var Uot,Xot,Wot=SB(qDn,"C"),Vot=SB(UDn,"I"),Qot=SB(Wjn,"Z"),Yot=SB(XDn,"J"),Jot=SB(HDn,"B"),Zot=SB(GDn,"D"),nst=SB(zDn,"F"),tst=SB(WDn,"S"),est=uR("org.eclipse.elk.core.labels","ILabelManager"),ist=uR(ixn,"DiagnosticChain"),rst=uR(PRn,"ResourceSet"),cst=TF(ixn,"InvocationTargetException",null),ast=(Fy(),function(n){return Fy(),function(){return hX(n,this,arguments)}}),ust=ust=function(n,t,e,i){Oj();var r=qjn;function c(){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl)if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}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(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},1809:(n,t,e)=>{e.d(t,{diagram:()=>v});var i=e(5384),r=e(7274),c=e(6288),a=e(9360),u=e(7295);e(7484),e(7967),e(7856);const o=new u;let s={};const h={};let f={};const l=(n,t,e)=>{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,a.l.info("abc88",e,t,n),i[e][t][n]},b=(n,t,e)=>{if(a.l.info("getNextPort abc88",{node:n,edgeDirection:t,graphDirection:e}),!s[n])switch(e){case"TB":case"TD":s[n]={inPosition:"north",outPosition:"south"};break;case"BT":s[n]={inPosition:"south",outPosition:"north"};break;case"RL":s[n]={inPosition:"east",outPosition:"west"};break;case"LR":s[n]={inPosition:"west",outPosition:"east"}}const i="in"===t?s[n].inPosition:s[n].outPosition;return"in"===t?s[n].inPosition=l(s[n].inPosition,t,e):s[n].outPosition=l(s[n].outPosition,t,e),i},w=function(n,t,e,i,c){const a=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=f[i].offset;return{x:r.posX,y:r.posY}}(t.sourceId,t.targetId,c),u=t.sections[0].startPoint,o=t.sections[0].endPoint,s=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+a.x,n.y+a.y])),h=[[u.x+a.x,u.y+a.y],...s,[o.x+a.x,o.y+a.y]],l=(0,r.jvg)().curve(r.c_6),b=n.insert("path").attr("d",l(h)).attr("class","path "+e.classes).attr("fill","none"),w=n.insert("g").attr("class","edgeLabel"),d=(0,r.Ys)(w.node().appendChild(t.labelEl)),g=d.node().firstChild.getBoundingClientRect();d.attr("width",g.width),d.attr("height",g.height),w.attr("transform",`translate(${t.labels[0].x+a.x}, ${t.labels[0].y+a.y})`),function(n,t,e,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,"\\)")),t.arrowTypeStart){case"arrow_cross":n.attr("marker-start","url("+r+"#"+e+"-crossStart)");break;case"arrow_point":n.attr("marker-start","url("+r+"#"+e+"-pointStart)");break;case"arrow_barb":n.attr("marker-start","url("+r+"#"+e+"-barbStart)");break;case"arrow_circle":n.attr("marker-start","url("+r+"#"+e+"-circleStart)");break;case"aggregation":n.attr("marker-start","url("+r+"#"+e+"-aggregationStart)");break;case"extension":n.attr("marker-start","url("+r+"#"+e+"-extensionStart)");break;case"composition":n.attr("marker-start","url("+r+"#"+e+"-compositionStart)");break;case"dependency":n.attr("marker-start","url("+r+"#"+e+"-dependencyStart)");break;case"lollipop":n.attr("marker-start","url("+r+"#"+e+"-lollipopStart)")}switch(t.arrowTypeEnd){case"arrow_cross":n.attr("marker-end","url("+r+"#"+e+"-crossEnd)");break;case"arrow_point":n.attr("marker-end","url("+r+"#"+e+"-pointEnd)");break;case"arrow_barb":n.attr("marker-end","url("+r+"#"+e+"-barbEnd)");break;case"arrow_circle":n.attr("marker-end","url("+r+"#"+e+"-circleEnd)");break;case"aggregation":n.attr("marker-end","url("+r+"#"+e+"-aggregationEnd)");break;case"extension":n.attr("marker-end","url("+r+"#"+e+"-extensionEnd)");break;case"composition":n.attr("marker-end","url("+r+"#"+e+"-compositionEnd)");break;case"dependency":n.attr("marker-end","url("+r+"#"+e+"-dependencyEnd)");break;case"lollipop":n.attr("marker-end","url("+r+"#"+e+"-lollipopEnd)")}}(b,e,i.type,i.arrowMarkerAbsolute)},d=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(f[t])})),d(n.children,t)}))},g=(n,t,e,i,r,c,u)=>{e.forEach((function(e){if(e)if(f[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:u,width:e.width,height:e.height},"group"===e.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+u%5+" node").attr("x",e.x+n).attr("y",e.y+t).attr("width",e.width).attr("height",e.height);const c=i.insert("g").attr("class","label"),o=(0,a.c)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+o}, ${e.labels[0].y+t+e.y+3})`),c.node().appendChild(e.labelData.labelNode),a.l.info("Id (UGH)= ",e.type,e.labels)}else a.l.info("Id (UGH)= ",e.id),e.el.attr("transform",`translate(${e.x+n+e.width/2}, ${e.y+t+e.height/2})`)})),e.forEach((function(e){e&&"group"===e.type&&g(n+e.x,t+e.y,e.children,i,r,c,u+1)}))},p={getClasses:function(n,t){return a.l.info("Extracting classes"),t.db.getClasses()},draw:async function(n,t,e,i){var u;f={},s={};const l=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let p={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(a.l.info("Drawing flowchart using v3 renderer",o),i.db.getDirection()){case"BT":p.layoutOptions["elk.direction"]="UP";break;case"TB":p.layoutOptions["elk.direction"]="DOWN";break;case"LR":p.layoutOptions["elk.direction"]="RIGHT";break;case"RL":p.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:v,flowchart:m}=(0,a.c)();let y;"sandbox"===v&&(y=(0,r.Ys)("#i"+t));const k="sandbox"===v?(0,r.Ys)(y.nodes()[0].contentDocument.body):(0,r.Ys)("body"),j="sandbox"===v?y.nodes()[0].contentDocument:document,E=k.select(`[id="${t}"]`);(0,c.a)(E,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const T=i.db.getVertices();let M;const S=i.db.getSubGraphs();a.l.info("Subgraphs - ",S);for(let n=S.length-1;n>=0;n--)M=S[n],i.db.addVertex(M.id,{text:M.title,type:M.labelType},"group",void 0,M.classes,M.dir);const P=E.insert("g").attr("class","subgraphs"),I=function(n){const t={parentById:{},childrenById:{}},e=n.getSubGraphs();return a.l.info("Subgraphs - ",e),e.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),e.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(i.db);p=await async function(n,t,e,i,r,u,o){const s=e.select(`[id="${t}"]`).insert("g").attr("class","nodes"),h=Object.keys(n);return await Promise.all(h.map((async function(t){const e=n[t];let o="default";e.classes.length>0&&(o=e.classes.join(" ")),o+=" flowchart-label";const h=(0,a.k)(e.styles);let l=void 0!==e.text?e.text:e.id;const b={width:0,height:0},w=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let d=0,g="",p={};switch(e.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question",p={portConstraints:"FIXED_SIDE"};break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}const v={labelStyle:h.labelStyle,shape:g,labelText:l,labelType:e.labelType,rx:d,ry:d,class:o,style:h.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:r.db.getTooltip(e.id)||"",domId:r.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:(0,a.c)().flowchart.padding};let m,y;if("group"!==v.type)y=await(0,c.e)(s,v,e.dir),m=y.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=await(0,c.l)(s,v,void 0,!0);b.width=t.width,b.wrappingWidth=(0,a.c)().flowchart.wrappingWidth,b.height=t.height,b.labelNode=n.node(),v.labelData=b}const k={id:e.id,ports:"diamond"===e.type?w:[],layoutOptions:p,labelText:l,labelData:b,domId:r.db.lookUpDomId(e.id),width:null==m?void 0:m.width,height:null==m?void 0:m.height,type:e.type,el:y,parent:u.parentById[e.id]};f[v.id]=k}))),o}(T,t,k,j,i,I,p);const C=E.insert("g").attr("class","edges edgePath"),O=i.db.getEdges();p=function(n,t,e,i){a.l.info("abc78 edges = ",n);const u=i.insert("g").attr("class","edgeLabels");let o,s,l={},w=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,a.k)(n.defaultStyle);o=t.style,s=t.labelStyle}return n.forEach((function(t){const i="L-"+t.start+"-"+t.end;void 0===l[i]?(l[i]=0,a.l.info("abc78 new entry",i,l[i])):(l[i]++,a.l.info("abc78 new entry",i,l[i]));let d=i+"-"+l[i];a.l.info("abc78 new link id to be used is",i,d,l[i]);const g="LS-"+t.start,p="LE-"+t.end,v={style:"",labelStyle:""};switch(v.minlen=t.length||1,"arrow_open"===t.type?v.arrowhead="none":v.arrowhead="normal",v.arrowTypeStart="arrow_open",v.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":v.arrowTypeStart="arrow_cross";case"arrow_cross":v.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":v.arrowTypeStart="arrow_point";case"arrow_point":v.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":v.arrowTypeStart="arrow_circle";case"arrow_circle":v.arrowTypeEnd="arrow_circle"}let m="",y="";switch(t.stroke){case"normal":m="fill:none;",void 0!==o&&(m=o),void 0!==s&&(y=s),v.thickness="normal",v.pattern="solid";break;case"dotted":v.thickness="normal",v.pattern="dotted",v.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v.thickness="thick",v.pattern="solid",v.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,a.k)(t.style);m=n.style,y=n.labelStyle}v.style=v.style+=m,v.labelStyle=v.labelStyle+=y,void 0!==t.interpolate?v.curve=(0,a.o)(t.interpolate,r.c_6):void 0!==n.defaultInterpolate?v.curve=(0,a.o)(n.defaultInterpolate,r.c_6):v.curve=(0,a.o)(h.curve,r.c_6),void 0===t.text?void 0!==t.style&&(v.arrowheadStyle="fill: #333"):(v.arrowheadStyle="fill: #333",v.labelpos="c"),v.labelType=t.labelType,v.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(v.style=v.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),v.labelStyle=v.labelStyle.replace("color:","fill:"),v.id=d,v.classes="flowchart-link "+g+" "+p;const k=(0,c.f)(u,v),{source:j,target:E,sourceId:T,targetId:M}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=f[e],u=f[i];return a&&u?("diamond"===a.type&&(e=`${e}-${b(e,"out",t)}`),"diamond"===u.type&&(i=`${i}-${b(i,"in",t)}`),{source:e,target:i,sourceId:r,targetId:c}):{source:e,target:i}})(t,w);a.l.debug("abc78 source and target",j,E),e.edges.push({id:"e"+t.start+t.end,sources:[j],targets:[E],sourceId:T,targetId:M,labelEl:k,labels:[{width:v.width,height:v.height,orgWidth:v.width,orgHeight:v.height,text:v.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:v})})),e}(O,i,p,E),Object.keys(f).forEach((n=>{const t=f[n];t.parent||p.children.push(t),void 0!==I.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),d(p.children,I),a.l.info("after layout",JSON.stringify(p,null,2));const A=await o.layout(p);g(0,0,A.children,E,P,i,0),a.l.info("after layout",A),null==(u=A.edges)||u.map((n=>{w(C,n,n.edgeData,i,I)})),(0,a.p)({},E,m.diagramPadding,m.useMaxWidth),l.remove()}},v={db:i.d,renderer:p,parser:i.p,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.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: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.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: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`}}}; \ No newline at end of file diff --git a/themes/daux/js/825.mjs b/themes/daux/js/825.mjs new file mode 100644 index 00000000..83d88261 --- /dev/null +++ b/themes/daux/js/825.mjs @@ -0,0 +1 @@ +export const id=825;export const ids=[825];export const modules={4825:(t,e,i)=>{i.d(e,{diagram:()=>p});var n=i(9360),s=i(7274),r=(i(7484),i(7967),i(7856),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,4],i=[1,5],n=[1,6],s=[1,7],r=[1,9],c=[1,11,13,15,17,19,20,26,27,28,29],a=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],o=[26,27,28],h=[2,8],u=[1,18],y=[1,19],p=[1,20],d=[1,21],g=[1,22],_=[1,23],f=[1,28],m=[6,26,27,28,29],v={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,i,n,s,r,c){var a=r.length-1;switch(s){case 4:n.setShowData(!0);break;case 7:this.$=r[a-1];break;case 9:n.addSection(r[a-1],n.cleanupValue(r[a]));break;case 10:this.$=r[a].trim(),n.setDiagramTitle(this.$);break;case 11:this.$=r[a].trim(),n.setAccTitle(this.$);break;case 12:case 13:this.$=r[a].trim(),n.setAccDescription(this.$);break;case 14:n.addSection(r[a].substr(8)),this.$=r[a].substr(8);break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[a],"type_directive");break;case 23:r[a]=r[a].trim().replace(/'/g,'"'),n.parseDirective(r[a],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{3:11,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},t(c,a,{7:12,8:[1,13]}),t(l,[2,18]),t(l,[2,19]),t(l,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(o,h,{21:8,9:16,10:17,5:24,1:[2,3],11:u,13:y,15:p,17:d,19:g,20:_,29:r}),t(c,a,{7:25}),{23:26,24:[1,27],32:f},t([24,32],[2,22]),t(c,[2,6]),{4:29,26:i,27:n,28:s},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(o,[2,13]),t(o,[2,14]),t(o,[2,15]),t(o,h,{21:8,9:16,10:17,5:24,1:[2,4],11:u,13:y,15:p,17:d,19:g,20:_,29:r}),t(m,[2,16]),{25:34,31:[1,35]},t(m,[2,24]),t(c,[2,7]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12]),{23:36,32:f},{32:[2,23]},t(m,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],s=[],r=this.table,c="",a=0,l=0,o=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,f,m,v,b,k,x,S,w={};;){if(_=e[e.length-1],this.defaultActions[_]?f=this.defaultActions[_]:(null==g&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),g=S),f=r[_]&&r[_][g]),void 0===f||!f.length||!f[0]){var E;for(v in x=[],r[_])this.terminals_[v]&&v>2&&x.push("'"+this.terminals_[v]+"'");E=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:p,expected:x})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(f[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(f[1]),g=null,l=h.yyleng,c=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(b=this.productions_[f[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[c,l,a,u.yy,f[1],n,s].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),n.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},b={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,i=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 n=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),i.length-1&&(this.yylineno-=i.length-1);var s=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[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 i,n,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&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(){return this.next()||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,i,n){switch(i){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 k(){this.yy={}}return v.lexer=b,k.prototype=v,v.Parser=k,new k}());r.parser=r;const c=r;let a={},l=!1;const o={parseDirective:function(t,e,i){n.m.parseDirective(this,t,e,i)},getConfig:()=>(0,n.c)().pie,addSection:function(t,e){t=n.e.sanitizeText(t,(0,n.c)()),void 0===a[t]&&(a[t]=e,n.l.debug("Added new section :",t))},getSections:()=>a,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){a={},l=!1,(0,n.v)()},setAccTitle:n.s,getAccTitle:n.g,setDiagramTitle:n.r,getDiagramTitle:n.t,setShowData:function(t){l=t},getShowData:function(){return l},getAccDescription:n.a,setAccDescription:n.b};let h,u=(0,n.c)();const y={draw:(t,e,i,r)=>{var c;try{u=(0,n.c)(),n.l.debug("Rendering info diagram\n"+t);const i=(0,n.c)().securityLevel;let b;"sandbox"===i&&(b=(0,s.Ys)("#i"+e));const k="sandbox"===i?(0,s.Ys)(b.nodes()[0].contentDocument.body):(0,s.Ys)("body"),x=("sandbox"===i?b.nodes()[0].contentDocument:document).getElementById(e);h=x.parentElement.offsetWidth,void 0===h&&(h=1200),void 0!==u.useWidth&&(h=u.useWidth),void 0!==u.pie.useWidth&&(h=u.pie.useWidth);const S=k.select("#"+e);(0,n.i)(S,450,h,u.pie.useMaxWidth),x.setAttribute("viewBox","0 0 "+h+" 450");var a=Math.min(h,450)/2-40,l=S.append("g").attr("transform","translate("+h/2+",225)"),o=r.db.getSections(),y=0;Object.keys(o).forEach((function(t){y+=o[t]}));const w=u.themeVariables;var p=[w.pie1,w.pie2,w.pie3,w.pie4,w.pie5,w.pie6,w.pie7,w.pie8,w.pie9,w.pie10,w.pie11,w.pie12];const E=(null==(c=u.pie)?void 0:c.textPosition)??.75;let[D]=(0,n.C)(w.pieOuterStrokeWidth);D??(D=2);var d=(0,s.PKp)().range(p),g=Object.entries(o).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),_=(0,s.ve8)().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(g),f=(0,s.Nb1)().innerRadius(0).outerRadius(a),m=(0,s.Nb1)().innerRadius(a*E).outerRadius(a*E);l.append("circle").attr("cx",0).attr("cy",0).attr("r",a+D/2).attr("class","pieOuterCircle"),l.selectAll("mySlices").data(_).enter().append("path").attr("d",f).attr("fill",(function(t){return d(t.data.name)})).attr("class","pieCircle"),l.selectAll("mySlices").data(_).enter().append("text").text((function(t){return(t.data.value/y*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+m.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),l.append("text").text(r.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var v=l.selectAll(".legend").data(d.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*d.domain().length/2)+")"}));v.append("rect").attr("width",18).attr("height",18).style("fill",d).style("stroke",d),v.data(_).append("text").attr("x",22).attr("y",14).text((function(t){return r.db.getShowData()||u.showData||u.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){n.l.error("Error while rendering info diagram"),n.l.error(t)}}},p={parser:c,db:o,renderer:y,styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\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`}}}; \ No newline at end of file diff --git a/themes/daux/js/855.mjs b/themes/daux/js/855.mjs deleted file mode 100644 index d3733228..00000000 --- a/themes/daux/js/855.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=855;export const ids=[855];export const modules={2855:(t,e,a)=>{a.d(e,{diagram:()=>h});var r=a(5001),i=a(4309),n=a(9451),d=a(5625),o=a(3110),s=a(7657),l=a(1188);a(7856),a(7484),a(7967);let p={};const c=function(t){const e=Object.entries(p).find((e=>e[1].label===t));if(e)return e[0]},g={draw:function(t,e,a,r){const g=(0,o.g)().class;p={},o.l.info("Rendering diagram "+t);const h=(0,o.g)().securityLevel;let f;"sandbox"===h&&(f=(0,i.Ys)("#i"+e));const x="sandbox"===h?(0,i.Ys)(f.nodes()[0].contentDocument.body):(0,i.Ys)("body"),u=x.select(`[id='${e}']`);var y;(y=u).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"),y.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"),y.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"),y.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"),y.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"),y.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"),y.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"),y.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");const m=new d.k({multigraph:!0});m.setGraph({isMultiGraph:!0}),m.setDefaultEdgeLabel((function(){return{}}));const b=r.db.getClasses(),w=Object.keys(b);for(const t of w){const e=b[t],a=s.s.drawClass(u,e,g,r);p[a.id]=a,m.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach((function(t){o.l.info("tjoho"+c(t.id1)+c(t.id2)+JSON.stringify(t)),m.setEdge(c(t.id1),c(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=s.s.drawNote(u,t,g,r);p[e.id]=e,m.setNode(e.id,e),t.class&&t.class in b&&m.setEdge(t.id,c(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,n.bK)(m),m.nodes().forEach((function(t){void 0!==t&&void 0!==m.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(m.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(m.node(t).x-m.node(t).width/2)+","+(m.node(t).y-m.node(t).height/2)+" )"))})),m.edges().forEach((function(t){void 0!==t&&void 0!==m.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(m.edge(t))),s.s.drawEdge(u,m.edge(t),m.edge(t).relation,g,r))}));const k=u.node().getBBox(),v=k.width+40,E=k.height+40;(0,l.k)(u,E,v,g.useMaxWidth);const L=`${k.x-20} ${k.y-20} ${v} ${E}`;o.l.debug(`viewBox ${L}`),u.attr("viewBox",L)}},h={parser:r.p,db:r.d,renderer:g,styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}},7657:(t,e,a)=>{a.d(e,{p:()=>o,s:()=>h});var r=a(4309),i=a(1188),n=a(3110);let d=0;const o=function(t){let e=t.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),a=t.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return e&&!a?s(e):a?l(a):p(t)},s=function(t){let e="",a="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",d=t[3]?(0,n.z)(t[3].trim()):"",o=t[4]?t[4].trim():"",s=t[5]?t[5].trim():"";a=r+i+d+" "+o,e=g(s)}catch(e){a=t}return{displayText:a,cssStyle:e}},l=function(t){let e="",a="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",d=t[3]?(0,n.z)(t[3].trim()):"",o=t[4]?t[4].trim():"";a=r+i+"("+d+")"+(t[5]?" : "+(0,n.z)(t[5]).trim():""),e=g(o)}catch(e){a=t}return{displayText:a,cssStyle:e}},p=function(t){let e="",a="",r="",i=t.indexOf("("),d=t.indexOf(")");if(i>1&&d>i&&d<=t.length){let o="",s="",l=t.substring(0,1);l.match(/\w/)?s=t.substring(0,i).trim():(l.match(/[#+~-]/)&&(o=l),s=t.substring(1,i).trim());const p=t.substring(i+1,d);t.substring(d+1,1),a=g(t.substring(d+1,d+2)),e=o+s+"("+(0,n.z)(p.trim())+")",d");const g=s.append("tspan").text(p).attr("class","title");l||g.attr("dy",a.textHeight);const h=s.node().getBBox().height,f=o.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin/2).attr("y2",a.padding+h+a.dividerMargin/2),x=o.append("text").attr("x",a.padding).attr("y",h+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");l=!0,e.members.forEach((function(t){c(x,t,l,a),l=!1}));const u=x.node().getBBox(),y=o.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin+u.height).attr("y2",a.padding+h+a.dividerMargin+u.height),m=o.append("text").attr("x",a.padding).attr("y",h+2*a.dividerMargin+u.height+a.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach((function(t){c(m,t,l,a),l=!1}));const b=o.node().getBBox();var w=" ";e.cssClasses.length>0&&(w+=e.cssClasses.join(" "));const k=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*a.padding).attr("height",b.height+a.padding+.5*a.dividerMargin).attr("class",w).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),f.attr("x2",k),y.attr("x2",k),d.width=k,d.height=b.height+a.padding+.5*a.dividerMargin,d},drawEdge:function(t,e,a,o,s){const l=function(t){switch(t){case s.db.relationType.AGGREGATION:return"aggregation";case s.db.relationType.EXTENSION:return"extension";case s.db.relationType.COMPOSITION:return"composition";case s.db.relationType.DEPENDENCY:return"dependency";case s.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const p=e.points,c=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),g=t.append("path").attr("d",c(p)).attr("id","edge"+d).attr("class","relation");let h,f,x="";o.arrowMarkerAbsolute&&(x=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,x=x.replace(/\(/g,"\\("),x=x.replace(/\)/g,"\\)")),1==a.relation.lineType&&g.attr("class","relation dashed-line"),10==a.relation.lineType&&g.attr("class","relation dotted-line"),"none"!==a.relation.type1&&g.attr("marker-start","url("+x+"#"+l(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&g.attr("marker-end","url("+x+"#"+l(a.relation.type2)+"End)");const u=e.points.length;let y,m,b,w,k=i.u.calcLabelPosition(e.points);if(h=k.x,f=k.y,u%2!=0&&u>1){let t=i.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=i.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[u-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(r)),y=t.x,m=t.y,b=r.x,w=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",h).attr("y",f).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=r;const i=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",i.x-o.padding/2).attr("y",i.y-o.padding/2).attr("width",i.width+o.padding).attr("height",i.height+o.padding)}n.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",m).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.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(a.relationTitle2),d++},drawNote:function(t,e,a,r){n.l.debug("Rendering note ",e,a);const i=e.id,d={id:i,text:e.text,width:0,height:0},o=t.append("g").attr("id",i).attr("class","classGroup");let s=o.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){n.l.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const p=o.node().getBBox(),c=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(c-t.getBBox().width)/2)})),d.width=c,d.height=p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin,d},parseMember:o}}}; \ No newline at end of file diff --git a/themes/daux/js/863.mjs b/themes/daux/js/863.mjs deleted file mode 100644 index 6102f748..00000000 --- a/themes/daux/js/863.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=863;export const ids=[863];export const modules={9863:(t,e,u)=>{u.d(e,{d:()=>rt,f:()=>it,p:()=>a});var s=u(4309),i=u(1188),r=u(3110),n=u(6848),c=function(){var t=function(t,e,u,s){for(u=u||{},s=t.length;s--;u[t[s]]=e);return u},e=[1,9],u=[1,7],s=[1,6],i=[1,8],r=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],n=[2,10],c=[1,20],a=[1,21],o=[1,22],l=[1,23],h=[1,30],A=[1,32],d=[1,33],p=[1,34],y=[1,62],E=[1,48],f=[1,52],D=[1,36],k=[1,37],b=[1,38],g=[1,39],_=[1,40],F=[1,56],C=[1,63],B=[1,51],T=[1,53],m=[1,55],S=[1,59],v=[1,60],x=[1,41],L=[1,42],R=[1,43],I=[1,44],N=[1,61],$=[1,50],O=[1,54],P=[1,57],U=[1,58],w=[1,49],V=[1,66],M=[1,71],G=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Y=[1,75],K=[1,74],W=[1,76],j=[20,21,23,81,82],H=[1,99],Q=[1,104],z=[1,107],X=[1,108],q=[1,101],Z=[1,106],J=[1,109],tt=[1,102],et=[1,114],ut=[1,113],st=[1,103],it=[1,105],rt=[1,110],nt=[1,111],ct=[1,112],at=[1,115],ot=[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,92,96,106,107,110,112,113,123,124,125,126,127,128],At=[20,21,23],dt=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],pt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],yt=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],Et=[1,150],ft=[1,158],Dt=[1,159],kt=[1,160],bt=[1,161],gt=[1,145],_t=[1,146],Ft=[1,141],Ct=[1,142],Bt=[1,153],Tt=[1,154],mt=[1,155],St=[1,156],vt=[1,157],xt=[1,162],Lt=[1,163],Rt=[1,148],It=[1,151],Nt=[1,147],$t=[1,144],Ot=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Pt=[1,166],Ut=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],wt=[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,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],Vt=[12,21,22,24],Mt=[22,107],Gt=[1,251],Yt=[1,246],Kt=[1,247],Wt=[1,255],jt=[1,252],Ht=[1,249],Qt=[1,248],zt=[1,250],Xt=[1,253],qt=[1,254],Zt=[1,256],Jt=[1,274],te=[20,21,23,107],ee=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],ue={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,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement: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:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$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",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"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],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,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],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,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],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(t,e,u,s,i,r,n){var c=r.length-1;switch(i){case 5:s.parseDirective("%%{","open_directive");break;case 6:s.parseDirective(r[c],"type_directive");break;case 7:r[c]=r[c].trim().replace(/'/g,'"'),s.parseDirective(r[c],"arg_directive");break;case 8:s.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(r[c])||r[c].length>0)&&r[c-1].push(r[c]),this.$=r[c-1];break;case 12:case 97:case 153:case 155:case 156:case 78:case 151:this.$=r[c];break;case 19:s.setDirection("TB"),this.$="TB";break;case 20:s.setDirection(r[c-1]),this.$=r[c-1];break;case 35:this.$=r[c-1].nodes;break;case 41:this.$=s.addSubGraph(r[c-6],r[c-1],r[c-4]);break;case 42:this.$=s.addSubGraph(r[c-3],r[c-1],r[c-3]);break;case 43:this.$=s.addSubGraph(void 0,r[c-1],void 0);break;case 45:this.$=r[c].trim(),s.setAccTitle(this.$);break;case 46:case 47:this.$=r[c].trim(),s.setAccDescription(this.$);break;case 51:s.addLink(r[c-2].stmt,r[c],r[c-1]),this.$={stmt:r[c],nodes:r[c].concat(r[c-2].nodes)};break;case 52:s.addLink(r[c-3].stmt,r[c-1],r[c-2]),this.$={stmt:r[c-1],nodes:r[c-1].concat(r[c-3].nodes)};break;case 53:this.$={stmt:r[c-1],nodes:r[c-1]};break;case 54:this.$={stmt:r[c],nodes:r[c]};break;case 55:case 124:case 126:this.$=[r[c]];break;case 56:this.$=r[c-4].concat(r[c]);break;case 57:this.$=[r[c-2]],s.setClass(r[c-2],r[c]);break;case 58:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"square");break;case 59:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"doublecircle");break;case 60:this.$=r[c-5],s.addVertex(r[c-5],r[c-2],"circle");break;case 61:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"ellipse");break;case 62:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"stadium");break;case 63:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"subroutine");break;case 64:this.$=r[c-7],s.addVertex(r[c-7],r[c-1],"rect",void 0,void 0,void 0,Object.fromEntries([[r[c-5],r[c-3]]]));break;case 65:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"cylinder");break;case 66:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"round");break;case 67:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"diamond");break;case 68:this.$=r[c-5],s.addVertex(r[c-5],r[c-2],"hexagon");break;case 69:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"odd");break;case 70:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"trapezoid");break;case 71:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"inv_trapezoid");break;case 72:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"lean_right");break;case 73:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"lean_left");break;case 74:this.$=r[c],s.addVertex(r[c]);break;case 75:r[c-1].text=r[c],this.$=r[c-1];break;case 76:case 77:r[c-2].text=r[c-1],this.$=r[c-2];break;case 79:var a=s.destructLink(r[c],r[c-2]);this.$={type:a.type,stroke:a.stroke,length:a.length,text:r[c-1]};break;case 80:a=s.destructLink(r[c]),this.$={type:a.type,stroke:a.stroke,length:a.length};break;case 81:this.$=r[c-1];break;case 82:case 84:this.$={text:r[c],type:"text"};break;case 83:this.$={text:r[c-1].text+""+r[c],type:r[c-1].type};break;case 85:this.$={text:r[c],type:"markdown"};break;case 98:case 154:case 152:this.$=r[c-1]+""+r[c];break;case 99:case 100:this.$=r[c-4],s.addClass(r[c-2],r[c]);break;case 101:this.$=r[c-4],s.setClass(r[c-2],r[c]);break;case 102:case 110:this.$=r[c-1],s.setClickEvent(r[c-1],r[c]);break;case 103:case 111:this.$=r[c-3],s.setClickEvent(r[c-3],r[c-2]),s.setTooltip(r[c-3],r[c]);break;case 104:this.$=r[c-2],s.setClickEvent(r[c-2],r[c-1],r[c]);break;case 105:this.$=r[c-4],s.setClickEvent(r[c-4],r[c-3],r[c-2]),s.setTooltip(r[c-4],r[c]);break;case 106:case 112:this.$=r[c-1],s.setLink(r[c-1],r[c]);break;case 107:case 113:this.$=r[c-3],s.setLink(r[c-3],r[c-2]),s.setTooltip(r[c-3],r[c]);break;case 108:case 114:this.$=r[c-3],s.setLink(r[c-3],r[c-2],r[c]);break;case 109:case 115:this.$=r[c-5],s.setLink(r[c-5],r[c-4],r[c]),s.setTooltip(r[c-5],r[c-2]);break;case 116:this.$=r[c-4],s.addVertex(r[c-2],void 0,void 0,r[c]);break;case 117:case 119:this.$=r[c-4],s.updateLink(r[c-2],r[c]);break;case 118:this.$=r[c-4],s.updateLink([r[c-2]],r[c]);break;case 120:this.$=r[c-8],s.updateLinkInterpolate([r[c-6]],r[c-2]),s.updateLink([r[c-6]],r[c]);break;case 121:this.$=r[c-8],s.updateLinkInterpolate(r[c-6],r[c-2]),s.updateLink(r[c-6],r[c]);break;case 122:this.$=r[c-6],s.updateLinkInterpolate([r[c-4]],r[c]);break;case 123:this.$=r[c-6],s.updateLinkInterpolate(r[c-4],r[c]);break;case 125:case 127:r[c-2].push(r[c]),this.$=r[c-2];break;case 129:this.$=r[c-1]+r[c];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},t(r,n,{17:11}),{7:12,13:[1,13]},{16:14,21:u,22:s,24:i},{16:15,21:u,22:s,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:A,46:d,48:p,50:35,51:45,52:y,54:46,66:E,67:f,87:D,88:k,89:b,90:g,91:_,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,119:x,120:L,121:R,122:I,123:N,124:$,125:O,126:P,127:U,128:w},{8:64,10:[1,65],15:V},t([10,15],[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),{20:[1,68],21:[1,69],22:M,27:67,30:70},t(G,[2,11]),t(G,[2,12]),t(G,[2,13]),t(G,[2,14]),t(G,[2,15]),t(G,[2,16]),{9:72,20:Y,21:K,23:W,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:Y,21:K,23:W},{9:81,20:Y,21:K,23:W},{9:82,20:Y,21:K,23:W},{9:83,20:Y,21:K,23:W},{9:84,20:Y,21:K,23:W},{9:86,20:Y,21:K,22:[1,85],23:W},t(G,[2,44]),{45:[1,87]},{47:[1,88]},t(G,[2,47]),t(j,[2,54],{30:89,22:M}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:H,52:Q,66:z,67:X,84:[1,97],92:q,98:96,99:[1,94],101:[1,95],106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(G,[2,159]),t(G,[2,160]),t(G,[2,161]),t(G,[2,162]),t(ot,[2,55],{53:[1,116]}),t(lt,[2,74],{117:129,40:[1,117],52:y,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:E,67:f,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:F,96:C,106:B,107:T,110:m,112:S,113:v,123:N,124:$,125:O,126:P,127:U,128:w}),t(ht,[2,151]),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]),t(ht,[2,191]),{9:130,20:Y,21:K,23:W},{11:131,14:[1,132]},t(At,[2,8]),t(r,[2,20]),t(r,[2,26]),t(r,[2,27]),{21:[1,133]},t(dt,[2,34],{30:134,22:M}),t(G,[2,35]),{50:135,51:45,52:y,54:46,66:E,67:f,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,123:N,124:$,125:O,126:P,127:U,128:w},t(pt,[2,48]),t(pt,[2,49]),t(pt,[2,50]),t(yt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:Et,24:ft,26:Dt,38:kt,39:139,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),t(G,[2,36]),t(G,[2,37]),t(G,[2,38]),t(G,[2,39]),t(G,[2,40]),{22:Et,24:ft,26:Dt,38:kt,39:164,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(Ot,n,{17:165}),t(G,[2,45]),t(G,[2,46]),t(j,[2,53],{52:Pt}),{26:H,52:Q,66:z,67:X,92:q,98:167,103:[1,168],106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},{96:[1,169],104:170,106:[1,171]},{26:H,52:Q,66:z,67:X,92:q,96:[1,172],98:173,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},{26:H,52:Q,66:z,67:X,92:q,98:174,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(At,[2,102],{22:[1,175],100:[1,176]}),t(At,[2,106],{22:[1,177]}),t(At,[2,110],{116:100,118:179,22:[1,178],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,123:st,124:it,125:rt,126:nt,127:ct,128:at}),t(At,[2,112],{22:[1,180]}),t(Ut,[2,153]),t(Ut,[2,155]),t(Ut,[2,156]),t(Ut,[2,157]),t(Ut,[2,158]),t(wt,[2,163]),t(wt,[2,164]),t(wt,[2,165]),t(wt,[2,166]),t(wt,[2,167]),t(wt,[2,168]),t(wt,[2,169]),t(wt,[2,170]),t(wt,[2,171]),t(wt,[2,172]),t(wt,[2,173]),t(wt,[2,174]),t(wt,[2,175]),{52:y,54:181,66:E,67:f,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,123:N,124:$,125:O,126:P,127:U,128:w},{22:Et,24:ft,26:Dt,38:kt,39:182,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:183,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:185,42:bt,52:Q,57:[1,184],66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:186,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:187,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:188,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{66:[1,189]},{22:Et,24:ft,26:Dt,38:kt,39:190,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:191,42:bt,52:Q,66:z,67:X,71:[1,192],73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:193,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:194,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:195,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(ht,[2,152]),t(Vt,[2,3]),{8:196,15:V},{15:[2,7]},t(r,[2,28]),t(dt,[2,33]),t(j,[2,51],{30:197,22:M}),t(yt,[2,75],{22:[1,198]}),{22:[1,199]},{22:Et,24:ft,26:Dt,38:kt,39:200,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,73:gt,81:_t,82:[1,201],83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(wt,[2,82]),t(wt,[2,84]),t(wt,[2,85]),t(wt,[2,141]),t(wt,[2,142]),t(wt,[2,143]),t(wt,[2,144]),t(wt,[2,145]),t(wt,[2,146]),t(wt,[2,147]),t(wt,[2,148]),t(wt,[2,149]),t(wt,[2,150]),t(wt,[2,86]),t(wt,[2,87]),t(wt,[2,88]),t(wt,[2,89]),t(wt,[2,90]),t(wt,[2,91]),t(wt,[2,92]),t(wt,[2,93]),t(wt,[2,94]),t(wt,[2,95]),t(wt,[2,96]),{9:204,20:Y,21:K,22:Et,23:W,24:ft,26:Dt,38:kt,40:[1,203],42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,205],43:31,44:A,46:d,48:p,50:35,51:45,52:y,54:46,66:E,67:f,87:D,88:k,89:b,90:g,91:_,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,119:x,120:L,121:R,122:I,123:N,124:$,125:O,126:P,127:U,128:w},{22:M,30:206},{22:[1,207],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:179,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},t(Mt,[2,124]),{22:[1,212]},{22:[1,213],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:179,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:[1,214],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:179,123:st,124:it,125:rt,126:nt,127:ct,128:at},{84:[1,215]},t(At,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},t(Ut,[2,154]),{84:[1,220],102:[1,221]},t(ot,[2,57],{117:129,52:y,66:E,67:f,92:F,96:C,106:B,107:T,110:m,112:S,113:v,123:N,124:$,125:O,126:P,127:U,128:w}),{22:Et,24:ft,26:Dt,38:kt,41:[1,222],42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,56:[1,223],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:224,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,58:[1,225],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,60:[1,226],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,62:[1,227],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,64:[1,228],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{67:[1,229]},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,70:[1,230],73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,72:[1,231],73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,39:232,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,41:[1,233],42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,73:gt,75:[1,234],77:[1,235],81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,73:gt,75:[1,237],77:[1,236],81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{9:238,20:Y,21:K,23:W},t(j,[2,52],{52:Pt}),t(yt,[2,77]),t(yt,[2,76]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,68:[1,239],73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(yt,[2,79]),t(wt,[2,83]),{22:Et,24:ft,26:Dt,38:kt,39:240,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(Ot,n,{17:241}),t(G,[2,43]),{51:242,52:y,54:46,66:E,67:f,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,123:N,124:$,125:O,126:P,127:U,128:w},{22:Gt,66:Yt,67:Kt,87:Wt,97:243,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{22:Gt,66:Yt,67:Kt,87:Wt,97:257,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{22:Gt,66:Yt,67:Kt,87:Wt,97:258,103:jt,105:[1,259],106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{22:Gt,66:Yt,67:Kt,87:Wt,97:260,103:jt,105:[1,261],106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{106:[1,262]},{22:Gt,66:Yt,67:Kt,87:Wt,97:263,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{22:Gt,66:Yt,67:Kt,87:Wt,97:264,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{26:H,52:Q,66:z,67:X,92:q,98:265,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(At,[2,103]),{84:[1,266]},t(At,[2,107],{22:[1,267]}),t(At,[2,108]),t(At,[2,111]),t(At,[2,113],{22:[1,268]}),t(At,[2,114]),t(lt,[2,58]),t(lt,[2,59]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,58:[1,269],66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(lt,[2,66]),t(lt,[2,61]),t(lt,[2,62]),t(lt,[2,63]),{66:[1,270]},t(lt,[2,65]),t(lt,[2,67]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,66:z,67:X,72:[1,271],73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,72]),t(lt,[2,71]),t(lt,[2,73]),t(Vt,[2,4]),t([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:Et,24:ft,26:Dt,38:kt,41:[1,272],42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,273],43:31,44:A,46:d,48:p,50:35,51:45,52:y,54:46,66:E,67:f,87:D,88:k,89:b,90:g,91:_,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,119:x,120:L,121:R,122:I,123:N,124:$,125:O,126:P,127:U,128:w},t(ot,[2,56]),t(At,[2,116],{107:Jt}),t(te,[2,126],{109:275,22:Gt,66:Yt,67:Kt,87:Wt,103:jt,106:Ht,110:Qt,111:zt,112:Xt,113:qt,114:Zt}),t(ee,[2,128]),t(ee,[2,130]),t(ee,[2,131]),t(ee,[2,132]),t(ee,[2,133]),t(ee,[2,134]),t(ee,[2,135]),t(ee,[2,136]),t(ee,[2,137]),t(ee,[2,138]),t(ee,[2,139]),t(ee,[2,140]),t(At,[2,117],{107:Jt}),t(At,[2,118],{107:Jt}),{22:[1,276]},t(At,[2,119],{107:Jt}),{22:[1,277]},t(Mt,[2,125]),t(At,[2,99],{107:Jt}),t(At,[2,100],{107:Jt}),t(At,[2,101],{116:100,118:179,26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,123:st,124:it,125:rt,126:nt,127:ct,128:at}),t(At,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:Y,21:K,23:W},t(G,[2,42]),{22:Gt,66:Yt,67:Kt,87:Wt,103:jt,106:Ht,108:284,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},t(ee,[2,129]),{26:H,52:Q,66:z,67:X,92:q,98:285,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},{26:H,52:Q,66:z,67:X,92:q,98:286,106:Z,107:J,110:tt,112:et,113:ut,116:100,118:98,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(At,[2,109]),t(At,[2,115]),t(lt,[2,60]),{22:Et,24:ft,26:Dt,38:kt,39:287,42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:140,84:Ft,85:Ct,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},t(lt,[2,68]),t(Ot,n,{17:288}),t(te,[2,127],{109:275,22:Gt,66:Yt,67:Kt,87:Wt,103:jt,106:Ht,110:Qt,111:zt,112:Xt,113:qt,114:Zt}),t(At,[2,122],{116:100,118:179,22:[1,289],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,123:st,124:it,125:rt,126:nt,127:ct,128:at}),t(At,[2,123],{116:100,118:179,22:[1,290],26:H,52:Q,66:z,67:X,92:q,106:Z,107:J,110:tt,112:et,113:ut,123:st,124:it,125:rt,126:nt,127:ct,128:at}),{22:Et,24:ft,26:Dt,38:kt,41:[1,291],42:bt,52:Q,66:z,67:X,73:gt,81:_t,83:202,86:152,87:Bt,88:Tt,89:mt,90:St,91:vt,92:xt,93:Lt,95:143,96:Rt,106:Z,107:J,110:It,112:et,113:ut,114:Nt,115:$t,116:149,123:st,124:it,125:rt,126:nt,127:ct,128:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,292],43:31,44:A,46:d,48:p,50:35,51:45,52:y,54:46,66:E,67:f,87:D,88:k,89:b,90:g,91:_,92:F,96:C,106:B,107:T,110:m,112:S,113:v,117:47,119:x,120:L,121:R,122:I,123:N,124:$,125:O,126:P,127:U,128:w},{22:Gt,66:Yt,67:Kt,87:Wt,97:293,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},{22:Gt,66:Yt,67:Kt,87:Wt,97:294,103:jt,106:Ht,108:244,109:245,110:Qt,111:zt,112:Xt,113:qt,114:Zt},t(lt,[2,64]),t(G,[2,41]),t(At,[2,120],{107:Jt}),t(At,[2,121],{107:Jt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var u=new Error(t);throw u.hash=e,u}this.trace(t)},parse:function(t){var e=[0],u=[],s=[null],i=[],r=this.table,n="",c=0,a=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;i.push(d);var p=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,f,D,k,b,g,_,F,C={};;){if(E=e[e.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==y&&(F=void 0,"number"!=typeof(F=u.pop()||l.lex()||1)&&(F instanceof Array&&(F=(u=F).pop()),F=this.symbols_[F]||F),y=F),f=r[E]&&r[E][y]),void 0===f||!f.length||!f[0]){var B;for(k in _=[],r[E])this.terminals_[k]&&k>2&&_.push("'"+this.terminals_[k]+"'");B=l.showPosition?"Parse error on line "+(c+1)+":\n"+l.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(B,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:d,expected:_})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(f[0]){case 1:e.push(y),s.push(l.yytext),i.push(l.yylloc),e.push(f[1]),y=null,a=l.yyleng,n=l.yytext,c=l.yylineno,d=l.yylloc;break;case 2:if(b=this.productions_[f[1]][1],C.$=s[s.length-b],C._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},p&&(C._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(D=this.performAction.apply(C,[n,a,c,h.yy,f[1],s,i].concat(o))))return D;b&&(e=e.slice(0,-1*b*2),s=s.slice(0,-1*b),i=i.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),s.push(C.$),i.push(C._$),g=r[e[e.length-2]][e[e.length-1]],e.push(g);break;case 3:return!0}}return!0}},se={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,u=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 s=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),u.length-1&&(this.yylineno-=u.length-1);var i=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:u?(u.length===s.length?this.yylloc.first_column:0)+s[s.length-u.length].length-u[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[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 u,s,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],u=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,u,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;re[0].length)){if(e=u,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(u,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[s]))&&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(){return this.next()||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,u,s){switch(u){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:return this.begin("acc_title"),44;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),46;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 14:case 16:case 25:case 28:case 31:case 34:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("md_string");break;case 13:return"MD_STR";case 15:this.begin("string");break;case 17:return"STR";case 18:return 87;case 19:return 96;case 20:return 88;case 21:return 105;case 22:return 89;case 23:return 90;case 24:this.begin("href");break;case 26:return 101;case 27:this.begin("callbackname");break;case 29:this.popState(),this.begin("callbackargs");break;case 30:return 99;case 32:return 100;case 33:this.begin("click");break;case 35:return 91;case 36:case 37:case 38:return t.lex.firstGraph()&&this.begin("dir"),24;case 39:return 38;case 40:return 42;case 41:case 42:case 43:case 44:return 102;case 45:return this.popState(),25;case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:return this.popState(),26;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 122;case 60:return 106;case 61:return 112;case 62:return 53;case 63:return 67;case 64:return 52;case 65:return 20;case 66:return 107;case 67:return 127;case 68:case 69:case 70:case 71:return 82;case 72:case 73:case 74:return 81;case 75:return 59;case 76:return 60;case 77:return 61;case 78:return 62;case 79:return 63;case 80:return 64;case 81:return 65;case 82:return 69;case 83:return 70;case 84:return 55;case 85:return 56;case 86:return 110;case 87:return 113;case 88:return 128;case 89:return 125;case 90:return 114;case 91:case 92:return 126;case 93:return 115;case 94:return 73;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 66;case 99:return 75;case 100:return 74;case 101:return 77;case 102:return 76;case 103:return 123;case 104:return 124;case 105:return 68;case 106:return 57;case 107:return 58;case 108:return 40;case 109:return 41;case 110:return 71;case 111:return 72;case 112:return 134;case 113:return 21;case 114:return 22;case 115:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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*~~[\~]+\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:[31,32],inclusive:!1},callbackname:{rules:[28,29,30],inclusive:!1},href:{rules:[25,26],inclusive:!1},click:{rules:[34,35],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[45,46,47,48,49,50,51,52,53,54,55],inclusive:!1},acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},md_string:{rules:[13,14],inclusive:!1},string:{rules:[16,17],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,15,18,19,20,21,22,23,24,27,33,36,37,38,39,40,41,42,43,44,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,114,115],inclusive:!0}}};function ie(){this.yy={}}return ue.lexer=se,ie.prototype=ue,ue.Parser=ie,new ie}();c.parser=c;const a=c;let o,l,h=0,A=(0,r.g)(),d={},p=[],y={},E=[],f={},D={},k=0,b=!0,g=[];const _=t=>r.e.sanitizeText(t,A),F=function(t,e,u){n.m.parseDirective(this,t,e,u)},C=function(t){const e=Object.keys(d);for(const u of e)if(d[u].id===t)return d[u].domId;return t},B=function(t,e,u,s,i,n,c={}){let a,o=t;void 0!==o&&0!==o.trim().length&&(void 0===d[o]&&(d[o]={id:o,labelType:"text",domId:"flowchart-"+o+"-"+h,styles:[],classes:[]}),h++,void 0!==e?(A=(0,r.g)(),a=_(e.text.trim()),d[o].labelType=e.type,'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),d[o].text=a):void 0===d[o].text&&(d[o].text=t),void 0!==u&&(d[o].type=u),null!=s&&s.forEach((function(t){d[o].styles.push(t)})),null!=i&&i.forEach((function(t){d[o].classes.push(t)})),void 0!==n&&(d[o].dir=n),void 0===d[o].props?d[o].props=c:void 0!==c&&Object.assign(d[o].props,c))},T=function(t,e,u){const s={start:t,end:e,type:void 0,text:"",labelType:"text"};r.l.info("abc78 Got edge...",s);const i=u.text;void 0!==i&&(s.text=_(i.text.trim()),'"'===s.text[0]&&'"'===s.text[s.text.length-1]&&(s.text=s.text.substring(1,s.text.length-1)),s.labelType=i.type),void 0!==u&&(s.type=u.type,s.stroke=u.stroke,s.length=u.length),p.push(s)},m=function(t,e,u){let s,i;for(r.l.info("addLink (abc78)",t,e,u),s=0;s/)&&(o="LR"),o.match(/.*v/)&&(o="TB"),"TD"===o&&(o="TB")},R=function(t,e){t.split(",").forEach((function(t){let u=t;void 0!==d[u]&&d[u].classes.push(e),void 0!==f[u]&&f[u].classes.push(e)}))},I=function(t,e,u){t.split(",").forEach((function(t){void 0!==d[t]&&(d[t].link=i.u.formatUrl(e,A),d[t].linkTarget=u)})),R(t,"clickable")},N=function(t){return D[t]},$=function(t,e,u){t.split(",").forEach((function(t){!function(t,e,u){let s=C(t);if("loose"!==(0,r.g)().securityLevel)return;if(void 0===e)return;let n=[];if("string"==typeof u){n=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,s.Ys)(this).classed("hover",!1)}))};g.push(M);const G=function(t="gen-1"){d={},y={},p=[],g=[M],E=[],f={},k=0,D=[],b=!0,l=t,(0,r.y)()},Y=t=>{l=t||"gen-2"},K=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},W=function(t,e,u){let s=t.text.trim(),i=u.text;t===u&&u.text.match(/\s/)&&(s=void 0);let n=[];const{nodeList:c,dir:a}=function(t){const e={boolean:{},number:{},string:{}},u=[];let s;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(s=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!u.includes(t)&&u.push(t))})),dir:s}}(n.concat.apply(n,e));if(n=c,"gen-1"===l)for(let t=0;t2e3)return;if(Q[H]=e,E[e].id===t)return{result:!0,count:0};let s=0,i=1;for(;s=0){const u=z(t,e);if(u.result)return{result:!0,count:i+u.count};i+=u.count}s+=1}return{result:!1,count:i}},X=function(t){return Q[t]},q=function(){H=-1,E.length>0&&z("none",E.length-1)},Z=function(){return E},J=()=>!!b&&(b=!1,!0),tt=(t,e)=>{const u=(t=>{const e=t.trim();let u=e.slice(0,-1),s="arrow_open";switch(e.slice(-1)){case"x":s="arrow_cross","x"===e[0]&&(s="double_"+s,u=u.slice(1));break;case">":s="arrow_point","<"===e[0]&&(s="double_"+s,u=u.slice(1));break;case"o":s="arrow_circle","o"===e[0]&&(s="double_"+s,u=u.slice(1))}let i="normal",r=u.length-1;"="===u[0]&&(i="thick"),"~"===u[0]&&(i="invisible");let n=((t,e)=>{const u=e.length;let s=0;for(let t=0;t{let e=t.trim(),u="arrow_open";switch(e[0]){case"<":u="arrow_point",e=e.slice(1);break;case"x":u="arrow_cross",e=e.slice(1);break;case"o":u="arrow_circle",e=e.slice(1)}let s="normal";return e.includes("=")&&(s="thick"),e.includes(".")&&(s="dotted"),{type:u,stroke:s}})(e),s.stroke!==u.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=u.type;else{if(s.type!==u.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=u.length,s}return u},et=(t,e)=>{let u=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(u=!0)})),u},ut=(t,e)=>{const u=[];return t.nodes.forEach(((s,i)=>{et(e,s)||u.push(t.nodes[i])})),{nodes:u}},st={firstGraph:J},it={parseDirective:F,defaultConfig:()=>r.j.flowchart,setAccTitle:r.o,getAccTitle:r.p,getAccDescription:r.q,setAccDescription:r.v,addVertex:B,lookUpDomId:C,addLink:m,updateLinkInterpolate:S,updateLink:v,addClass:x,setDirection:L,setClass:R,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(D["gen-1"===l?C(t):t]=_(e))}))},getTooltip:N,setClickEvent:$,setLink:I,bindFunctions:O,getDirection:P,getVertices:U,getEdges:w,getClasses:V,clear:G,setGen:Y,defaultStyle:K,addSubGraph:W,getDepthFirstPos:X,indexNodes:q,getSubGraphs:Z,destructLink:tt,lex:st,exists:et,makeUniq:ut,setDiagramTitle:r.w,getDiagramTitle:r.x},rt=Object.freeze(Object.defineProperty({__proto__:null,addClass:x,addLink:m,addSingleLink:T,addSubGraph:W,addVertex:B,bindFunctions:O,clear:G,default:it,defaultStyle:K,destructLink:tt,firstGraph:J,getClasses:V,getDepthFirstPos:X,getDirection:P,getEdges:w,getSubGraphs:Z,getTooltip:N,getVertices:U,indexNodes:q,lex:st,lookUpDomId:C,parseDirective:F,setClass:R,setClickEvent:$,setDirection:L,setGen:Y,setLink:I,updateLink:v,updateLinkInterpolate:S},Symbol.toStringTag,{value:"Module"}))}}; \ No newline at end of file diff --git a/themes/daux/js/882.mjs b/themes/daux/js/882.mjs new file mode 100644 index 00000000..2b590ff8 --- /dev/null +++ b/themes/daux/js/882.mjs @@ -0,0 +1 @@ +export const id=882;export const ids=[882];export const modules={4882:(e,t,l)=>{l.d(t,{diagram:()=>f});var o=l(2121),n=l(7274),a=l(5625),i=l(9360),s=l(2724);l(7484),l(7967),l(7856),l(9451),l(9368);const d=e=>i.e.sanitizeText(e,(0,i.c)());let r={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const c=function(e,t,l,o,n){const a=Object.keys(e);i.l.info("keys:",a),i.l.info(e),a.filter((t=>e[t].parent==n)).forEach((function(l){var a,s;const r=e[l],c=r.cssClasses.join(" "),p=r.label??r.id,b={labelStyle:"",shape:"class_box",labelText:d(p),classData:r,rx:0,ry:0,class:c,style:"",id:r.id,domId:r.domId,tooltip:o.db.getTooltip(r.id,n)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(a=(0,i.c)().flowchart)?void 0:a.padding)??(null==(s=(0,i.c)().class)?void 0:s.padding)};t.setNode(r.id,b),n&&t.setParent(r.id,n),i.l.info("setNode",b)}))};function p(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const b={setConf:function(e){r={...r,...e}},draw:async function(e,t,l,o){i.l.info("Drawing class - ",t);const b=(0,i.c)().flowchart??(0,i.c)().class,f=(0,i.c)().securityLevel;i.l.info("config:",b);const g=(null==b?void 0:b.nodeSpacing)??50,y=(null==b?void 0:b.rankSpacing)??50,u=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:o.db.getDirection(),nodesep:g,ranksep:y,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=o.db.getNamespaces(),v=o.db.getClasses(),w=o.db.getRelations(),x=o.db.getNotes();let m;i.l.info(w),function(e,t,l,o){const n=Object.keys(e);i.l.info("keys:",n),i.l.info(e),n.forEach((function(l){var n,a;const s=e[l],r={shape:"rect",id:s.id,domId:s.domId,labelText:d(s.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(n=(0,i.c)().flowchart)?void 0:n.padding)??(null==(a=(0,i.c)().class)?void 0:a.padding)};t.setNode(s.id,r),c(s.classes,t,0,o,s.id),i.l.info("setNode",r)}))}(h,u,0,o),c(v,u,0,o),function(e,t){const l=(0,i.c)().flowchart;let o=0;e.forEach((function(e){var a;o++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+o,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:p(e.relation.type1),arrowTypeEnd:p(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,i.o)(null==l?void 0:l.curve,n.c_6)};if(i.l.info(s,e),void 0!==e.style){const t=(0,i.k)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,i.c)().flowchart)?void 0:a.htmlLabels)??(0,i.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(i.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,o)}))}(w,u),function(e,t,l,o){i.l.info(e),e.forEach((function(e,a){var s,c;const p=e,b=p.text,f={labelStyle:"",shape:"note",labelText:d(b),noteData:p,rx:0,ry:0,class:"",style:"",id:p.id,domId:p.id,tooltip:"",type:"note",padding:(null==(s=(0,i.c)().flowchart)?void 0:s.padding)??(null==(c=(0,i.c)().class)?void 0:c.padding)};if(t.setNode(p.id,f),i.l.info("setNode",f),!p.class||!(p.class in o))return;const g=l+a,y={id:`edgeNote${g}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,i.o)(r.curve,n.c_6)};t.setEdge(p.id,p.class,y,g)}))}(x,u,w.length+1,v),"sandbox"===f&&(m=(0,n.Ys)("#i"+t));const k="sandbox"===f?(0,n.Ys)(m.nodes()[0].contentDocument.body):(0,n.Ys)("body"),T=k.select(`[id="${t}"]`),S=k.select("#"+t+" g");if(await(0,s.r)(S,u,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),i.u.insertTitle(T,"classTitleText",(null==b?void 0:b.titleTopMargin)??5,o.db.getDiagramTitle()),(0,i.p)(u,T,null==b?void 0:b.diagramPadding,null==b?void 0:b.useMaxWidth),!(null==b?void 0:b.htmlLabels)){const e="sandbox"===f?m.nodes()[0].contentDocument:document,l=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of l){const l=t.getBBox(),o=e.createElementNS("http://www.w3.org/2000/svg","rect");o.setAttribute("rx",0),o.setAttribute("ry",0),o.setAttribute("width",l.width),o.setAttribute("height",l.height),t.insertBefore(o,t.firstChild)}}}},f={parser:o.p,db:o.d,renderer:b,styles:o.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/899.mjs b/themes/daux/js/899.mjs deleted file mode 100644 index a0d564ab..00000000 --- a/themes/daux/js/899.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=899;export const ids=[899];export const modules={2899:(t,e,a)=>{a.d(e,{diagram:()=>Et});var i=a(6848),r=a(3110),n=a(4309),s=a(1188),o=a(7967),c=(a(7856),a(7484),function(){var t=function(t,e,a,i){for(a=a||{},i=t.length;i--;a[t[i]]=e);return a},e=[1,2],a=[1,3],i=[1,5],r=[1,7],n=[2,5],s=[1,15],o=[1,17],c=[1,19],l=[1,21],h=[1,22],d=[1,23],p=[1,29],u=[1,30],g=[1,31],x=[1,32],m=[1,33],y=[1,34],b=[1,35],f=[1,36],T=[1,37],E=[1,38],_=[1,39],w=[1,40],v=[1,42],k=[1,43],L=[1,45],P=[1,46],I=[1,47],M=[1,48],N=[1,49],A=[1,50],S=[1,53],O=[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],D=[4,5,21,54,56],R=[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],Y=[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],$=[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],C=[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],B=[71,72,73],F=[1,125],V=[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],W={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,a,i,r,n,s){var o=n.length-1;switch(r){case 4:return i.apply(n[o]),n[o];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:n[o-1].push(n[o]),this.$=n[o-1];break;case 7:case 8:case 12:case 13:case 63:this.$=n[o];break;case 18:n[o-1].unshift({type:"boxStart",boxData:i.parseBoxData(n[o-2])}),n[o-1].push({type:"boxEnd",boxText:n[o-2]}),this.$=n[o-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(n[o-2]),sequenceIndexStep:Number(n[o-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(n[o-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:n[o-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:n[o-1]};break;case 31:i.setDiagramTitle(n[o].substring(6)),this.$=n[o].substring(6);break;case 32:i.setDiagramTitle(n[o].substring(7)),this.$=n[o].substring(7);break;case 33:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 36:n[o-1].unshift({type:"loopStart",loopText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.LOOP_START}),n[o-1].push({type:"loopEnd",loopText:n[o-2],signalType:i.LINETYPE.LOOP_END}),this.$=n[o-1];break;case 37:n[o-1].unshift({type:"rectStart",color:i.parseMessage(n[o-2]),signalType:i.LINETYPE.RECT_START}),n[o-1].push({type:"rectEnd",color:i.parseMessage(n[o-2]),signalType:i.LINETYPE.RECT_END}),this.$=n[o-1];break;case 38:n[o-1].unshift({type:"optStart",optText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.OPT_START}),n[o-1].push({type:"optEnd",optText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.OPT_END}),this.$=n[o-1];break;case 39:n[o-1].unshift({type:"altStart",altText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.ALT_START}),n[o-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=n[o-1];break;case 40:n[o-1].unshift({type:"parStart",parText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.PAR_START}),n[o-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=n[o-1];break;case 41:n[o-1].unshift({type:"criticalStart",criticalText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.CRITICAL_START}),n[o-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=n[o-1];break;case 42:n[o-1].unshift({type:"breakStart",breakText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.BREAK_START}),n[o-1].push({type:"breakEnd",optText:i.parseMessage(n[o-2]),signalType:i.LINETYPE.BREAK_END}),this.$=n[o-1];break;case 45:this.$=n[o-3].concat([{type:"option",optionText:i.parseMessage(n[o-1]),signalType:i.LINETYPE.CRITICAL_OPTION},n[o]]);break;case 47:this.$=n[o-3].concat([{type:"and",parText:i.parseMessage(n[o-1]),signalType:i.LINETYPE.PAR_AND},n[o]]);break;case 49:this.$=n[o-3].concat([{type:"else",altText:i.parseMessage(n[o-1]),signalType:i.LINETYPE.ALT_ELSE},n[o]]);break;case 50:n[o-3].type="addParticipant",n[o-3].description=i.parseMessage(n[o-1]),this.$=n[o-3];break;case 51:n[o-1].type="addParticipant",this.$=n[o-1];break;case 52:n[o-3].type="addActor",n[o-3].description=i.parseMessage(n[o-1]),this.$=n[o-3];break;case 53:n[o-1].type="addActor",this.$=n[o-1];break;case 54:this.$=[n[o-1],{type:"addNote",placement:n[o-2],actor:n[o-1].actor,text:n[o]}];break;case 55:n[o-2]=[].concat(n[o-1],n[o-1]).slice(0,2),n[o-2][0]=n[o-2][0].actor,n[o-2][1]=n[o-2][1].actor,this.$=[n[o-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:n[o-2].slice(0,2),text:n[o]}];break;case 56:this.$=[n[o-1],{type:"addLinks",actor:n[o-1].actor,text:n[o]}];break;case 57:this.$=[n[o-1],{type:"addALink",actor:n[o-1].actor,text:n[o]}];break;case 58:this.$=[n[o-1],{type:"addProperties",actor:n[o-1].actor,text:n[o]}];break;case 59:this.$=[n[o-1],{type:"addDetails",actor:n[o-1].actor,text:n[o]}];break;case 62:this.$=[n[o-2],n[o]];break;case 64:this.$=i.PLACEMENT.LEFTOF;break;case 65:this.$=i.PLACEMENT.RIGHTOF;break;case 66:this.$=[n[o-4],n[o-1],{type:"addMessage",from:n[o-4].actor,to:n[o-1].actor,signalType:n[o-3],msg:n[o]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:n[o-1]}];break;case 67:this.$=[n[o-4],n[o-1],{type:"addMessage",from:n[o-4].actor,to:n[o-1].actor,signalType:n[o-3],msg:n[o]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:n[o-4]}];break;case 68:this.$=[n[o-3],n[o-1],{type:"addMessage",from:n[o-3].actor,to:n[o-1].actor,signalType:n[o-2],msg:n[o]}];break;case 69:this.$={type:"addParticipant",actor:n[o]};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(n[o].trim().substring(1));break;case 79:i.parseDirective("%%{","open_directive");break;case 80:i.parseDirective(n[o],"type_directive");break;case 81:n[o]=n[o].trim().replace(/'/g,'"'),i.parseDirective(n[o],"arg_directive");break;case 82:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:a,6:4,7:i,14:6,83:r},{1:[3]},{3:8,4:e,5:a,6:4,7:i,14:6,83:r},{3:9,4:e,5:a,6:4,7:i,14:6,83:r},{3:10,4:e,5:a,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],n,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{16:51,17:[1,52],86:S},t([17,86],[2,80]),t(O,[2,6]),{6:41,10:54,13:18,14:6,19:c,22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},t(O,[2,8]),t(O,[2,9]),t(O,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:A},{27:61,73:A},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(O,[2,31]),t(O,[2,32]),{37:[1,67]},{39:[1,68]},t(O,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(O,[2,43]),{27:76,73:A},{27:77,73:A},{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:A},{27:92,73:A},{27:93,73:A},{27:94,73:A},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(O,[2,7]),t(D,[2,10],{11:98}),t(O,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(O,[2,23]),{5:[1,102]},{5:[1,103]},t(O,[2,26]),t(O,[2,27]),t(O,[2,28]),t(O,[2,29]),t(O,[2,30]),t(O,[2,33]),t(O,[2,34]),t(R,n,{8:104}),t(R,n,{8:105}),t(R,n,{8:106}),t(Y,n,{45:107,8:108}),t($,n,{47:109,8:110}),t(C,n,{49:111,8:112}),t(R,n,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:A},t(B,[2,70]),t(B,[2,71]),t(B,[2,72]),t(B,[2,73]),t(B,[2,74]),t(B,[2,75]),t(B,[2,76]),t(B,[2,77]),{27:121,73:A},{27:123,61:122,73:A},{73:[2,64]},{73:[2,65]},{59:124,82:F},{59:126,82:F},{59:127,82:F},{59:128,82:F},t(V,[2,15]),{16:129,86:S},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:v,56:k},{5:[1,135]},t(O,[2,21]),t(O,[2,22]),t(O,[2,24]),t(O,[2,25]),{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,136],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,137],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,138],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{21:[1,139]},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,48],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,53:[1,140],54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{21:[1,141]},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,46],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,52:[1,142],54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{21:[1,143]},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,44],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,51:[1,144],54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{4:s,5:o,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,145],22:20,23:l,26:h,27:44,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:m,41:y,42:b,43:f,44:T,46:E,48:_,50:w,54:v,56:k,57:L,62:P,63:I,64:M,65:N,73:A,83:r},{20:[1,146]},t(O,[2,51]),{20:[1,147]},t(O,[2,53]),{27:148,73:A},{27:149,73:A},{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(O,[2,18]),t(D,[2,11]),{13:155,54:v,56:k},t(D,[2,13]),t(D,[2,14]),t(O,[2,20]),t(O,[2,36]),t(O,[2,37]),t(O,[2,38]),t(O,[2,39]),{20:[1,156]},t(O,[2,40]),{20:[1,157]},t(O,[2,41]),{20:[1,158]},t(O,[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:A},t(V,[2,16]),t(D,[2,12]),t(Y,n,{8:108,45:164}),t($,n,{8:110,47:165}),t(C,n,{8:112,49:166}),t(O,[2,50]),t(O,[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 a=new Error(t);throw a.hash=e,a}this.trace(t)},parse:function(t){var e=[0],a=[],i=[null],r=[],n=this.table,s="",o=0,c=0,l=r.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;r.push(u);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,m,y,b,f,T,E,_,w,v={};;){if(m=e[e.length-1],this.defaultActions[m]?y=this.defaultActions[m]:(null==x&&(w=void 0,"number"!=typeof(w=a.pop()||h.lex()||1)&&(w instanceof Array&&(w=(a=w).pop()),w=this.symbols_[w]||w),x=w),y=n[m]&&n[m][x]),void 0===y||!y.length||!y[0]){var k;for(f in _=[],n[m])this.terminals_[f]&&f>2&&_.push("'"+this.terminals_[f]+"'");k=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(k,{text:h.match,token:this.terminals_[x]||x,line:h.yylineno,loc:u,expected:_})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+x);switch(y[0]){case 1:e.push(x),i.push(h.yytext),r.push(h.yylloc),e.push(y[1]),x=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(T=this.productions_[y[1]][1],v.$=i[i.length-T],v._$={first_line:r[r.length-(T||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(T||1)].first_column,last_column:r[r.length-1].last_column},g&&(v._$.range=[r[r.length-(T||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(v,[s,c,o,d.yy,y[1],i,r].concat(l))))return b;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),r=r.slice(0,-1*T)),e.push(this.productions_[y[1]][0]),i.push(v.$),r.push(v._$),E=n[e[e.length-2]][e[e.length-1]],e.push(E);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,a=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),a.length-1&&(this.yylineno-=a.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:a?(a.length===i.length?this.yylloc.first_column:0)+i[i.length-a.length].length-a[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 a,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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var n in r)this[n]=r[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,a,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),n=0;ne[0].length)){if(e=a,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,r[n])))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(){return this.next()||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,a,i){switch(a){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 z(){this.yy={}}return W.lexer=q,z.prototype=W,W.Parser=z,new z}());c.parser=c;const l=c;let h,d,p,u={},g=[],x=[],m=!1;const y=function(t,e,a,i){let r=p;const n=u[t];if(n){if(p&&n.box&&p!==n.box)throw new Error("A same participant should only be defined in one Box: "+n.name+" can't be in '"+n.box.name+"' and in '"+p.name+"' at the same time.");if(r=n.box?n.box:p,n.box=r,n&&e===n.name&&null==a)return}null!=a&&null!=a.text||(a={text:e,wrap:null,type:i}),null!=i&&null!=a.text||(a={text:e,wrap:null,type:i}),u[t]={box:r,name:e,description:a.text,wrap:void 0===a.wrap&&T()||!!a.wrap,prevActor:h,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},h&&u[h]&&(u[h].nextActor=t),p&&p.actorKeys.push(t),h=t},b=function(t,e,a={text:void 0,wrap:void 0},i){if(i===E.ACTIVE_END&&(t=>{let e,a=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return x.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&T()||!!a.wrap,type:i}),!0},f=function(t){return u[t]},T=()=>void 0!==d?d:(0,r.g)().sequence.wrap,E={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},_=function(t,e,a){a.text,void 0===a.wrap&&T()||a.wrap;const i=[].concat(t,t);x.push({from:i[0],to:i[1],message:a.text,wrap:void 0===a.wrap&&T()||!!a.wrap,type:E.NOTE,placement:e})},w=function(t,e){const a=f(t);try{let t=(0,r.b)(e.text,(0,r.g)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),v(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor link text",t)}};function v(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const k=function(t,e){const a=f(t);try{let t=(0,r.b)(e.text,(0,r.g)());L(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor properties text",t)}};function L(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const P=function(t,e){const a=f(t),i=document.getElementById(e.text);try{const t=i.innerHTML,e=JSON.parse(t);e.properties&&L(a,e.properties),e.links&&v(a,e.links)}catch(t){r.l.error("error while parsing actor details text",t)}},I=function(t){if(Array.isArray(t))t.forEach((function(t){I(t)}));else switch(t.type){case"sequenceIndex":x.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":y(t.actor,t.actor,t.description,"participant");break;case"addActor":y(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":b(t.actor,void 0,void 0,t.signalType);break;case"addNote":_(t.actor,t.placement,t.text);break;case"addLinks":w(t.actor,t.text);break;case"addALink":!function(t,e){const a=f(t);try{const t={};let o=(0,r.b)(e.text,(0,r.g)());var i=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var n=o.slice(0,i-1).trim(),s=o.slice(i+1).trim();t[n]=s,v(a,t)}catch(t){r.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":k(t.actor,t.text);break;case"addDetails":P(t.actor,t.text);break;case"addMessage":b(t.from,t.to,t.msg,t.signalType);break;case"boxStart":e=t.boxData,g.push({name:e.text,wrap:void 0===e.wrap&&T()||!!e.wrap,fill:e.color,actorKeys:[]}),p=g.slice(-1)[0];break;case"boxEnd":p=void 0;break;case"loopStart":b(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":b(void 0,void 0,void 0,t.signalType);break;case"rectStart":b(void 0,void 0,t.color,t.signalType);break;case"optStart":b(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":b(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,r.o)(t.text);break;case"parStart":case"and":b(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":b(void 0,void 0,t.criticalText,t.signalType);break;case"option":b(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":b(void 0,void 0,t.breakText,t.signalType)}var e},M={addActor:y,addMessage:function(t,e,a,i){x.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&T()||!!a.wrap,answer:i})},addSignal:b,addLinks:w,addDetails:P,addProperties:k,autoWrap:T,setWrap:function(t){d=t},enableSequenceNumbers:function(){m=!0},disableSequenceNumbers:function(){m=!1},showSequenceNumbers:()=>m,getMessages:function(){return x},getActors:function(){return u},getActor:f,getActorKeys:function(){return Object.keys(u)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:r.p,getBoxes:function(){return g},getDiagramTitle:r.x,setDiagramTitle:r.w,parseDirective:function(t,e,a){i.m.parseDirective(this,t,e,a)},getConfig:()=>(0,r.g)().sequence,clear:function(){u={},g=[],x=[],m=!1,(0,r.y)()},parseMessage:function(t){const e=t.trim(),a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return r.l.debug("parseMessage:",a),a},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=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",a)||(a="transparent",i=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",i=t.trim())}return{color:a,text:void 0!==i?(0,r.b)(i.replace(/^:?(?:no)?wrap:/,""),(0,r.g)()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:E,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:_,setAccTitle:r.o,apply:I,setAccDescription:r.v,getAccDescription:r.q,hasAtLeastOneBox:function(){return g.length>0},hasAtLeastOneBoxWithTitle:function(){return g.some((t=>t.name))}},N=function(t,e){const a=t.append("rect");return a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),a.attr("rx",e.rx),a.attr("ry",e.ry),void 0!==e.class&&a.attr("class",e.class),a},A=(t,e)=>{(0,i.a)((()=>{const a=document.querySelectorAll(t);0!==a.length&&(a[0].addEventListener("mouseover",(function(){D("actor"+e+"_popup")})),a[0].addEventListener("mouseout",(function(){R("actor"+e+"_popup")})))}))},S=function(t,e,a,i){const r=t.append("image");r.attr("x",e),r.attr("y",a);var n=(0,o.N)(i);r.attr("xlink:href",n)},O=function(t,e,a,i){const r=t.append("use");r.attr("x",e),r.attr("y",a);var n=(0,o.N)(i);r.attr("xlink:href","#"+n)},D=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},R=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},Y=function(t,e){let a=0,i=0;const n=e.text.split(r.e.lineBreakRegex),[o,c]=(0,s.x)(e.fontSize);let l=[],h=0,d=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":d=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":d=()=>Math.round(e.y+(a+i+e.textMargin)/2);break;case"bottom":case"end":d=()=>Math.round(e.y+(a+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[r,s]of n.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(h=r*o);const n=t.append("text");if(n.attr("x",e.x),n.attr("y",d()),void 0!==e.anchor&&n.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&n.style("font-family",e.fontFamily),void 0!==c&&n.style("font-size",c),void 0!==e.fontWeight&&n.style("font-weight",e.fontWeight),void 0!==e.fill&&n.attr("fill",e.fill),void 0!==e.class&&n.attr("class",e.class),void 0!==e.dy?n.attr("dy",e.dy):0!==h&&n.attr("dy",h),e.tspan){const t=n.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(s)}else n.text(s);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(n._groups||n)[0][0].getBBox().height,a=i),l.push(n)}return l},$=function(t,e){const a=t.append("polygon");var i,r,n,s;return a.attr("points",(i=e.x)+","+(r=e.y)+" "+(i+(n=e.width))+","+r+" "+(i+n)+","+(r+(s=e.height)-7)+" "+(i+n-8.4)+","+(r+s)+" "+i+","+(r+s)),a.attr("class","labelBox"),e.y=e.y+e.height/2,Y(t,e),a};let C=-1;const B=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},F=function(t,e){N(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()},V=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}},q=function(){function t(t,e,a,r,n,s,o){i(e.append("text").attr("x",a+n/2).attr("y",r+s/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,n,o,c,l,h){const{actorFontSize:d,actorFontFamily:p,actorFontWeight:u}=h,[g,x]=(0,s.x)(d),m=t.split(r.e.lineBreakRegex);for(let t=0;ta?c.width:a;const u=h.append("rect");if(u.attr("class","actorPopupMenuPanel"+d),u.attr("x",c.x),u.attr("y",c.height),u.attr("fill",c.fill),u.attr("stroke",c.stroke),u.attr("width",p),u.attr("height",c.height),u.attr("rx",c.rx),u.attr("ry",c.ry),null!=n){var g=20;for(let t in n){var x=h.append("a"),m=(0,o.N)(n[t]);x.attr("xlink:href",m),x.attr("target","_blank"),z(i)(t,x,c.x+10,c.height+g,p,20,{class:"actor"},i),g+=30}}return u.attr("height",g),{height:c.height+g,width:p}},X=function(t){return t.append("g")},G=function(t,e,a,i,r){const n={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},s=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+r%3,n.width=e.stopx-e.startx,n.height=a-e.starty,N(s,n)},J=function(t,e,a,i){const{boxMargin:r,boxTextMargin:n,labelBoxHeight:s,labelBoxWidth:o,messageFontFamily:c,messageFontSize:l,messageFontWeight:h}=i,d=t.append("g"),p=function(t,e,a,i){return d.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",i).attr("class","loopLine")};p(e.startx,e.starty,e.stopx,e.starty),p(e.stopx,e.starty,e.stopx,e.stopy),p(e.startx,e.stopy,e.stopx,e.stopy),p(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){p(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let u={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};u.text=a,u.x=e.startx,u.y=e.starty,u.fontFamily=c,u.fontSize=l,u.fontWeight=h,u.anchor="middle",u.valign="middle",u.tspan=!1,u.width=o||50,u.height=s||20,u.textMargin=n,u.class="labelText",$(d,u),u={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},u.text=e.title,u.x=e.startx+o/2+(e.stopx-e.startx)/2,u.y=e.starty+r+n,u.anchor="middle",u.valign="middle",u.textMargin=n,u.class="loopText",u.fontFamily=c,u.fontSize=l,u.fontWeight=h,u.wrap=!0;let g=Y(d,u);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,a){if(t.message){u.text=t.message,u.x=e.startx+(e.stopx-e.startx)/2,u.y=e.sections[a].y+r+n,u.class="loopText",u.anchor="middle",u.valign="middle",u.tspan=!1,u.fontFamily=c,u.fontSize=l,u.fontWeight=h,u.wrap=e.wrap,g=Y(d,u);let i=Math.round(g.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[a].height+=i-(r+n)}})),e.height=Math.round(e.stopy-e.starty),d},Q=F,Z=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")},tt=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")},et=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)},at=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")},it=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")},rt=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")},nt=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")},st=V,ot=W;o.N;let ct={};const lt={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,xt((0,r.g)())},updateVal:function(t,e,a,i){void 0===t[e]?t[e]=a:t[e]=i(a,t[e])},updateBounds:function(t,e,a,i){const r=this;let n=0;function s(s){return function(o){n++;const c=r.sequenceItems.length-n+1;r.updateVal(o,"starty",e-c*ct.boxMargin,Math.min),r.updateVal(o,"stopy",i+c*ct.boxMargin,Math.max),r.updateVal(lt.data,"startx",t-c*ct.boxMargin,Math.min),r.updateVal(lt.data,"stopx",a+c*ct.boxMargin,Math.max),"activation"!==s&&(r.updateVal(o,"startx",t-c*ct.boxMargin,Math.min),r.updateVal(o,"stopx",a+c*ct.boxMargin,Math.max),r.updateVal(lt.data,"starty",e-c*ct.boxMargin,Math.min),r.updateVal(lt.data,"stopy",i+c*ct.boxMargin,Math.max))}}this.sequenceItems.forEach(s()),this.activations.forEach(s("activation"))},insert:function(t,e,a,i){const r=Math.min(t,a),n=Math.max(t,a),s=Math.min(e,i),o=Math.max(e,i);this.updateVal(lt.data,"startx",r,Math.min),this.updateVal(lt.data,"starty",s,Math.min),this.updateVal(lt.data,"stopx",n,Math.max),this.updateVal(lt.data,"stopy",o,Math.max),this.updateBounds(r,s,n,o)},newActivation:function(t,e,a){const i=a[t.from.actor],r=mt(t.from.actor).length||0,n=i.x+i.width/2+(r-1)*ct.activationWidth/2;this.activations.push({startx:n,starty:this.verticalPos+2,stopx:n+ct.activationWidth,stopy:void 0,actor:t.from.actor,anchored:X(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:lt.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}}},ht=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),dt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),pt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),ut=function(t,e,a,i,r,n,s){if(!0===r.hideUnusedParticipants){const t=new Set;n.forEach((e=>{t.add(e.from),t.add(e.to)})),a=a.filter((e=>t.has(e)))}let o,c=0,l=0,h=0;for(const r of a){const a=e[r],n=a.box;o&&o!=n&&(s||lt.models.addBox(o),l+=ct.boxMargin+o.margin),n&&n!=o&&(s||(n.x=c+l,n.y=i),l+=n.margin),a.width=a.width||ct.width,a.height=Math.max(a.height||ct.height,ct.height),a.margin=a.margin||ct.actorMargin,a.x=c+l,a.y=lt.getVerticalPos();const d=U(t,a,ct,s);h=Math.max(h,d),lt.insert(a.x,i,a.x+a.width,a.height),c+=a.width+l,a.box&&(a.box.width=c+n.margin-a.box.x),l=a.margin,o=a.box,lt.models.addActor(a)}o&&!s&<.models.addBox(o),lt.bumpVerticalPos(h)},gt=function(t,e,a,i){let r=0,n=0;for(const s of a){const a=e[s],o=ft(a),c=K(t,a,o,ct,ct.forceMenus,i);c.height>r&&(r=c.height),c.width+a.x>n&&(n=c.width+a.x)}return{maxHeight:r,maxWidth:n}},xt=function(t){(0,r.d)(ct,t),t.fontFamily&&(ct.actorFontFamily=ct.noteFontFamily=ct.messageFontFamily=t.fontFamily),t.fontSize&&(ct.actorFontSize=ct.noteFontSize=ct.messageFontSize=t.fontSize),t.fontWeight&&(ct.actorFontWeight=ct.noteFontWeight=ct.messageFontWeight=t.fontWeight)},mt=function(t){return lt.activations.filter((function(e){return e.actor===t}))},yt=function(t,e){const a=e[t],i=mt(t);return[i.reduce((function(t,e){return Math.min(t,e.startx)}),a.x+a.width/2),i.reduce((function(t,e){return Math.max(t,e.stopx)}),a.x+a.width/2)]};function bt(t,e,a,i,n){lt.bumpVerticalPos(a);let o=i;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,n=ht(ct);e.message=s.u.wrapLabel(`[${e.message}]`,a-2*ct.wrapPadding,n),e.width=a,e.wrap=!0;const c=s.u.calculateTextDimensions(e.message,n),l=Math.max(c.height,ct.labelBoxHeight);o=i+l,r.l.debug(`${l} - ${e.message}`)}n(e),lt.bumpVerticalPos(o)}const ft=function(t){let e=0;const a=pt(ct);for(const i in t.links){const t=s.u.calculateTextDimensions(i,a).width+2*ct.wrapPadding+2*ct.boxMargin;e{const a=t[e];a.wrap&&(a.description=s.u.wrapLabel(a.description,ct.width-2*ct.wrapPadding,pt(ct)));const r=s.u.calculateTextDimensions(a.description,pt(ct));a.width=a.wrap?ct.width:Math.max(ct.width,r.width+2*ct.wrapPadding),a.height=a.wrap?Math.max(r.height,ct.height):ct.height,i=Math.max(i,a.height)}));for(const a in e){const i=t[a];if(!i)continue;const r=t[i.nextActor];if(!r){const t=e[a]+ct.actorMargin-i.width/2;i.margin=Math.max(t,ct.actorMargin);continue}const n=e[a]+ct.actorMargin-i.width/2-r.width/2;i.margin=Math.max(n,ct.actorMargin)}let r=0;return a.forEach((e=>{const a=ht(ct);let i=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);i-=2*ct.boxTextMargin,e.wrap&&(e.name=s.u.wrapLabel(e.name,i-2*ct.wrapPadding,a));const n=s.u.calculateTextDimensions(e.name,a);r=Math.max(n.height,r);const o=Math.max(i,n.width+2*ct.wrapPadding);if(e.margin=ct.boxTextMargin,it.textMaxHeight=r)),Math.max(i,ct.height)}(u,T,g),rt(p),it(p),nt(p),b&&(lt.bumpVerticalPos(ct.boxMargin),f&<.bumpVerticalPos(g[0].textMaxHeight)),ut(p,u,x,0,ct,m,!1);const E=function(t,e,a,i){const n={},o=[];let c,l,h;return t.forEach((function(t){switch(t.id=s.u.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:o.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&&(c=o.pop(),n[c.id]=c,n[t.id]=c,o.push(c));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:c=o.pop(),n[c.id]=c;break;case i.db.LINETYPE.ACTIVE_START:{const a=e[t.from?t.from.actor:t.to.actor],i=mt(t.from?t.from.actor:t.to.actor).length,r=a.x+a.width/2+(i-1)*ct.activationWidth/2,n={startx:r,stopx:r+ct.activationWidth,actor:t.from.actor,enabled:!0};lt.activations.push(n)}break;case i.db.LINETYPE.ACTIVE_END:{const e=lt.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete lt.activations.splice(e,1)[0]}}void 0!==t.placement?(l=function(t,e,a){const i=e[t.from].x,n=e[t.to].x,o=t.wrap&&t.message;let c=s.u.calculateTextDimensions(o?s.u.wrapLabel(t.message,ct.width,dt(ct)):t.message,dt(ct));const l={width:o?ct.width:Math.max(ct.width,c.width+2*ct.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(l.width=o?Math.max(ct.width,c.width):Math.max(e[t.from].width/2+e[t.to].width/2,c.width+2*ct.noteMargin),l.startx=i+(e[t.from].width+ct.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(l.width=o?Math.max(ct.width,c.width+2*ct.noteMargin):Math.max(e[t.from].width/2+e[t.to].width/2,c.width+2*ct.noteMargin),l.startx=i-l.width+(e[t.from].width-ct.actorMargin)/2):t.to===t.from?(c=s.u.calculateTextDimensions(o?s.u.wrapLabel(t.message,Math.max(ct.width,e[t.from].width),dt(ct)):t.message,dt(ct)),l.width=o?Math.max(ct.width,e[t.from].width):Math.max(e[t.from].width,ct.width,c.width+2*ct.noteMargin),l.startx=i+(e[t.from].width-l.width)/2):(l.width=Math.abs(i+e[t.from].width/2-(n+e[t.to].width/2))+ct.actorMargin,l.startx=i{c=t,c.from=Math.min(c.from,l.startx),c.to=Math.max(c.to,l.startx+l.width),c.width=Math.max(c.width,Math.abs(c.from-c.to))-ct.labelBoxWidth}))):(h=function(t,e,a){let i=!1;if([a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(i=!0),!i)return{};const r=yt(t.from,e),n=yt(t.to,e),o=r[0]<=n[0]?1:0,c=r[0]0&&o.forEach((a=>{if(c=a,h.startx===h.stopx){const a=e[t.from],i=e[t.to];c.from=Math.min(a.x-h.width/2,a.x-a.width/2,c.from),c.to=Math.max(i.x+h.width/2,i.x+a.width/2,c.to),c.width=Math.max(c.width,Math.abs(c.to-c.from))-ct.labelBoxWidth}else c.from=Math.min(h.startx,c.from),c.to=Math.max(h.stopx,c.to),c.width=Math.max(c.width,h.width)-ct.labelBoxWidth})))})),lt.activations=[],r.l.debug("Loop type widths:",n),n}(m,u,0,i);Z(p),at(p),tt(p),et(p);let _=1,w=1;const v=[];m.forEach((function(t){let e,a,n;switch(t.type){case i.db.LINETYPE.NOTE:a=t.noteModel,function(t,e){lt.bumpVerticalPos(ct.boxMargin),e.height=ct.boxMargin,e.starty=lt.getVerticalPos();const a=ot();a.x=e.startx,a.y=e.starty,a.width=e.width||ct.width,a.class="note";const i=t.append("g"),r=H(i,a),n=st();n.x=e.startx,n.y=e.starty,n.width=a.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=ct.noteFontFamily,n.fontSize=ct.noteFontSize,n.fontWeight=ct.noteFontWeight,n.anchor=ct.noteAlign,n.textMargin=ct.noteMargin,n.valign="center";const s=Y(i,n),o=Math.round(s.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",o+2*ct.noteMargin),e.height+=o+2*ct.noteMargin,lt.bumpVerticalPos(o+2*ct.noteMargin),e.stopy=e.starty+o+2*ct.noteMargin,e.stopx=e.startx+a.width,lt.insert(e.startx,e.starty,e.stopx,e.stopy),lt.models.addNote(e)}(p,a);break;case i.db.LINETYPE.ACTIVE_START:lt.newActivation(t,p,u);break;case i.db.LINETYPE.ACTIVE_END:!function(t,e){const a=lt.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),G(p,a,e,ct,mt(t.from.actor).length),lt.insert(a.startx,e-10,a.stopx,e)}(t,lt.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:e=lt.endLoop(),J(p,e,"loop",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;case i.db.LINETYPE.RECT_START:bt(E,t,ct.boxMargin,ct.boxMargin,(t=>lt.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:e=lt.endLoop(),Q(p,e),lt.models.addLoop(e),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos());break;case i.db.LINETYPE.OPT_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.OPT_END:e=lt.endLoop(),J(p,e,"opt",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;case i.db.LINETYPE.ALT_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:bt(E,t,ct.boxMargin+ct.boxTextMargin,ct.boxMargin,(t=>lt.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:e=lt.endLoop(),J(p,e,"alt",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;case i.db.LINETYPE.PAR_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.PAR_AND:bt(E,t,ct.boxMargin+ct.boxTextMargin,ct.boxMargin,(t=>lt.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:e=lt.endLoop(),J(p,e,"par",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;case i.db.LINETYPE.AUTONUMBER:_=t.message.start||_,w=t.message.step||w,t.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:bt(E,t,ct.boxMargin+ct.boxTextMargin,ct.boxMargin,(t=>lt.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:e=lt.endLoop(),J(p,e,"critical",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;case i.db.LINETYPE.BREAK_START:bt(E,t,ct.boxMargin,ct.boxMargin+ct.boxTextMargin,(t=>lt.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:e=lt.endLoop(),J(p,e,"break",ct),lt.bumpVerticalPos(e.stopy-lt.getVerticalPos()),lt.models.addLoop(e);break;default:try{n=t.msgModel,n.starty=lt.getVerticalPos(),n.sequenceIndex=_,n.sequenceVisible=i.db.showSequenceNumbers();const e=function(t,e){lt.bumpVerticalPos(10);const{startx:a,stopx:i,message:n}=e,o=r.e.splitBreaks(n).length,c=s.u.calculateTextDimensions(n,ht(ct)),l=c.height/o;let h;e.height+=l,lt.bumpVerticalPos(l);let d=c.height-10;const p=c.width;if(a===i){h=lt.getVerticalPos()+d,ct.rightAngles||(d+=ct.boxMargin,h=lt.getVerticalPos()+d),d+=30;const t=Math.max(p/2,ct.width/2);lt.insert(a-t,lt.getVerticalPos()-10+d,i+t,lt.getVerticalPos()+30+d)}else d+=ct.boxMargin,h=lt.getVerticalPos()+d,lt.insert(a,h-10,i,h);return lt.bumpVerticalPos(d),e.height+=d,e.stopy=e.starty+e.height,lt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),h}(0,n);v.push({messageModel:n,lineStartY:e}),lt.models.addMessage(n)}catch(t){r.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)&&(_+=w)})),v.forEach((t=>function(t,e,a,i){const{startx:r,stopx:n,starty:o,message:c,type:l,sequenceIndex:h,sequenceVisible:d}=e,p=s.u.calculateTextDimensions(c,ht(ct)),u=st();u.x=r,u.y=o+10,u.width=n-r,u.class="messageText",u.dy="1em",u.text=c,u.fontFamily=ct.messageFontFamily,u.fontSize=ct.messageFontSize,u.fontWeight=ct.messageFontWeight,u.anchor=ct.messageAlign,u.valign="center",u.textMargin=ct.wrapPadding,u.tspan=!1,Y(t,u);const g=p.width;let x;r===n?x=ct.rightAngles?t.append("path").attr("d",`M ${r},${a} H ${r+Math.max(ct.width/2,g/2)} V ${a+25} H ${r}`):t.append("path").attr("d","M "+r+","+a+" C "+(r+60)+","+(a-10)+" "+(r+60)+","+(a+30)+" "+r+","+(a+20)):(x=t.append("line"),x.attr("x1",r),x.attr("y1",a),x.attr("x2",n),x.attr("y2",a)),l===i.db.LINETYPE.DOTTED||l===i.db.LINETYPE.DOTTED_CROSS||l===i.db.LINETYPE.DOTTED_POINT||l===i.db.LINETYPE.DOTTED_OPEN?(x.style("stroke-dasharray","3, 3"),x.attr("class","messageLine1")):x.attr("class","messageLine0");let m="";ct.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),x.attr("stroke-width",2),x.attr("stroke","none"),x.style("fill","none"),l!==i.db.LINETYPE.SOLID&&l!==i.db.LINETYPE.DOTTED||x.attr("marker-end","url("+m+"#arrowhead)"),l!==i.db.LINETYPE.SOLID_POINT&&l!==i.db.LINETYPE.DOTTED_POINT||x.attr("marker-end","url("+m+"#filled-head)"),l!==i.db.LINETYPE.SOLID_CROSS&&l!==i.db.LINETYPE.DOTTED_CROSS||x.attr("marker-end","url("+m+"#crosshead)"),(d||ct.showSequenceNumbers)&&(x.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",r).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))}(p,t.messageModel,t.lineStartY,i))),ct.mirrorActors&&(lt.bumpVerticalPos(2*ct.boxMargin),ut(p,u,x,lt.getVerticalPos(),ct,m,!0),lt.bumpVerticalPos(ct.boxMargin),B(p,lt.getVerticalPos())),lt.models.boxes.forEach((function(t){t.height=lt.getVerticalPos()-t.y,lt.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)",j(p,t,ct)})),b&<.bumpVerticalPos(ct.boxMargin);const k=gt(p,u,x,d),{bounds:L}=lt.getBounds();r.l.debug("For line height fix Querying: #"+e+" .actor-line"),(0,n.td_)("#"+e+" .actor-line").attr("y2",L.stopy);let P=L.stopy-L.starty;P`.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`}}}; \ No newline at end of file diff --git a/themes/daux/js/900.mjs b/themes/daux/js/900.mjs new file mode 100644 index 00000000..92475abf --- /dev/null +++ b/themes/daux/js/900.mjs @@ -0,0 +1 @@ +export const id=900;export const ids=[900];export const modules={8900:(t,e,i)=>{i.d(e,{D:()=>l,S:()=>c,a:()=>h,b:()=>a,c:()=>o,d:()=>w,p:()=>r,s:()=>P});var s=i(9360),n=function(){var t=function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},e=[1,2],i=[1,3],s=[1,5],n=[1,7],r=[2,5],o=[1,15],a=[1,17],c=[1,21],l=[1,22],h=[1,23],u=[1,24],d=[1,37],p=[1,25],y=[1,26],f=[1,27],g=[1,28],m=[1,29],_=[1,32],S=[1,33],k=[1,34],T=[1,35],b=[1,36],E=[1,39],v=[1,40],x=[1,41],D=[1,42],C=[1,38],$=[1,45],A=[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],L=[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],I=[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],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],N={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,i,s,n,r,o){var a=r.length-1;switch(n){case 4:return s.setRootDoc(r[a]),r[a];case 5:this.$=[];break;case 6:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 7:case 8:case 12:this.$=r[a];break;case 9:this.$="nl";break;case 13:const t=r[a-1];t.description=s.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=s.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:s.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 30:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 31:case 32:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 35:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 38:s.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:s.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:s.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:s.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""};break;case 50:s.parseDirective("%%{","open_directive");break;case 51:s.parseDirective(r[a],"type_directive");break;case 52:r[a]=r[a].trim().replace(/'/g,'"'),s.parseDirective(r[a],"arg_directive");break;case 53:s.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:i,6:4,7:s,45:6,60:n},{1:[3]},{3:8,4:e,5:i,6:4,7:s,45:6,60:n},{3:9,4:e,5:i,6:4,7:s,45:6,60:n},{3:10,4:e,5:i,6:4,7:s,45:6,60:n},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],r,{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:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},{47:43,48:[1,44],63:$},t([48,63],[2,51]),t(A,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,47],15:[1,48]}),t(A,[2,16]),{18:[1,49]},t(A,[2,18],{20:[1,50]}),{23:[1,51]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(A,[2,28]),t(A,[2,29]),{34:[1,56]},{36:[1,57]},t(A,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(L,[2,44],{57:[1,61]}),t(L,[2,45],{57:[1,62]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(I,[2,36]),{49:63,62:[1,64]},t(I,[2,53]),t(A,[2,7]),t(A,[2,13]),{13:65,24:d,56:C},t(A,[2,17]),t(O,r,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(A,[2,30]),t(A,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:$},{63:[2,52]},t(A,[2,14],{14:[1,76]}),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,77],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(A,[2,33]),t(A,[2,34]),t(A,[2,35]),t(L,[2,46]),t(L,[2,47]),t(I,[2,37]),t(A,[2,15]),t(A,[2,19]),t(O,r,{8:81}),t(A,[2,26]),t(A,[2,27]),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,82],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],s=[null],n=[],r=this.table,o="",a=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;n.push(p);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,m,_,S,k,T,b,E,v={};;){if(g=e[e.length-1],this.defaultActions[g]?m=this.defaultActions[g]:(null==f&&(E=void 0,"number"!=typeof(E=i.pop()||h.lex()||1)&&(E instanceof Array&&(E=(i=E).pop()),E=this.symbols_[E]||E),f=E),m=r[g]&&r[g][f]),void 0===m||!m.length||!m[0]){var x;for(S in b=[],r[g])this.terminals_[S]&&S>2&&b.push("'"+this.terminals_[S]+"'");x=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:b})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:e.push(f),s.push(h.yytext),n.push(h.yylloc),e.push(m[1]),f=null,c=h.yyleng,o=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(k=this.productions_[m[1]][1],v.$=s[s.length-k],v._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},y&&(v._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),void 0!==(_=this.performAction.apply(v,[o,c,a,u.yy,m[1],s,n].concat(l))))return _;k&&(e=e.slice(0,-1*k*2),s=s.slice(0,-1*k),n=n.slice(0,-1*k)),e.push(this.productions_[m[1]][0]),s.push(v.$),n.push(v._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0}},R={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,i=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 s=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[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 i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&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(){return this.next()||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,i,s){switch(i){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,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/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 B(){this.yy={}}return N.lexer=R,B.prototype=N,N.Parser=B,new B}();n.parser=n;const r=n,o="TB",a="state",c="relation",l="default",h="divider",u="[*]",d="start",p=u,y="color",f="fill";let g="LR",m=[],_={},S={root:{relations:[],states:{},documents:{}}},k=S.root,T=0,b=0;const E=t=>JSON.parse(JSON.stringify(t)),v=(t,e,i)=>{if(e.stmt===c)v(t,e.state1,!0),v(t,e.state2,!1);else if(e.stmt===a&&("[*]"===e.id?(e.id=i?t.id+"_start":t.id+"_end",e.start=i):e.id=e.id.trim()),e.doc){const t=[];let i,n=[];for(i=0;i0&&n.length>0){const i={stmt:a,id:(0,s.G)(),type:"divider",doc:E(n)};t.push(E(i)),e.doc=t}e.doc.forEach((t=>v(e,t,!0)))}},x=function(t,e=l,i=null,n=null,r=null,o=null,a=null,c=null){const h=null==t?void 0:t.trim();void 0===k.states[h]?(s.l.info("Adding state ",h,n),k.states[h]={id:h,descriptions:[],type:e,doc:i,note:r,classes:[],styles:[],textStyles:[]}):(k.states[h].doc||(k.states[h].doc=i),k.states[h].type||(k.states[h].type=e)),n&&(s.l.info("Setting state description",h,n),"string"==typeof n&&I(h,n.trim()),"object"==typeof n&&n.forEach((t=>I(h,t.trim())))),r&&(k.states[h].note=r,k.states[h].note.text=s.e.sanitizeText(k.states[h].note.text,(0,s.c)())),o&&(s.l.info("Setting state classes",h,o),("string"==typeof o?[o]:o).forEach((t=>N(h,t.trim())))),a&&(s.l.info("Setting state styles",h,a),("string"==typeof a?[a]:a).forEach((t=>R(h,t.trim())))),c&&(s.l.info("Setting state styles",h,a),("string"==typeof c?[c]:c).forEach((t=>B(h,t.trim()))))},D=function(t){S={root:{relations:[],states:{},documents:{}}},k=S.root,T=0,_={},t||(0,s.v)()},C=function(t){return k.states[t]};function $(t=""){let e=t;return t===u&&(T++,e=`${d}${T}`),e}function A(t="",e=l){return t===u?d:e}const L=function(t,e,i){if("object"==typeof t)!function(t,e,i){let n=$(t.id.trim()),r=A(t.id.trim(),t.type),o=$(e.id.trim()),a=A(e.id.trim(),e.type);x(n,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),x(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),k.relations.push({id1:n,id2:o,relationTitle:s.e.sanitizeText(i,(0,s.c)())})}(t,e,i);else{const n=$(t.trim()),r=A(t),o=function(t=""){let e=t;return t===p&&(T++,e=`end${T}`),e}(e.trim()),a=function(t="",e=l){return t===p?"end":e}(e);x(n,r),x(o,a),k.relations.push({id1:n,id2:o,title:s.e.sanitizeText(i,(0,s.c)())})}},I=function(t,e){const i=k.states[t],n=e.startsWith(":")?e.replace(":","").trim():e;i.descriptions.push(s.e.sanitizeText(n,(0,s.c)()))},O=function(t,e=""){void 0===_[t]&&(_[t]={id:t,styles:[],textStyles:[]});const i=_[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(y)){const t=e.replace(f,"bgFill").replace(y,f);i.textStyles.push(t)}i.styles.push(e)}))},N=function(t,e){t.split(",").forEach((function(t){let i=C(t);if(void 0===i){const e=t.trim();x(e),i=C(e)}i.classes.push(e)}))},R=function(t,e){const i=C(t);void 0!==i&&i.textStyles.push(e)},B=function(t,e){const i=C(t);void 0!==i&&i.textStyles.push(e)},w={parseDirective:function(t,e,i){s.m.parseDirective(this,t,e,i)},getConfig:()=>(0,s.c)().state,addState:x,clear:D,getState:C,getStates:function(){return k.states},getRelations:function(){return k.relations},getClasses:function(){return _},getDirection:()=>g,addRelation:L,getDividerId:()=>(b++,"divider-id-"+b),setDirection:t=>{g=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(){s.l.info("Documents = ",S)},getRootDoc:()=>m,setRootDoc:t=>{s.l.info("Setting root doc",t),m=t},getRootDocV2:()=>(v({id:"root"},{id:"root",doc:m},!0),{id:"root",doc:m}),extract:t=>{let e;e=t.doc?t.doc:t,s.l.info(e),D(!0),s.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case a:x(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:L(t.state1,t.state2,t.description);break;case"classDef":O(t.id.trim(),t.classes);break;case"applyClass":N(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:s.g,setAccTitle:s.s,getAccDescription:s.a,setAccDescription:s.b,addStyleClass:O,setCssClass:N,addDescription:I,setDiagramTitle:s.r,getDiagramTitle:s.t},P=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`}}; \ No newline at end of file diff --git a/themes/daux/js/905.mjs b/themes/daux/js/905.mjs new file mode 100644 index 00000000..2ba9065f --- /dev/null +++ b/themes/daux/js/905.mjs @@ -0,0 +1 @@ +export const id=905;export const ids=[905];export const modules={905:(t,e,a)=>{a.d(e,{diagram:()=>u});var i=a(8900),n=a(7274),d=a(9451),r=a(5625),s=a(9360);a(7484),a(7967),a(7856);const o={},c=(t,e,a)=>{const i=(0,s.c)().state.padding,n=2*(0,s.c)().state.padding,d=t.node().getBBox(),r=d.width,o=d.x,c=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),g=c.node().getBBox().width+n;let p,h=Math.max(g,r);h===r&&(h+=n);const l=t.node().getBBox();e.doc,p=o-i,g>r&&(p=(r-h)/2+i),Math.abs(o-l.x)r&&(p=o-(g-r)/2);const x=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),c.attr("x",p+i),g<=r&&c.attr("x",o+(h-n)/2-g/2+i),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},g=function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(n),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(n),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let a=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(n,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:n,textHeight:d}=((t,e,a,i)=>{let n=0;const d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let r=t.replace(/\r\n/g,"
    ");r=r.replace(/\n/g,"
    ");const o=r.split(s.e.lineBreakRegex);let c=1.25*(0,s.c)().state.noteMargin;for(const t of o){const e=t.trim();if(e.length>0){const t=d.append("tspan");t.text(e),0===c&&(c+=t.node().getBBox().height),n+=c,t.attr("x",0+(0,s.c)().state.noteMargin),t.attr("y",0+n+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:n}})(t,0,0,i);a.attr("height",d+2*(0,s.c)().state.noteMargin),a.attr("width",n+2*(0,s.c)().state.noteMargin)})(e.note.text,n),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(n),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",a.width+2*(0,s.c)().state.padding).attr("height",a.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=a.height,n=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let d=!0,r=!0;e.descriptions.forEach((function(t){d||(function(t,e,a){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);a||i.attr("dy",(0,s.c)().state.textHeight)}(n,t,r),r=!1),d=!1}));const o=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),c=n.node().getBBox(),g=Math.max(c.width,a.width);o.attr("x2",g+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",g+2*(0,s.c)().state.padding).attr("height",c.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e);const d=n.node().getBBox();return i.width=d.width+2*(0,s.c)().state.padding,i.height=d.height+2*(0,s.c)().state.padding,r=i,o[a]=r,i;var r};let p,h=0;const l={},x=(t,e,a,o,f,u,y)=>{const w=new r.k({compound:!0,multigraph:!0});let b,m=!0;for(b=0;b{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=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",a-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(w.node(t)))}));let M=v.getBBox();w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),function(t,e,a){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const d=e.points,r=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),o=t.append("path").attr("d",r(d)).attr("id","edge"+h).attr("class","transition");let c="";if((0,s.c)().state.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),o.attr("marker-end","url("+c+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:d}=s.u.calcLabelPosition(e.points),r=s.e.getRows(a.title);let o=0;const c=[];let g=0,p=0;for(let t=0;t<=r.length;t++){const e=i.append("text").attr("text-anchor","middle").text(r[t]).attr("x",n).attr("y",d+o),a=e.node().getBBox();if(g=Math.max(g,a.width),p=Math.min(p,a.x),s.l.info(a.x,n,d+o),0===o){const t=e.node().getBBox();o=t.height,s.l.info("Title height",o,d)}c.push(e)}let h=o*r.length;if(r.length>1){const t=(r.length-1)*o*.5;c.forEach(((e,a)=>e.attr("y",d+a*o-t))),h=o*r.length}const l=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-g/2-(0,s.c)().state.padding/2).attr("y",d-h/2-(0,s.c)().state.padding/2-3.5).attr("width",g+(0,s.c)().state.padding).attr("height",h+(0,s.c)().state.padding),s.l.info(l)}h++}(e,w.edge(t),w.edge(t).relation))})),M=v.getBBox();const S={id:a||"root",label:a||"root",width:0,height:0};return S.width=M.width+2*p.padding,S.height=M.height+2*p.padding,s.l.debug("Doc rendered",S,w),S},f={setConf:function(){},draw:function(t,e,a,i){p=(0,s.c)().state;const d=(0,s.c)().securityLevel;let r;"sandbox"===d&&(r=(0,n.Ys)("#i"+e));const o="sandbox"===d?(0,n.Ys)(r.nodes()[0].contentDocument.body):(0,n.Ys)("body"),c="sandbox"===d?r.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const g=o.select(`[id='${e}']`);g.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");const h=i.db.getRootDoc();x(h,g,void 0,!1,o,c,i);const l=p.padding,f=g.node().getBBox(),u=f.width+2*l,y=f.height+2*l,w=1.75*u;(0,s.i)(g,y,w,p.useMaxWidth),g.attr("viewBox",`${f.x-p.padding} ${f.y-p.padding} `+u+" "+y)}},u={parser:i.p,db:i.d,renderer:f,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/913.mjs b/themes/daux/js/913.mjs new file mode 100644 index 00000000..1664277b --- /dev/null +++ b/themes/daux/js/913.mjs @@ -0,0 +1 @@ +export const id=913;export const ids=[913];export const modules={6913:(t,e,i)=>{i.d(e,{diagram:()=>Q});var n=i(9360),a=i(7274),s=i(8770),r=i(7967),l=(i(7484),i(7856),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,6],i=[1,7],n=[1,8],a=[1,9],s=[1,16],r=[1,11],l=[1,12],o=[1,13],h=[1,14],d=[1,15],u=[1,27],p=[1,33],y=[1,34],f=[1,35],g=[1,36],b=[1,37],x=[1,72],_=[1,73],m=[1,74],E=[1,75],A=[1,76],S=[1,77],v=[1,78],C=[1,38],k=[1,39],O=[1,40],T=[1,41],w=[1,42],D=[1,43],R=[1,44],N=[1,45],P=[1,46],M=[1,47],j=[1,48],B=[1,49],Y=[1,50],L=[1,51],I=[1,52],U=[1,53],F=[1,54],X=[1,55],z=[1,56],Q=[1,57],W=[1,59],$=[1,60],q=[1,61],V=[1,62],G=[1,63],H=[1,64],K=[1,65],J=[1,66],Z=[1,67],tt=[1,68],et=[1,69],it=[24,52],nt=[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=[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],st=[1,94],rt=[1,95],lt=[1,96],ot=[1,97],ct=[15,24,52],ht=[7,8,9,10,18,22,25,26,27,28],dt=[15,24,43,52],ut=[15,24,43,52,86,87,89,90],pt=[15,43],yt=[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],ft={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,i,n,a,s,r){var l=s.length-1;switch(a){case 4:n.setDirection("TB");break;case 5:n.setDirection("BT");break;case 6:n.setDirection("RL");break;case 7:n.setDirection("LR");break;case 11:n.parseDirective("%%{","open_directive");break;case 12:break;case 13:s[l]=s[l].trim().replace(/'/g,'"'),n.parseDirective(s[l],"arg_directive");break;case 14:n.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:n.setC4Type(s[l-3]);break;case 26:n.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 27:n.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 28:this.$=s[l].trim(),n.setTitle(this.$);break;case 29:case 30:this.$=s[l].trim(),n.setAccDescription(this.$);break;case 35:case 36:s[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 37:n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 38:s[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...s[l]),this.$=s[l];break;case 39:n.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 40:n.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 41:n.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 42:n.popBoundaryParseStack();break;case 46:n.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 47:n.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 48:n.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 49:n.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 50:n.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 51:n.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 52:n.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 53:n.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 54:n.addContainer("container",...s[l]),this.$=s[l];break;case 55:n.addContainer("container_db",...s[l]),this.$=s[l];break;case 56:n.addContainer("container_queue",...s[l]),this.$=s[l];break;case 57:n.addContainer("external_container",...s[l]),this.$=s[l];break;case 58:n.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 59:n.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 60:n.addComponent("component",...s[l]),this.$=s[l];break;case 61:n.addComponent("component_db",...s[l]),this.$=s[l];break;case 62:n.addComponent("component_queue",...s[l]),this.$=s[l];break;case 63:n.addComponent("external_component",...s[l]),this.$=s[l];break;case 64:n.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 65:n.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 67:n.addRel("rel",...s[l]),this.$=s[l];break;case 68:n.addRel("birel",...s[l]),this.$=s[l];break;case 69:n.addRel("rel_u",...s[l]),this.$=s[l];break;case 70:n.addRel("rel_d",...s[l]),this.$=s[l];break;case 71:n.addRel("rel_l",...s[l]),this.$=s[l];break;case 72:n.addRel("rel_r",...s[l]),this.$=s[l];break;case 73:n.addRel("rel_b",...s[l]),this.$=s[l];break;case 74:s[l].splice(0,1),n.addRel("rel",...s[l]),this.$=s[l];break;case 75:n.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 76:n.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 77:n.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 78:this.$=[s[l]];break;case 79:s[l].unshift(s[l-1]),this.$=s[l];break;case 80:case 82:this.$=s[l].trim();break;case 81:let t={};t[s[l-1].trim()]=s[l].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:i,9:n,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:i,9:n,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{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:u},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:79,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:80,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:81,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:82,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(it,[2,20],{53:32,39:58,40:70,42:71,30:87,44:x,46:_,47:m,48:E,49:A,50:S,51:v,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(it,[2,21]),t(nt,[2,23],{15:[1,88]}),t(it,[2,43],{15:[1,89]}),t(at,[2,26]),t(at,[2,27]),{35:[1,90]},{37:[1,91]},t(at,[2,30]),{45:92,85:93,86:st,87:rt,89:lt,90:ot},{45:98,85:93,86:st,87:rt,89:lt,90:ot},{45:99,85:93,86:st,87:rt,89:lt,90:ot},{45:100,85:93,86:st,87:rt,89:lt,90:ot},{45:101,85:93,86:st,87:rt,89:lt,90:ot},{45:102,85:93,86:st,87:rt,89:lt,90:ot},{45:103,85:93,86:st,87:rt,89:lt,90:ot},{45:104,85:93,86:st,87:rt,89:lt,90:ot},{45:105,85:93,86:st,87:rt,89:lt,90:ot},{45:106,85:93,86:st,87:rt,89:lt,90:ot},{45:107,85:93,86:st,87:rt,89:lt,90:ot},{45:108,85:93,86:st,87:rt,89:lt,90:ot},{45:109,85:93,86:st,87:rt,89:lt,90:ot},{45:110,85:93,86:st,87:rt,89:lt,90:ot},{45:111,85:93,86:st,87:rt,89:lt,90:ot},{45:112,85:93,86:st,87:rt,89:lt,90:ot},{45:113,85:93,86:st,87:rt,89:lt,90:ot},{45:114,85:93,86:st,87:rt,89:lt,90:ot},{45:115,85:93,86:st,87:rt,89:lt,90:ot},{45:116,85:93,86:st,87:rt,89:lt,90:ot},t(ct,[2,66]),{45:117,85:93,86:st,87:rt,89:lt,90:ot},{45:118,85:93,86:st,87:rt,89:lt,90:ot},{45:119,85:93,86:st,87:rt,89:lt,90:ot},{45:120,85:93,86:st,87:rt,89:lt,90:ot},{45:121,85:93,86:st,87:rt,89:lt,90:ot},{45:122,85:93,86:st,87:rt,89:lt,90:ot},{45:123,85:93,86:st,87:rt,89:lt,90:ot},{45:124,85:93,86:st,87:rt,89:lt,90:ot},{45:125,85:93,86:st,87:rt,89:lt,90:ot},{45:126,85:93,86:st,87:rt,89:lt,90:ot},{45:127,85:93,86:st,87:rt,89:lt,90:ot},{30:128,39:58,40:70,42:71,44:x,46:_,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:st,87:rt,89:lt,90:ot},{45:132,85:93,86:st,87:rt,89:lt,90:ot},{45:133,85:93,86:st,87:rt,89:lt,90:ot},{45:134,85:93,86:st,87:rt,89:lt,90:ot},{45:135,85:93,86:st,87:rt,89:lt,90:ot},{45:136,85:93,86:st,87:rt,89:lt,90:ot},{45:137,85:93,86:st,87:rt,89:lt,90:ot},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(ht,[2,9]),{14:142,21:u},{21:[2,13]},{1:[2,15]},t(it,[2,22]),t(nt,[2,24],{31:31,29:143,32:p,33:y,34:f,36:g,38:b}),t(it,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:y,34:f,36:g,38:b,44:x,46:_,47:m,48:E,49:A,50:S,51:v,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(at,[2,28]),t(at,[2,29]),t(ct,[2,46]),t(dt,[2,78],{85:93,45:145,86:st,87:rt,89:lt,90:ot}),t(ut,[2,80]),{88:[1,146]},t(ut,[2,82]),t(ut,[2,83]),t(ct,[2,47]),t(ct,[2,48]),t(ct,[2,49]),t(ct,[2,50]),t(ct,[2,51]),t(ct,[2,52]),t(ct,[2,53]),t(ct,[2,54]),t(ct,[2,55]),t(ct,[2,56]),t(ct,[2,57]),t(ct,[2,58]),t(ct,[2,59]),t(ct,[2,60]),t(ct,[2,61]),t(ct,[2,62]),t(ct,[2,63]),t(ct,[2,64]),t(ct,[2,65]),t(ct,[2,67]),t(ct,[2,68]),t(ct,[2,69]),t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(pt,[2,35]),t(pt,[2,36]),t(pt,[2,37]),t(pt,[2,38]),t(pt,[2,39]),t(pt,[2,40]),t(pt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(nt,[2,25]),t(it,[2,45]),t(dt,[2,79]),t(ut,[2,81]),t(ct,[2,31]),t(ct,[2,42]),t(yt,[2,32]),t(yt,[2,33],{15:[1,152]}),t(ht,[2,10]),t(yt,[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 i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],a=[],s=this.table,r="",l=0,o=0,c=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;a.push(p);var y=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,b,x,_,m,E,A,S,v={};;){if(g=e[e.length-1],this.defaultActions[g]?b=this.defaultActions[g]:(null==f&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),f=S),b=s[g]&&s[g][f]),void 0===b||!b.length||!b[0]){var C;for(_ in A=[],s[g])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");C=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(b[0]){case 1:e.push(f),n.push(h.yytext),a.push(h.yylloc),e.push(b[1]),f=null,o=h.yyleng,r=h.yytext,l=h.yylineno,p=h.yylloc;break;case 2:if(m=this.productions_[b[1]][1],v.$=n[n.length-m],v._$={first_line:a[a.length-(m||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(m||1)].first_column,last_column:a[a.length-1].last_column},y&&(v._$.range=[a[a.length-(m||1)].range[0],a[a.length-1].range[1]]),void 0!==(x=this.performAction.apply(v,[r,o,l,d.yy,b[1],n,a].concat(c))))return x;m&&(e=e.slice(0,-1*m*2),n=n.slice(0,-1*m),a=a.slice(0,-1*m)),e.push(this.productions_[b[1]][0]),n.push(v.$),a.push(v._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},gt={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,i=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 n=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),i.length-1&&(this.yylineno-=i.length-1);var a=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[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 i,n,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in a)this[s]=a[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,a[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[n]))&&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(){return this.next()||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,i,n){switch(i){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:[70,71,72,73],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 bt(){this.yy={}}return ft.lexer=gt,bt.prototype=ft,ft.Parser=bt,new bt}());l.parser=l;const o=l;let h=[],d=[""],u="global",p="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],g="",b=!1,x=4,_=2;var m;const E=function(t){return null==t?h:h.filter((e=>e.parentBoundary===t))},A=function(){return b},S={addPersonOrSystem:function(t,e,i,n,a,s,r){if(null===e||null===i)return;let l={};const o=h.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),l.label=null==i?{text:""}:{text:i},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.sprite=a;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=u,l.wrap=A()},addPersonOrSystemBoundary:function(t,e,i,n,a){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==i)s.type={text:"system"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.type={text:i};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=u,s.wrap=A(),p=u,u=t,d.push(p)},addContainer:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=A(),o.typeC4Shape={text:t},o.parentBoundary=u},addContainerBoundary:function(t,e,i,n,a){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==i)s.type={text:"container"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.type={text:i};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=u,s.wrap=A(),p=u,u=t,d.push(p)},addComponent:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=A(),o.typeC4Shape={text:t},o.parentBoundary=u},addDeploymentNode:function(t,e,i,n,a,s,r,l){if(null===e||null===i)return;let o={};const c=y.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,y.push(o)),o.label=null==i?{text:""}:{text:i},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=u,o.wrap=A(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},addRel:function(t,e,i,n,a,s,r,l,o){if(null==t||null==e||null==i||null==n)return;let c={};const h=f.find((t=>t.from===e&&t.to===i));if(h?c=h:f.push(c),c.type=t,c.from=e,c.to=i,c.label={text:n},null==a)c.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]={text:e}}else c.techn={text:a};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=A()},updateElStyle:function(t,e,i,n,a,s,r,l,o,c,d){let u=h.find((t=>t.alias===e));if(void 0!==u||(u=y.find((t=>t.alias===e)),void 0!==u)){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.bgColor=i;if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.fontColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.borderColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.legendText=c;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];u[t]=e}else u.legendSprite=d}},updateRelStyle:function(t,e,i,n,a,s,r){const l=f.find((t=>t.from===e&&t.to===i));if(void 0!==l){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.lineColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},updateLayoutConfig:function(t,e,i){let n=x,a=_;if("object"==typeof e){const t=Object.values(e)[0];n=parseInt(t)}else n=parseInt(e);if("object"==typeof i){const t=Object.values(i)[0];a=parseInt(t)}else a=parseInt(i);n>=1&&(x=n),a>=1&&(_=a)},autoWrap:A,setWrap:function(t){b=t},getC4ShapeArray:E,getC4Shape:function(t){return h.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(E(t))},getBoundarys:function(t){return null==t?y:y.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},getRels:function(){return f},getTitle:function(){return g},getC4Type:function(){return m},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return _},setAccTitle:n.s,getAccTitle:n.g,getAccDescription:n.a,setAccDescription:n.b,parseDirective:function(t,e,i){n.m.parseDirective(this,t,e,i)},getConfig:()=>(0,n.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p="",u="global",d=[""],f=[],d=[""],g="",b=!1,x=4,_=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=(0,n.d)(t,(0,n.c)());g=e},setC4Type:function(t){let e=(0,n.d)(t,(0,n.c)());m=e}},v=function(t,e){return(0,s.d)(t,e)},C=function(){function t(t,e,i,n,s,r,l){a(e.append("text").attr("x",i+s/2).attr("y",n+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,i,s,r,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:u}=c,p=t.split(n.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,i,n,a,s){const l=t.append("image");l.attr("width",e),l.attr("height",i),l.attr("x",n),l.attr("y",a);let o=s.startsWith("data:image/png;base64")?s:(0,r.Nm)(s);l.attr("xlink:href",o)}(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=i[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=o,C(i)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},f),f=i[e.typeC4Shape.text+"Font"](),f.fontColor=o,e.techn&&""!==(null==(n=e.techn)?void 0:n.text)?C(i)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},f):e.type&&""!==e.type.text&&C(i)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=i.personFont(),f.fontColor=o,C(i)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},f)),e.height};let O=0,T=0,w=4,D=2;l.yy=S;let R={};class N{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,P(t.db.getConfig())}setData(t,e,i,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=i,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,i,n){void 0===t[e]?t[e]=i:t[e]=n(i,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,i=e+t.width,n=this.nextData.starty+2*t.margin,a=n+t.height;(e>=this.data.widthLimit||i>=this.data.widthLimit||this.nextData.cnt>w)&&(e=this.nextData.startx+t.margin+R.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=i=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=a=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",i,Math.max),this.updateVal(this.data,"stopy",a,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",i,Math.max),this.updateVal(this.nextData,"stopy",a,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},P(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const P=function(t){(0,n.f)(R,t),t.fontFamily&&(R.personFontFamily=R.systemFontFamily=R.messageFontFamily=t.fontFamily),t.fontSize&&(R.personFontSize=R.systemFontSize=R.messageFontSize=t.fontSize),t.fontWeight&&(R.personFontWeight=R.systemFontWeight=R.messageFontWeight=t.fontWeight)},M=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),j=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function B(t,e,i,a,s){if(!e[t].width)if(i)e[t].text=(0,n.w)(e[t].text,s,a),e[t].textLines=e[t].text.split(n.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,n.j)(e[t].text,a);else{let i=e[t].text.split(n.e.lineBreakRegex);e[t].textLines=i.length;let s=0;e[t].height=0,e[t].width=0;for(const r of i)e[t].width=Math.max((0,n.h)(r,a),e[t].width),s=(0,n.j)(r,a),e[t].height=e[t].height+s}}const Y=function(t,e,i){e.x=i.data.startx,e.y=i.data.starty,e.width=i.data.stopx-i.data.startx,e.height=i.data.stopy-i.data.starty,e.label.y=R.c4ShapeMargin-35;let a=e.wrap&&R.wrap,s=j(R);s.fontSize=s.fontSize+2,s.fontWeight="bold",B("label",e,a,s,(0,n.h)(e.label.text,s)),function(t,e,i){const n=t.append("g");let a=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:a,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};v(n,o);let c=i.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,C(i)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=i.boundaryFont(),c.fontColor=r,C(i)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=i.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,C(i)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}(t,e,R)},L=function(t,e,i,a){let s=0;for(const r of a){s=0;const a=i[r];let l=M(R,a.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,a.typeC4Shape.width=(0,n.h)("«"+a.typeC4Shape.text+"»",l),a.typeC4Shape.height=l.fontSize+2,a.typeC4Shape.Y=R.c4ShapePadding,s=a.typeC4Shape.Y+a.typeC4Shape.height-4,a.image={width:0,height:0,Y:0},a.typeC4Shape.text){case"person":case"external_person":a.image.width=48,a.image.height=48,a.image.Y=s,s=a.image.Y+a.image.height}a.sprite&&(a.image.width=48,a.image.height=48,a.image.Y=s,s=a.image.Y+a.image.height);let o=a.wrap&&R.wrap,c=R.width-2*R.c4ShapePadding,h=M(R,a.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",B("label",a,o,h,c),a.label.Y=s+8,s=a.label.Y+a.label.height,a.type&&""!==a.type.text?(a.type.text="["+a.type.text+"]",B("type",a,o,M(R,a.typeC4Shape.text),c),a.type.Y=s+5,s=a.type.Y+a.type.height):a.techn&&""!==a.techn.text&&(a.techn.text="["+a.techn.text+"]",B("techn",a,o,M(R,a.techn.text),c),a.techn.Y=s+5,s=a.techn.Y+a.techn.height);let d=s,u=a.label.width;a.descr&&""!==a.descr.text&&(B("descr",a,o,M(R,a.typeC4Shape.text),c),a.descr.Y=s+20,s=a.descr.Y+a.descr.height,u=Math.max(a.label.width,a.descr.width),d=s-5*a.descr.textLines),u+=R.c4ShapePadding,a.width=Math.max(a.width||R.width,u,R.width),a.height=Math.max(a.height||R.height,d,R.height),a.margin=a.margin||R.c4ShapeMargin,t.insert(a),k(e,a,R)}t.bumpLastMargin(R.c4ShapeMargin)};class I{constructor(t,e){this.x=t,this.y=e}}let U=function(t,e){let i=t.x,n=t.y,a=e.x,s=e.y,r=i+t.width/2,l=n+t.height/2,o=Math.abs(i-a),c=Math.abs(n-s),h=c/o,d=t.height/t.width,u=null;return n==s&&ia?u=new I(i,l):i==a&&ns&&(u=new I(r,n)),i>a&&n=h?new I(i,l+h*t.width/2):new I(r-o/c*t.height/2,n+t.height):i=h?new I(i+t.width,l+h*t.width/2):new I(r+o/c*t.height/2,n+t.height):is?u=d>=h?new I(i+t.width,l-h*t.width/2):new I(r+t.height/2*o/c,n):i>a&&n>s&&(u=d>=h?new I(i,l-t.width/2*h):new I(r-t.height/2*o/c,n)),u},F=function(t,e){let i={x:0,y:0};i.x=e.x+e.width/2,i.y=e.y+e.height/2;let n=U(t,i);return i.x=t.x+t.width/2,i.y=t.y+t.height/2,{startPoint:n,endPoint:U(e,i)}};function X(t,e,i,n,a){let s=new N(a);s.data.widthLimit=i.data.widthLimit/Math.min(D,n.length);for(let[r,l]of n.entries()){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&R.wrap,c=j(R);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",B("label",l,o,c,s.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",B("type",l,o,j(R),s.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=j(R);t.fontSize=t.fontSize-2,B("descr",l,o,t,s.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==r||r%D==0){let t=i.data.startx+R.diagramMarginX,e=i.data.stopy+R.diagramMarginY+n;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+R.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let h=a.db.getC4ShapeArray(l.alias),d=a.db.getC4ShapeKeys(l.alias);d.length>0&&L(s,t,h,d),e=l.alias;let u=a.db.getBoundarys(e);u.length>0&&X(t,e,s,u,a),"global"!==l.alias&&Y(t,l,s),i.data.stopy=Math.max(s.data.stopy+R.c4ShapeMargin,i.data.stopy),i.data.stopx=Math.max(s.data.stopx+R.c4ShapeMargin,i.data.stopx),O=Math.max(O,i.data.stopx),T=Math.max(T,i.data.stopy)}}const z={drawPersonOrSystemArray:L,drawBoundary:Y,setConf:P,draw:function(t,e,i,s){R=(0,n.c)().c4;const r=(0,n.c)().securityLevel;let l;"sandbox"===r&&(l=(0,a.Ys)("#i"+e));const o="sandbox"===r?(0,a.Ys)(l.nodes()[0].contentDocument.body):(0,a.Ys)("body");let c=s.db;s.db.setWrap(R.wrap),w=c.getC4ShapeInRow(),D=c.getC4BoundaryInRow(),n.l.debug(`C:${JSON.stringify(R,null,2)}`);const h="sandbox"===r?o.select(`[id="${e}"]`):(0,a.Ys)(`[id="${e}"]`);h.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"),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")}(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")}(h);let d=new N(s);d.setData(R.diagramMarginX,R.diagramMarginX,R.diagramMarginY,R.diagramMarginY),d.data.widthLimit=screen.availWidth,O=R.diagramMarginX,T=R.diagramMarginY;const u=s.db.getTitle();X(h,"",d,s.db.getBoundarys(""),s),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")}(h),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")}(h),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")}(h),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")}(h),function(t,e,i,a){let s=0;for(let t of e){s+=1;let e=t.wrap&&R.wrap,l={fontFamily:(r=R).messageFontFamily,fontSize:r.messageFontSize,fontWeight:r.messageFontWeight};"C4Dynamic"===a.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let o=(0,n.h)(t.label.text,l);B("label",t,e,l,o),t.techn&&""!==t.techn.text&&(o=(0,n.h)(t.techn.text,l),B("techn",t,e,l,o)),t.descr&&""!==t.descr.text&&(o=(0,n.h)(t.descr.text,l),B("descr",t,e,l,o));let c=i(t.from),h=i(t.to),d=F(c,h);t.startPoint=d.startPoint,t.endPoint=d.endPoint}var r;((t,e,i)=>{const n=t.append("g");let a=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,o="";if(0===a){let e=n.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",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)"),a=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).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("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)")}let c=i.messageFont();C(i)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},c),t.techn&&""!==t.techn.text&&(c=i.messageFont(),C(i)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+i.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},c))}})(t,e,R)}(h,s.db.getRels(),s.db.getC4Shape,s),d.data.stopx=O,d.data.stopy=T;const p=d.data;let y=p.stopy-p.starty+2*R.diagramMarginY;const f=p.stopx-p.startx+2*R.diagramMarginX;u&&h.append("text").text(u).attr("x",(p.stopx-p.startx)/2-4*R.diagramMarginX).attr("y",p.starty+R.diagramMarginY),(0,n.i)(h,y,f,R.useMaxWidth);const g=u?60:0;h.attr("viewBox",p.startx-R.diagramMarginX+" -"+(R.diagramMarginY+g)+" "+f+" "+(y+g)),n.l.debug("models:",p)}},Q={parser:o,db:S,renderer:z,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:t=>{z.setConf(t.c4)}}},8770:(t,e,i)=>{i.d(e,{a:()=>s,b:()=>o,c:()=>l,d:()=>a,e:()=>h,f:()=>r,g:()=>c});var n=i(7967);const a=function(t,e){const i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return"undefined"!==e.class&&i.attr("class",e.class),i},s=function(t,e){a(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()},r=function(t,e){const i=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);const a=n.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(i),n},l=function(t,e,i,a){const s=t.append("image");s.attr("x",e),s.attr("y",i);var r=(0,n.Nm)(a);s.attr("xlink:href",r)},o=function(t,e,i,a){const s=t.append("use");s.attr("x",e),s.attr("y",i);const r=(0,n.Nm)(a);s.attr("xlink:href","#"+r)},c=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}; \ No newline at end of file diff --git a/themes/daux/js/926.mjs b/themes/daux/js/926.mjs deleted file mode 100644 index 2551945d..00000000 --- a/themes/daux/js/926.mjs +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 926.mjs.LICENSE.txt */ -export const id=926;export const ids=[926];export const modules={4182:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,t,n){var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i},function(e,t,n){var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.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(e,t){for(var n,r=this.getChild().getNodes(),i=0;i0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.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 e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),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,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n1)for(s=0;sr&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var _=(n+p*x)%360,T=(_+x)%360;m.branchRadialLayout(E,e,_,T,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;nt&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;rl&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t,verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;rn&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.widtha&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;so&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p}])},e.exports=r(n(4182))},1377:function(e,t,n){e.exports=function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:0},z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(e)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+R+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t}(e)},Y={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]},X=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&e-u>=a}function f(){var e=$();if(g(e))return v(e);s=setTimeout(f,function(e){var n=t-(e-l);return h?me(n,a-(e-u)):n}(e))}function v(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function y(){var e=$(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(f,t),c?p(e):o}(l);if(h)return clearTimeout(s),s=setTimeout(f,t),p(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=ve(t)||0,U(n)&&(c=!!n.leading,a=(h="maxWait"in n)?ye(ve(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v($())},y},xe=l?l.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(l){if(l.requestAnimationFrame)return function(e){l.requestAnimationFrame(e)};if(l.mozRequestAnimationFrame)return function(e){l.mozRequestAnimationFrame(e)};if(l.webkitRequestAnimationFrame)return function(e){l.webkitRequestAnimationFrame(e)};if(l.msRequestAnimationFrame)return function(e){l.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(we())}),1e3/60)}}(),_e=function(e){return Ee(e)},Te=we,De=9261,Ce=5381,Ne=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ae=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:De)+e|0},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return(t<<5)+t+e|0},ke=function(e){return 2097152*e[0]+e[1]},Se=function(e,t){return[Ae(e[0],t[0]),Le(e[1],t[1])]},Ie=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return Ne({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},Qe=function(e){e.splice(0,e.length)},Je=function(e,t,n){return n&&(t=S(n,t)),e[t]},et=function(e,t,n,r){n&&(t=S(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){t(this,e),this._obj={}}return i(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),nt=function(){function e(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&T(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new rt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.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==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];y(t.classes)?l=t.classes:f(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;af;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var _=b.pop(),T=v(_),D=_.id();if(h[D]=T,T!==1/0)for(var C=_.neighborhood().intersect(p),N=0;N0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},ht={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(l=f.pop(),u=l.id(),v.delete(u),w++,u===h){for(var E=[],_=i,T=h,D=m[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=y[T]);)D=m[T=_.id()];return{found:!0,distance:d[u],path:this.spawn(E),steps:w}}g[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,m[C]=D,b[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,m[A]=T,b[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=b(e);;){if(null==i)return t.spawn();var o=m(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},hasNegativeWeightCycle:g,negativeWeightCycles:v}}},mt=Math.sqrt(2),bt=function(e,t,n){0===n.length&&Ve("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=bt(i,e,t),n--}return t},wt={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/mt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},At=function(e,t){return Math.sqrt(Lt(e,t))},Lt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},kt=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Pt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Bt=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ft=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},zt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Gt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Yt=function(e,t){return Gt(e,t.x1,t.y1)&&Gt(e,t.x2,t.y2)},Xt=function(e,t,n,r,i,a,o){var s,l=sn(i,a),u=i/2,c=a/2,h=r-c-o;if((s=en(e,t,n,r,n-u+l-o,h,n+u-l+o,h,!1)).length>0)return s;var d=n+u+o;if((s=en(e,t,n,r,d,r-c+l-o,d,r+c-l+o,!1)).length>0)return s;var p=r+c+o;if((s=en(e,t,n,r,n-u+l-o,p,n+u-l+o,p,!1)).length>0)return s;var g,f=n-u-o;if((s=en(e,t,n,r,f,r-c+l-o,f,r+c-l+o,!1)).length>0)return s;var v=n-u+l,y=r-c+l;if((g=Qt(e,t,n,r,v,y,l+o)).length>0&&g[0]<=v&&g[1]<=y)return[g[0],g[1]];var m=n+u-l,b=r-c+l;if((g=Qt(e,t,n,r,m,b,l+o)).length>0&&g[0]>=m&&g[1]<=b)return[g[0],g[1]];var x=n+u-l,w=r+c-l;if((g=Qt(e,t,n,r,x,w,l+o)).length>0&&g[0]>=x&&g[1]>=w)return[g[0],g[1]];var E=n-u+l,_=r+c-l;return(g=Qt(e,t,n,r,E,_,l+o)).length>0&&g[0]<=E&&g[1]>=_?[g[0],g[1]]:[]},Vt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},Ut=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,h=Math.min(r,s,a)-l,d=Math.max(r,s,a)+l;return!(ec||td)},jt=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g,f,v,y,m,b,x,w=[];u=9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,c=3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,h=1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,0===(l=1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s)&&(l=1e-5),f=-27*(h/=l)+(u/=l)*(9*(c/=l)-u*u*2),p=(g=(3*c-u*u)/9)*g*g+(f/=54)*f,(d=w)[1]=0,b=u/3,p>0?(y=(y=f+Math.sqrt(p))<0?-Math.pow(-y,1/3):Math.pow(y,1/3),m=(m=f-Math.sqrt(p))<0?-Math.pow(-m,1/3):Math.pow(m,1/3),d[0]=-b+y+m,b+=(y+m)/2,d[4]=d[2]=-b,b=Math.sqrt(3)*(-m+y)/2,d[3]=b,d[5]=-b):(d[5]=d[3]=0,0===p?(x=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),d[0]=2*x-b,d[4]=d[2]=-(x+b)):(v=(g=-g)*g*g,v=Math.acos(f/Math.sqrt(v)),x=2*Math.sqrt(g),d[0]=-b+x*Math.cos(v/3),d[2]=-b+x*Math.cos((v+2*Math.PI)/3),d[4]=-b+x*Math.cos((v+4*Math.PI)/3)));for(var E=[],_=0;_<6;_+=2)Math.abs(w[_+1])<1e-7&&w[_]>=0&&w[_]<=1&&E.push(w[_]);E.push(1),E.push(0);for(var T,D,C,N=-1,A=0;A=0?Cl?(e-i)*(e-i)+(t-a)*(t-a):u-h},Ht=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Wt=function(e,t,n,r,i,a,o,s,l){var u,c=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,d=Math.cos(-u),p=Math.sin(-u),g=0;g0){var f=Kt(c,-l);h=$t(f)}else h=c;return Ht(e,t,h)},$t=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},Jt=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},en=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?Jt(e,n,o)===o?[o,s]:Jt(e,n,i)===i?[i,a]:Jt(i,o,n)===n?[n,r]:[]:[]},tn=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Kt(f,-s);u=$t(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var x=r(y);m=m.id(),h[m]>h[f]+x&&(h[m]=h[f]+x,d.nodes.indexOf(m)<0?d.push(m):d.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[f]+x&&(u[m]=u[m]+u[f],l[m].push(f))}else for(var w=0;w0;){for(var D=n.pop(),C=0;C0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:An,o=r,s=0;s=2?On(e,t,n,0,Sn,In):On(e,t,n,0,kn)},squaredEuclidean:function(e,t,n){return On(e,t,n,0,Sn)},manhattan:function(e,t,n){return On(e,t,n,0,kn)},max:function(e,t,n){return On(e,t,n,-1/0,Mn)}};function Rn(e,t,n,r,i,a){var o;return o=v(e)?e:Pn[e]||Pn.euclidean,0===t&&v(e)?o(i,a):o(t,n,r,i,a)}Pn["squared-euclidean"]=Pn.squaredEuclidean,Pn.squaredeuclidean=Pn.squaredEuclidean;var Bn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Fn=function(e){return Bn(e)},zn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return Rn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Gn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1;return!0},Un=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;vn[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u=N?(A=N,N=k,L=S):k>A&&(A=k);for(var I=0;I0?1:0;T[_%u.minIterations*t+F]=z,B+=z}if(B>0&&(_>=u.minIterations-1||_==u.maxIterations-1)){for(var G=0,Y=0;Y0&&r.push(i);return r}(t,a,o),U=function(e,t,n){for(var r=ur(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return ur(e,t,n)}(t,r,V),j={},q=0;q1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],v=[];for(v=p(i);1!=v.length;)0==c[v[0]].length?(g.unshift(l.getElementById(v.shift())),g.unshift(l.getElementById(v.shift()))):v=p(v.shift()).concat(v);for(var y in g.unshift(l.getElementById(v.shift())),c)if(c[y].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},gr=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var h,d,p,g,f=e.getElementById(u).connectedEdges().intersection(e);0===f.size()?i.push(e.spawn(e.getElementById(u))):f.forEach((function(n){h=n.source().id(),d=n.target().id(),(p=h===u?d:h)!==c&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},fr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},vr={};[ot,ct,ht,pt,ft,yt,wt,hn,pn,fn,yn,Nn,Zn,ar,hr,pr,{hopcroftTarjanBiconnected:gr,htbc:gr,htb:gr,hopcroftTarjanBiconnectedComponents:gr},{tarjanStronglyConnected:fr,tsc:fr,tscc:fr,tarjanStronglyConnectedComponents:fr}].forEach((function(e){z(vr,e)}));var yr=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};yr.prototype={fulfill:function(e){return mr(this,1,"fulfillValue",e)},reject:function(e){return mr(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new yr;return n.onFulfilled.push(wr(e,r,"fulfill")),n.onRejected.push(wr(t,r,"reject")),br(n),r.proxy}};var mr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,br(e)),e},br=function(e){1===e.state?xr(e,"onFulfilled",e.fulfillValue):2===e.state&&xr(e,"onRejected",e.rejectReason)},xr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1};var ci=function(e,t){var n=this.__data__,r=ai(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function hi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){y(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};Ki.className=Ki.classNames=Ki.classes;var Zi={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:M,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Zi.variable="(?:[\\w-.]|(?:\\\\"+Zi.metaChar+"))+",Zi.className="(?:[\\w-]|(?:\\\\"+Zi.metaChar+"))+",Zi.value=Zi.string+"|"+Zi.number,Zi.id=Zi.variable,function(){var e,t,n;for(e=Zi.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Zi.comparatorOp+="|\\!"+t)}();var Qi=0,Ji=1,ea=2,ta=3,na=4,ra=5,ia=6,aa=7,oa=8,sa=9,la=10,ua=11,ca=12,ha=13,da=14,pa=15,ga=16,fa=17,va=18,ya=19,ma=20,ba=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*F(e,t)}(e.selector,t.selector)})),xa=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return je("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return je("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&je("The selector `"+e+"` 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 e=function(e){return null==e?"":e},t=function(t){return f(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(i,a){return i.checks.reduce((function(o,s,l){return o+(a===i&&0===l?"$":"")+function(i,a){var o=i.type,s=i.value;switch(o){case Qi:var l=e(s);return l.substring(0,l.length-1);case ta:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case ra:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case na:return"["+i.field+"]";case ia:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case aa:return s;case oa:return"#"+s;case sa:return"."+s;case fa:case pa:return r(i.parent,a)+n(">")+r(i.child,a);case va:case ga:return r(i.ancestor,a)+" "+r(i.descendant,a);case ya:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ma:return""}}(s,a)}),"")},i="",a=0;a1&&a=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Ga(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Ga)},Fa.forEachUp=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ya)},Fa.forEachUpAndDown=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xa)},Fa.ancestors=Fa.parents,(Pa=Ra={data:Wi.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:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Wi.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Wi.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Pa.data,Pa.removeAttr=Pa.removeData;var Va,Ua,ja=Ra,qa={};function Ha(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;ot})),minIndegree:Wa("indegree",(function(e,t){return et})),minOutdegree:Wa("outdegree",(function(e,t){return et}))}),z(qa,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d0,y=v;v&&(g=g[0]);var b=y?g.position():{x:0,y:0};void 0!==t?p.position(e,t+b[e]):void 0!==i&&p.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=Va.point=Va.position,Va.modelPositions=Va.points=Va.positions,Va.renderedPoint=Va.renderedPosition,Va.relativePoint=Va.relativePosition;var Za,Qa,Ja=Ua;Za=Qa={},Qa.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},Qa.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},Qa.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.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=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},no=function(e,t){return null==t?e:to(e,t.x1,t.y1,t.x2,t.y2)},ro=function(e,t,n){return Je(e,t,n)},io=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Rt(u,1),to(e,u.x1,u.y1,u.x2,u.y2)}}},ao=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ro(a,"labelWidth",n),p=ro(a,"labelHeight",n),g=ro(a,"labelX",n),f=ro(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,_=p,T=d,D=T/2,C=_/2;if(m)o=g-D,s=g+D,l=f-C,u=f+C;else{switch(c.value){case"left":o=g-T,s=g;break;case"center":o=g-D,s=g+D;break;case"right":o=g,s=g+T}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-C,u=f+C;break;case"bottom":l=f,u=f+_}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var N=n||"main",A=i.labelBounds,L=A[N]=A[N]||{};L.x1=o,L.y1=l,L.x2=s,L.y2=u,L.w=s-o,L.h=u-l;var k=m&&"autorotate"===b.strValue,S=null!=b.pfValue&&0!==b.pfValue;if(k||S){var I=k?ro(i.rstyle,"labelAngle",n):b.pfValue,M=Math.cos(I),O=Math.sin(I),P=(o+s)/2,R=(l+u)/2;if(!m){switch(c.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":R=u;break;case"bottom":R=l}}var B=function(e,t){return{x:(e-=P)*M-(t-=R)*O+P,y:e*O+t*M+R}},F=B(o,l),z=B(o,u),G=B(s,l),Y=B(s,u);o=Math.min(F.x,z.x,G.x,Y.x),s=Math.max(F.x,z.x,G.x,Y.x),l=Math.min(F.y,z.y,G.y,Y.y),u=Math.max(F.y,z.y,G.y,Y.y)}var X=N+"Rot",V=A[X]=A[X]||{};V.x1=o,V.y1=l,V.x2=s,V.y2=u,V.w=s-o,V.h=u-l,to(e,o,l,s,u),to(i.labelBounds.all,o,l,s,u)}return e}},oo=function(e){var t=0,n=function(e){return(e?1:0)<(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}to(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||"segments"===N||"taxi"===N){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":S=v.linePts}if(null!=S)for(var I=0;I(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}to(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(io(d,e,"mid-source"),io(d,e,"mid-target"),io(d,e,"source"),io(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;to(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Ft(G,d),Bt(G,y),Rt(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,to(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Ft(Y,d),Bt(Y,y),Rt(Y,1);var X=p.labelBounds=p.labelBounds||{};null!=X.all?((l=X.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):X.all=Ot(),c&&t.includeLabels&&(t.includeMainLabels&&ao(d,e,null),f&&(t.includeSourceLabels&&ao(d,e,"source"),t.includeTargetLabels&&ao(d,e,"target")))}return d.x1=eo(d.x1),d.y1=eo(d.y1),d.x2=eo(d.x2),d.y2=eo(d.y2),d.w=eo(d.x2-d.x1),d.h=eo(d.y2-d.y1),d.w>0&&d.h>0&&b&&(Bt(d,y),Rt(d,1)),d}(e,uo),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Ot(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?no(n,r.overlayBounds):no(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?no(n,r.labelBounds.all):(t.includeMainLabels&&no(n,r.labelBounds.mainRot),t.includeSourceLabels&&no(n,r.labelBounds.sourceRot),t.includeTargetLabels&&no(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},uo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},co=oo(uo),ho=Ke(uo);Qa.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Ot();var n=ho(e=e||uo),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:No,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Lo.removeAllListeners=function(){return this.removeListener("*")},Lo.emit=Lo.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,y(t)||(t=[t]),Io(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||".*"===i.namespace)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&function(e,t){for(var n=0;n1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&f(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;ir&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(m(e)){var i=e;r.applyBypass(this,i,false),this.emitAndNotify("style")}else if(f(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,false),this.emitAndNotify("style")}else if(void 0===e){var o=this[0];return o?r.getRawStyle(o):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style(),r=this;if(void 0===e)for(var i=0;i0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),rs.neighbourhood=rs.neighborhood,rs.closedNeighbourhood=rs.closedNeighborhood,rs.openNeighbourhood=rs.openNeighborhood,z(rs,{source:Ba((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Ba((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:ss({attr:"source"}),targets:ss({attr:"target"})}),z(rs,{edgesWith:Ba(ls(),"edgesWith"),edgesTo:Ba(ls({thisIsSrc:!0}),"edgesTo")}),z(rs,{connectedEdges:Ba((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),rs.componentsOf=rs.components;var cs=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new tt,a=!1;if(t){if(t.length>0&&m(t[0])&&!E(t[0])){a=!0;for(var o=[],s=new rt,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var B=e.length===i.length?i:new cs(a,e),F=0;F0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?_.emitAndNotify("remove"):t&&_.emit("remove"));for(var T=0;T=.001?function(t,r){for(var a=0;a0?i=l:r=l}while(Math.abs(s)>a&&++uh&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),fs=function(e,t,n,r){var i=ps(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},vs={linear:function(e,t,n){return e+(t-e)*n},ease:fs(.25,.1,.25,1),"ease-in":fs(.42,0,1,1),"ease-out":fs(0,0,.58,1),"ease-in-out":fs(.42,0,.58,1),"ease-in-sine":fs(.47,0,.745,.715),"ease-out-sine":fs(.39,.575,.565,1),"ease-in-out-sine":fs(.445,.05,.55,.95),"ease-in-quad":fs(.55,.085,.68,.53),"ease-out-quad":fs(.25,.46,.45,.94),"ease-in-out-quad":fs(.455,.03,.515,.955),"ease-in-cubic":fs(.55,.055,.675,.19),"ease-out-cubic":fs(.215,.61,.355,1),"ease-in-out-cubic":fs(.645,.045,.355,1),"ease-in-quart":fs(.895,.03,.685,.22),"ease-out-quart":fs(.165,.84,.44,1),"ease-in-out-quart":fs(.77,0,.175,1),"ease-in-quint":fs(.755,.05,.855,.06),"ease-out-quint":fs(.23,1,.32,1),"ease-in-out-quint":fs(.86,0,.07,1),"ease-in-expo":fs(.95,.05,.795,.035),"ease-out-expo":fs(.19,1,.22,1),"ease-in-out-expo":fs(1,0,0,1),"ease-in-circ":fs(.6,.04,.98,.335),"ease-out-circ":fs(.075,.82,.165,1),"ease-in-out-circ":fs(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return vs.linear;var r=gs(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":fs};function ys(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function ms(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function bs(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=ms(e,i),s=ms(t,i);if(b(o)&&b(s))return ys(a,o,s,n,r);if(y(o)&&y(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=vs[h].apply(null,d)):o.easingImpl=vs[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var v=o.startPosition,y=o.position;if(y&&i&&!e.locked()){var m={};ws(v.x,y.x)&&(m.x=bs(v.x,y.x,p,g)),ws(v.y,y.y)&&(m.y=bs(v.y,y.y,p,g)),e.position(m)}var b=o.startPan,x=o.pan,w=a.pan,E=null!=x&&r;E&&(ws(b.x,x.x)&&(w.x=bs(b.x,x.x,p,g)),ws(b.y,x.y)&&(w.y=bs(b.y,x.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(ws(_,T)&&(a.zoom=Mt(a.minZoom,bs(_,T,p,g),a.maxZoom)),e.emit("zoom")),(E||D)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var N=0;N=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Es(0,h,e),xs(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Ts={animate:Wi.animate(),animation:Wi.animation(),animated:Wi.animated(),clearQueue:Wi.clearQueue(),delay:Wi.delay(),delayAnimation:Wi.delayAnimation(),stop:Wi.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){_s(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){_s(n,e),t()}))}()}}},Ds={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&E(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Cs=function(e){return f(e)?new Ia(e):e},Ns={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Ao(Ds,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Cs(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Cs(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},once:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};Wi.eventAliasesOn(Ns);var As={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};As.jpeg=As.jpg;var Ls={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=f(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(z({},e,{cy:t,eles:n}));Ve("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ve("A `name` must be specified to make a layout");else Ve("Layout options must be specified to make a layout")}};Ls.createLayout=Ls.makeLayout=Ls.layout;var ks={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Is.invalidateDimensions=Is.resize;var Ms={collection:function(e,t){return f(e)?this.$(e):w(e)?e.collection():y(e)?(t||(t={}),new cs(this,e,t.unique,t.removed)):new cs(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};Ms.elements=Ms.filter=Ms.$;var Os={},Ps="t";Os.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f1&&(v=1),s.color){var E=i.valueMin[0],_=i.valueMax[0],T=i.valueMin[1],D=i.valueMax[1],C=i.valueMin[2],N=i.valueMax[2],A=null==i.valueMin[3]?1:i.valueMin[3],L=null==i.valueMax[3]?1:i.valueMax[3],k=[Math.round(E+(_-E)*v),Math.round(T+(D-T)*v),Math.round(C+(N-C)*v),Math.round(A+(L-A)*v)];n={bypass:i.bypass,name:i.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!s.number)return!1;var S=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,S,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var I=i.field.split("."),M=h.data,O=0;O0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},Os.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Os.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},Os.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||("curve-style"!==t||"bezier"!==n&&"bezier"!==r)&&("display"!==t||"none"!==n&&"none"!==r)||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},Os.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Rs={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?a.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var l=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){je("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=l[0];var u=l[1];if("core"!==u&&new Ia(u).invalid)je("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var c=l[2],h=!1;n=c;for(var d=[];!n.match(/^\s*$/);){var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){je("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),h=!0;break}r=p[0];var g=p[1],f=p[2];this.properties[g]?i.parse(g,f)?(d.push({name:g,val:f}),s()):(je("Skipping property: Invalid property definition in: "+r),s()):(je("Skipping property: Invalid property name in: "+r),s())}if(h){o();break}i.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var m=this.parse(e,c[5]);if(!m||m.mapped)return!1;if(g.pfValue===m.pfValue||g.strValue===m.strValue)return je("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var x=g.value,w=m.value;if(!(x[0]!==w[0]||x[1]!==w[1]||x[2]!==w[2]||x[3]!==w[3]&&(null!=x[3]&&1!==x[3]||null!=w[3]&&1!==w[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:m.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var E;if(E=l?t.split(/\s+/):y(t)?t:[t],h.evenMultiple&&E.length%2!=0)return null;for(var _=[],T=[],D=[],C="",N=!1,A=0;A0?" ":"")+k.strValue}return h.validate&&!h.validate(_,T)?null:h.singleEnum&&N?1===_.length&&f(_[0])?{name:e,value:_[0],strValue:_[0],bypass:n}:null:{name:e,value:_,pfValue:D,strValue:C,bypass:n,units:T}}var S,I,O=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var z={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?z.pfValue=t:z.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(z.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(z.pfValue="rad"===P?t:(S=t,Math.PI*S/180)),"%"===P&&(z.pfValue=t/100),z}if(h.propList){var Y=[],X=""+t;if("none"===X);else{for(var V=X.split(/\s*,\s*|\s+/),U=0;U0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:a)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),b(e)?n=e:m(e)&&(n=e.level,null!=e.position?t=Et(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;b(l.x)&&(t.pan.x=l.x,o=!1),b(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(f(e)){var n=e;e=this.mutableElements().filter(n)}else w(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.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 e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=l.getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};qs.centre=qs.center,qs.autolockNodes=qs.autolock,qs.autoungrabifyNodes=qs.autoungrabify;var Hs={data:Wi.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Hs.attr=Hs.data,Hs.removeAttr=Hs.removeData;var Ws=function(e){var t=this,n=(e=z({},e)).container;n&&!x(n)&&x(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==l&&void 0!==n&&!e.headless,o=e;o.layout=z({name:a?"grid":"null"},o.layout),o.renderer=z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},u=this._private={container:n,ready:!1,options:o,elements:new cs(this),listeners:[],aniEles:new cs(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:b(o.zoom)?o.zoom:1,pan:{x:m(o.pan)&&b(o.pan.x)?o.pan.x:0,y:m(o.pan)&&b(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});u.styleEnabled&&t.setStyle([]);var c=z({},o,o.renderer);t.initRenderer(c);!function(e,t){if(e.some(N))return _r.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];u.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(m(e)||y(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),u.ready=!0,v(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(w(n.roots))e=n.roots;else if(y(n.roots)){for(var c=[],h=0;h0;){var I=L.shift(),M=A(I,k);if(M)I.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===M){je("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}N();var O=0;if(n.avoidOverlap)for(var P=0;P0&&b[0].length<=3?l/2:0),h=2*Math.PI/b[r].length*i;return 0===r&&1===b[0].length&&(c=1),{x:W+c*Math.cos(h),y:$+c*Math.sin(h)}}return{x:W+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var tl={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(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function nl(e){this.options=z({},tl,e)}nl.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),c=0,h=0;h1&&t.avoidOverlap){c*=1.75;var f=Math.cos(u)-Math.cos(0),v=Math.sin(u)-Math.sin(0),y=Math.sqrt(c*c/(f*f+v*v));o=Math.max(y,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*u*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l.x+a,y:l.y+s}})),this};var rl,il={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(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function al(e){this.options=z({},il,e)}al.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=[],u=0,c=0;c0&&Math.abs(y[0].value-b.value)>=f&&(y=[],v.push(y)),y.push(b)}var x=u+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,E=(Math.min(o.w,o.h)/2-x)/(v.length+w?1:0);x=Math.min(x,E)}for(var _=0,T=0;T1&&t.avoidOverlap){var A=Math.cos(N)-Math.cos(0),L=Math.sin(N)-Math.sin(0),k=Math.sqrt(x*x/(A*A+L*L));_=Math.max(k,_)}D.r=_,_+=x}if(t.equidistant){for(var S=0,I=0,M=0;M=e.numIter||(gl(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Cl(r,e),s())}();else{for(;u;)u=o(l),l++;Cl(r,e),s()}return this},sl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},sl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ll=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},o=n.eles.components(),s={},l=0;l0)for(a.graphSet.push(w),l=0;lr.count?0:r.graph},cl=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(f=Math.sqrt(i*i+a*a)),l=u*a/f;else{var u,c=bl(e,i,a),h=bl(t,-1*i,-1*a),d=h.x-c.x,p=h.y-c.y,g=d*d+p*p,f=Math.sqrt(g);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/g)*d/f,l=u*p/f}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},ml=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},bl=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},xl=function(e,t){for(var n=0;n1){var g=t.gravity*h/p,f=t.gravity*d/p;c.offsetX+=g,c.offsetY+=f}}}}},El=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Dl=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Nl={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(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Al(e){this.options=z({},Nl,e)}Al.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(S=0,k++)},M={},O=0;O(r=qt(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=jt(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),_=[{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(w=0;w<_.length;w++){var T=_[w],D=s.arrowShapes[n.pstyle(T.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(D.roughCollide(e,t,E,T.angle,{x:T.x,y:T.y},C,d)&&D.collide(e,t,E,T.angle,{x:T.x,y:T.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Je(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),_=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},T=_(f,m),D=_(f,x),C=_(y,m),N=_(y,x),A=[T.x+d,T.y+p,C.x+d,C.y+p,N.x+d,N.y+p,D.x+d,D.y+p];if(Ht(e,t,A))return v(n),!0}else if(Gt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r),c=Ot({x1:e=o,y1:t=l,x2:n=s,y2:r=u}),h=0;h0?Math.max(e-t,0):Math.min(e+t,0)},N=C(T,E),A=C(D,_),L=!1;"auto"===v?f=Math.abs(N)>Math.abs(A)?i:r:v===l||v===s?(f=r,L=!0):v!==a&&v!==o||(f=i,L=!0);var k,S=f===r,I=S?A:N,M=S?D:T,O=Nt(M),P=!1;L&&(m||x)||!(v===s&&M<0||v===l&&M>0||v===a&&M>0||v===o&&M<0)||(I=(O*=-1)*Math.abs(I),P=!0);var R=function(e){return Math.abs(e)=Math.abs(I)},B=R(k=m?(b<0?1+b:b)*I:(b<0?I:0)+b*O),F=R(Math.abs(I)-Math.abs(k));if(!B&&!F||P)if(S){var z=u.y1+k+(g?h/2*O:0),G=u.x1,Y=u.x2;n.segpts=[G,z,Y,z]}else{var X=u.x1+k+(g?c/2*O:0),V=u.y1,U=u.y2;n.segpts=[X,V,X,U]}else if(S){var j=Math.abs(M)<=h/2,q=Math.abs(T)<=d/2;if(j){var H=(u.x1+u.x2)/2,W=u.y1,$=u.y2;n.segpts=[H,W,H,$]}else if(q){var K=(u.y1+u.y2)/2,Z=u.x1,Q=u.x2;n.segpts=[Z,K,Q,K]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(M)<=c/2,ee=Math.abs(D)<=p/2;if(J){var te=(u.y1+u.y2)/2,ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else if(ee){var ie=(u.x1+u.x2)/2,ae=u.y1,oe=u.y2;n.segpts=[ie,ae,ie,oe]}else n.segpts=[u.x2,u.y1]}},Xl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!b(n.startX)||!b(n.startY),d=!b(n.arrowStartX)||!b(n.arrowStartY),p=!b(n.endX)||!b(n.endY),g=!b(n.arrowEndX)||!b(n.arrowEndY),f=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=At({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_0){var X=u,V=Lt(X,Tt(t)),U=Lt(X,Tt(Y)),j=V;U2&&Lt(X,{x:Y[2],y:Y[3]})0){var ie=c,ae=Lt(ie,Tt(t)),oe=Lt(ie,Tt(re)),se=ae;oe2&&Lt(ie,{x:re[2],y:re[3]})=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,_=s?x.t0+E*w:x.t1-E*w;_=Mt(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Mt(0,r-.001,1),a=Mt(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return $l(o,s)}(b.p0,b.p1,b.p2,_);break;case"straight":case"segments":case"haystack":for(var T,D,C,N,A=0,L=r.allpts.length,k=0;k+3=u));k+=2);var S=(u-D)/T;S=Mt(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=At(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(C,N,S),i=$l(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Hl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Hl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Je(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;et(n.rstyle,"labelWidth",t,h),et(n.rscratch,"labelWidth",t,h),et(n.rstyle,"labelHeight",t,d),et(n.rscratch,"labelHeight",t,d),et(n.rscratch,"labelLineHeight",t,c)},Hl.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(et(n.rscratch,e,t,r),r):Je(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,d=[],p=/[\s\u200b]+/,g=h?"":" ",f=0;fc){for(var b=v.split(p),x="",w=0;wT);N++)D+=i[N],N===i.length-1&&(C=!0);return C||(D+="…"),D}return i},Hl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Hl.calculateLabelDimensions=function(e,t){var n=Ie(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,g=t.split("\n"),f=0;f1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var N=r(t);v&&(e.hoverData.tapholdCancelled=!0);a=!0,n(f,["mousemove","vmousemove","tapdrag"],t,{x:h[0],y:h[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:h[0],y:h[1]}}),g[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:h[0],y:h[1]}};m?m.emit(L):o.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&f===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:h[0],y:h[1]}}),e.hoverData.cxtOver=f,f&&f.emit({originalEvent:t,type:"cxtdragover",position:{x:h[0],y:h[1]}}))}}else if(e.hoverData.dragging){if(a=!0,o.panningEnabled()&&o.userPanningEnabled()){var k;if(e.hoverData.justStartedPan){var S=e.hoverData.mdownPos;k={x:(h[0]-S[0])*s,y:(h[1]-S[1])*s},e.hoverData.justStartedPan=!1}else k={x:x[0]*s,y:x[1]*s};o.panBy(k),o.emit("dragpan"),e.hoverData.dragged=!0}h=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=g[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||f==y||(y&&n(y,["mouseout","tapdragout"],t,{x:h[0],y:h[1]}),f&&n(f,["mouseover","tapdragover"],t,{x:h[0],y:h[1]}),e.hoverData.last=f),m)if(v){if(o.boxSelectionEnabled()&&N)m&&m.grabbed()&&(c(E),m.emit("freeon"),E.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),E.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var I=!e.dragData.didDrag;I&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||l(E,{inDragLayer:!0});var M={x:0,y:0};if(b(x[0])&&b(x[1])&&(M.x+=x[0],M.y+=x[1],I)){var O=e.hoverData.dragDelta;O&&b(O[0])&&b(O[1])&&(M.x+=O[0],M.y+=O[1])}e.hoverData.draggingEles=!0,E.silentShift(M).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[1])}();a=!0}else v&&(e.hoverData.dragging||!o.boxSelectionEnabled()||!N&&o.panningEnabled()&&o.userPanningEnabled()?!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&i(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,g[4]=0,e.data.bgActivePosistion=Tt(d),e.redrawHint("select",!0),e.redraw()):A(),m&&m.pannable()&&m.active()&&m.unactivate());return g[2]=h[0],g[3]=h[1],a?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(window,"mouseup",(function(i){if(e.hoverData.capture){e.hoverData.capture=!1;var a=e.cy,o=e.projectIntoViewport(i.clientX,i.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,h=e.hoverData.down,d=r(i);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,h&&h.unactivate(),3===e.hoverData.which){var p={originalEvent:i,type:"cxttapend",position:{x:o[0],y:o[1]}};if(h?h.emit(p):a.emit(p),!e.hoverData.cxtDragged){var g={originalEvent:i,type:"cxttap",position:{x:o[0],y:o[1]}};h?h.emit(g):a.emit(g)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(n(l,["mouseup","tapend","vmouseup"],i,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(n(h,["click","tap","vclick"],i,{x:o[0],y:o[1]}),m=!1,i.timeStamp-x<=a.multiClickDebounceTime()?(y&&clearTimeout(y),m=!0,x=null,n(h,["dblclick","dbltap","vdblclick"],i,{x:o[0],y:o[1]})):(y=setTimeout((function(){m||n(h,["oneclick","onetap","voneclick"],i,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=i.timeStamp)),null!=h||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||r(i)||(a.$(t).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=h||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):d||(a.$(t).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var f=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),f.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:i,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||d||a.$(t).unmerge(f).unselect(),f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=h&&h.grabbed();c(u),v&&(h.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(h.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var E,_,T,D,C,N,A,L,k,S,I,M,O,P=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",P,!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||P(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var R,B,F,z,G,Y,X,V=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},U=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",R=function(t){if(e.hasTouchStarted=!0,w(t)){d(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var s=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=s[0],i[1]=s[1]}if(t.touches[1]&&(s=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),i[2]=s[0],i[3]=s[1]),t.touches[2]&&(s=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),i[4]=s[0],i[5]=s[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,c(e.dragData.touchDragEles);var h=e.findContainerClientCoords();k=h[0],S=h[1],I=h[2],M=h[3],E=t.touches[0].clientX-k,_=t.touches[0].clientY-S,T=t.touches[1].clientX-k,D=t.touches[1].clientY-S,O=0<=E&&E<=I&&0<=T&&T<=I&&0<=_&&_<=M&&0<=D&&D<=M;var p=r.pan(),g=r.zoom();C=V(E,_,T,D),N=U(E,_,T,D),L=[((A=[(E+T)/2,(_+D)/2])[0]-p.x)/g,(A[1]-p.y)/g];if(N<4e4&&!t.touches[2]){var f=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=f):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):r.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])r.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=y,e.nodeIsGrabbable(m))){var b=e.dragData.touchDragEles=r.collection(),x=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(x=r.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),l(x,{addToList:b})):u(m,{addToList:b}),o(m);var P=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(P("grabon")),x?x.forEach((function(e){e.emit(P("grab"))})):m.emit(P("grab"))}n(m,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==m&&(e.data.bgActivePosistion={x:s[0],y:s[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||n(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var R=e.touchData.startPosition=[],B=0;B=e.touchTapThreshold2}if(r&&e.touchData.cxt){t.preventDefault();var A=t.touches[0].clientX-k,I=t.touches[0].clientY-S,M=t.touches[1].clientX-k,P=t.touches[1].clientY-S,R=U(A,I,M,P);if(R/N>=2.25||R>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):o.emit(B)}}if(r&&e.touchData.cxt){B={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):o.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(r&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.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),e.redrawHint("select",!0),e.redraw();else if(r&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var z=0;z0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(window,"touchcancel",F=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",z=function(r){var i=e.touchData.start;if(e.touchData.capture){0===r.touches.length&&(e.touchData.capture=!1),r.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,h=e.touchData.earlier;if(r.touches[0]){var d=e.projectIntoViewport(r.touches[0].clientX,r.touches[0].clientY);u[0]=d[0],u[1]=d[1]}if(r.touches[1]&&(d=e.projectIntoViewport(r.touches[1].clientX,r.touches[1].clientY),u[2]=d[0],u[3]=d[1]),r.touches[2]&&(d=e.projectIntoViewport(r.touches[2].clientX,r.touches[2].clientY),u[4]=d[0],u[5]=d[1]),i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:r,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:r,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!r.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var g=s.collection(e.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,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:r,position:{x:u[0],y:u[1]}});g.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),g.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),r.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(r.touches[1]);else if(r.touches[0]);else if(!r.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;c(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),f.emit("dragfree"))),n(i,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),n(i,["tap","vclick"],r,{x:u[0],y:u[1]}),G=!1,r.timeStamp-X<=s.multiClickDebounceTime()?(Y&&clearTimeout(Y),G=!0,X=null,n(i,["dbltap","vdblclick"],r,{x:u[0],y:u[1]})):(Y=setTimeout((function(){G||n(i,["onetap","voneclick"],r,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=r.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var A=[u[0],u[1]],L=Math.pow(A[0]-e,2)+Math.pow(A[1]-t,2),k=1;k0)return f[0]}return null},d=Object.keys(c),p=0;p0?l:Xt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=sn(r,i),l=2*s;if(Wt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Wt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!Ht(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Zt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Zt(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(4,0)),e.square=e.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",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var r=new Array(20),i=on(5,0),a=on(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*su)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())}),i(t))}}},uu=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;t(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&Ve("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new rt,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tt,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),cu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),du=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=hu(t);z(n,r),n.lookup=new uu(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},pu=du.prototype;pu.reasons=cu,pu.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},pu.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},pu.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new lt((function(e,t){return t.reqs-e.reqs}))},pu.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},pu.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Ct(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||h>1024)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidthr;N--)D=a.getElement(e,t,n,N,cu.downscale);C()}else{var A;if(!x&&!w&&!E)for(var L=r-1;L>=-4;L--){var k=l.get(e,L);if(k){A=k;break}}if(b(A))return a.queueElement(e,r),A;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+8),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},pu.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},pu.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},pu.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Ze(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qe(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Ze(r,a),n.push(a),a}},pu.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},pu.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,cu.dequeue)}}return i},pu.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=Fe,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},pu.onDequeue=function(e){this.onDequeues.push(e)},pu.offDequeue=function(e){Ze(this.onDequeues,e)},pu.setupDequeueing=lu({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ze(c,o)}}();var h=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=Ot();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var d=null,p=e.length/1,g=!a,f=0;f=p||!Yt(d.bb,v.boundingBox()))&&!(d=h({insert:!0,after:d})))return null;s||g?r.queueLayer(d,v):r.drawEleInLayer(d,v,n,t),d.eles.push(v),m[n]=d}}return s||(g?null:c)},fu.getEleLevelForLayerLevel=function(e,t){return e},fu.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,true),i.setImgSmoothing(a,!0))},fu.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},fu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},fu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},fu.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ze(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var b=t.pstyle("ghost-offset-x").pfValue,x=t.pstyle("ghost-offset-y").pfValue,w=t.pstyle("ghost-opacity").value,E=f*w;e.translate(b,x),y(E),m(E),e.translate(-b,-x)}i&&o.drawEdgeUnderlay(e,t),y(),m(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},Mu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};Iu.drawEdgeOverlay=Mu("overlay"),Iu.drawEdgeUnderlay=Mu("underlay"),Iu.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},Pu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},Pu.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Je(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},Pu.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Je(a,"labelX",n),c=Je(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Je(a,"labelWidth",n),f=Je(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,_=t.pstyle("text-border-width").pfValue,T=t.pstyle("text-background-padding").pfValue;if(w>0||_>0&&E>0){var D=u-T;switch(b){case"left":D-=g;break;case"center":D-=g/2}var C=c-f-T,N=g+2*T,A=f+2*T;if(w>0){var L=e.fillStyle,k=t.pstyle("text-background-color").value;e.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+w*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}(e,D,C,N,A,2):e.fillRect(D,C,N,A),e.fillStyle=L}if(_>0&&E>0){var S=e.strokeStyle,I=e.lineWidth,M=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=_/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(D,C,N,A),"double"===O){var P=_/2;e.strokeRect(D+P,C+P,N-2*P,A-2*P)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=S}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var B=Je(a,"labelWrapCachedLines",n),F=Je(a,"labelLineHeight",n),z=g/2,G=this.getLabelJustification(t);switch("auto"===G||("left"===b?"left"===G?u+=-g:"center"===G&&(u+=-z):"center"===b?"left"===G?u+=-z:"right"===G&&(u+=z):"right"===b&&("center"===G?u+=z:"right"===G&&(u+=g))),x){case"top":case"center":case"bottom":c-=(B.length-1)*F}for(var Y=0;Y0&&e.strokeText(B[Y],u,c),e.fillText(B[Y],u,c),c+=F}else R>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var Ru={drawNode:function(e,t,n){var r,i,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],l=this,u=t._private,c=u.rscratch,h=t.position();if(b(h.x)&&b(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,x=new Array(m.length),w=new Array(m.length),E=0,_=0;_0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},O=t.pstyle("shape").strValue,P=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var R=l.nodePathCache=l.nodePathCache||[],B=Me("polygon"===O?O+","+P.join(","):O,""+i,""+r),F=R[B];null!=F?(d=F,v=!0,c.pathCache=d):(d=new Path2D,R[B]=c.pathCache=d)}var z=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i)}f?e.fill(d):e.fill()},G=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i)))},X=function(){var t=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},V=function(){if(N>0){if(e.lineWidth=N,e.lineCap="butt",e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(d):e.stroke(),"double"===k){e.lineWidth=N/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue,q=t.pstyle("ghost-opacity").value,H=q*g;e.translate(U,j),I(q*A),z(),G(H,!0),M(q*S),V(),Y(0!==C||0!==N),G(H,!1),X(H),e.translate(-U,-j)}f&&e.translate(-h.x,-h.y),o&&l.drawNodeUnderlay(e,t,h,r,i),f&&e.translate(h.x,h.y),I(),z(),G(g,!0),M(),V(),Y(0!==C||0!==N),G(g,!1),X(),f&&e.translate(-h.x,-h.y),l.drawElementText(e,t,null,a),o&&l.drawNodeOverlay(e,t,h,r,i),n&&e.translate(p.x1,p.y1)}}},Bu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o),t.fill()}}}};Ru.drawNodeOverlay=Bu("overlay"),Ru.drawNodeUnderlay=Bu("underlay"),Ru.hasPie=function(e){return(e=e[0])._private.hasPie},Ru.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};var Fu={};Fu.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Fu.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},_={zoom:b,pan:{x:w.x,y:w.y}},T=o.prevViewport;void 0===T||_.zoom!==T.zoom||_.pan.x!==T.pan.x||_.pan.y!==T.pan.y||f&&!g||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var D=o.getCachedZSortedEles();function C(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function N(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,h):t||void 0!==r&&!r||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.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:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var L=u.contexts[o.NODE],k=o.textureCache.texture;_=o.textureCache.viewport,L.setTransform(1,0,0,1,0,0),d?C(L,0,0,_.width,_.height):L.clearRect(0,0,_.width,_.height);var S=m.core("outside-texture-bg-color").value,I=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],I),L.fillRect(0,0,_.width,_.height),b=l.zoom(),N(L,!1),L.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),L.drawImage(k,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var M=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var B=d&&!R[o.NODE]&&1!==p;N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.nondrag,s,M):o.drawLayeredElements(L,D.nondrag,s,M),o.debug&&o.drawDebugPoints(L,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])&&(B=d&&!R[o.DRAG]&&1!==p,N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.drag,s,M):o.drawCachedElements(L,D.drag,s,M),o.debug&&o.drawDebugPoints(L,D.drag),n||d||(c[o.DRAG]=!1)),o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(N(L=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var F=m.core("selection-box-border-width").value/b;L.lineWidth=F,L.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",L.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),F>0&&(L.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",L.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){b=o.cy.zoom();var z=u.bgActivePosistion;L.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",L.beginPath(),L.arc(z.x,z.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),L.fill()}var G=o.lastRedrawTime;if(o.showFps&&G){G=Math.round(G);var Y=Math.round(1e3/G);L.setTransform(1,0,0,1,0,0),L.fillStyle="rgba(255, 0, 0, 0.75)",L.strokeStyle="rgba(255, 0, 0, 0.75)",L.lineWidth=1,L.fillText("1 frame = "+G+" ms = "+Y+" fps",0,20);L.strokeRect(0,30,250,20),L.fillRect(0,30,250*Math.min(Y/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],V=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=u.contexts[o.DRAG],j=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],q=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(q(X,V,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(q(U,j,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(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,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")};for(var zu={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},qu.png=function(e){return Wu(e,this.bufferCanvasImage(e),"image/png")},qu.jpg=function(e){return Wu(e,this.bufferCanvasImage(e),"image/jpeg")};var $u=Zu,Ku=Zu.prototype;function Zu(e){var t=this;t.data={canvases:new Array(Ku.CANVAS_LAYERS),contexts:new Array(Ku.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Ku.CANVAS_LAYERS),bufferCanvases:new Array(Ku.BUFFER_COUNT),bufferContexts:new Array(Ku.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;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"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;st&&(this.rect.x-=(this.labelWidth-t)/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==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-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 r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.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()},e.exports=u},function(e,t,n){function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r},function(e,t,n){var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i-1&&c>-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(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d},function(e,t,n){var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.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,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,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(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(ia)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(ra?(n[0]=c,n[1]=h,_=!0):(n[0]=u,n[1]=l,_=!0):D===N&&(r>a?(n[0]=s,n[1]=l,_=!0):(n[0]=d,n[1]=h,_=!0)),-C===N?a>r?(n[2]=m,n[3]=b,T=!0):(n[2]=y,n[3]=v,T=!0):C===N&&(a>r?(n[2]=f,n[3]=v,T=!0):(n[2]=x,n[3]=b,T=!0)),_&&T)return!1;if(r>a?i>o?(A=this.getCardinalDirection(D,N,4),L=this.getCardinalDirection(C,N,2)):(A=this.getCardinalDirection(-D,N,3),L=this.getCardinalDirection(-C,N,1)):i>o?(A=this.getCardinalDirection(-D,N,1),L=this.getCardinalDirection(-C,N,3)):(A=this.getCardinalDirection(D,N,2),L=this.getCardinalDirection(C,N,4)),!_)switch(A){case 1:S=l,k=r+-g/N,n[0]=k,n[1]=S;break;case 2:k=d,S=i+p*N,n[0]=k,n[1]=S;break;case 3:S=h,k=r+g/N,n[0]=k,n[1]=S;break;case 4:k=c,S=i+-p*N,n[0]=k,n[1]=S}if(!T)switch(L){case 1:M=v,I=a+-E/N,n[2]=I,n[3]=M;break;case 2:I=x,M=o+w*N,n[2]=I,n[3]=M;break;case 3:M=b,I=a+E/N,n[2]=I,n[3]=M;break;case 4:I=m,M=o+-w*N,n[2]=I,n[3]=M}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r},function(e,t,n){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i0){for(var i=this.edgeToDummyNodes.get(n),a=0;a=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d},function(e,t,n){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r},function(e,t,n){var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i},function(e,t,n){var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;ui.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement=s.length||u>=s[0].length))for(var c=0;ce}}]),e}();e.exports=a},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n{n.d(t,{Z:()=>o});var r=n(5971),i=n(1767);const a=e=>(e=>{const{r:t,g:n,b:a}=i.Z.parse(e),o=.2126*r.Z.channel.toLinear(t)+.7152*r.Z.channel.toLinear(n)+.0722*r.Z.channel.toLinear(a);return r.Z.lang.round(o)})(e)>=.5,o=e=>!a(e)},7926:(e,t,n)=>{n.d(t,{diagram:()=>A});var r=n(3110),i=n(4309),a=n(1188),o=n(211),s=n(1377),l=n(4607),u=n(6500),c=n(2281),h=n(7201),d=(n(7856),n(7484),n(7967),n(1898),function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],l=[6,7,8],u=[1,26],c=[1,24],h=[1,25],d=[6,7,11],p=[1,6,13,15,16,19,22],g=[1,33],f=[1,34],v=[1,6,7,11,13,15,16,19,22],y={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(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace("Icon: ",a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:u,7:c,10:23,11:h},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:c,10:32,11:h},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(p,[2,14],{7:g,11:f}),e(v,[2,8]),e(v,[2,9]),e(v,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:g,11:f}),e(v,[2,11]),e(v,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=[0],n=[],r=[null],i=[],a=this.table,o="",s=0,l=0,u=i.slice.call(arguments,1),c=Object.create(this.lexer),h={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(h.yy[d]=this.yy[d]);c.setInput(e,h.yy),h.yy.lexer=c,h.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var p=c.yylloc;i.push(p);var g=c.options&&c.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,v,y,m,b,x,w,E,_,T={};;){if(v=t[t.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==f&&(_=void 0,"number"!=typeof(_=n.pop()||c.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),f=_),y=a[v]&&a[v][f]),void 0===y||!y.length||!y[0]){var D;for(b in E=[],a[v])this.terminals_[b]&&b>2&&E.push("'"+this.terminals_[b]+"'");D=c.showPosition?"Parse error on line "+(s+1)+":\n"+c.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(D,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:p,expected:E})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:t.push(f),r.push(c.yytext),i.push(c.yylloc),t.push(y[1]),f=null,l=c.yyleng,o=c.yytext,s=c.yylineno,p=c.yylloc;break;case 2:if(x=this.productions_[y[1]][1],T.$=r[r.length-x],T._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},g&&(T._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[o,l,s,h.yy,y[1],r,i].concat(u))))return m;x&&(t=t.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[y[1]][0]),r.push(T.$),i.push(T._$),w=a[t[t.length-2]][t[t.length-1]],t.push(w);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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 i=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===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===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(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.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,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function b(){this.yy={}}return y.lexer=m,b.prototype=y,y.Parser=b,new b}());d.parser=d;const p=d,g=e=>(0,r.b)(e,(0,r.g)());let f=[],v=0,y={};const m={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},b=(e,t)=>{y[e]=t},x=e=>{switch(e){case m.DEFAULT:return"no-border";case m.RECT:return"rect";case m.ROUNDED_RECT:return"rounded-rect";case m.CIRCLE:return"circle";case m.CLOUD:return"cloud";case m.BANG:return"bang";case m.HEXAGON:return"hexgon";default:return"no-border"}};let w;const E=e=>y[e],_=Object.freeze(Object.defineProperty({__proto__:null,addNode:(e,t,n,i)=>{r.l.info("addNode",e,t,n,i);const a=(0,r.g)(),o={id:v++,nodeId:g(t),level:e,descr:g(n),type:i,children:[],width:(0,r.g)().mindmap.maxNodeWidth};switch(o.type){case m.ROUNDED_RECT:case m.RECT:case m.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(e){for(let t=f.length-1;t>=0;t--)if(f[t].level{f=[],v=0,y={}},decorateNode:e=>{const t=f[f.length-1];e&&e.icon&&(t.icon=g(e.icon)),e&&e.class&&(t.class=g(e.class))},getElementById:E,getLogger:()=>r.l,getMindmap:()=>f.length>0?f[0]:null,getNodeById:e=>f[e],getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return m.RECT;case"(":return")"===t?m.ROUNDED_RECT:m.CLOUD;case"((":return m.CIRCLE;case")":return m.CLOUD;case"))":return m.BANG;case"{{":return m.HEXAGON;default:return m.DEFAULT}},nodeType:m,get parseError(){return w},sanitizeText:g,setElementForId:b,setErrorHandler:e=>{w=e},type2Str:x},Symbol.toStringTag,{value:"Module"}));function T(e,t,n,r){(function(e,t,n,r){const i=r.htmlLabels,a=n%11,s=e.append("g");t.section=a;let l="section-"+a;a<0&&(l+=" section-root"),s.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+l);const u=s.append("g"),c=s.append("g"),h=t.descr.replace(/()/g,"\n");(0,o.c)(c,h,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const d=c.node().getBBox(),p=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(t.height=d.height+1.1*p*.5+t.padding,t.width=d.width+2*t.padding,t.icon)if(t.type===m.CIRCLE)t.height+=50,t.width+=50,s.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+a+" "+t.icon),c.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const e=t.height;t.height=Math.max(e,60);const n=Math.abs(t.height-e);s.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+a+" "+t.icon),c.attr("transform","translate("+(25+t.width/2)+", "+(n/2+t.padding/2)+")")}else if(i){const e=(t.width-d.width)/2,n=(t.height-d.height)/2;c.attr("transform","translate("+e+", "+n+")")}else{const e=t.width/2,n=t.padding/2;c.attr("transform","translate("+e+", "+n+")")}switch(t.type){case m.DEFAULT:!function(e,t,n){e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(u,t,a);break;case m.ROUNDED_RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)}(u,t);break;case m.RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("height",t.height).attr("width",t.width)}(u,t);break;case m.CIRCLE:u.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),function(e,t){e.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("r",t.width/2)}(u,t);break;case m.CLOUD:!function(e,t){const n=t.width,r=t.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("d",`M0 0 a${i},${i} 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${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(u,t);break;case m.BANG:!function(e,t){const n=t.width,r=t.height,i=.15*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+x(t.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(u,t);break;case m.HEXAGON:!function(e,t){const n=t.height,r=n/4,i=t.width-t.padding+2*r;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(e,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t)}(u,t)}b(t.id,s),t.height})(e,t,n,r),t.children&&t.children.forEach(((t,i)=>{T(e,t,n<0?i:n,r)}))}function D(e,t,n,r){t.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{D(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function C(e,t){return new Promise((n=>{const a=(0,i.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),o=s({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),D(e,o,t,0),o.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),o.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),o.ready((e=>{r.l.info("Ready",e),n(o)}))}))}s.use(l);const N={draw:async(e,t,n,o)=>{const s=(0,r.g)();s.htmlLabels=!1,o.db.clear(),o.parser.parse(e),r.l.debug("Rendering mindmap diagram\n"+e,o.parser);const l=(0,r.g)().securityLevel;let u;"sandbox"===l&&(u=(0,i.Ys)("#i"+t));const c=("sandbox"===l?(0,i.Ys)(u.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select("#"+t);c.append("g");const h=o.db.getMindmap(),d=c.append("g");d.attr("class","mindmap-edges");const p=c.append("g");p.attr("class","mindmap-nodes"),T(p,h,-1,s);const g=await C(h,s);!function(e,t){t.edges().map(((t,n)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;r.l.trace("Edge: ",n,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(d,g),function(e){e.nodes().map(((e,t)=>{const n=e.data();n.x=e.position().x,n.y=e.position().y,function(e){const t=E(e.id),n=e.x||0,r=e.y||0;t.attr("transform","translate("+n+","+r+")")}(n);const i=E(n.nodeId);r.l.info("Id:",t,"Position: (",e.position().x,", ",e.position().y,")",n),i.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),i.attr("attr",`apa-${t})`)}))}(g),(0,a.s)(void 0,c,s.mindmap.padding,s.mindmap.useMaxWidth)}},A={db:_,renderer:N,parser:p,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;t{i.d(t,{diagram:()=>N});var r=i(3110),n=i(6848),s=i(4309),a=i(9451),c=i(5625),o=i(1188),l=(i(7856),i(7484),i(7967),function(){var e=function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},t=[1,3],i=[1,5],r=[1,6],n=[1,7],s=[1,8],a=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],c=[1,22],o=[2,13],l=[1,26],h=[1,27],u=[1,28],d=[1,29],y=[1,30],p=[1,31],_=[1,24],g=[1,32],E=[1,33],R=[1,36],m=[71,72],f=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],I=[1,56],b=[1,57],S=[1,58],k=[1,59],T=[1,60],N=[1,61],v=[1,62],x=[62,63],A=[1,74],q=[1,70],$=[1,71],O=[1,72],w=[1,73],C=[1,75],D=[1,79],L=[1,80],F=[1,77],M=[1,78],P=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],V={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(e,t,i,r,n,s,a){var c=s.length-1;switch(n){case 6:this.$=s[c].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=s[c].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(s[c],"type_directive");break;case 11:s[c]=s[c].trim().replace(/'/g,'"'),r.parseDirective(s[c],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(s[c-3],s[c-4]);break;case 20:r.setNewReqId(s[c-2]);break;case 21:r.setNewReqText(s[c-2]);break;case 22:r.setNewReqRisk(s[c-2]);break;case 23:r.setNewReqVerifyMethod(s[c-2]);break;case 26:this.$=r.RequirementType.REQUIREMENT;break;case 27:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=r.RiskLevel.LOW_RISK;break;case 33:this.$=r.RiskLevel.MED_RISK;break;case 34:this.$=r.RiskLevel.HIGH_RISK;break;case 35:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=r.VerifyType.VERIFY_TEST;break;case 39:r.addElement(s[c-3]);break;case 40:r.setNewElementType(s[c-2]);break;case 41:r.setNewElementDocRef(s[c-2]);break;case 44:r.addRelationship(s[c-2],s[c],s[c-4]);break;case 45:r.addRelationship(s[c-2],s[c-4],s[c]);break;case 46:this.$=r.Relationships.CONTAINS;break;case 47:this.$=r.Relationships.COPIES;break;case 48:this.$=r.Relationships.DERIVES;break;case 49:this.$=r.Relationships.SATISFIES;break;case 50:this.$=r.Relationships.VERIFIES;break;case 51:this.$=r.Relationships.REFINES;break;case 52:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:i,16:r,18:n,19:s},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(a,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[2,2]},{4:21,5:c,7:17,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{11:34,12:[1,35],22:R},e([12,22],[2,10]),e(a,[2,6]),e(a,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:c,7:38,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:39,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:40,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:41,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:42,8:o,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:l,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(m,[2,26]),e(m,[2,27]),e(m,[2,28]),e(m,[2,29]),e(m,[2,30]),e(m,[2,31]),e(f,[2,55]),e(f,[2,56]),e(a,[2,4]),{13:51,21:[1,52]},e(a,[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:I,65:b,66:S,67:k,68:T,69:N,70:v},{61:63,64:I,65:b,66:S,67:k,68:T,69:N,70:v},{11:64,22:R},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(x,[2,46]),e(x,[2,47]),e(x,[2,48]),e(x,[2,49]),e(x,[2,50]),e(x,[2,51]),e(x,[2,52]),{63:[1,68]},e(a,[2,5]),{5:A,29:69,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:76,56:F,58:M},{32:81,71:g,72:E},{32:82,71:g,72:E},e(P,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:A,29:87,30:q,33:$,35:O,37:w,39:C},e(P,[2,25]),e(P,[2,39]),{31:[1,88]},{31:[1,89]},{5:D,39:L,55:90,56:F,58:M},e(P,[2,43]),e(P,[2,44]),e(P,[2,45]),{32:91,71:g,72:E},{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]},e(P,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(P,[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:A,29:116,30:q,33:$,35:O,37:w,39:C},{5:A,29:117,30:q,33:$,35:O,37:w,39:C},{5:A,29:118,30:q,33:$,35:O,37:w,39:C},{5:A,29:119,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:120,56:F,58:M},{5:D,39:L,55:121,56:F,58:M},e(P,[2,20]),e(P,[2,21]),e(P,[2,22]),e(P,[2,23]),e(P,[2,40]),e(P,[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(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=[0],i=[],r=[null],n=[],s=this.table,a="",c=0,o=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(e,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var p=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,g,E,R,m,f,I,b,S,k={};;){if(g=t[t.length-1],this.defaultActions[g]?E=this.defaultActions[g]:(null==_&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),_=S),E=s[g]&&s[g][_]),void 0===E||!E.length||!E[0]){var T;for(m in b=[],s[g])this.terminals_[m]&&m>2&&b.push("'"+this.terminals_[m]+"'");T=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:y,expected:b})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+_);switch(E[0]){case 1:t.push(_),r.push(h.yytext),n.push(h.yylloc),t.push(E[1]),_=null,o=h.yyleng,a=h.yytext,c=h.yylineno,y=h.yylloc;break;case 2:if(f=this.productions_[E[1]][1],k.$=r[r.length-f],k._$={first_line:n[n.length-(f||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(f||1)].first_column,last_column:n[n.length-1].last_column},p&&(k._$.range=[n[n.length-(f||1)].range[0],n[n.length-1].range[1]]),void 0!==(R=this.performAction.apply(k,[a,o,c,u.yy,E[1],r,n].concat(l))))return R;f&&(t=t.slice(0,-1*f*2),r=r.slice(0,-1*f),n=n.slice(0,-1*f)),t.push(this.productions_[E[1]][0]),r.push(k.$),n.push(k._$),I=s[t[t.length-2]][t[t.length-1]],t.push(I);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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 e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in n)this[s]=n[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),s=0;st[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[r]))&&e:""===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(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,i,r){switch(i){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 t.yytext=t.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 U(){this.yy={}}return V.lexer=Y,U.prototype=V,V.Parser=U,new U}());l.parser=l;const h=l;let u=[],d={},y={},p={},_={};const g={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(e,t,i){n.m.parseDirective(this,e,t,i)},getConfig:()=>(0,r.g)().req,addRequirement:(e,t)=>(void 0===y[e]&&(y[e]={name:e,type:t,id:d.id,text:d.text,risk:d.risk,verifyMethod:d.verifyMethod}),d={},y[e]),getRequirements:()=>y,setNewReqId:e=>{void 0!==d&&(d.id=e)},setNewReqText:e=>{void 0!==d&&(d.text=e)},setNewReqRisk:e=>{void 0!==d&&(d.risk=e)},setNewReqVerifyMethod:e=>{void 0!==d&&(d.verifyMethod=e)},setAccTitle:r.o,getAccTitle:r.p,setAccDescription:r.v,getAccDescription:r.q,addElement:e=>(void 0===_[e]&&(_[e]={name:e,type:p.type,docRef:p.docRef},r.l.info("Added new requirement: ",e)),p={},_[e]),getElements:()=>_,setNewElementType:e=>{void 0!==p&&(p.type=e)},setNewElementDocRef:e=>{void 0!==p&&(p.docRef=e)},addRelationship:(e,t,i)=>{u.push({type:e,src:t,dst:i})},getRelationships:()=>u,clear:()=>{u=[],d={},y={},p={},_={},(0,r.y)()}},E={CONTAINS:"contains",ARROW:"arrow"},R=E;let m={},f=0;const I=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",m.rect_min_width+"px").attr("height",m.rect_min_height+"px"),b=(e,t,i)=>{let r=m.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",m.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",.75*m.line_height).text(e),s++}));let a=1.5*m.rect_padding+s*m.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",m.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},S=(e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",m.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach((e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0})),a.forEach((e=>{n.append("tspan").attr("x",m.rect_padding).attr("dy",m.line_height).text(e)})),n},k=e=>e.replace(/\s/g,"").replace(/\./g,"_"),T={draw:(e,t,i,n)=>{m=(0,r.g)().requirement,n.db.clear(),n.parser.parse(e);const l=m.securityLevel;let h;"sandbox"===l&&(h=(0,s.Ys)("#i"+t));const u=("sandbox"===l?(0,s.Ys)(h.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id='${t}']`);((e,t)=>{let i=e.append("defs").append("marker").attr("id",E.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",E.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(u,m);const d=new c.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:m.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let y=n.db.getRequirements(),p=n.db.getElements(),_=n.db.getRelationships();var g,T,N;g=y,T=d,N=u,Object.keys(g).forEach((e=>{let t=g[e];e=k(e),r.l.info("Added new requirement: ",e);const i=N.append("g").attr("id",e),n=I(i,"req-"+e);let s=b(i,e+"_title",[`<<${t.type}>>`,`${t.name}`]);S(i,e+"_body",[`Id: ${t.id}`,`Text: ${t.text}`,`Risk: ${t.risk}`,`Verification: ${t.verifyMethod}`],s.y);const a=n.node().getBBox();T.setNode(e,{width:a.width,height:a.height,shape:"rect",id:e})})),((e,t,i)=>{Object.keys(e).forEach((r=>{let n=e[r];const s=k(r),a=i.append("g").attr("id",s),c="element-"+s,o=I(a,c);let l=b(a,c+"_title",["<>",`${r}`]);S(a,c+"_body",[`Type: ${n.type||"Not Specified"}`,`Doc Ref: ${n.docRef||"None"}`],l.y);const h=o.node().getBBox();t.setNode(s,{width:h.width,height:h.height,shape:"rect",id:s})}))})(p,d,u),((e,t)=>{e.forEach((function(e){let i=k(e.src),r=k(e.dst);t.setEdge(i,r,{relationship:e})}))})(_,d),(0,a.bK)(d),function(e,t){t.nodes().forEach((function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))}))}(u,d),_.forEach((function(e){!function(e,t,i,n,a){const c=i.edge(k(t.src),k(t.dst)),o=(0,s.jvg)().x((function(e){return e.x})).y((function(e){return e.y})),l=e.insert("path","#"+n).attr("class","er relationshipLine").attr("d",o(c.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?l.attr("marker-start","url("+r.e.getUrl(m.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(l.attr("stroke-dasharray","10,7"),l.attr("marker-end","url("+r.e.getUrl(m.arrowMarkerAbsolute)+"#"+R.ARROW+"_line_ending)")),((e,t,i,r)=>{const n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+f;f++;const c=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-c.width/2).attr("y",s.y-c.height/2).attr("width",c.width).attr("height",c.height).attr("fill","white").attr("fill-opacity","85%")})(e,l,0,`<<${t.type}>>`)}(u,e,d,t,n)}));const v=m.rect_padding,x=u.node().getBBox(),A=x.width+2*v,q=x.height+2*v;(0,o.k)(u,q,A,m.useMaxWidth),u.attr("viewBox",`${x.x-v} ${x.y-v} ${A} ${q}`)}},N={parser:h,db:g,renderer:T,styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 100%;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}; \ No newline at end of file diff --git a/themes/daux/js/948.mjs b/themes/daux/js/948.mjs new file mode 100644 index 00000000..557eda63 --- /dev/null +++ b/themes/daux/js/948.mjs @@ -0,0 +1 @@ +export const id=948;export const ids=[948];export const modules={2948:(t,e,n)=>{n.d(e,{diagram:()=>A});var i=n(9360),s=n(7274),r=n(8770),a=(n(7484),n(7967),n(7856),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],s=[1,15],r=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,20],h=[1,24],u=[4,6,9,11,17,18,20,22,23,24,26],y={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,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 3:case 7:case 8:this.$=[];break;case 4:r[o-1].push(r[o]),this.$=r[o-1];break;case 5:case 6:this.$=r[o];break;case 11:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 16:i.addTask(r[o-1],r[o]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(r[o],"type_directive");break;case 20:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"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:s,18:r,20:a,22:o,23:c,24:l,26:n},{1:[2,2]},{14:22,15:[1,23],29:h},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:s,18:r,20:a,22:o,23:c,24:l,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(u,[2,9]),{14:32,29:h},{29:[2,20]},{11:[1,33]},t(u,[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=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,x,m,k,_,b,v,$,w={};;){if(g=e[e.length-1],this.defaultActions[g]?x=this.defaultActions[g]:(null==f&&($=void 0,"number"!=typeof($=n.pop()||h.lex()||1)&&($ instanceof Array&&($=(n=$).pop()),$=this.symbols_[$]||$),f=$),x=r[g]&&r[g][f]),void 0===x||!x.length||!x[0]){var M;for(k in v=[],r[g])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");M=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:v})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(x[0]){case 1:e.push(f),i.push(h.yytext),s.push(h.yylloc),e.push(x[1]),f=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(_=this.productions_[x[1]][1],w.$=i[i.length-_],w._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[a,c,o,u.yy,x[1],i,s].concat(l))))return m;_&&(e=e.slice(0,-1*_*2),i=i.slice(0,-1*_),s=s.slice(0,-1*_)),e.push(this.productions_[x[1]][0]),i.push(w.$),s.push(w._$),b=r[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},p={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 s=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=[s[0],s[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,s;if(this.options.backtrack_lexer&&(s={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&&(s.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 r in s)this[r]=s[r];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 s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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(){return this.next()||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 d(){this.yy={}}return y.lexer=p,d.prototype=y,y.Parser=d,new d}());a.parser=a;const o=a;let c="";const l=[],h=[],u=[],y=function(){let t=!0;for(const[e,n]of u.entries())u[e].processed,t=t&&n.processed;return t},p={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().journey,clear:function(){l.length=0,h.length=0,c="",u.length=0,(0,i.v)()},setDiagramTitle:i.r,getDiagramTitle:i.t,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){c=t,l.push(t)},getSections:function(){return l},getTasks:function(){let t=y(),e=0;for(;!t&&e<100;)t=y(),e++;return h.push(...u),h},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,s=[];1===n.length?(i=Number(n[0]),s=[]):(i=Number(n[0]),s=n[1].split(","));const r=s.map((t=>t.trim())),a={section:c,type:c,people:r,task:t,score:i};u.push(a)},addTaskOrg:function(t){const e={section:c,type:c,description:t,task:t,classes:[]};h.push(e)},getActors:function(){return function(){const t=[];return h.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},d=function(t,e){return(0,r.d)(t,e)},f=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};let g=-1;const x=function(){function t(t,e,n,s,r,a,o,c){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,c,l){const{taskFontSize:h,taskFontFamily:u}=c,y=t.split(//gi);for(let t=0;t3?function(t){const n=(0,s.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,s.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.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")}(a,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=(0,r.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,d(a,o);let c=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:c,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};f(a,i),c+=10})),x(n)(e.task,a,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},v={},$=(0,i.c)().journey,w=$.leftMargin,M={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,s){const r=(0,i.c)().journey,a=this;let o=0;this.sequenceItems.forEach((function(i){o++;const c=a.sequenceItems.length-o+1;a.updateVal(i,"starty",e-c*r.boxMargin,Math.min),a.updateVal(i,"stopy",s+c*r.boxMargin,Math.max),a.updateVal(M.data,"startx",t-c*r.boxMargin,Math.min),a.updateVal(M.data,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(i,"startx",t-c*r.boxMargin,Math.min),a.updateVal(i,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(M.data,"starty",e-c*r.boxMargin,Math.min),a.updateVal(M.data,"stopy",s+c*r.boxMargin,Math.max)}))},insert:function(t,e,n,i){const s=Math.min(t,n),r=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(M.data,"startx",s,Math.min),this.updateVal(M.data,"starty",a,Math.min),this.updateVal(M.data,"stopx",r,Math.max),this.updateVal(M.data,"stopy",o,Math.max),this.updateBounds(s,a,r,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},E=$.sectionFills,S=$.sectionColours,T={setConf:function(t){Object.keys(t).forEach((function(e){$[e]=t[e]}))},draw:function(t,e,n,r){const a=(0,i.c)().journey,o=(0,i.c)().securityLevel;let c;"sandbox"===o&&(c=(0,s.Ys)("#i"+e));const l="sandbox"===o?(0,s.Ys)(c.nodes()[0].contentDocument.body):(0,s.Ys)("body");M.init();const h=l.select("#"+e);h.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");const u=r.db.getTasks(),y=r.db.getDiagramTitle(),p=r.db.getActors();for(const t in v)delete v[t];let d=0;p.forEach((t=>{v[t]={color:a.actorColours[d%a.actorColours.length],position:d},d++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(v).forEach((i=>{const s=v[i].color,r={cx:20,cy:n,r:7,fill:s,stroke:"#000",pos:v[i].position};m(t,r);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};_(t,a),n+=20}))}(h),M.insert(0,0,w,50*Object.keys(v).length),function(t,e,n){const s=(0,i.c)().journey;let r="";const a=n+(2*s.height+s.diagramMarginY);let o=0,c="#CCC",l="black",h=0;for(const[n,i]of e.entries()){if(r!==i.section){c=E[o%E.length],h=o%E.length,l=S[o%S.length];let a=0;const u=i.section;for(let t=n;t(v[e]&&(t[e]=v[e]),t)),{});i.x=n*s.taskMargin+n*s.width+w,i.y=a,i.width=s.diagramMarginX,i.height=s.diagramMarginY,i.colour=l,i.fill=c,i.num=h,i.actors=u,b(t,i,s),M.insert(i.x,i.y,i.x+i.width+s.taskMargin,450)}}(h,u,0);const f=M.getBounds();y&&h.append("text").text(y).attr("x",w).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=f.stopy-f.starty+2*a.diagramMarginY,x=w+f.stopx+2*a.diagramMarginX;(0,i.i)(h,g,x,a.useMaxWidth),h.append("line").attr("x1",w).attr("y1",4*a.height).attr("x2",x-w-4).attr("y2",4*a.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const $=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+$}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+$+25)}},A={parser:o,db:p,renderer:T,styles: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`,init:t=>{T.setConf(t.journey),p.clear()}}},8770:(t,e,n)=>{n.d(e,{a:()=>r,b:()=>c,c:()=>o,d:()=>s,e:()=>h,f:()=>a,g:()=>l});var i=n(7967);const s=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},r=function(t,e){s(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()},a=function(t,e){const n=e.text.replace(//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 s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(n),i},o=function(t,e,n,s){const r=t.append("image");r.attr("x",e),r.attr("y",n);var a=(0,i.Nm)(s);r.attr("xlink:href",a)},c=function(t,e,n,s){const r=t.append("use");r.attr("x",e),r.attr("y",n);const a=(0,i.Nm)(s);r.attr("xlink:href","#"+a)},l=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}; \ No newline at end of file diff --git a/themes/daux/js/958.mjs b/themes/daux/js/958.mjs new file mode 100644 index 00000000..5796fbdb --- /dev/null +++ b/themes/daux/js/958.mjs @@ -0,0 +1 @@ +export const id=958;export const ids=[958];export const modules={3349:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(6225);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},6225:(e,t,n)=>{n.d(t,{$p:()=>d,O1:()=>a,WR:()=>p,bF:()=>o,bg:()=>c});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},3958:(e,t,n)=>{n.d(t,{diagram:()=>s});var r=n(5384),l=(n(5625),n(7274));n(9360),n(3402),n(3688),n(870),n(9451),n(6225),n(3349),n(6749),n(6446),n(3032),l.c_6;var o=n(8580);n(7484),n(7967),n(7856),n(9368);const a={},s={parser:r.p,db:r.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]}(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},8580:(e,t,n)=>{n.d(t,{a:()=>g,f:()=>u});var r=n(5625),l=n(7274),o=n(9360),a=n(2724),s=n(3349),i=n(5971),c=n(1767);const d=(e,t)=>i.Z.lang.round(c.Z.parse(e)[t]);var p=n(1117);const b={},f=function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,s.a)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let f=0,w="";switch(r.type){case"round":f=5,w="rect";break;case"square":case"group":default:w="rect";break;case"diamond":w="question";break;case"hexagon":w="hexagon";break;case"odd":case"odd_right":w="rect_left_inv_arrow";break;case"lean_right":w="lean_right";break;case"lean_left":w="lean_left";break;case"trapezoid":w="trapezoid";break;case"inv_trapezoid":w="inv_trapezoid";break;case"circle":w="circle";break;case"ellipse":w="ellipse";break;case"stadium":w="stadium";break;case"subroutine":w="subroutine";break;case"cylinder":w="cylinder";break;case"doublecircle":w="doublecircle"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:w,labelText:b,labelType:r.labelType,rx:f,ry:f,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:w,labelText:b,rx:f,ry:f,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}))},w=function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}e.forEach((function(n){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let d=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,d,i[c]);const p="LS-"+n.start,f="LE-"+n.end,w={style:"",labelStyle:""};switch(w.minlen=n.length||1,"arrow_open"===n.type?w.arrowhead="none":w.arrowhead="normal",w.arrowTypeStart="arrow_open",w.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":w.arrowTypeStart="arrow_cross";case"arrow_cross":w.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":w.arrowTypeStart="arrow_point";case"arrow_point":w.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":w.arrowTypeStart="arrow_circle";case"arrow_circle":w.arrowTypeEnd="arrow_circle"}let u="",g="";switch(n.stroke){case"normal":u="fill:none;",void 0!==r&&(u=r),void 0!==a&&(g=a),w.thickness="normal",w.pattern="solid";break;case"dotted":w.thickness="normal",w.pattern="dotted",w.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":w.thickness="thick",w.pattern="solid",w.style="stroke-width: 3.5px;fill:none;";break;case"invisible":w.thickness="invisible",w.pattern="solid",w.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);u=e.style,g=e.labelStyle}w.style=w.style+=u,w.labelStyle=w.labelStyle+=g,void 0!==n.interpolate?w.curve=(0,o.o)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?w.curve=(0,o.o)(e.defaultInterpolate,l.c_6):w.curve=(0,o.o)(b.curve,l.c_6),void 0===n.text?void 0!==n.style&&(w.arrowheadStyle="fill: #333"):(w.arrowheadStyle="fill: #333",w.labelpos="c"),w.labelType=n.labelType,w.label=n.text.replace(o.e.lineBreakRegex,"\n"),void 0===n.style&&(w.style=w.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),w.labelStyle=w.labelStyle.replace("color:","fill:"),w.id=d,w.classes="flowchart-link "+p+" "+f,t.setEdge(n.start,n.end,w,s)}))},u={setConf:function(e){const t=Object.keys(e);for(const n of t)b[n]=e[n]},addVertices:f,addEdges:w,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),p=d.nodeSpacing||50,b=d.rankSpacing||50;let u;"sandbox"===c&&(u=(0,l.Ys)("#i"+t));const g="sandbox"===c?(0,l.Ys)(u.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h="sandbox"===c?u.nodes()[0].contentDocument:document,y=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:p,ranksep:b,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((e,t)=>{const n=d,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return p.Z(r,l,o,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.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: ${e.textColor};\n }\n`}}; \ No newline at end of file diff --git a/themes/daux/js/964.mjs b/themes/daux/js/964.mjs deleted file mode 100644 index 1ecb0e81..00000000 --- a/themes/daux/js/964.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=964;export const ids=[964];export const modules={6964:(e,t,s)=>{s.d(t,{diagram:()=>L});var o=s(1341),r=s(5625),i=s(4309),a=s(3110),n=s(2566),d=s(1188);s(7856),s(7484),s(9451),s(9368),s(1898),s(7967);const l="rect",c="rectWithTitle",p="statediagram",g=`${p}-state`,b="transition",h=`${b} note-edge`,u=`${p}-note`,y=`${p}-cluster`,f=`${p}-cluster-alt`,x="parent",m="note",w="----",$=`${w}${m}`,T=`${w}${x}`,S="fill:none",D="fill: #333",k="text",v="normal";let A={},B=0;function E(e="",t=0,s="",o=w){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const R=(e,t,s,r,i,n)=>{const d=s.id,p=null==(b=r[d])?"":b.classes?b.classes.join(" "):"";var b;if("root"!==d){let t=l;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.a&&(t=s.type),A[d]||(A[d]={id:d,shape:t,description:a.e.sanitizeText(d,(0,a.g)()),classes:`${p} ${g}`});const r=A[d];s.description&&(Array.isArray(r.description)?(r.shape=c,r.description.push(s.description)):r.description.length>0?(r.shape=c,r.description===d?r.description=[s.description]:r.description=[r.description,s.description]):(r.shape=l,r.description=s.description),r.description=a.e.sanitizeTextOrArray(r.description,(0,a.g)())),1===r.description.length&&r.shape===c&&(r.shape=l),!r.type&&s.doc&&(a.l.info("Setting cluster for ",d,N(s)),r.type="group",r.dir=N(s),r.shape=s.type===o.b?"divider":"roundedWithTitle",r.classes=r.classes+" "+y+" "+(n?f:""));const i={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:d,dir:r.dir,domId:E(d,B),type:r.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:u,style:"",id:d+$+"-"+B,domId:E(d,B,m),type:r.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:r.classes,style:"",id:d+T,domId:E(d,B,x),type:"group",padding:0};B++;const a=d+T;e.setNode(a,o),e.setNode(t.id,t),e.setNode(d,i),e.setParent(d,a),e.setParent(t.id,a);let n=d,l=t.id;"left of"===s.note.position&&(n=t.id,l=d),e.setEdge(n,l,{arrowhead:"none",arrowType:"",style:S,labelStyle:"",classes:h,arrowheadStyle:D,labelpos:"c",labelType:k,thickness:v})}else e.setNode(d,i)}t&&"root"!==t.id&&(a.l.trace("Setting node ",d," to be child of its parent ",t.id),e.setParent(d,t.id)),s.doc&&(a.l.trace("Adding nodes children "),V(e,s,s.doc,r,i,!n))},V=(e,t,s,r,i,n)=>{a.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.c:case o.a:R(e,t,s,r,i,n);break;case o.S:{R(e,t,s.state1,r,i,n),R(e,t,s.state2,r,i,n);const o={id:"edge"+B,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:S,labelStyle:"",label:a.e.sanitizeText(s.description,(0,a.g)()),arrowheadStyle:D,labelpos:"c",labelType:k,thickness:v,classes:b};e.setEdge(s.state1.id,s.state2.id,o,B),B++}}}))},N=(e,t=o.e)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}; \ No newline at end of file diff --git a/themes/daux/js/99.mjs b/themes/daux/js/99.mjs deleted file mode 100644 index 7cd8799a..00000000 --- a/themes/daux/js/99.mjs +++ /dev/null @@ -1 +0,0 @@ -export const id=99;export const ids=[99];export const modules={8099:(t,e,r)=>{r.d(e,{a:()=>c,b:()=>B,c:()=>h,d:()=>N,e:()=>M,f:()=>P,g:()=>I,h:()=>H,i:()=>b,l:()=>p,p:()=>E,s:()=>T,u:()=>g});var a=r(3110),i=r(4309),n=r(211),s=r(6848),l=r(7657),d=r(1188);const o={extension:(t,e,r)=>{a.l.trace("Making markers for ",r),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")}},c=(t,e,r,a)=>{e.forEach((e=>{o[e](t,r,a)}))},h=(t,e,r,n)=>{let l=t||"";if("object"==typeof l&&(l=l[0]),(0,a.k)((0,a.g)().flowchart.htmlLabels)){return l=l.replace(/\\n|\n/g,"
    "),a.l.info("vertexText"+l),function(t){const e=(0,i.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,n=t.isNode?"nodeLabel":"edgeLabel";var s;return r.html('"+a+""),(s=t.labelStyle)&&r.attr("style",s),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:n,label:(0,s.d)(l).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let a=[];a="string"==typeof l?l.split(/\\n|\n|/gi):Array.isArray(l)?l:[];for(const e of a){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},p=(t,e,r,l)=>{let d;const o=e.useHtmlLabels||(0,a.k)((0,a.g)().flowchart.htmlLabels);d=r||"node default";const c=t.insert("g").attr("class",d).attr("id",e.domId||e.id),p=c.insert("g").attr("class","label").attr("style",e.labelStyle);let g;g=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const y=p.node();let f;f="markdown"===e.labelType?(0,n.c)(p,(0,a.b)((0,s.d)(g),(0,a.g)()),{useHtmlLabels:o,width:e.width||(0,a.g)().flowchart.wrappingWidth,classes:"markdown-node-label"}):y.appendChild(h((0,a.b)((0,s.d)(g),(0,a.g)()),e.labelStyle,!1,l));let x=f.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=f.children[0],e=(0,i.Ys)(f);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}const u=e.padding/2;return o?p.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"):p.attr("transform","translate(0, "+-x.height/2+")"),e.centerLabel&&p.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:c,bbox:x,halfPadding:u,label:p}},g=(t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height};function y(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}function f(t,e,r,a){var i=t.x,n=t.y,s=i-a.x,l=n-a.y,d=Math.sqrt(e*e*l*l+r*r*s*s),o=Math.abs(e*r*s/d);a.x0}const b=(t,e)=>{var r,a,i=t.x,n=t.y,s=e.x-i,l=e.y-n,d=t.width/2,o=t.height/2;return Math.abs(l)*d>Math.abs(s)*o?(l<0&&(o=-o),r=0===l?0:o*s/l,a=o):(s<0&&(d=-d),r=d,a=0===s?0:d*l/s),{x:i+r,y:n+a}},w={node:function(t,e){return t.intersect(e)},circle:function(t,e,r){return f(t,e,e,r)},ellipse:f,polygon:function(t,e,r){var a=t.x,i=t.y,n=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var d=a-t.width/2-s,o=i-t.height/2-l,c=0;c1&&n.sort((function(t,e){var a=t.x-r.x,i=t.y-r.y,n=Math.sqrt(a*a+i*i),s=e.x-r.x,l=e.y-r.y,d=Math.sqrt(s*s+l*l);return n{const{shapeSvg:r,bbox:i}=p(t,e,void 0,!0),n=i.width+e.padding+(i.height+e.padding),s=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}];a.l.info("Question main (Circle)");const l=y(r,n,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return a.l.warn("Intersect called"),w.polygon(e,s,t)},r};function k(t,e,r,i){const n=[],s=t=>{n.push(t,0)},l=t=>{n.push(0,t)};e.includes("t")?(a.l.debug("add top border"),s(r)):l(r),e.includes("r")?(a.l.debug("add right border"),s(i)):l(i),e.includes("b")?(a.l.debug("add bottom border"),s(r)):l(r),e.includes("l")?(a.l.debug("add left border"),s(i)):l(i),t.attr("stroke-dasharray",n.join(" "))}const L=(t,e,r)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let i=70,n=10;"LR"===r&&(i=10,n=70);const s=a.append("rect").attr("x",-1*i/2).attr("y",-1*n/2).attr("width",i).attr("height",n).attr("class","fork-join");return g(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return w.rect(e,t)},a},v={rhombus:m,question:m,rect:(t,e)=>{const{shapeSvg:r,bbox:i,halfPadding:n}=p(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),l=i.width+e.padding,d=i.height+e.padding;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",l).attr("height",d),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(s,e.props.borders,l,d),t.delete("borders")),t.forEach((t=>{a.l.warn(`Unknown node property ${t}`)}))}return g(e,s),e.intersect=function(t){return w.rect(e,t)},r},labelRect:(t,e)=>{const{shapeSvg:r}=p(t,e,"label",!0);a.l.trace("Classes = ",e.classes);const i=r.insert("rect",":first-child");if(i.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(i,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{a.l.warn(`Unknown node property ${t}`)}))}return g(e,i),e.intersect=function(t){return w.rect(e,t)},r},rectWithTitle:(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";const n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=n.insert("rect",":first-child"),l=n.insert("line"),d=n.insert("g").attr("class","label"),o=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof o?o[0]:o,a.l.info("Label text abc79",c,o,"object"==typeof o);const p=d.node().appendChild(h(c,e.labelStyle,!0,!0));let y={width:0,height:0};if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=p.children[0],e=(0,i.Ys)(p);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}a.l.info("Text 2",o);const f=o.slice(1,o.length);let x=p.getBBox();const u=d.node().appendChild(h(f.join?f.join("
    "):f,e.labelStyle,!0,!0));if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=u.children[0],e=(0,i.Ys)(u);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}const b=e.padding/2;return(0,i.Ys)(u).attr("transform","translate( "+(y.width>x.width?0:(x.width-y.width)/2)+", "+(x.height+b+5)+")"),(0,i.Ys)(p).attr("transform","translate( "+(y.width{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].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 w.circle(e,14,t)},r},circle:(t,e)=>{const{shapeSvg:r,bbox:i,halfPadding:n}=p(t,e,void 0,!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("Circle main"),g(e,s),e.intersect=function(t){return a.l.info("Circle intersect",e,i.width/2+n,t),w.circle(e,i.width/2+n,t)},r},doublecircle:(t,e)=>{const{shapeSvg:r,bbox:i,halfPadding:n}=p(t,e,void 0,!0),s=r.insert("g",":first-child"),l=s.insert("circle"),d=s.insert("circle");return l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n+5).attr("width",i.width+e.padding+10).attr("height",i.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("DoubleCircle main"),g(e,l),e.intersect=function(t){return a.l.info("DoubleCircle intersect",e,i.width/2+n+5,t),w.circle(e,i.width/2+n+5,t)},r},stadium:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.height+e.padding,n=a.width+i/4+e.padding,s=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-n/2).attr("y",-i/2).attr("width",n).attr("height",i);return g(e,s),e.intersect=function(t){return w.rect(e,t)},r},hexagon:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.height+e.padding,n=i/4,s=a.width+2*n+e.padding,l=[{x:n,y:0},{x:s-n,y:0},{x:s,y:-i/2},{x:s-n,y:-i},{x:n,y:-i},{x:0,y:-i/2}],d=y(r,s,i,l);return d.attr("style",e.style),g(e,d),e.intersect=function(t){return w.polygon(e,l,t)},r},rect_left_inv_arrow:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:-n/2,y:0},{x:i,y:0},{x:i,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}];return y(r,i,n,s).attr("style",e.style),e.width=i+n,e.height=n,e.intersect=function(t){return w.polygon(e,s,t)},r},lean_right:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:-2*n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:n/6,y:-n}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},lean_left:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:2*n/6,y:0},{x:i+n/6,y:0},{x:i-2*n/6,y:-n},{x:-n/6,y:-n}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},trapezoid:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:-2*n/6,y:0},{x:i+2*n/6,y:0},{x:i-n/6,y:-n},{x:n/6,y:-n}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},inv_trapezoid:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:-2*n/6,y:-n}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},rect_right_inv_arrow:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:0,y:0},{x:i+n/2,y:0},{x:i,y:-n/2},{x:i+n/2,y:-n},{x:0,y:-n}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},cylinder:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=i/2,s=n/(2.5+i/50),l=a.height+s+e.padding,d="M 0,"+s+" a "+n+","+s+" 0,0,0 "+i+" 0 a "+n+","+s+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+n+","+s+" 0,0,0 "+i+" 0 l 0,"+-l,o=r.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",d).attr("transform","translate("+-i/2+","+-(l/2+s)+")");return g(e,o),e.intersect=function(t){const r=w.rect(e,t),a=r.x-e.x;if(0!=n&&(Math.abs(a)e.height/2-s)){let i=s*s*(1-a*a/(n*n));0!=i&&(i=Math.sqrt(i)),i=s-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},start:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),g(e,a),e.intersect=function(t){return w.circle(e,7,t)},r},end:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),g(e,i),e.intersect=function(t){return w.circle(e,7,t)},r},note:(t,e)=>{e.useHtmlLabels||(0,a.g)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:r,bbox:i,halfPadding:n}=p(t,e,"node "+e.classes,!0);a.l.info("Classes = ",e.classes);const s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),g(e,s),e.intersect=function(t){return w.rect(e,t)},r},subroutine:(t,e)=>{const{shapeSvg:r,bbox:a}=p(t,e,void 0,!0),i=a.width+e.padding,n=a.height+e.padding,s=[{x:0,y:0},{x:i,y:0},{x:i,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],l=y(r,i,n,s);return l.attr("style",e.style),g(e,l),e.intersect=function(t){return w.polygon(e,s,t)},r},fork:L,join:L,class_box:(t,e)=>{const r=e.padding/2;let n;n=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",n).attr("id",e.domId||e.id),d=s.insert("rect",":first-child"),o=s.insert("line"),c=s.insert("line");let p=0,y=4;const f=s.insert("g").attr("class","label");let x=0;const u=e.classData.annotations&&e.classData.annotations[0],b=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",m=f.node().appendChild(h(b,e.labelStyle,!0,!0));let k=m.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=m.children[0],e=(0,i.Ys)(m);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}e.classData.annotations[0]&&(y+=k.height+4,p+=k.width);let L=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,a.g)().flowchart.htmlLabels?L+="<"+e.classData.type+">":L+="<"+e.classData.type+">");const v=f.node().appendChild(h(L,e.labelStyle,!0,!0));(0,i.Ys)(v).attr("class","classTitle");let S=v.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=v.children[0],e=(0,i.Ys)(v);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}y+=S.height+4,S.width>p&&(p=S.width);const M=[];e.classData.members.forEach((t=>{const r=(0,l.p)(t);let n=r.displayText;(0,a.g)().flowchart.htmlLabels&&(n=n.replace(//g,">"));const s=f.node().appendChild(h(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let d=s.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=s.children[0],e=(0,i.Ys)(s);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>p&&(p=d.width),y+=d.height+4,M.push(s)})),y+=8;const T=[];if(e.classData.methods.forEach((t=>{const r=(0,l.p)(t);let n=r.displayText;(0,a.g)().flowchart.htmlLabels&&(n=n.replace(//g,">"));const s=f.node().appendChild(h(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let d=s.getBBox();if((0,a.k)((0,a.g)().flowchart.htmlLabels)){const t=s.children[0],e=(0,i.Ys)(s);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>p&&(p=d.width),y+=d.height+4,T.push(s)})),y+=8,u){let t=(p-k.width)/2;(0,i.Ys)(m).attr("transform","translate( "+(-1*p/2+t)+", "+-1*y/2+")"),x=k.height+4}let B=(p-S.width)/2;return(0,i.Ys)(v).attr("transform","translate( "+(-1*p/2+B)+", "+(-1*y/2+x)+")"),x+=S.height+4,o.attr("class","divider").attr("x1",-p/2-r).attr("x2",p/2+r).attr("y1",-y/2-r+8+x).attr("y2",-y/2-r+8+x),x+=8,M.forEach((t=>{(0,i.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*y/2+x+4)+")"),x+=S.height+4})),x+=8,c.attr("class","divider").attr("x1",-p/2-r).attr("x2",p/2+r).attr("y1",-y/2-r+8+x).attr("y2",-y/2-r+8+x),x+=8,T.forEach((t=>{(0,i.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*y/2+x)+")"),x+=S.height+4})),d.attr("class","outer title-state").attr("x",-p/2-r).attr("y",-y/2-r).attr("width",p+e.padding).attr("height",y+e.padding),g(e,d),e.intersect=function(t){return w.rect(e,t)},s}};let S={};const M=(t,e,r)=>{let i,n;if(e.link){let s;"sandbox"===(0,a.g)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),n=v[e.shape](i,e,r)}else n=v[e.shape](t,e,r),i=n;return e.tooltip&&n.attr("title",e.tooltip),e.class&&n.attr("class","node default "+e.class),S[e.id]=i,e.haveCallback&&S[e.id].attr("class",S[e.id].attr("class")+" clickable"),i},T=(t,e)=>{S[e.id]=t},B=()=>{S={}},E=t=>{const e=S[t.id];a.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r};let C={},Y={};const N=()=>{C={},Y={}},P=(t,e)=>{const r=(0,a.k)((0,a.g)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,n.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:r,addSvgBackground:!0}):h(e.label,e.labelStyle);a.l.info("abc82",e,e.labelType);const l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let o,c=s.getBBox();if(r){const t=s.children[0],e=(0,i.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),C[e.id]=l,e.width=c.width,e.height=c.height,e.startLabelLeft){const r=h(e.startLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),i=a.insert("g").attr("class","inner");o=i.node().appendChild(r);const n=r.getBBox();i.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startLeft=a,_(o,e.startLabelLeft)}if(e.startLabelRight){const r=h(e.startLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),i=a.insert("g").attr("class","inner");o=a.node().appendChild(r),i.node().appendChild(r);const n=r.getBBox();i.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startRight=a,_(o,e.startLabelRight)}if(e.endLabelLeft){const r=h(e.endLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),i=a.insert("g").attr("class","inner");o=i.node().appendChild(r);const n=r.getBBox();i.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),a.node().appendChild(r),Y[e.id]||(Y[e.id]={}),Y[e.id].endLeft=a,_(o,e.endLabelLeft)}if(e.endLabelRight){const r=h(e.endLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),i=a.insert("g").attr("class","inner");o=i.node().appendChild(r);const n=r.getBBox();i.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),a.node().appendChild(r),Y[e.id]||(Y[e.id]={}),Y[e.id].endRight=a,_(o,e.endLabelRight)}return s};function _(t,e){(0,a.g)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const H=(t,e)=>{a.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const i=C[t.id];let n=t.x,s=t.y;if(r){const i=d.u.calcLabelPosition(r);a.l.info("Moving label "+t.label+" from (",n,",",s,") to (",i.x,",",i.y,") abc78"),e.updatedPath&&(n=i.x,s=i.y)}i.attr("transform","translate("+n+", "+s+")")}if(t.startLabelLeft){const e=Y[t.id].startLeft;let a=t.x,i=t.y;if(r){const e=d.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);a=e.x,i=e.y}e.attr("transform","translate("+a+", "+i+")")}if(t.startLabelRight){const e=Y[t.id].startRight;let a=t.x,i=t.y;if(r){const e=d.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);a=e.x,i=e.y}e.attr("transform","translate("+a+", "+i+")")}if(t.endLabelLeft){const e=Y[t.id].endLeft;let a=t.x,i=t.y;if(r){const e=d.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);a=e.x,i=e.y}e.attr("transform","translate("+a+", "+i+")")}if(t.endLabelRight){const e=Y[t.id].endRight;let a=t.x,i=t.y;if(r){const e=d.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);a=e.x,i=e.y}e.attr("transform","translate("+a+", "+i+")")}},R=(t,e)=>{a.l.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach((t=>{if(a.l.info("abc88 checking point",t,e),((t,e)=>{const r=t.x,a=t.y,i=Math.abs(e.x-r),n=Math.abs(e.y-a),s=t.width/2,l=t.height/2;return i>=s||n>=l})(e,t)||n)a.l.warn("abc88 outside",t,i),i=t,n||r.push(t);else{const s=((t,e,r)=>{a.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const i=t.x,n=t.y,s=Math.abs(i-r.x),l=t.width/2;let d=r.xMath.abs(i-e.x)*o){let t=r.y{l=l||t.x===s.x&&t.y===s.y})),r.some((t=>t.x===s.x&&t.y===s.y))?a.l.warn("abc88 no intersect",s,r):r.push(s),n=!0}})),a.l.warn("abc88 returning points",r),r},I=function(t,e,r,n,s,l){let d=r.points,o=!1;const c=l.node(e.v);var h=l.node(e.w);a.l.info("abc88 InsertEdge: ",r),h.intersect&&c.intersect&&(d=d.slice(1,r.points.length-1),d.unshift(c.intersect(d[0])),a.l.info("Last point",d[d.length-1],h,h.intersect(d[d.length-1])),d.push(h.intersect(d[d.length-1]))),r.toCluster&&(a.l.info("to cluster abc88",n[r.toCluster]),d=R(r.points,n[r.toCluster].node),o=!0),r.fromCluster&&(a.l.info("from cluster abc88",n[r.fromCluster]),d=R(d.reverse(),n[r.fromCluster].node).reverse(),o=!0);const p=d.filter((t=>!Number.isNaN(t.y)));let g;g=("graph"===s||"flowchart"===s)&&r.curve||i.$0Z;const y=(0,i.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(g);let f;switch(r.thickness){case"normal":f="edge-thickness-normal";break;case"thick":case"invisible":f="edge-thickness-thick";break;default:f=""}switch(r.pattern){case"solid":f+=" edge-pattern-solid";break;case"dotted":f+=" edge-pattern-dotted";break;case"dashed":f+=" edge-pattern-dashed"}const x=t.append("path").attr("d",y(p)).attr("id",r.id).attr("class"," "+f+(r.classes?" "+r.classes:"")).attr("style",r.style);let u="";switch(((0,a.g)().flowchart.arrowMarkerAbsolute||(0,a.g)().state.arrowMarkerAbsolute)&&(u=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\(/g,"\\("),u=u.replace(/\)/g,"\\)")),a.l.info("arrowTypeStart",r.arrowTypeStart),a.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+u+"#"+s+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+u+"#"+s+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+u+"#"+s+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+u+"#"+s+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+u+"#"+s+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+u+"#"+s+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+u+"#"+s+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+u+"#"+s+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+u+"#"+s+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+u+"#"+s+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+u+"#"+s+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+u+"#"+s+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+u+"#"+s+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+u+"#"+s+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+u+"#"+s+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+u+"#"+s+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+u+"#"+s+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+u+"#"+s+"-lollipopEnd)")}let b={};return o&&(b.updatedPath=d),b.originalPath=r.points,b}},7657:(t,e,r)=>{r.d(e,{p:()=>l,s:()=>g});var a=r(4309),i=r(1188),n=r(3110);let s=0;const l=function(t){let e=t.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),r=t.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return e&&!r?d(e):r?o(r):c(t)},d=function(t){let e="",r="";try{let a=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",s=t[3]?(0,n.z)(t[3].trim()):"",l=t[4]?t[4].trim():"",d=t[5]?t[5].trim():"";r=a+i+s+" "+l,e=p(d)}catch(e){r=t}return{displayText:r,cssStyle:e}},o=function(t){let e="",r="";try{let a=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",s=t[3]?(0,n.z)(t[3].trim()):"",l=t[4]?t[4].trim():"";r=a+i+"("+s+")"+(t[5]?" : "+(0,n.z)(t[5]).trim():""),e=p(l)}catch(e){r=t}return{displayText:r,cssStyle:e}},c=function(t){let e="",r="",a="",i=t.indexOf("("),s=t.indexOf(")");if(i>1&&s>i&&s<=t.length){let l="",d="",o=t.substring(0,1);o.match(/\w/)?d=t.substring(0,i).trim():(o.match(/[#+~-]/)&&(l=o),d=t.substring(1,i).trim());const c=t.substring(i+1,s);t.substring(s+1,1),r=p(t.substring(s+1,s+2)),e=l+d+"("+(0,n.z)(c.trim())+")",s");const p=d.append("tspan").text(c).attr("class","title");o||p.attr("dy",r.textHeight);const g=d.node().getBBox().height,y=l.append("line").attr("x1",0).attr("y1",r.padding+g+r.dividerMargin/2).attr("y2",r.padding+g+r.dividerMargin/2),f=l.append("text").attr("x",r.padding).attr("y",g+r.dividerMargin+r.textHeight).attr("fill","white").attr("class","classText");o=!0,e.members.forEach((function(t){h(f,t,o,r),o=!1}));const x=f.node().getBBox(),u=l.append("line").attr("x1",0).attr("y1",r.padding+g+r.dividerMargin+x.height).attr("y2",r.padding+g+r.dividerMargin+x.height),b=l.append("text").attr("x",r.padding).attr("y",g+2*r.dividerMargin+x.height+r.textHeight).attr("fill","white").attr("class","classText");o=!0,e.methods.forEach((function(t){h(b,t,o,r),o=!1}));const w=l.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));const k=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*r.padding).attr("height",w.height+r.padding+.5*r.dividerMargin).attr("class",m).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)})),e.tooltip&&d.insert("title").text(e.tooltip),y.attr("x2",k),u.attr("x2",k),s.width=k,s.height=w.height+r.padding+.5*r.dividerMargin,s},drawEdge:function(t,e,r,l,d){const o=function(t){switch(t){case d.db.relationType.AGGREGATION:return"aggregation";case d.db.relationType.EXTENSION:return"extension";case d.db.relationType.COMPOSITION:return"composition";case d.db.relationType.DEPENDENCY:return"dependency";case d.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const c=e.points,h=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z),p=t.append("path").attr("d",h(c)).attr("id","edge"+s).attr("class","relation");let g,y,f="";l.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==r.relation.lineType&&p.attr("class","relation dashed-line"),10==r.relation.lineType&&p.attr("class","relation dotted-line"),"none"!==r.relation.type1&&p.attr("marker-start","url("+f+"#"+o(r.relation.type1)+"Start)"),"none"!==r.relation.type2&&p.attr("marker-end","url("+f+"#"+o(r.relation.type2)+"End)");const x=e.points.length;let u,b,w,m,k=i.u.calcLabelPosition(e.points);if(g=k.x,y=k.y,x%2!=0&&x>1){let t=i.u.calcCardinalityPosition("none"!==r.relation.type1,e.points,e.points[0]),a=i.u.calcCardinalityPosition("none"!==r.relation.type2,e.points,e.points[x-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(a)),u=t.x,b=t.y,w=a.x,m=a.y}if(void 0!==r.title){const e=t.append("g").attr("class","classLabel"),a=e.append("text").attr("class","label").attr("x",g).attr("y",y).attr("fill","red").attr("text-anchor","middle").text(r.title);window.label=a;const i=a.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",i.x-l.padding/2).attr("y",i.y-l.padding/2).attr("width",i.width+l.padding).attr("height",i.height+l.padding)}n.l.info("Rendering relation "+JSON.stringify(r)),void 0!==r.relationTitle1&&"none"!==r.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",b).attr("fill","black").attr("font-size","6").text(r.relationTitle1),void 0!==r.relationTitle2&&"none"!==r.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",w).attr("y",m).attr("fill","black").attr("font-size","6").text(r.relationTitle2),s++},drawNote:function(t,e,r,a){n.l.debug("Rendering note ",e,r);const i=e.id,s={id:i,text:e.text,width:0,height:0},l=t.append("g").attr("id",i).attr("class","classGroup");let d=l.append("text").attr("y",r.textHeight+r.padding).attr("x",0);const o=JSON.parse(`"${e.text}"`).split("\n");o.forEach((function(t){n.l.debug(`Adding line: ${t}`),d.append("tspan").text(t).attr("class","title").attr("dy",r.textHeight)}));const c=l.node().getBBox(),h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",c.width+2*r.padding).attr("height",c.height+o.length*r.textHeight+r.padding+.5*r.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),s.width=h,s.height=c.height+o.length*r.textHeight+r.padding+.5*r.dividerMargin,s},parseMember:l}}}; \ No newline at end of file diff --git a/themes/daux/js/katex.mjs b/themes/daux/js/katex.mjs index f76cf830..8cc1f315 100644 --- a/themes/daux/js/katex.mjs +++ b/themes/daux/js/katex.mjs @@ -1 +1 @@ -export const id=793;export const ids=[793];export const modules={1008:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Qa});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.position=void 0;var r,a="KaTeX parse error: "+e,n=t&&t.loc;if(n&&n.start<=n.end){var o=n.lexer.input;r=n.start;var s=n.end;r===o.length?a+=" at end of input: ":a+=" at position "+(r+1)+": ";var l=o.slice(r,s).replace(/[^]/g,"$&̲");a+=(r>15?"…"+o.slice(r-15,r):o.slice(0,r))+l+(s+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g,h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m=function(e,t){return-1!==e.indexOf(t)},c=function(e,t){return void 0===e?t:e},p=function(e){return String(e).replace(l,(e=>s[e]))},u=function(e){return e.replace(o,"-$1").toLowerCase()},d=h,g=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},v={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},v)if(v.hasOwnProperty(t)){var r=v[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:b(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}return!(!a||"ignore"===a||!0!==a&&"error"!==a&&("warn"===a?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=f(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class x{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return w[k[this.id]]}sub(){return w[S[this.id]]}fracNum(){return w[M[this.id]]}fracDen(){return w[z[this.id]]}cramp(){return w[A[this.id]]}text(){return w[T[this.id]]}isTight(){return this.size>=2}}var w=[new x(0,0,!1),new x(1,0,!0),new x(2,1,!1),new x(3,1,!0),new x(4,2,!1),new x(5,2,!0),new x(6,3,!1),new x(7,3,!0)],k=[4,5,4,5,6,7,6,7],S=[5,5,5,5,7,7,7,7],M=[2,3,4,5,6,7,6,7],z=[3,3,5,5,7,7,7,7],A=[1,1,3,3,5,5,7,7],T=[0,1,2,3,2,3,2,3],B={DISPLAY:w[0],TEXT:w[2],SCRIPT:w[4],SCRIPTSCRIPT:w[6]},N=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],q=[];function C(e){for(var t=0;t=q[t]&&e<=q[t+1])return!0;return!1}N.forEach((e=>e.blocks.forEach((e=>q.push(...e)))));var I={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class R{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var H={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},O={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},E={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function L(e,t,r){if(!H[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=H[t][a];if(!n&&e[0]in E&&(a=E[e[0]].charCodeAt(0),n=H[t][a]),n||"text"!==r||C(a)&&(n=H[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var D={},V=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],P=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F=function(e,t){return t.size<2?e:V[e-1][t.size-1]};class G{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||G.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=P[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new G(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:F(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:P[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=F(G.BASESIZE,e);return this.size===t&&this.textSize===G.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==G.BASESIZE?["sizing","reset-size"+this.size,"size"+G.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!D[t=e>=5?0:e>=3?1:2]){var r=D[t]={cssEmPerMu:O.quad[t]/18};for(var a in O)O.hasOwnProperty(a)&&(r[a]=O[a][t])}return D[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}G.BASESIZE=6;var U={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Y={ex:!0,em:!0,mu:!0},X=function(e){return"string"!=typeof e&&(e=e.unit),e in U||e in Y||"ex"===e},W=function(e,t){var r;if(e.unit in U)r=U[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},_=function(e){return+e.toFixed(4)+"em"},j=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},Z=function(e){var t=document.createElement(e);for(var r in t.className=j(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class J{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"span")}toMarkup(){return K.call(this,"span")}}class Q{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"a")}toMarkup(){return K.call(this,"a")}}class ee{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+""}}var te={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class re{constructor(e,t,r,a,n,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=te[this.text])}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=_(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=j(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=u(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+p(r)+'"');var n=p(this.text);return e?(t+=">",t+=n,t+=""):n}}class ae{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r"}}class ne{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",I[this.pathName]),e}toMarkup(){return this.alternate?"":""}}class ie{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=""}}function oe(e){if(e instanceof re)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var se={bin:1,close:1,inner:1,open:1,punct:1,rel:1},le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},he={math:{},text:{}};function me(e,t,r,a,n,i){he[e][n]={font:t,group:r,replace:a},i&&a&&(he[e][a]=he[e][n])}var ce="math",pe="text",ue="main",de="ams",ge="accent-token",fe="bin",ve="close",be="inner",ye="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";me(ce,ue,Se,"≡","\\equiv",!0),me(ce,ue,Se,"≺","\\prec",!0),me(ce,ue,Se,"≻","\\succ",!0),me(ce,ue,Se,"∼","\\sim",!0),me(ce,ue,Se,"⊥","\\perp"),me(ce,ue,Se,"⪯","\\preceq",!0),me(ce,ue,Se,"⪰","\\succeq",!0),me(ce,ue,Se,"≃","\\simeq",!0),me(ce,ue,Se,"∣","\\mid",!0),me(ce,ue,Se,"≪","\\ll",!0),me(ce,ue,Se,"≫","\\gg",!0),me(ce,ue,Se,"≍","\\asymp",!0),me(ce,ue,Se,"∥","\\parallel"),me(ce,ue,Se,"⋈","\\bowtie",!0),me(ce,ue,Se,"⌣","\\smile",!0),me(ce,ue,Se,"⊑","\\sqsubseteq",!0),me(ce,ue,Se,"⊒","\\sqsupseteq",!0),me(ce,ue,Se,"≐","\\doteq",!0),me(ce,ue,Se,"⌢","\\frown",!0),me(ce,ue,Se,"∋","\\ni",!0),me(ce,ue,Se,"∝","\\propto",!0),me(ce,ue,Se,"⊢","\\vdash",!0),me(ce,ue,Se,"⊣","\\dashv",!0),me(ce,ue,Se,"∋","\\owns"),me(ce,ue,ke,".","\\ldotp"),me(ce,ue,ke,"⋅","\\cdotp"),me(ce,ue,ze,"#","\\#"),me(pe,ue,ze,"#","\\#"),me(ce,ue,ze,"&","\\&"),me(pe,ue,ze,"&","\\&"),me(ce,ue,ze,"ℵ","\\aleph",!0),me(ce,ue,ze,"∀","\\forall",!0),me(ce,ue,ze,"ℏ","\\hbar",!0),me(ce,ue,ze,"∃","\\exists",!0),me(ce,ue,ze,"∇","\\nabla",!0),me(ce,ue,ze,"♭","\\flat",!0),me(ce,ue,ze,"ℓ","\\ell",!0),me(ce,ue,ze,"♮","\\natural",!0),me(ce,ue,ze,"♣","\\clubsuit",!0),me(ce,ue,ze,"℘","\\wp",!0),me(ce,ue,ze,"♯","\\sharp",!0),me(ce,ue,ze,"♢","\\diamondsuit",!0),me(ce,ue,ze,"ℜ","\\Re",!0),me(ce,ue,ze,"♡","\\heartsuit",!0),me(ce,ue,ze,"ℑ","\\Im",!0),me(ce,ue,ze,"♠","\\spadesuit",!0),me(ce,ue,ze,"§","\\S",!0),me(pe,ue,ze,"§","\\S"),me(ce,ue,ze,"¶","\\P",!0),me(pe,ue,ze,"¶","\\P"),me(ce,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\textdagger"),me(ce,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\textdaggerdbl"),me(ce,ue,ve,"⎱","\\rmoustache",!0),me(ce,ue,we,"⎰","\\lmoustache",!0),me(ce,ue,ve,"⟯","\\rgroup",!0),me(ce,ue,we,"⟮","\\lgroup",!0),me(ce,ue,fe,"∓","\\mp",!0),me(ce,ue,fe,"⊖","\\ominus",!0),me(ce,ue,fe,"⊎","\\uplus",!0),me(ce,ue,fe,"⊓","\\sqcap",!0),me(ce,ue,fe,"∗","\\ast"),me(ce,ue,fe,"⊔","\\sqcup",!0),me(ce,ue,fe,"◯","\\bigcirc",!0),me(ce,ue,fe,"∙","\\bullet",!0),me(ce,ue,fe,"‡","\\ddagger"),me(ce,ue,fe,"≀","\\wr",!0),me(ce,ue,fe,"⨿","\\amalg"),me(ce,ue,fe,"&","\\And"),me(ce,ue,Se,"⟵","\\longleftarrow",!0),me(ce,ue,Se,"⇐","\\Leftarrow",!0),me(ce,ue,Se,"⟸","\\Longleftarrow",!0),me(ce,ue,Se,"⟶","\\longrightarrow",!0),me(ce,ue,Se,"⇒","\\Rightarrow",!0),me(ce,ue,Se,"⟹","\\Longrightarrow",!0),me(ce,ue,Se,"↔","\\leftrightarrow",!0),me(ce,ue,Se,"⟷","\\longleftrightarrow",!0),me(ce,ue,Se,"⇔","\\Leftrightarrow",!0),me(ce,ue,Se,"⟺","\\Longleftrightarrow",!0),me(ce,ue,Se,"↦","\\mapsto",!0),me(ce,ue,Se,"⟼","\\longmapsto",!0),me(ce,ue,Se,"↗","\\nearrow",!0),me(ce,ue,Se,"↩","\\hookleftarrow",!0),me(ce,ue,Se,"↪","\\hookrightarrow",!0),me(ce,ue,Se,"↘","\\searrow",!0),me(ce,ue,Se,"↼","\\leftharpoonup",!0),me(ce,ue,Se,"⇀","\\rightharpoonup",!0),me(ce,ue,Se,"↙","\\swarrow",!0),me(ce,ue,Se,"↽","\\leftharpoondown",!0),me(ce,ue,Se,"⇁","\\rightharpoondown",!0),me(ce,ue,Se,"↖","\\nwarrow",!0),me(ce,ue,Se,"⇌","\\rightleftharpoons",!0),me(ce,de,Se,"≮","\\nless",!0),me(ce,de,Se,"","\\@nleqslant"),me(ce,de,Se,"","\\@nleqq"),me(ce,de,Se,"⪇","\\lneq",!0),me(ce,de,Se,"≨","\\lneqq",!0),me(ce,de,Se,"","\\@lvertneqq"),me(ce,de,Se,"⋦","\\lnsim",!0),me(ce,de,Se,"⪉","\\lnapprox",!0),me(ce,de,Se,"⊀","\\nprec",!0),me(ce,de,Se,"⋠","\\npreceq",!0),me(ce,de,Se,"⋨","\\precnsim",!0),me(ce,de,Se,"⪹","\\precnapprox",!0),me(ce,de,Se,"≁","\\nsim",!0),me(ce,de,Se,"","\\@nshortmid"),me(ce,de,Se,"∤","\\nmid",!0),me(ce,de,Se,"⊬","\\nvdash",!0),me(ce,de,Se,"⊭","\\nvDash",!0),me(ce,de,Se,"⋪","\\ntriangleleft"),me(ce,de,Se,"⋬","\\ntrianglelefteq",!0),me(ce,de,Se,"⊊","\\subsetneq",!0),me(ce,de,Se,"","\\@varsubsetneq"),me(ce,de,Se,"⫋","\\subsetneqq",!0),me(ce,de,Se,"","\\@varsubsetneqq"),me(ce,de,Se,"≯","\\ngtr",!0),me(ce,de,Se,"","\\@ngeqslant"),me(ce,de,Se,"","\\@ngeqq"),me(ce,de,Se,"⪈","\\gneq",!0),me(ce,de,Se,"≩","\\gneqq",!0),me(ce,de,Se,"","\\@gvertneqq"),me(ce,de,Se,"⋧","\\gnsim",!0),me(ce,de,Se,"⪊","\\gnapprox",!0),me(ce,de,Se,"⊁","\\nsucc",!0),me(ce,de,Se,"⋡","\\nsucceq",!0),me(ce,de,Se,"⋩","\\succnsim",!0),me(ce,de,Se,"⪺","\\succnapprox",!0),me(ce,de,Se,"≆","\\ncong",!0),me(ce,de,Se,"","\\@nshortparallel"),me(ce,de,Se,"∦","\\nparallel",!0),me(ce,de,Se,"⊯","\\nVDash",!0),me(ce,de,Se,"⋫","\\ntriangleright"),me(ce,de,Se,"⋭","\\ntrianglerighteq",!0),me(ce,de,Se,"","\\@nsupseteqq"),me(ce,de,Se,"⊋","\\supsetneq",!0),me(ce,de,Se,"","\\@varsupsetneq"),me(ce,de,Se,"⫌","\\supsetneqq",!0),me(ce,de,Se,"","\\@varsupsetneqq"),me(ce,de,Se,"⊮","\\nVdash",!0),me(ce,de,Se,"⪵","\\precneqq",!0),me(ce,de,Se,"⪶","\\succneqq",!0),me(ce,de,Se,"","\\@nsubseteqq"),me(ce,de,fe,"⊴","\\unlhd"),me(ce,de,fe,"⊵","\\unrhd"),me(ce,de,Se,"↚","\\nleftarrow",!0),me(ce,de,Se,"↛","\\nrightarrow",!0),me(ce,de,Se,"⇍","\\nLeftarrow",!0),me(ce,de,Se,"⇏","\\nRightarrow",!0),me(ce,de,Se,"↮","\\nleftrightarrow",!0),me(ce,de,Se,"⇎","\\nLeftrightarrow",!0),me(ce,de,Se,"△","\\vartriangle"),me(ce,de,ze,"ℏ","\\hslash"),me(ce,de,ze,"▽","\\triangledown"),me(ce,de,ze,"◊","\\lozenge"),me(ce,de,ze,"Ⓢ","\\circledS"),me(ce,de,ze,"®","\\circledR"),me(pe,de,ze,"®","\\circledR"),me(ce,de,ze,"∡","\\measuredangle",!0),me(ce,de,ze,"∄","\\nexists"),me(ce,de,ze,"℧","\\mho"),me(ce,de,ze,"Ⅎ","\\Finv",!0),me(ce,de,ze,"⅁","\\Game",!0),me(ce,de,ze,"‵","\\backprime"),me(ce,de,ze,"▲","\\blacktriangle"),me(ce,de,ze,"▼","\\blacktriangledown"),me(ce,de,ze,"■","\\blacksquare"),me(ce,de,ze,"⧫","\\blacklozenge"),me(ce,de,ze,"★","\\bigstar"),me(ce,de,ze,"∢","\\sphericalangle",!0),me(ce,de,ze,"∁","\\complement",!0),me(ce,de,ze,"ð","\\eth",!0),me(pe,ue,ze,"ð","ð"),me(ce,de,ze,"╱","\\diagup"),me(ce,de,ze,"╲","\\diagdown"),me(ce,de,ze,"□","\\square"),me(ce,de,ze,"□","\\Box"),me(ce,de,ze,"◊","\\Diamond"),me(ce,de,ze,"¥","\\yen",!0),me(pe,de,ze,"¥","\\yen",!0),me(ce,de,ze,"✓","\\checkmark",!0),me(pe,de,ze,"✓","\\checkmark"),me(ce,de,ze,"ℶ","\\beth",!0),me(ce,de,ze,"ℸ","\\daleth",!0),me(ce,de,ze,"ℷ","\\gimel",!0),me(ce,de,ze,"ϝ","\\digamma",!0),me(ce,de,ze,"ϰ","\\varkappa"),me(ce,de,we,"┌","\\@ulcorner",!0),me(ce,de,ve,"┐","\\@urcorner",!0),me(ce,de,we,"└","\\@llcorner",!0),me(ce,de,ve,"┘","\\@lrcorner",!0),me(ce,de,Se,"≦","\\leqq",!0),me(ce,de,Se,"⩽","\\leqslant",!0),me(ce,de,Se,"⪕","\\eqslantless",!0),me(ce,de,Se,"≲","\\lesssim",!0),me(ce,de,Se,"⪅","\\lessapprox",!0),me(ce,de,Se,"≊","\\approxeq",!0),me(ce,de,fe,"⋖","\\lessdot"),me(ce,de,Se,"⋘","\\lll",!0),me(ce,de,Se,"≶","\\lessgtr",!0),me(ce,de,Se,"⋚","\\lesseqgtr",!0),me(ce,de,Se,"⪋","\\lesseqqgtr",!0),me(ce,de,Se,"≑","\\doteqdot"),me(ce,de,Se,"≓","\\risingdotseq",!0),me(ce,de,Se,"≒","\\fallingdotseq",!0),me(ce,de,Se,"∽","\\backsim",!0),me(ce,de,Se,"⋍","\\backsimeq",!0),me(ce,de,Se,"⫅","\\subseteqq",!0),me(ce,de,Se,"⋐","\\Subset",!0),me(ce,de,Se,"⊏","\\sqsubset",!0),me(ce,de,Se,"≼","\\preccurlyeq",!0),me(ce,de,Se,"⋞","\\curlyeqprec",!0),me(ce,de,Se,"≾","\\precsim",!0),me(ce,de,Se,"⪷","\\precapprox",!0),me(ce,de,Se,"⊲","\\vartriangleleft"),me(ce,de,Se,"⊴","\\trianglelefteq"),me(ce,de,Se,"⊨","\\vDash",!0),me(ce,de,Se,"⊪","\\Vvdash",!0),me(ce,de,Se,"⌣","\\smallsmile"),me(ce,de,Se,"⌢","\\smallfrown"),me(ce,de,Se,"≏","\\bumpeq",!0),me(ce,de,Se,"≎","\\Bumpeq",!0),me(ce,de,Se,"≧","\\geqq",!0),me(ce,de,Se,"⩾","\\geqslant",!0),me(ce,de,Se,"⪖","\\eqslantgtr",!0),me(ce,de,Se,"≳","\\gtrsim",!0),me(ce,de,Se,"⪆","\\gtrapprox",!0),me(ce,de,fe,"⋗","\\gtrdot"),me(ce,de,Se,"⋙","\\ggg",!0),me(ce,de,Se,"≷","\\gtrless",!0),me(ce,de,Se,"⋛","\\gtreqless",!0),me(ce,de,Se,"⪌","\\gtreqqless",!0),me(ce,de,Se,"≖","\\eqcirc",!0),me(ce,de,Se,"≗","\\circeq",!0),me(ce,de,Se,"≜","\\triangleq",!0),me(ce,de,Se,"∼","\\thicksim"),me(ce,de,Se,"≈","\\thickapprox"),me(ce,de,Se,"⫆","\\supseteqq",!0),me(ce,de,Se,"⋑","\\Supset",!0),me(ce,de,Se,"⊐","\\sqsupset",!0),me(ce,de,Se,"≽","\\succcurlyeq",!0),me(ce,de,Se,"⋟","\\curlyeqsucc",!0),me(ce,de,Se,"≿","\\succsim",!0),me(ce,de,Se,"⪸","\\succapprox",!0),me(ce,de,Se,"⊳","\\vartriangleright"),me(ce,de,Se,"⊵","\\trianglerighteq"),me(ce,de,Se,"⊩","\\Vdash",!0),me(ce,de,Se,"∣","\\shortmid"),me(ce,de,Se,"∥","\\shortparallel"),me(ce,de,Se,"≬","\\between",!0),me(ce,de,Se,"⋔","\\pitchfork",!0),me(ce,de,Se,"∝","\\varpropto"),me(ce,de,Se,"◀","\\blacktriangleleft"),me(ce,de,Se,"∴","\\therefore",!0),me(ce,de,Se,"∍","\\backepsilon"),me(ce,de,Se,"▶","\\blacktriangleright"),me(ce,de,Se,"∵","\\because",!0),me(ce,de,Se,"⋘","\\llless"),me(ce,de,Se,"⋙","\\gggtr"),me(ce,de,fe,"⊲","\\lhd"),me(ce,de,fe,"⊳","\\rhd"),me(ce,de,Se,"≂","\\eqsim",!0),me(ce,ue,Se,"⋈","\\Join"),me(ce,de,Se,"≑","\\Doteq",!0),me(ce,de,fe,"∔","\\dotplus",!0),me(ce,de,fe,"∖","\\smallsetminus"),me(ce,de,fe,"⋒","\\Cap",!0),me(ce,de,fe,"⋓","\\Cup",!0),me(ce,de,fe,"⩞","\\doublebarwedge",!0),me(ce,de,fe,"⊟","\\boxminus",!0),me(ce,de,fe,"⊞","\\boxplus",!0),me(ce,de,fe,"⋇","\\divideontimes",!0),me(ce,de,fe,"⋉","\\ltimes",!0),me(ce,de,fe,"⋊","\\rtimes",!0),me(ce,de,fe,"⋋","\\leftthreetimes",!0),me(ce,de,fe,"⋌","\\rightthreetimes",!0),me(ce,de,fe,"⋏","\\curlywedge",!0),me(ce,de,fe,"⋎","\\curlyvee",!0),me(ce,de,fe,"⊝","\\circleddash",!0),me(ce,de,fe,"⊛","\\circledast",!0),me(ce,de,fe,"⋅","\\centerdot"),me(ce,de,fe,"⊺","\\intercal",!0),me(ce,de,fe,"⋒","\\doublecap"),me(ce,de,fe,"⋓","\\doublecup"),me(ce,de,fe,"⊠","\\boxtimes",!0),me(ce,de,Se,"⇢","\\dashrightarrow",!0),me(ce,de,Se,"⇠","\\dashleftarrow",!0),me(ce,de,Se,"⇇","\\leftleftarrows",!0),me(ce,de,Se,"⇆","\\leftrightarrows",!0),me(ce,de,Se,"⇚","\\Lleftarrow",!0),me(ce,de,Se,"↞","\\twoheadleftarrow",!0),me(ce,de,Se,"↢","\\leftarrowtail",!0),me(ce,de,Se,"↫","\\looparrowleft",!0),me(ce,de,Se,"⇋","\\leftrightharpoons",!0),me(ce,de,Se,"↶","\\curvearrowleft",!0),me(ce,de,Se,"↺","\\circlearrowleft",!0),me(ce,de,Se,"↰","\\Lsh",!0),me(ce,de,Se,"⇈","\\upuparrows",!0),me(ce,de,Se,"↿","\\upharpoonleft",!0),me(ce,de,Se,"⇃","\\downharpoonleft",!0),me(ce,ue,Se,"⊶","\\origof",!0),me(ce,ue,Se,"⊷","\\imageof",!0),me(ce,de,Se,"⊸","\\multimap",!0),me(ce,de,Se,"↭","\\leftrightsquigarrow",!0),me(ce,de,Se,"⇉","\\rightrightarrows",!0),me(ce,de,Se,"⇄","\\rightleftarrows",!0),me(ce,de,Se,"↠","\\twoheadrightarrow",!0),me(ce,de,Se,"↣","\\rightarrowtail",!0),me(ce,de,Se,"↬","\\looparrowright",!0),me(ce,de,Se,"↷","\\curvearrowright",!0),me(ce,de,Se,"↻","\\circlearrowright",!0),me(ce,de,Se,"↱","\\Rsh",!0),me(ce,de,Se,"⇊","\\downdownarrows",!0),me(ce,de,Se,"↾","\\upharpoonright",!0),me(ce,de,Se,"⇂","\\downharpoonright",!0),me(ce,de,Se,"⇝","\\rightsquigarrow",!0),me(ce,de,Se,"⇝","\\leadsto"),me(ce,de,Se,"⇛","\\Rrightarrow",!0),me(ce,de,Se,"↾","\\restriction"),me(ce,ue,ze,"‘","`"),me(ce,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\textdollar"),me(ce,ue,ze,"%","\\%"),me(pe,ue,ze,"%","\\%"),me(ce,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\textunderscore"),me(ce,ue,ze,"∠","\\angle",!0),me(ce,ue,ze,"∞","\\infty",!0),me(ce,ue,ze,"′","\\prime"),me(ce,ue,ze,"△","\\triangle"),me(ce,ue,ze,"Γ","\\Gamma",!0),me(ce,ue,ze,"Δ","\\Delta",!0),me(ce,ue,ze,"Θ","\\Theta",!0),me(ce,ue,ze,"Λ","\\Lambda",!0),me(ce,ue,ze,"Ξ","\\Xi",!0),me(ce,ue,ze,"Π","\\Pi",!0),me(ce,ue,ze,"Σ","\\Sigma",!0),me(ce,ue,ze,"Υ","\\Upsilon",!0),me(ce,ue,ze,"Φ","\\Phi",!0),me(ce,ue,ze,"Ψ","\\Psi",!0),me(ce,ue,ze,"Ω","\\Omega",!0),me(ce,ue,ze,"A","Α"),me(ce,ue,ze,"B","Β"),me(ce,ue,ze,"E","Ε"),me(ce,ue,ze,"Z","Ζ"),me(ce,ue,ze,"H","Η"),me(ce,ue,ze,"I","Ι"),me(ce,ue,ze,"K","Κ"),me(ce,ue,ze,"M","Μ"),me(ce,ue,ze,"N","Ν"),me(ce,ue,ze,"O","Ο"),me(ce,ue,ze,"P","Ρ"),me(ce,ue,ze,"T","Τ"),me(ce,ue,ze,"X","Χ"),me(ce,ue,ze,"¬","\\neg",!0),me(ce,ue,ze,"¬","\\lnot"),me(ce,ue,ze,"⊤","\\top"),me(ce,ue,ze,"⊥","\\bot"),me(ce,ue,ze,"∅","\\emptyset"),me(ce,de,ze,"∅","\\varnothing"),me(ce,ue,ye,"α","\\alpha",!0),me(ce,ue,ye,"β","\\beta",!0),me(ce,ue,ye,"γ","\\gamma",!0),me(ce,ue,ye,"δ","\\delta",!0),me(ce,ue,ye,"ϵ","\\epsilon",!0),me(ce,ue,ye,"ζ","\\zeta",!0),me(ce,ue,ye,"η","\\eta",!0),me(ce,ue,ye,"θ","\\theta",!0),me(ce,ue,ye,"ι","\\iota",!0),me(ce,ue,ye,"κ","\\kappa",!0),me(ce,ue,ye,"λ","\\lambda",!0),me(ce,ue,ye,"μ","\\mu",!0),me(ce,ue,ye,"ν","\\nu",!0),me(ce,ue,ye,"ξ","\\xi",!0),me(ce,ue,ye,"ο","\\omicron",!0),me(ce,ue,ye,"π","\\pi",!0),me(ce,ue,ye,"ρ","\\rho",!0),me(ce,ue,ye,"σ","\\sigma",!0),me(ce,ue,ye,"τ","\\tau",!0),me(ce,ue,ye,"υ","\\upsilon",!0),me(ce,ue,ye,"ϕ","\\phi",!0),me(ce,ue,ye,"χ","\\chi",!0),me(ce,ue,ye,"ψ","\\psi",!0),me(ce,ue,ye,"ω","\\omega",!0),me(ce,ue,ye,"ε","\\varepsilon",!0),me(ce,ue,ye,"ϑ","\\vartheta",!0),me(ce,ue,ye,"ϖ","\\varpi",!0),me(ce,ue,ye,"ϱ","\\varrho",!0),me(ce,ue,ye,"ς","\\varsigma",!0),me(ce,ue,ye,"φ","\\varphi",!0),me(ce,ue,fe,"∗","*",!0),me(ce,ue,fe,"+","+"),me(ce,ue,fe,"−","-",!0),me(ce,ue,fe,"⋅","\\cdot",!0),me(ce,ue,fe,"∘","\\circ",!0),me(ce,ue,fe,"÷","\\div",!0),me(ce,ue,fe,"±","\\pm",!0),me(ce,ue,fe,"×","\\times",!0),me(ce,ue,fe,"∩","\\cap",!0),me(ce,ue,fe,"∪","\\cup",!0),me(ce,ue,fe,"∖","\\setminus",!0),me(ce,ue,fe,"∧","\\land"),me(ce,ue,fe,"∨","\\lor"),me(ce,ue,fe,"∧","\\wedge",!0),me(ce,ue,fe,"∨","\\vee",!0),me(ce,ue,ze,"√","\\surd"),me(ce,ue,we,"⟨","\\langle",!0),me(ce,ue,we,"∣","\\lvert"),me(ce,ue,we,"∥","\\lVert"),me(ce,ue,ve,"?","?"),me(ce,ue,ve,"!","!"),me(ce,ue,ve,"⟩","\\rangle",!0),me(ce,ue,ve,"∣","\\rvert"),me(ce,ue,ve,"∥","\\rVert"),me(ce,ue,Se,"=","="),me(ce,ue,Se,":",":"),me(ce,ue,Se,"≈","\\approx",!0),me(ce,ue,Se,"≅","\\cong",!0),me(ce,ue,Se,"≥","\\ge"),me(ce,ue,Se,"≥","\\geq",!0),me(ce,ue,Se,"←","\\gets"),me(ce,ue,Se,">","\\gt",!0),me(ce,ue,Se,"∈","\\in",!0),me(ce,ue,Se,"","\\@not"),me(ce,ue,Se,"⊂","\\subset",!0),me(ce,ue,Se,"⊃","\\supset",!0),me(ce,ue,Se,"⊆","\\subseteq",!0),me(ce,ue,Se,"⊇","\\supseteq",!0),me(ce,de,Se,"⊈","\\nsubseteq",!0),me(ce,de,Se,"⊉","\\nsupseteq",!0),me(ce,ue,Se,"⊨","\\models"),me(ce,ue,Se,"←","\\leftarrow",!0),me(ce,ue,Se,"≤","\\le"),me(ce,ue,Se,"≤","\\leq",!0),me(ce,ue,Se,"<","\\lt",!0),me(ce,ue,Se,"→","\\rightarrow",!0),me(ce,ue,Se,"→","\\to"),me(ce,de,Se,"≱","\\ngeq",!0),me(ce,de,Se,"≰","\\nleq",!0),me(ce,ue,Me," ","\\ "),me(ce,ue,Me," ","\\space"),me(ce,ue,Me," ","\\nobreakspace"),me(pe,ue,Me," ","\\ "),me(pe,ue,Me," "," "),me(pe,ue,Me," ","\\space"),me(pe,ue,Me," ","\\nobreakspace"),me(ce,ue,Me,null,"\\nobreak"),me(ce,ue,Me,null,"\\allowbreak"),me(ce,ue,ke,",",","),me(ce,ue,ke,";",";"),me(ce,de,fe,"⊼","\\barwedge",!0),me(ce,de,fe,"⊻","\\veebar",!0),me(ce,ue,fe,"⊙","\\odot",!0),me(ce,ue,fe,"⊕","\\oplus",!0),me(ce,ue,fe,"⊗","\\otimes",!0),me(ce,ue,ze,"∂","\\partial",!0),me(ce,ue,fe,"⊘","\\oslash",!0),me(ce,de,fe,"⊚","\\circledcirc",!0),me(ce,de,fe,"⊡","\\boxdot",!0),me(ce,ue,fe,"△","\\bigtriangleup"),me(ce,ue,fe,"▽","\\bigtriangledown"),me(ce,ue,fe,"†","\\dagger"),me(ce,ue,fe,"⋄","\\diamond"),me(ce,ue,fe,"⋆","\\star"),me(ce,ue,fe,"◃","\\triangleleft"),me(ce,ue,fe,"▹","\\triangleright"),me(ce,ue,we,"{","\\{"),me(pe,ue,ze,"{","\\{"),me(pe,ue,ze,"{","\\textbraceleft"),me(ce,ue,ve,"}","\\}"),me(pe,ue,ze,"}","\\}"),me(pe,ue,ze,"}","\\textbraceright"),me(ce,ue,we,"{","\\lbrace"),me(ce,ue,ve,"}","\\rbrace"),me(ce,ue,we,"[","\\lbrack",!0),me(pe,ue,ze,"[","\\lbrack",!0),me(ce,ue,ve,"]","\\rbrack",!0),me(pe,ue,ze,"]","\\rbrack",!0),me(ce,ue,we,"(","\\lparen",!0),me(ce,ue,ve,")","\\rparen",!0),me(pe,ue,ze,"<","\\textless",!0),me(pe,ue,ze,">","\\textgreater",!0),me(ce,ue,we,"⌊","\\lfloor",!0),me(ce,ue,ve,"⌋","\\rfloor",!0),me(ce,ue,we,"⌈","\\lceil",!0),me(ce,ue,ve,"⌉","\\rceil",!0),me(ce,ue,ze,"\\","\\backslash"),me(ce,ue,ze,"∣","|"),me(ce,ue,ze,"∣","\\vert"),me(pe,ue,ze,"|","\\textbar",!0),me(ce,ue,ze,"∥","\\|"),me(ce,ue,ze,"∥","\\Vert"),me(pe,ue,ze,"∥","\\textbardbl"),me(pe,ue,ze,"~","\\textasciitilde"),me(pe,ue,ze,"\\","\\textbackslash"),me(pe,ue,ze,"^","\\textasciicircum"),me(ce,ue,Se,"↑","\\uparrow",!0),me(ce,ue,Se,"⇑","\\Uparrow",!0),me(ce,ue,Se,"↓","\\downarrow",!0),me(ce,ue,Se,"⇓","\\Downarrow",!0),me(ce,ue,Se,"↕","\\updownarrow",!0),me(ce,ue,Se,"⇕","\\Updownarrow",!0),me(ce,ue,xe,"∐","\\coprod"),me(ce,ue,xe,"⋁","\\bigvee"),me(ce,ue,xe,"⋀","\\bigwedge"),me(ce,ue,xe,"⨄","\\biguplus"),me(ce,ue,xe,"⋂","\\bigcap"),me(ce,ue,xe,"⋃","\\bigcup"),me(ce,ue,xe,"∫","\\int"),me(ce,ue,xe,"∫","\\intop"),me(ce,ue,xe,"∬","\\iint"),me(ce,ue,xe,"∭","\\iiint"),me(ce,ue,xe,"∏","\\prod"),me(ce,ue,xe,"∑","\\sum"),me(ce,ue,xe,"⨂","\\bigotimes"),me(ce,ue,xe,"⨁","\\bigoplus"),me(ce,ue,xe,"⨀","\\bigodot"),me(ce,ue,xe,"∮","\\oint"),me(ce,ue,xe,"∯","\\oiint"),me(ce,ue,xe,"∰","\\oiiint"),me(ce,ue,xe,"⨆","\\bigsqcup"),me(ce,ue,xe,"∫","\\smallint"),me(pe,ue,be,"…","\\textellipsis"),me(ce,ue,be,"…","\\mathellipsis"),me(pe,ue,be,"…","\\ldots",!0),me(ce,ue,be,"…","\\ldots",!0),me(ce,ue,be,"⋯","\\@cdots",!0),me(ce,ue,be,"⋱","\\ddots",!0),me(ce,ue,ze,"⋮","\\varvdots"),me(ce,ue,ge,"ˊ","\\acute"),me(ce,ue,ge,"ˋ","\\grave"),me(ce,ue,ge,"¨","\\ddot"),me(ce,ue,ge,"~","\\tilde"),me(ce,ue,ge,"ˉ","\\bar"),me(ce,ue,ge,"˘","\\breve"),me(ce,ue,ge,"ˇ","\\check"),me(ce,ue,ge,"^","\\hat"),me(ce,ue,ge,"⃗","\\vec"),me(ce,ue,ge,"˙","\\dot"),me(ce,ue,ge,"˚","\\mathring"),me(ce,ue,ye,"","\\@imath"),me(ce,ue,ye,"","\\@jmath"),me(ce,ue,ze,"ı","ı"),me(ce,ue,ze,"ȷ","ȷ"),me(pe,ue,ze,"ı","\\i",!0),me(pe,ue,ze,"ȷ","\\j",!0),me(pe,ue,ze,"ß","\\ss",!0),me(pe,ue,ze,"æ","\\ae",!0),me(pe,ue,ze,"œ","\\oe",!0),me(pe,ue,ze,"ø","\\o",!0),me(pe,ue,ze,"Æ","\\AE",!0),me(pe,ue,ze,"Œ","\\OE",!0),me(pe,ue,ze,"Ø","\\O",!0),me(pe,ue,ge,"ˊ","\\'"),me(pe,ue,ge,"ˋ","\\`"),me(pe,ue,ge,"ˆ","\\^"),me(pe,ue,ge,"˜","\\~"),me(pe,ue,ge,"ˉ","\\="),me(pe,ue,ge,"˘","\\u"),me(pe,ue,ge,"˙","\\."),me(pe,ue,ge,"¸","\\c"),me(pe,ue,ge,"˚","\\r"),me(pe,ue,ge,"ˇ","\\v"),me(pe,ue,ge,"¨",'\\"'),me(pe,ue,ge,"˝","\\H"),me(pe,ue,ge,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};me(pe,ue,ze,"–","--",!0),me(pe,ue,ze,"–","\\textendash"),me(pe,ue,ze,"—","---",!0),me(pe,ue,ze,"—","\\textemdash"),me(pe,ue,ze,"‘","`",!0),me(pe,ue,ze,"‘","\\textquoteleft"),me(pe,ue,ze,"’","'",!0),me(pe,ue,ze,"’","\\textquoteright"),me(pe,ue,ze,"“","``",!0),me(pe,ue,ze,"“","\\textquotedblleft"),me(pe,ue,ze,"”","''",!0),me(pe,ue,ze,"”","\\textquotedblright"),me(ce,ue,ze,"°","\\degree",!0),me(pe,ue,ze,"°","\\degree"),me(pe,ue,ze,"°","\\textdegree",!0),me(ce,ue,ze,"£","\\pounds"),me(ce,ue,ze,"£","\\mathsterling",!0),me(pe,ue,ze,"£","\\pounds"),me(pe,ue,ze,"£","\\textsterling",!0),me(ce,de,ze,"✠","\\maltese"),me(pe,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);me(ce,ue,ze,Be,Be)}for(var Ne=0;Ne<25;Ne++){var qe='0123456789!@*()-=+";:?/.,'.charAt(Ne);me(pe,ue,ze,qe,qe)}for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=Ce.charAt(Ie);me(ce,ue,ye,Re,Re),me(pe,ue,ze,Re,Re)}me(ce,de,ze,"C","ℂ"),me(pe,de,ze,"C","ℂ"),me(ce,de,ze,"H","ℍ"),me(pe,de,ze,"H","ℍ"),me(ce,de,ze,"N","ℕ"),me(pe,de,ze,"N","ℕ"),me(ce,de,ze,"P","ℙ"),me(pe,de,ze,"P","ℙ"),me(ce,de,ze,"Q","ℚ"),me(pe,de,ze,"Q","ℚ"),me(ce,de,ze,"R","ℝ"),me(pe,de,ze,"R","ℝ"),me(ce,de,ze,"Z","ℤ"),me(pe,de,ze,"Z","ℤ"),me(ce,ue,ye,"h","ℎ"),me(pe,ue,ye,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=Ce.charAt(Oe);me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56320+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56372+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56424+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56580+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56736+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56788+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56840+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56944+Oe)),me(pe,ue,ze,Ee,He),Oe<26&&(me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56632+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56476+Oe)),me(pe,ue,ze,Ee,He))}me(ce,ue,ye,"k",He=String.fromCharCode(55349,56668)),me(pe,ue,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();me(ce,ue,ye,De,He=String.fromCharCode(55349,57294+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57314+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57324+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57334+Le)),me(pe,ue,ze,De,He)}for(var Ve=0;Ve<3;Ve++){var Pe="ÐÞþ".charAt(Ve);me(ce,ue,ye,Pe,Pe),me(pe,ue,ze,Pe,Pe)}var Fe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ue=function(e,t,r){return he[r][e]&&he[r][e].replace&&(e=he[r][e].replace),{value:e,metrics:L(e,t,r)}},Ye=function(e,t,r,a,n){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new re(e,s.height,s.depth,l,s.skew,s.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new re(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},Xe=(e,t)=>{if(j(e.classes)!==j(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},We=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},_e=function(e,t,r,a){var n=new J(e,t,r,a);return We(n),n},je=(e,t,r,a)=>new J(e,t,r,a),$e=function(e){var t=new R(e);return We(t),t},Ze=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ke={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Qe={fontMap:Ke,makeSymbol:Ye,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,a):Ye(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var a=_e([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=_(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new Q(e,t,r,a);return We(n),n},makeFragment:$e,wrapFragment:function(e,t){return e instanceof R?_e([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:a}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i{var r=_e(["mspace"],[],t),a=W(e,t);return r.style.marginRight=_(a),r},staticSvg:function(e,t){var[r,a,n]=Je[e],i=new ne(r),o=new ae([i],{width:_(a),height:_(n),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"}),s=je(["overlay"],[o],t);return s.height=n,s.style.height=_(n),s.style.width=_(a),s},svgData:Je,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&m(dt,a)?t.classes[0]="mord":"mbin"===a&&m(ut,r)&&(e.classes[0]="mord")}),{node:c},p,u),bt(n,((e,t)=>{var r=wt(t),a=wt(e),n=r&&a?e.hasClass("mtight")?nt[r][a]:at[r][a]:null;if(n)return Qe.makeGlue(n,l)}),{node:c},p,u),n},bt=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;or=>{t.splice(e+1,0,r),o++})(o)}}n&&t.pop()},yt=function(e){return e instanceof R||e instanceof Q||e instanceof J&&e.hasClass("enclosing")?e:null},xt=function e(t,r){var a=yt(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},wt=function(e,t){return e?(t&&(e=xt(e,t)),ft[e.classes[0]]||null):null},kt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(r))},St=function(e,t,r){if(!e)return pt();if(ot[e.type]){var a=ot[e.type](e,t);if(r&&t.size!==r.size){a=pt(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function Mt(e,t){var r=pt(["base"],e,t),a=pt(["strut"]);return a.style.height=_(r.height+r.depth),r.depth&&(a.style.verticalAlign=_(-r.depth)),r.children.unshift(a),r}function zt(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var a,n=vt(e,t,"root");2===n.length&&n[1].hasClass("tag")&&(a=n.pop());for(var i,o=[],s=[],l=0;l0&&(o.push(Mt(s,t)),s=[]),o.push(n[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):a&&o.push(a);var m=pt(["katex-html"],o);if(m.setAttribute("aria-hidden","true"),i){var c=i.children[0];c.style.height=_(m.height+m.depth),m.depth&&(c.style.verticalAlign=_(-m.depth))}return m}function At(e){return new R(e)}class Tt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=j(this.classes));for(var r=0;r0&&(e+=' class ="'+p(j(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map((e=>e.toText())).join("")}}class Bt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return p(this.toText())}toText(){return this.text}}var Nt={MathNode:Tt,TextNode:Bt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",_(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:At},qt=function(e,t,r){return!he[t][e]||!he[t][e].replace||55349===e.charCodeAt(0)||Ae.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=he[t][e].replace),new Nt.TextNode(e)},Ct=function(e){return 1===e.length?e[0]:new Nt.MathNode("mrow",e)},It=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var n=e.text;return m(["\\imath","\\jmath"],n)?null:(he[a][n]&&he[a][n].replace&&(n=he[a][n].replace),L(n,Qe.fontMap[r].fontName,a)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var a=Ot(e[0],t);return r&&a instanceof Tt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n,i=[],o=0;o0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(s),n=s}return i},Ht=function(e,t,r){return Ct(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Nt.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,a,n){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&m(["mrow","mtable"],o[0].type)?o[0]:new Nt.MathNode("mrow",o);var s=new Nt.MathNode("annotation",[new Nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Nt.MathNode("semantics",[i,s]),h=new Nt.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),Qe.makeSpan([n?"katex":"katex-mathml"],[h])}var Lt=function(e){return new G({style:e.displayMode?B.DISPLAY:B.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Qe.makeSpan(r,[e])}return e},Vt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Pt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ft=function(e){var t=new Nt.MathNode("mo",[new Nt.TextNode(Vt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(m(["widehat","widecheck","widetilde","utilde"],a)){var n,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,o=.42,i=a+"4"):(n=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][l],n=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=a+l):(r=[0,600,1033,2339,2340][l],n=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var h=new ne(i),c=new ae([h],{width:"100%",height:_(o),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[c],t),minWidth:0,height:o}}var p,u,d,g=[],f=Pt[a],[v,b,y]=f,x=y/1e3,w=v.length;if(1===w)p=["hide-tail"],u=[f[3]];else if(2===w)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=_(a)),r};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yt(e){var t=Xt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Xt(e){return e&&("atom"===e.type||le.hasOwnProperty(e.type))?e:null}var Wt=(e,t)=>{var r,a,n;e&&"supsub"===e.type?(r=(a=Ut(e.base,"accent")).base,e.base=r,n=function(e){if(e instanceof J)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=a):r=(a=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(a.isShifty&&g(r)){var s=d(r);o=oe(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===a.label,m=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(a.isStretchy)l=Gt(a,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+_(2*o)+")",marginLeft:_(2*o)}:void 0}]},t);else{var c,p;"\\vec"===a.label?(c=Qe.staticSvg("vec",t),p=Qe.svgData.vec[1]):((c=oe(c=Qe.makeOrd({mode:a.mode,text:a.label},t,"textord"))).italic=0,p=c.width,h&&(m+=c.depth)),l=Qe.makeSpan(["accent-body"],[c]);var u="\\textcircled"===a.label;u&&(l.classes.push("accent-full"),m=i.height);var f=o;u||(f-=p/2),l.style.left=_(f),"\\textcircled"===a.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return n?(n.children[0]=v,n.height=Math.max(v.height,n.height),n.classes[0]="mord",n):v},_t=(e,t)=>{var r=e.isStretchy?Ft(e.label):new Nt.MathNode("mo",[qt(e.label,e.mode)]),a=new Nt.MathNode("mover",[Ot(e.base,t),r]);return a.setAttribute("accent","true"),a},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));lt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=mt(t[0]),a=!jt.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=St(e.base,t),a=Gt(e,t),n="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Ft(e.label),a=new Nt.MathNode("munder",[Ot(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var $t=e=>{var t=new Nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};lt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Qe.wrapFragment(St(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Qe.wrapFragment(St(e.below,n,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=i.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Qe.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,a=Ft(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Nt.MathNode("munderover",[a,i,n])}else r=new Nt.MathNode("mover",[a,n])}else if(e.below){var o=$t(Ot(e.below,t));r=new Nt.MathNode("munder",[a,o])}else r=$t(),r=new Nt.MathNode("mover",[a,r]);return r}});var Zt=Qe.makeSpan;function Kt(e,t){var r=vt(e.body,t,!0);return Zt([e.mclass],r,t)}function Jt(e,t){var r,a=Rt(e.body,t);return"minner"===e.mclass?r=new Nt.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new Nt.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new Nt.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}lt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:ct(n),isCharacterBox:g(n)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};lt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Qt(t[0]),body:ct(t[1]),isCharacterBox:g(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],o=t[0];r="\\stackrel"!==n?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:ct(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===n?null:o,sub:"\\underset"===n?o:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:g(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Qt(t[0]),body:ct(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!0),a=Qe.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=Rt(e.body,t),a=new Nt.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=e=>"textord"===e.type&&"@"===e.text;function rr(e,t,r){var a=er[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n={type:"atom",text:a,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[n],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}lt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=Qe.wrapFragment(St(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=_(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new Nt.MathNode("mrow",[Ot(e.label,t)]);return(r=new Nt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Nt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Nt.MathNode("mrow",[Ot(e.fragment,t)])}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,a=Ut(t[0],"ordgroup").body,n="",o=0;o=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var ar=(e,t)=>{var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},nr=(e,t)=>{var r=Rt(e.body,t.withColor(e.color)),a=new Nt.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=Ut(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:ct(n)}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&Ut(n,"size").value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=_(W(e.size,t)))),r},mathmlBuilder(e,t){var r=new Nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",_(W(e.size,t)))),r}});var ir={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},or=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},sr=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(ir[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=ir[a.text]),Ut(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new i('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new i('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new i("Expected a macro definition");l[s].push(a.text)}var{tokens:h}=t.gullet.consumeArg();return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:s,delimiters:l},r===ir[r]),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken());t.gullet.consumeSpaces();var n=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return sr(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var a=L(he.math[e]&&he.math[e].replace||e,t,r);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},hr=function(e,t,r,a){var n=r.havingBaseStyle(t),i=Qe.makeSpan(a.concat(n.sizingClasses(r)),[e],r),o=n.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=n.sizeMultiplier,i},mr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=_(n),e.height-=n,e.depth+=n},cr=function(e,t,r,a,n,i){var o=function(e,t,r,a){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],a),B.TEXT,a,i);return r&&mr(s,a,B.TEXT),s},pr=function(e,t,r){return{type:"elem",elem:Qe.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[Qe.makeSpan([],[Qe.makeSymbol(e,t,r)])])}},ur=function(e,t,r){var a=H["Size4-Regular"][e.charCodeAt(0)]?H["Size4-Regular"][e.charCodeAt(0)][4]:H["Size1-Regular"][e.charCodeAt(0)][4],n=new ne("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new ae([n],{width:_(a),height:_(t),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=_(t),o.style.width=_(a),{type:"elem",elem:o}},dr={type:"kern",size:-.008},gr=["|","\\lvert","\\rvert","\\vert"],fr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,a,n,i){var o,s,l,h,c="",p=0;o=l=h=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):m(gr,e)?(l="∣",c="vert",p=333):m(fr,e)?(l="∥",c="doublevert",p=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",u="Size4-Regular",c="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",u="Size4-Regular",c="rbrack",p=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",u="Size4-Regular",c="lfloor",p=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",u="Size4-Regular",c="lceil",p=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",u="Size4-Regular",c="rfloor",p=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",u="Size4-Regular",c="rceil",p=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",u="Size4-Regular",c="lparen",p=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",u="Size4-Regular",c="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",u="Size4-Regular");var d=lr(o,u,n),g=d.height+d.depth,f=lr(l,u,n),v=f.height+f.depth,b=lr(h,u,n),y=b.height+b.depth,x=0,w=1;if(null!==s){var k=lr(s,u,n);x=k.height+k.depth,w=2}var S=g+y+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(c.length>0){var N=M-g-y,q=Math.round(1e3*M),C=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*N)),I=new ne(c,C),R=(p/1e3).toFixed(3)+"em",H=(q/1e3).toFixed(3)+"em",O=new ae([I],{width:R,height:H,viewBox:"0 0 "+p+" "+q}),E=Qe.makeSvgSpan([],[O],a);E.height=q/1e3,E.style.width=R,E.style.height=H,T.push({type:"elem",elem:E})}else{if(T.push(pr(h,u,n)),T.push(dr),null===s){var L=M-g-y+.016;T.push(ur(l,L,a))}else{var D=(M-g-y-x)/2+.016;T.push(ur(l,D,a)),T.push(dr),T.push(pr(s,u,n)),T.push(dr),T.push(ur(l,D,a))}T.push(dr),T.push(pr(o,u,n))}var V=a.havingBaseStyle(B.TEXT),P=Qe.makeVList({positionType:"bottom",positionData:A,children:T},V);return hr(Qe.makeSpan(["delimsizing","mult"],[P],V),B.TEXT,a,i)},br=.08,yr=function(e,t,r,a,n){var i=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e,t){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":a=function(e,t){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":a=function(e,t){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":a=function(e,t){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":a=function(e,t){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return a}(e,a,r),o=new ne(e,i),s=new ae([o],{width:"400em",height:_(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],n)},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],Ar=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);nt)return r[n]}return r[r.length-1]},Nr=function(e,t,r,a,n,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=m(kr,e)?Mr:m(xr,e)?Ar:zr;var s=Br(e,t,o,a);return"small"===s.type?function(e,t,r,a,n,i){var o=Qe.makeSymbol(e,"Main-Regular",n,a),s=hr(o,t,a,i);return r&&mr(s,a,t),s}(e,s.style,r,a,n,i):"large"===s.type?cr(e,s.size,r,a,n,i):vr(e,t,r,a,n,i)},qr={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=Br("\\surd",e*n.sizeMultiplier,Ar,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=yr("sqrtMain",l=(1+s+br)/o,m=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",a=.833/o):"large"===i.type?(m=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+br)/o,(r=yr("sqrtSize"+i.size,l,m,s,t)).style.minWidth="1.02em",a=1/o):(l=e+s+br,h=e+s,m=Math.floor(1e3*e+s)+80,(r=yr("sqrtTall",l,m,s,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=_(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m(xr,e)||m(kr,e))return cr(e,t,!1,r,a,n);if(m(wr,e))return vr(e,Sr[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Nr,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Nr(e,h,!0,a,n,i)}},Cr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ir=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rr(e,t){var r=Xt(e);if(r&&m(Ir,r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cr[e.funcName].size,mclass:Cr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?Qe.makeSpan([e.mclass]):qr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(qt(e.delim,e.mode));var r=new Nt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=_(qr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:r}}}),lt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=Ut(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Hr(e);for(var r,a,n=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l{Hr(e);var r=Rt(e.body,t);if("."!==e.left){var a=new Nt.MathNode("mo",[qt(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new Nt.MathNode("mo",[qt(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return Ct(r)}}),lt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=kt(t,[]);else{r=qr.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?qt("|","text"):qt(e.delim,e.mode),a=new Nt.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Or=(e,t)=>{var r,a,n,i=Qe.wrapFragment(St(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=g(e.body);if("sout"===o)(r=Qe.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var m=W({number:.6,unit:"pt"},t),c=W({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+m+c;i.style.paddingLeft=_(p/2+m);var u=Math.floor(1e3*p*s),d="M400000 "+(a=u)+" H0 L"+a/2+" 0 l65 45 L145 "+(a-80)+" H400000z",f=new ae([new ne("phase",d)],{width:"400em",height:_(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=Qe.makeSvgSpan(["hide-tail"],[f],t)).style.height=_(p),l=i.depth+m+c}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,b=0,y=0;/box/.test(o)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=v=t.fontMetrics().fboxsep+("colorbox"===o?0:y)):"angl"===o?(v=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-i.depth)):b=v=h?.2:0,r=function(e,t,r,a,n){var i,o=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=Qe.makeSpan(["stretchy",t],[],n),"fbox"===t){var s=n.color&&n.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ae(l,{width:"100%",height:_(o)});i=Qe.makeSvgSpan([],[h],n)}return i.height=o,i.style.height=_(o),i}(i,o,v,b,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=_(y)):"angl"===o&&.049!==y&&(r.style.borderTopWidth=_(y),r.style.borderRightWidth=_(y)),l=i.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var x=/cancel|phase/.test(o)?["svg-align"]:[];n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:x}]},t)}return/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!h?Qe.makeSpan(["mord","cancel-lap"],[n],t):Qe.makeSpan(["mord"],[n],t)},Er=(e,t)=>{var r=0,a=new Nt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Yr(e,t,r){var{hskipBeforeAndAfter:a,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(m)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(Fr(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(y+=.25),h.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(T+=b)&&(S=T),T=0),e.addJot&&(S+=g),M.height=k,M.depth=S,y+=k,M.pos=y,y+=S+T,l[r]=M,x(o[r+1])}var N,q,C=y/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=c(V.pregap,u))&&((N=Qe.makeSpan(["arraycolsep"],[])).style.width=_(Y),R.push(N));var X=[];for(r=0;r0){for(var K=Qe.makeLineSpan("hline",t,m),J=Qe.makeLineSpan("hdashline",t,m),Q=[{type:"elem",elem:l,shift:0}];h.length>0;){var ee=h.pop(),te=ee.pos-C;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Qe.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Qe.makeSpan(["mord"],[l],t);var re=Qe.makeVList({positionType:"individualShift",children:H},t);return re=Qe.makeSpan(["tag"],[re],t),Qe.makeFragment([l,re])},_r={c:"center ",l:"left ",r:"right "},jr=function(e,t){for(var r=[],a=new Nt.MathNode("mtd",[],["mtr-glue"]),n=new Nt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Yr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Yr(e.parser,a,Xr(e.envName))},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var o=Yr(e.parser,a,Xr(e.envName)),s=Math.max(0,...o.body.map((e=>e.length)));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Yr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Xr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m(["gather","gather*"],e.envName)&&Gr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Gr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,n,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(p)>-1))throw new i('Expected one of "<>AV=|." after @',h[c]);for(var d=0;d<2;d++){for(var g=!0,f=c+1;f{var r=e.font,a=t.withFont(r);return St(e.body,a)},Jr=(e,t)=>{var r=e.font,a=t.withFont(r);return Ot(e.body,a)},Qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};lt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=mt(t[0]),i=a;return i in Qr&&(i=Qr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Kr,mathmlBuilder:Jr}),lt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=g(a);return{type:"mclass",mode:r.mode,mclass:Qt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),lt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,o=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Kr,mathmlBuilder:Jr});var ea=(e,t)=>{var r=t;return"display"===e?r=r.id>=B.SCRIPT.id?r.text():B.DISPLAY:"text"===e&&r.size===B.DISPLAY.size?r=B.TEXT:"script"===e?r=B.SCRIPT:"scriptscript"===e&&(r=B.SCRIPTSCRIPT),r},ta=(e,t)=>{var r,a=ea(e.size,t.style),n=a.fracNum(),i=a.fracDen();r=t.havingStyle(n);var o=St(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(p=t.fontMetrics().num2,u=c):(p=t.fontMetrics().num3,u=3*c),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*m){var r=new Nt.MathNode("mfrac",[Ot(e.numer,t),Ot(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=W(e.barSize,t);r.setAttribute("linethickness",_(a))}}else r.setAttribute("linethickness","0px");var n=ea(e.size,t.style);if(n.size!==t.style.size){r=new Nt.MathNode("mstyle",[r]);var i=n.size===B.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new Nt.MathNode("mo",[new Nt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new Nt.MathNode("mo",[new Nt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Ct(o)}return r};lt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],o=t[1],s=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),lt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var aa=["display","text","script","scriptscript"],na=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};lt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],o=mt(t[0]),s="atom"===o.type&&"open"===o.family?na(o.text):null,l=mt(t[1]),h="atom"===l.type&&"close"===l.family?na(l.text):null,m=Ut(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=Ut(u.body[0],"textord");p=aa[Number(d.text)]}}else u=Ut(u,"textord"),p=aa[Number(u.text)];return{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:p}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:n}}}),lt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ta,mathmlBuilder:ra});var ia=(e,t)=>{var r,a,n=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(n.sup()),t):St(e.sub,t.havingStyle(n.sub()),t),a=Ut(e.base,"horizBrace")):a=Ut(e,"horizBrace");var i,o=St(a.base,t.havingBaseStyle(B.DISPLAY)),s=Gt(a,t);if(a.isOver?(i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Qe.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t);i=a.isOver?Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Qe.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:ia,mathmlBuilder:(e,t)=>{var r=Ft(e.label);return new Nt.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ct(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return r instanceof Tt||(r=new Tt("mrow",[r])),r.setAttribute("href",e.href),r}}),lt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew Nt.MathNode("mrow",Rt(e.body,t))}),lt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:o}=e,s=Ut(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var m=s.split(","),c=0;c{var r=vt(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=Qe.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>Ht(e.body,t)}),lt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ct(t[0]),mathml:ct(t[1])}},htmlBuilder:(e,t)=>{var r=vt(e.html,t,!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>Ht(e.mathml,t)});var oa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!X(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};lt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var h=Ut(r[0],"raw").string.split(","),m=0;m{var r=W(e.height,t),a=0;e.totalheight.number>0&&(a=W(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=W(e.width,t));var i={height:_(r+a)};n>0&&(i.width=_(n)),a>0&&(i.verticalAlign=_(-a));var o=new ee(e.src,e.alt,i);return o.height=r,o.depth=a,o},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=W(e.height,t),n=0;if(e.totalheight.number>0&&(n=W(e.totalheight,t)-a,r.setAttribute("valign",_(-n))),r.setAttribute("height",_(a+n)),e.width.number>0){var i=W(e.width,t);r.setAttribute("width",_(i))}return r.setAttribute("src",e.src),r}}),lt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=Ut(t[0],"size");if(r.settings.strict){var i="m"===a[1],o="mu"===n.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>Qe.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=W(e.dimension,t);return new Nt.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=Qe.makeSpan([],[St(e.body,t)]),r=Qe.makeSpan(["inner"],[r],t)):r=Qe.makeSpan(["inner"],[St(e.body,t)]);var a=Qe.makeSpan(["fix"],[]),n=Qe.makeSpan([e.alignment],[r,a],t),i=Qe.makeSpan(["strut"]);return i.style.height=_(n.height+n.depth),n.depth&&(i.style.verticalAlign=_(-n.depth)),n.children.unshift(i),n=Qe.makeSpan(["thinbox"],[n],t),Qe.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var sa=(e,t)=>{switch(t.style.size){case B.DISPLAY.size:return e.display;case B.TEXT.size:return e.text;case B.SCRIPT.size:return e.script;case B.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ct(t[0]),text:ct(t[1]),script:ct(t[2]),scriptscript:ct(t[3])}},htmlBuilder:(e,t)=>{var r=sa(e,t),a=vt(r,t,!1);return Qe.makeFragment(a)},mathmlBuilder:(e,t)=>{var r=sa(e,t);return Ht(r,t)}});var la=(e,t,r,a,n,i,o)=>{e=Qe.makeSpan([],[e]);var s,l,h,m=r&&g(r);if(t){var c=St(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=St(r,a.havingStyle(n.sub()),a);s={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var u=a.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(s){var d=e.height-o;h=Qe.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var f=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var v=[h];if(s&&0!==i&&!m){var b=Qe.makeSpan(["mspace"],[],a);b.style.marginRight=_(i),v.unshift(b)}return Qe.makeSpan(["mop","op-limits"],v,a)},ha=["\\smallint"],ma=(e,t)=>{var r,a,n,i=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"op"),i=!0):n=Ut(e,"op");var o,s=t.style,l=!1;if(s.size===B.DISPLAY.size&&n.symbol&&!m(ha,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==n.name&&"\\oiiint"!==n.name||(c=n.name.slice(1),n.name="oiint"===c?"\\iint":"\\iiint"),o=Qe.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var p=o.italic,u=Qe.staticSvg(c+"Size"+(l?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:u,shift:l?.08:0}]},t),n.name="\\"+c,o.classes.unshift("mop"),o.italic=p}}else if(n.body){var d=vt(n.body,t,!0);1===d.length&&d[0]instanceof re?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var g=[],f=1;f{var r;if(e.symbol)r=new Tt("mo",[qt(e.name,e.mode)]),m(ha,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Tt("mo",Rt(e.body,t));else{r=new Tt("mi",[new Bt(e.name.slice(1))]);var a=new Tt("mo",[qt("⁡","text")]);r=e.parentIsSupSub?new Tt("mrow",[r,a]):At([r,a])}return r},pa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};lt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=pa[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ct(a)}},htmlBuilder:ma,mathmlBuilder:ca});var ua={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};lt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=ua[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:ca});var da=(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"operatorname"),o=!0):n=Ut(e,"operatorname"),n.body.length>0){for(var s=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),h=0;h{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:ct(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:da,mathmlBuilder:(e,t)=>{for(var r=Rt(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText())).join("");r=[new Nt.TextNode(s)]}var l=new Nt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new Nt.MathNode("mo",[qt("⁡","text")]);return e.parentIsSupSub?new Nt.MathNode("mrow",[l,h]):Nt.newDocumentFragment([l,h])}}),Pr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ht({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Qe.makeFragment(vt(e.body,t,!1)):Qe.makeSpan(["mord"],vt(e.body,t,!0),t),mathmlBuilder:(e,t)=>Ht(e.body,t,!0)}),lt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle()),a=Qe.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return Qe.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("mover",[Ot(e.body,t),r]);return a.setAttribute("accent","true"),a}}),lt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:ct(a)}},htmlBuilder:(e,t)=>{var r=vt(e.body,t.withPhantom(),!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Rt(e.body,t);return new Nt.MathNode("mphantom",r)}}),lt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan([],[St(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),lt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan(["inner"],[St(e.body,t.withPhantom())]),a=Qe.makeSpan(["fix"],[]);return Qe.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),lt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=Ut(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=St(e.body,t),a=W(e.dy,t);return Qe.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),lt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),lt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=Ut(t[0],"size"),o=Ut(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&Ut(n,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mord","rule"],[],t),a=W(e.width,t),n=W(e.height,t),i=e.shift?W(e.shift,t):0;return r.style.borderRightWidth=_(a),r.style.borderTopWidth=_(n),r.style.bottom=_(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=W(e.width,t),a=W(e.height,t),n=e.shift?W(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Nt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",_(r)),o.setAttribute("height",_(a));var s=new Nt.MathNode("mpadded",[o]);return n>=0?s.setAttribute("height",_(n)):(s.setAttribute("height",_(n)),s.setAttribute("depth",_(-n))),s.setAttribute("voffset",_(n)),s}});var fa=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:fa,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:fa.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ga(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=Rt(e.body,r),n=new Nt.MathNode("mstyle",a);return n.setAttribute("mathsize",_(r.sizeMultiplier)),n}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;l{var r=Qe.makeSpan([],[St(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),lt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Qe.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=s.height-r.height-i-l;r.style.paddingLeft=_(h);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var u=t.havingStyle(B.SCRIPTSCRIPT),d=St(e.index,u,t),g=.6*(p.height-p.depth),f=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=Qe.makeSpan(["root"],[f]);return Qe.makeSpan(["mord","sqrt"],[v,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new Nt.MathNode("mroot",[Ot(r,t),Ot(a,t)]):new Nt.MathNode("msqrt",[Ot(r,t)])}});var va={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r).withFont("");return ga(e.body,a,t)},mathmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r),n=Rt(e.body,a),i=new Nt.MathNode("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),ht({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===B.DISPLAY.size||r.alwaysHandleSupSub)?ma:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===B.DISPLAY.size||r.limits)?da:null:"accent"===r.type?g(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ia:null:null}(e,t);if(r)return r(e,t);var a,n,i,{base:o,sup:s,sub:l}=e,h=St(o,t),m=t.fontMetrics(),c=0,p=0,u=o&&g(o);if(s){var d=t.havingStyle(t.style.sup());a=St(s,d,t),u||(c=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());n=St(l,f,t),u||(p=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===B.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2;var v,b=t.sizeMultiplier,y=_(.5/m.ptPerEm/b),x=null;if(n){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof re||w)&&(x=_(-h.italic))}if(a&&n){c=Math.max(c,i,a.depth+.25*m.xHeight),p=Math.max(p,m.sub2);var k=4*m.defaultRuleThickness;if(c-a.depth-(n.height-p)0&&(c+=S,p-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p,marginRight:y,marginLeft:x},{type:"elem",elem:a,shift:-c,marginRight:y}]},t)}else if(n){p=Math.max(p,m.sub1,n.height-.8*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:p,children:[{type:"elem",elem:n,marginLeft:x,marginRight:y}]},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");c=Math.max(c,i,a.depth+.25*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:a,marginRight:y}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var r,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var n,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===B.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===B.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===B.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===B.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===B.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===B.DISPLAY)?"mover":"msup"}return new Nt.MathNode(n,i)}}),ht({type:"atom",htmlBuilder:(e,t)=>Qe.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[qt(e.text,e.mode)]);if("bin"===e.family){var a=It(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ba={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new Nt.MathNode("mi",[qt(e.text,e.mode,t)]),a=It(e,t)||"italic";return a!==ba[r.type]&&r.setAttribute("mathvariant",a),r}}),ht({type:"textord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=qt(e.text,e.mode,t),n=It(e,t)||"normal";return r="text"===e.mode?new Nt.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new Nt.MathNode("mn",[a]):"\\prime"===e.text?new Nt.MathNode("mo",[a]):new Nt.MathNode("mi",[a]),n!==ba[r.type]&&r.setAttribute("mathvariant",n),r}});var ya={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder(e,t){if(xa.hasOwnProperty(e.text)){var r=xa[e.text].className||"";if("text"===e.mode){var a=Qe.makeOrd(e,t,"textord");return a.classes.push(r),a}return Qe.makeSpan(["mspace",r],[Qe.mathsym(e.text,e.mode,t)],t)}if(ya.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",ya[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!xa.hasOwnProperty(e.text)){if(ya.hasOwnProperty(e.text))return new Nt.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Nt.MathNode("mtext",[new Nt.TextNode(" ")])}});var wa=()=>{var e=new Nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder(e,t){var r=new Nt.MathNode("mtable",[new Nt.MathNode("mtr",[wa(),new Nt.MathNode("mtd",[Ht(e.body,t)]),wa(),new Nt.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var ka={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Sa={"\\textbf":"textbf","\\textmd":"textmd"},Ma={"\\textit":"textit","\\textup":"textup"},za=(e,t)=>{var r=e.font;return r?ka[r]?t.withTextFontFamily(ka[r]):Sa[r]?t.withTextFontWeight(Sa[r]):t.withTextFontShape(Ma[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:ct(n),font:a}},htmlBuilder(e,t){var r=za(e,t),a=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=za(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=Qe.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("munder",[Ot(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return Qe.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new Nt.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Aa(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"␣":" "),Ta=it,Ba="[ \r\n\t]",Na="(\\\\[a-zA-Z@]+)"+Ba+"*",qa="[̀-ͯ]",Ca=new RegExp(qa+"+$"),Ia="("+Ba+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+qa+"*|[\ud800-\udbff][\udc00-\udfff]"+qa+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Na+"|\\\\[^\ud800-\udfff])";class Ra{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ia,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new n(o,new a(this,t,this.tokenRegex.lastIndex))}}class Ha{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Oa=Vr;Pr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Ea={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Ea[r.text])||a>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Ea[e.future().text])&&n{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,o=e.isDefined(n);if(o&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};Pr("\\newcommand",(e=>La(e,!1,!0))),Pr("\\renewcommand",(e=>La(e,!0,!1))),Pr("\\providecommand",(e=>La(e,!0,!0))),Pr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ta[r],he.math[r],he.text[r]),""})),Pr("\\bgroup","{"),Pr("\\egroup","}"),Pr("~","\\nobreakspace"),Pr("\\lq","`"),Pr("\\rq","'"),Pr("\\aa","\\r a"),Pr("\\AA","\\r A"),Pr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Pr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Pr("ℬ","\\mathscr{B}"),Pr("ℰ","\\mathscr{E}"),Pr("ℱ","\\mathscr{F}"),Pr("ℋ","\\mathscr{H}"),Pr("ℐ","\\mathscr{I}"),Pr("ℒ","\\mathscr{L}"),Pr("ℳ","\\mathscr{M}"),Pr("ℛ","\\mathscr{R}"),Pr("ℭ","\\mathfrak{C}"),Pr("ℌ","\\mathfrak{H}"),Pr("ℨ","\\mathfrak{Z}"),Pr("\\Bbbk","\\Bbb{k}"),Pr("·","\\cdotp"),Pr("\\llap","\\mathllap{\\textrm{#1}}"),Pr("\\rlap","\\mathrlap{\\textrm{#1}}"),Pr("\\clap","\\mathclap{\\textrm{#1}}"),Pr("\\mathstrut","\\vphantom{(}"),Pr("\\underbar","\\underline{\\text{#1}}"),Pr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Pr("\\ne","\\neq"),Pr("≠","\\neq"),Pr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Pr("∉","\\notin"),Pr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Pr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Pr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Pr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Pr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Pr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Pr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Pr("⟂","\\perp"),Pr("‼","\\mathclose{!\\mkern-0.8mu!}"),Pr("∌","\\notni"),Pr("⌜","\\ulcorner"),Pr("⌝","\\urcorner"),Pr("⌞","\\llcorner"),Pr("⌟","\\lrcorner"),Pr("©","\\copyright"),Pr("®","\\textregistered"),Pr("️","\\textregistered"),Pr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pr("⋮","\\vdots"),Pr("\\varGamma","\\mathit{\\Gamma}"),Pr("\\varDelta","\\mathit{\\Delta}"),Pr("\\varTheta","\\mathit{\\Theta}"),Pr("\\varLambda","\\mathit{\\Lambda}"),Pr("\\varXi","\\mathit{\\Xi}"),Pr("\\varPi","\\mathit{\\Pi}"),Pr("\\varSigma","\\mathit{\\Sigma}"),Pr("\\varUpsilon","\\mathit{\\Upsilon}"),Pr("\\varPhi","\\mathit{\\Phi}"),Pr("\\varPsi","\\mathit{\\Psi}"),Pr("\\varOmega","\\mathit{\\Omega}"),Pr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Da={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Da?t=Da[r]:("\\not"===r.slice(0,4)||r in he.math&&m(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Va={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pr("\\dotso",(function(e){return e.future().text in Va?"\\ldots\\,":"\\ldots"})),Pr("\\dotsc",(function(e){var t=e.future().text;return t in Va&&","!==t?"\\ldots\\,":"\\ldots"})),Pr("\\cdots",(function(e){return e.future().text in Va?"\\@cdots\\,":"\\@cdots"})),Pr("\\dotsb","\\cdots"),Pr("\\dotsm","\\cdots"),Pr("\\dotsi","\\!\\cdots"),Pr("\\dotsx","\\ldots\\,"),Pr("\\DOTSI","\\relax"),Pr("\\DOTSB","\\relax"),Pr("\\DOTSX","\\relax"),Pr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pr("\\,","\\tmspace+{3mu}{.1667em}"),Pr("\\thinspace","\\,"),Pr("\\>","\\mskip{4mu}"),Pr("\\:","\\tmspace+{4mu}{.2222em}"),Pr("\\medspace","\\:"),Pr("\\;","\\tmspace+{5mu}{.2777em}"),Pr("\\thickspace","\\;"),Pr("\\!","\\tmspace-{3mu}{.1667em}"),Pr("\\negthinspace","\\!"),Pr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pr("\\enspace","\\kern.5em "),Pr("\\enskip","\\hskip.5em\\relax"),Pr("\\quad","\\hskip1em\\relax"),Pr("\\qquad","\\hskip2em\\relax"),Pr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pr("\\tag@paren","\\tag@literal{({#1})}"),Pr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pr("\\newline","\\\\\\relax"),Pr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Pa=_(H["Main-Regular"]["T".charCodeAt(0)][1]-.7*H["Main-Regular"]["A".charCodeAt(0)][1]);Pr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pr("\\@hspace","\\hskip #1\\relax"),Pr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pr("\\ordinarycolon",":"),Pr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pr("∷","\\dblcolon"),Pr("∹","\\eqcolon"),Pr("≔","\\coloneqq"),Pr("≕","\\eqqcolon"),Pr("⩴","\\Coloneqq"),Pr("\\ratio","\\vcentcolon"),Pr("\\coloncolon","\\dblcolon"),Pr("\\colonequals","\\coloneqq"),Pr("\\coloncolonequals","\\Coloneqq"),Pr("\\equalscolon","\\eqqcolon"),Pr("\\equalscoloncolon","\\Eqqcolon"),Pr("\\colonminus","\\coloneq"),Pr("\\coloncolonminus","\\Coloneq"),Pr("\\minuscolon","\\eqcolon"),Pr("\\minuscoloncolon","\\Eqcolon"),Pr("\\coloncolonapprox","\\Colonapprox"),Pr("\\coloncolonsim","\\Colonsim"),Pr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Pr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Pr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Pr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Pr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Pr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Pr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Pr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Pr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Pr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Pr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Pr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Pr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Pr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Pr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Pr("\\imath","\\html@mathml{\\@imath}{ı}"),Pr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Pr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Pr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Pr("⟦","\\llbracket"),Pr("⟧","\\rrbracket"),Pr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Pr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Pr("⦃","\\lBrace"),Pr("⦄","\\rBrace"),Pr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Pr("⦵","\\minuso"),Pr("\\darr","\\downarrow"),Pr("\\dArr","\\Downarrow"),Pr("\\Darr","\\Downarrow"),Pr("\\lang","\\langle"),Pr("\\rang","\\rangle"),Pr("\\uarr","\\uparrow"),Pr("\\uArr","\\Uparrow"),Pr("\\Uarr","\\Uparrow"),Pr("\\N","\\mathbb{N}"),Pr("\\R","\\mathbb{R}"),Pr("\\Z","\\mathbb{Z}"),Pr("\\alef","\\aleph"),Pr("\\alefsym","\\aleph"),Pr("\\Alpha","\\mathrm{A}"),Pr("\\Beta","\\mathrm{B}"),Pr("\\bull","\\bullet"),Pr("\\Chi","\\mathrm{X}"),Pr("\\clubs","\\clubsuit"),Pr("\\cnums","\\mathbb{C}"),Pr("\\Complex","\\mathbb{C}"),Pr("\\Dagger","\\ddagger"),Pr("\\diamonds","\\diamondsuit"),Pr("\\empty","\\emptyset"),Pr("\\Epsilon","\\mathrm{E}"),Pr("\\Eta","\\mathrm{H}"),Pr("\\exist","\\exists"),Pr("\\harr","\\leftrightarrow"),Pr("\\hArr","\\Leftrightarrow"),Pr("\\Harr","\\Leftrightarrow"),Pr("\\hearts","\\heartsuit"),Pr("\\image","\\Im"),Pr("\\infin","\\infty"),Pr("\\Iota","\\mathrm{I}"),Pr("\\isin","\\in"),Pr("\\Kappa","\\mathrm{K}"),Pr("\\larr","\\leftarrow"),Pr("\\lArr","\\Leftarrow"),Pr("\\Larr","\\Leftarrow"),Pr("\\lrarr","\\leftrightarrow"),Pr("\\lrArr","\\Leftrightarrow"),Pr("\\Lrarr","\\Leftrightarrow"),Pr("\\Mu","\\mathrm{M}"),Pr("\\natnums","\\mathbb{N}"),Pr("\\Nu","\\mathrm{N}"),Pr("\\Omicron","\\mathrm{O}"),Pr("\\plusmn","\\pm"),Pr("\\rarr","\\rightarrow"),Pr("\\rArr","\\Rightarrow"),Pr("\\Rarr","\\Rightarrow"),Pr("\\real","\\Re"),Pr("\\reals","\\mathbb{R}"),Pr("\\Reals","\\mathbb{R}"),Pr("\\Rho","\\mathrm{P}"),Pr("\\sdot","\\cdot"),Pr("\\sect","\\S"),Pr("\\spades","\\spadesuit"),Pr("\\sub","\\subset"),Pr("\\sube","\\subseteq"),Pr("\\supe","\\supseteq"),Pr("\\Tau","\\mathrm{T}"),Pr("\\thetasym","\\vartheta"),Pr("\\weierp","\\wp"),Pr("\\Zeta","\\mathrm{Z}"),Pr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pr("\\bra","\\mathinner{\\langle{#1}|}"),Pr("\\ket","\\mathinner{|{#1}\\rangle}"),Pr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pr("\\Bra","\\left\\langle#1\\right|"),Pr("\\Ket","\\left|#1\\right\\rangle");var Fa=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),n.length&&r.macros.set("\\|",s));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};Pr("\\bra@ket",Fa(!1)),Pr("\\bra@set",Fa(!0)),Pr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pr("\\angln","{\\angl n}"),Pr("\\blue","\\textcolor{##6495ed}{#1}"),Pr("\\orange","\\textcolor{##ffa500}{#1}"),Pr("\\pink","\\textcolor{##ff00af}{#1}"),Pr("\\red","\\textcolor{##df0030}{#1}"),Pr("\\green","\\textcolor{##28ae7b}{#1}"),Pr("\\gray","\\textcolor{gray}{#1}"),Pr("\\purple","\\textcolor{##9d38bd}{#1}"),Pr("\\blueA","\\textcolor{##ccfaff}{#1}"),Pr("\\blueB","\\textcolor{##80f6ff}{#1}"),Pr("\\blueC","\\textcolor{##63d9ea}{#1}"),Pr("\\blueD","\\textcolor{##11accd}{#1}"),Pr("\\blueE","\\textcolor{##0c7f99}{#1}"),Pr("\\tealA","\\textcolor{##94fff5}{#1}"),Pr("\\tealB","\\textcolor{##26edd5}{#1}"),Pr("\\tealC","\\textcolor{##01d1c1}{#1}"),Pr("\\tealD","\\textcolor{##01a995}{#1}"),Pr("\\tealE","\\textcolor{##208170}{#1}"),Pr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pr("\\greenB","\\textcolor{##8af281}{#1}"),Pr("\\greenC","\\textcolor{##74cf70}{#1}"),Pr("\\greenD","\\textcolor{##1fab54}{#1}"),Pr("\\greenE","\\textcolor{##0d923f}{#1}"),Pr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pr("\\goldB","\\textcolor{##ffbb71}{#1}"),Pr("\\goldC","\\textcolor{##ff9c39}{#1}"),Pr("\\goldD","\\textcolor{##e07d10}{#1}"),Pr("\\goldE","\\textcolor{##a75a05}{#1}"),Pr("\\redA","\\textcolor{##fca9a9}{#1}"),Pr("\\redB","\\textcolor{##ff8482}{#1}"),Pr("\\redC","\\textcolor{##f9685d}{#1}"),Pr("\\redD","\\textcolor{##e84d39}{#1}"),Pr("\\redE","\\textcolor{##bc2612}{#1}"),Pr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pr("\\maroonD","\\textcolor{##ca337c}{#1}"),Pr("\\maroonE","\\textcolor{##9e034e}{#1}"),Pr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pr("\\purpleD","\\textcolor{##7854ab}{#1}"),Pr("\\purpleE","\\textcolor{##543b78}{#1}"),Pr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pr("\\mintB","\\textcolor{##edf2df}{#1}"),Pr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pr("\\grayD","\\textcolor{##d6d8da}{#1}"),Pr("\\grayE","\\textcolor{##babec2}{#1}"),Pr("\\grayF","\\textcolor{##888d93}{#1}"),Pr("\\grayG","\\textcolor{##626569}{#1}"),Pr("\\grayH","\\textcolor{##3b3e40}{#1}"),Pr("\\grayI","\\textcolor{##21242c}{#1}"),Pr("\\kaBlue","\\textcolor{##314453}{#1}"),Pr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ga={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ua{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ha(Oa,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ra(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:a,end:r}=this.consumeArg(["]"]))}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,n=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1==--o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var n=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(n=n.slice()).length-1;s>=0;--s){var l=n[s];if("#"===l.text){if(0===s)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--s]).text)n.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#"))for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n;for(var o=new Ra(a,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Ta.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Ga.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ta.hasOwnProperty(e)&&!Ta[e].primitive}}var Ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),Wa={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},_a={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ja{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ua(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==ja.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Ta[a.text]&&Ta[a.text].infix)break;var n=this.parseAtom(t);if(!n)break;"internal"!==n.type&&r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,h=he[this.mode][t].group,m=a.range(e);if(se.hasOwnProperty(h)){var c=h;l={type:"atom",mode:this.mode,family:c,loc:m,text:t}}else l={type:h,mode:this.mode,loc:m,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(C(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var p=0;p{r.r(t),r.d(t,{default:()=>Qa});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,a,n="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start,a=o.end,r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&̲");n+=(r>15?"…"+s.slice(r-15,r):s.slice(0,r))+l+(a+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g,h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m=function(e,t){return-1!==e.indexOf(t)},c=function(e,t){return void 0===e?t:e},p=function(e){return String(e).replace(l,(e=>s[e]))},u=function(e){return e.replace(o,"-$1").toLowerCase()},d=h,g=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},v={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},v)if(v.hasOwnProperty(t)){var r=v[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:b(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}return!(!a||"ignore"===a||!0!==a&&"error"!==a&&("warn"===a?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=f(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class x{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return w[k[this.id]]}sub(){return w[S[this.id]]}fracNum(){return w[M[this.id]]}fracDen(){return w[z[this.id]]}cramp(){return w[A[this.id]]}text(){return w[T[this.id]]}isTight(){return this.size>=2}}var w=[new x(0,0,!1),new x(1,0,!0),new x(2,1,!1),new x(3,1,!0),new x(4,2,!1),new x(5,2,!0),new x(6,3,!1),new x(7,3,!0)],k=[4,5,4,5,6,7,6,7],S=[5,5,5,5,7,7,7,7],M=[2,3,4,5,6,7,6,7],z=[3,3,5,5,7,7,7,7],A=[1,1,3,3,5,5,7,7],T=[0,1,2,3,2,3,2,3],B={DISPLAY:w[0],TEXT:w[2],SCRIPT:w[4],SCRIPTSCRIPT:w[6]},N=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],q=[];function C(e){for(var t=0;t=q[t]&&e<=q[t+1])return!0;return!1}N.forEach((e=>e.blocks.forEach((e=>q.push(...e)))));var I={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class R{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var H={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},O={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},E={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function L(e,t,r){if(!H[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=H[t][a];if(!n&&e[0]in E&&(a=E[e[0]].charCodeAt(0),n=H[t][a]),n||"text"!==r||C(a)&&(n=H[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var D={},V=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],P=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F=function(e,t){return t.size<2?e:V[e-1][t.size-1]};class G{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||G.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=P[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new G(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:F(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:P[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=F(G.BASESIZE,e);return this.size===t&&this.textSize===G.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==G.BASESIZE?["sizing","reset-size"+this.size,"size"+G.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!D[t=e>=5?0:e>=3?1:2]){var r=D[t]={cssEmPerMu:O.quad[t]/18};for(var a in O)O.hasOwnProperty(a)&&(r[a]=O[a][t])}return D[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}G.BASESIZE=6;var U={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Y={ex:!0,em:!0,mu:!0},X=function(e){return"string"!=typeof e&&(e=e.unit),e in U||e in Y||"ex"===e},W=function(e,t){var r;if(e.unit in U)r=U[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},_=function(e){return+e.toFixed(4)+"em"},j=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},Z=function(e){var t=document.createElement(e);for(var r in t.className=j(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class J{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"span")}toMarkup(){return K.call(this,"span")}}class Q{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"a")}toMarkup(){return K.call(this,"a")}}class ee{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+""}}var te={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class re{constructor(e,t,r,a,n,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=te[this.text])}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=_(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=j(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=u(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+p(r)+'"');var n=p(this.text);return e?(t+=">",t+=n,t+=""):n}}class ae{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r"}}class ne{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",I[this.pathName]),e}toMarkup(){return this.alternate?"":""}}class ie{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=""}}function oe(e){if(e instanceof re)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var se={bin:1,close:1,inner:1,open:1,punct:1,rel:1},le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},he={math:{},text:{}};function me(e,t,r,a,n,i){he[e][n]={font:t,group:r,replace:a},i&&a&&(he[e][a]=he[e][n])}var ce="math",pe="text",ue="main",de="ams",ge="accent-token",fe="bin",ve="close",be="inner",ye="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";me(ce,ue,Se,"≡","\\equiv",!0),me(ce,ue,Se,"≺","\\prec",!0),me(ce,ue,Se,"≻","\\succ",!0),me(ce,ue,Se,"∼","\\sim",!0),me(ce,ue,Se,"⊥","\\perp"),me(ce,ue,Se,"⪯","\\preceq",!0),me(ce,ue,Se,"⪰","\\succeq",!0),me(ce,ue,Se,"≃","\\simeq",!0),me(ce,ue,Se,"∣","\\mid",!0),me(ce,ue,Se,"≪","\\ll",!0),me(ce,ue,Se,"≫","\\gg",!0),me(ce,ue,Se,"≍","\\asymp",!0),me(ce,ue,Se,"∥","\\parallel"),me(ce,ue,Se,"⋈","\\bowtie",!0),me(ce,ue,Se,"⌣","\\smile",!0),me(ce,ue,Se,"⊑","\\sqsubseteq",!0),me(ce,ue,Se,"⊒","\\sqsupseteq",!0),me(ce,ue,Se,"≐","\\doteq",!0),me(ce,ue,Se,"⌢","\\frown",!0),me(ce,ue,Se,"∋","\\ni",!0),me(ce,ue,Se,"∝","\\propto",!0),me(ce,ue,Se,"⊢","\\vdash",!0),me(ce,ue,Se,"⊣","\\dashv",!0),me(ce,ue,Se,"∋","\\owns"),me(ce,ue,ke,".","\\ldotp"),me(ce,ue,ke,"⋅","\\cdotp"),me(ce,ue,ze,"#","\\#"),me(pe,ue,ze,"#","\\#"),me(ce,ue,ze,"&","\\&"),me(pe,ue,ze,"&","\\&"),me(ce,ue,ze,"ℵ","\\aleph",!0),me(ce,ue,ze,"∀","\\forall",!0),me(ce,ue,ze,"ℏ","\\hbar",!0),me(ce,ue,ze,"∃","\\exists",!0),me(ce,ue,ze,"∇","\\nabla",!0),me(ce,ue,ze,"♭","\\flat",!0),me(ce,ue,ze,"ℓ","\\ell",!0),me(ce,ue,ze,"♮","\\natural",!0),me(ce,ue,ze,"♣","\\clubsuit",!0),me(ce,ue,ze,"℘","\\wp",!0),me(ce,ue,ze,"♯","\\sharp",!0),me(ce,ue,ze,"♢","\\diamondsuit",!0),me(ce,ue,ze,"ℜ","\\Re",!0),me(ce,ue,ze,"♡","\\heartsuit",!0),me(ce,ue,ze,"ℑ","\\Im",!0),me(ce,ue,ze,"♠","\\spadesuit",!0),me(ce,ue,ze,"§","\\S",!0),me(pe,ue,ze,"§","\\S"),me(ce,ue,ze,"¶","\\P",!0),me(pe,ue,ze,"¶","\\P"),me(ce,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\textdagger"),me(ce,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\textdaggerdbl"),me(ce,ue,ve,"⎱","\\rmoustache",!0),me(ce,ue,we,"⎰","\\lmoustache",!0),me(ce,ue,ve,"⟯","\\rgroup",!0),me(ce,ue,we,"⟮","\\lgroup",!0),me(ce,ue,fe,"∓","\\mp",!0),me(ce,ue,fe,"⊖","\\ominus",!0),me(ce,ue,fe,"⊎","\\uplus",!0),me(ce,ue,fe,"⊓","\\sqcap",!0),me(ce,ue,fe,"∗","\\ast"),me(ce,ue,fe,"⊔","\\sqcup",!0),me(ce,ue,fe,"◯","\\bigcirc",!0),me(ce,ue,fe,"∙","\\bullet",!0),me(ce,ue,fe,"‡","\\ddagger"),me(ce,ue,fe,"≀","\\wr",!0),me(ce,ue,fe,"⨿","\\amalg"),me(ce,ue,fe,"&","\\And"),me(ce,ue,Se,"⟵","\\longleftarrow",!0),me(ce,ue,Se,"⇐","\\Leftarrow",!0),me(ce,ue,Se,"⟸","\\Longleftarrow",!0),me(ce,ue,Se,"⟶","\\longrightarrow",!0),me(ce,ue,Se,"⇒","\\Rightarrow",!0),me(ce,ue,Se,"⟹","\\Longrightarrow",!0),me(ce,ue,Se,"↔","\\leftrightarrow",!0),me(ce,ue,Se,"⟷","\\longleftrightarrow",!0),me(ce,ue,Se,"⇔","\\Leftrightarrow",!0),me(ce,ue,Se,"⟺","\\Longleftrightarrow",!0),me(ce,ue,Se,"↦","\\mapsto",!0),me(ce,ue,Se,"⟼","\\longmapsto",!0),me(ce,ue,Se,"↗","\\nearrow",!0),me(ce,ue,Se,"↩","\\hookleftarrow",!0),me(ce,ue,Se,"↪","\\hookrightarrow",!0),me(ce,ue,Se,"↘","\\searrow",!0),me(ce,ue,Se,"↼","\\leftharpoonup",!0),me(ce,ue,Se,"⇀","\\rightharpoonup",!0),me(ce,ue,Se,"↙","\\swarrow",!0),me(ce,ue,Se,"↽","\\leftharpoondown",!0),me(ce,ue,Se,"⇁","\\rightharpoondown",!0),me(ce,ue,Se,"↖","\\nwarrow",!0),me(ce,ue,Se,"⇌","\\rightleftharpoons",!0),me(ce,de,Se,"≮","\\nless",!0),me(ce,de,Se,"","\\@nleqslant"),me(ce,de,Se,"","\\@nleqq"),me(ce,de,Se,"⪇","\\lneq",!0),me(ce,de,Se,"≨","\\lneqq",!0),me(ce,de,Se,"","\\@lvertneqq"),me(ce,de,Se,"⋦","\\lnsim",!0),me(ce,de,Se,"⪉","\\lnapprox",!0),me(ce,de,Se,"⊀","\\nprec",!0),me(ce,de,Se,"⋠","\\npreceq",!0),me(ce,de,Se,"⋨","\\precnsim",!0),me(ce,de,Se,"⪹","\\precnapprox",!0),me(ce,de,Se,"≁","\\nsim",!0),me(ce,de,Se,"","\\@nshortmid"),me(ce,de,Se,"∤","\\nmid",!0),me(ce,de,Se,"⊬","\\nvdash",!0),me(ce,de,Se,"⊭","\\nvDash",!0),me(ce,de,Se,"⋪","\\ntriangleleft"),me(ce,de,Se,"⋬","\\ntrianglelefteq",!0),me(ce,de,Se,"⊊","\\subsetneq",!0),me(ce,de,Se,"","\\@varsubsetneq"),me(ce,de,Se,"⫋","\\subsetneqq",!0),me(ce,de,Se,"","\\@varsubsetneqq"),me(ce,de,Se,"≯","\\ngtr",!0),me(ce,de,Se,"","\\@ngeqslant"),me(ce,de,Se,"","\\@ngeqq"),me(ce,de,Se,"⪈","\\gneq",!0),me(ce,de,Se,"≩","\\gneqq",!0),me(ce,de,Se,"","\\@gvertneqq"),me(ce,de,Se,"⋧","\\gnsim",!0),me(ce,de,Se,"⪊","\\gnapprox",!0),me(ce,de,Se,"⊁","\\nsucc",!0),me(ce,de,Se,"⋡","\\nsucceq",!0),me(ce,de,Se,"⋩","\\succnsim",!0),me(ce,de,Se,"⪺","\\succnapprox",!0),me(ce,de,Se,"≆","\\ncong",!0),me(ce,de,Se,"","\\@nshortparallel"),me(ce,de,Se,"∦","\\nparallel",!0),me(ce,de,Se,"⊯","\\nVDash",!0),me(ce,de,Se,"⋫","\\ntriangleright"),me(ce,de,Se,"⋭","\\ntrianglerighteq",!0),me(ce,de,Se,"","\\@nsupseteqq"),me(ce,de,Se,"⊋","\\supsetneq",!0),me(ce,de,Se,"","\\@varsupsetneq"),me(ce,de,Se,"⫌","\\supsetneqq",!0),me(ce,de,Se,"","\\@varsupsetneqq"),me(ce,de,Se,"⊮","\\nVdash",!0),me(ce,de,Se,"⪵","\\precneqq",!0),me(ce,de,Se,"⪶","\\succneqq",!0),me(ce,de,Se,"","\\@nsubseteqq"),me(ce,de,fe,"⊴","\\unlhd"),me(ce,de,fe,"⊵","\\unrhd"),me(ce,de,Se,"↚","\\nleftarrow",!0),me(ce,de,Se,"↛","\\nrightarrow",!0),me(ce,de,Se,"⇍","\\nLeftarrow",!0),me(ce,de,Se,"⇏","\\nRightarrow",!0),me(ce,de,Se,"↮","\\nleftrightarrow",!0),me(ce,de,Se,"⇎","\\nLeftrightarrow",!0),me(ce,de,Se,"△","\\vartriangle"),me(ce,de,ze,"ℏ","\\hslash"),me(ce,de,ze,"▽","\\triangledown"),me(ce,de,ze,"◊","\\lozenge"),me(ce,de,ze,"Ⓢ","\\circledS"),me(ce,de,ze,"®","\\circledR"),me(pe,de,ze,"®","\\circledR"),me(ce,de,ze,"∡","\\measuredangle",!0),me(ce,de,ze,"∄","\\nexists"),me(ce,de,ze,"℧","\\mho"),me(ce,de,ze,"Ⅎ","\\Finv",!0),me(ce,de,ze,"⅁","\\Game",!0),me(ce,de,ze,"‵","\\backprime"),me(ce,de,ze,"▲","\\blacktriangle"),me(ce,de,ze,"▼","\\blacktriangledown"),me(ce,de,ze,"■","\\blacksquare"),me(ce,de,ze,"⧫","\\blacklozenge"),me(ce,de,ze,"★","\\bigstar"),me(ce,de,ze,"∢","\\sphericalangle",!0),me(ce,de,ze,"∁","\\complement",!0),me(ce,de,ze,"ð","\\eth",!0),me(pe,ue,ze,"ð","ð"),me(ce,de,ze,"╱","\\diagup"),me(ce,de,ze,"╲","\\diagdown"),me(ce,de,ze,"□","\\square"),me(ce,de,ze,"□","\\Box"),me(ce,de,ze,"◊","\\Diamond"),me(ce,de,ze,"¥","\\yen",!0),me(pe,de,ze,"¥","\\yen",!0),me(ce,de,ze,"✓","\\checkmark",!0),me(pe,de,ze,"✓","\\checkmark"),me(ce,de,ze,"ℶ","\\beth",!0),me(ce,de,ze,"ℸ","\\daleth",!0),me(ce,de,ze,"ℷ","\\gimel",!0),me(ce,de,ze,"ϝ","\\digamma",!0),me(ce,de,ze,"ϰ","\\varkappa"),me(ce,de,we,"┌","\\@ulcorner",!0),me(ce,de,ve,"┐","\\@urcorner",!0),me(ce,de,we,"└","\\@llcorner",!0),me(ce,de,ve,"┘","\\@lrcorner",!0),me(ce,de,Se,"≦","\\leqq",!0),me(ce,de,Se,"⩽","\\leqslant",!0),me(ce,de,Se,"⪕","\\eqslantless",!0),me(ce,de,Se,"≲","\\lesssim",!0),me(ce,de,Se,"⪅","\\lessapprox",!0),me(ce,de,Se,"≊","\\approxeq",!0),me(ce,de,fe,"⋖","\\lessdot"),me(ce,de,Se,"⋘","\\lll",!0),me(ce,de,Se,"≶","\\lessgtr",!0),me(ce,de,Se,"⋚","\\lesseqgtr",!0),me(ce,de,Se,"⪋","\\lesseqqgtr",!0),me(ce,de,Se,"≑","\\doteqdot"),me(ce,de,Se,"≓","\\risingdotseq",!0),me(ce,de,Se,"≒","\\fallingdotseq",!0),me(ce,de,Se,"∽","\\backsim",!0),me(ce,de,Se,"⋍","\\backsimeq",!0),me(ce,de,Se,"⫅","\\subseteqq",!0),me(ce,de,Se,"⋐","\\Subset",!0),me(ce,de,Se,"⊏","\\sqsubset",!0),me(ce,de,Se,"≼","\\preccurlyeq",!0),me(ce,de,Se,"⋞","\\curlyeqprec",!0),me(ce,de,Se,"≾","\\precsim",!0),me(ce,de,Se,"⪷","\\precapprox",!0),me(ce,de,Se,"⊲","\\vartriangleleft"),me(ce,de,Se,"⊴","\\trianglelefteq"),me(ce,de,Se,"⊨","\\vDash",!0),me(ce,de,Se,"⊪","\\Vvdash",!0),me(ce,de,Se,"⌣","\\smallsmile"),me(ce,de,Se,"⌢","\\smallfrown"),me(ce,de,Se,"≏","\\bumpeq",!0),me(ce,de,Se,"≎","\\Bumpeq",!0),me(ce,de,Se,"≧","\\geqq",!0),me(ce,de,Se,"⩾","\\geqslant",!0),me(ce,de,Se,"⪖","\\eqslantgtr",!0),me(ce,de,Se,"≳","\\gtrsim",!0),me(ce,de,Se,"⪆","\\gtrapprox",!0),me(ce,de,fe,"⋗","\\gtrdot"),me(ce,de,Se,"⋙","\\ggg",!0),me(ce,de,Se,"≷","\\gtrless",!0),me(ce,de,Se,"⋛","\\gtreqless",!0),me(ce,de,Se,"⪌","\\gtreqqless",!0),me(ce,de,Se,"≖","\\eqcirc",!0),me(ce,de,Se,"≗","\\circeq",!0),me(ce,de,Se,"≜","\\triangleq",!0),me(ce,de,Se,"∼","\\thicksim"),me(ce,de,Se,"≈","\\thickapprox"),me(ce,de,Se,"⫆","\\supseteqq",!0),me(ce,de,Se,"⋑","\\Supset",!0),me(ce,de,Se,"⊐","\\sqsupset",!0),me(ce,de,Se,"≽","\\succcurlyeq",!0),me(ce,de,Se,"⋟","\\curlyeqsucc",!0),me(ce,de,Se,"≿","\\succsim",!0),me(ce,de,Se,"⪸","\\succapprox",!0),me(ce,de,Se,"⊳","\\vartriangleright"),me(ce,de,Se,"⊵","\\trianglerighteq"),me(ce,de,Se,"⊩","\\Vdash",!0),me(ce,de,Se,"∣","\\shortmid"),me(ce,de,Se,"∥","\\shortparallel"),me(ce,de,Se,"≬","\\between",!0),me(ce,de,Se,"⋔","\\pitchfork",!0),me(ce,de,Se,"∝","\\varpropto"),me(ce,de,Se,"◀","\\blacktriangleleft"),me(ce,de,Se,"∴","\\therefore",!0),me(ce,de,Se,"∍","\\backepsilon"),me(ce,de,Se,"▶","\\blacktriangleright"),me(ce,de,Se,"∵","\\because",!0),me(ce,de,Se,"⋘","\\llless"),me(ce,de,Se,"⋙","\\gggtr"),me(ce,de,fe,"⊲","\\lhd"),me(ce,de,fe,"⊳","\\rhd"),me(ce,de,Se,"≂","\\eqsim",!0),me(ce,ue,Se,"⋈","\\Join"),me(ce,de,Se,"≑","\\Doteq",!0),me(ce,de,fe,"∔","\\dotplus",!0),me(ce,de,fe,"∖","\\smallsetminus"),me(ce,de,fe,"⋒","\\Cap",!0),me(ce,de,fe,"⋓","\\Cup",!0),me(ce,de,fe,"⩞","\\doublebarwedge",!0),me(ce,de,fe,"⊟","\\boxminus",!0),me(ce,de,fe,"⊞","\\boxplus",!0),me(ce,de,fe,"⋇","\\divideontimes",!0),me(ce,de,fe,"⋉","\\ltimes",!0),me(ce,de,fe,"⋊","\\rtimes",!0),me(ce,de,fe,"⋋","\\leftthreetimes",!0),me(ce,de,fe,"⋌","\\rightthreetimes",!0),me(ce,de,fe,"⋏","\\curlywedge",!0),me(ce,de,fe,"⋎","\\curlyvee",!0),me(ce,de,fe,"⊝","\\circleddash",!0),me(ce,de,fe,"⊛","\\circledast",!0),me(ce,de,fe,"⋅","\\centerdot"),me(ce,de,fe,"⊺","\\intercal",!0),me(ce,de,fe,"⋒","\\doublecap"),me(ce,de,fe,"⋓","\\doublecup"),me(ce,de,fe,"⊠","\\boxtimes",!0),me(ce,de,Se,"⇢","\\dashrightarrow",!0),me(ce,de,Se,"⇠","\\dashleftarrow",!0),me(ce,de,Se,"⇇","\\leftleftarrows",!0),me(ce,de,Se,"⇆","\\leftrightarrows",!0),me(ce,de,Se,"⇚","\\Lleftarrow",!0),me(ce,de,Se,"↞","\\twoheadleftarrow",!0),me(ce,de,Se,"↢","\\leftarrowtail",!0),me(ce,de,Se,"↫","\\looparrowleft",!0),me(ce,de,Se,"⇋","\\leftrightharpoons",!0),me(ce,de,Se,"↶","\\curvearrowleft",!0),me(ce,de,Se,"↺","\\circlearrowleft",!0),me(ce,de,Se,"↰","\\Lsh",!0),me(ce,de,Se,"⇈","\\upuparrows",!0),me(ce,de,Se,"↿","\\upharpoonleft",!0),me(ce,de,Se,"⇃","\\downharpoonleft",!0),me(ce,ue,Se,"⊶","\\origof",!0),me(ce,ue,Se,"⊷","\\imageof",!0),me(ce,de,Se,"⊸","\\multimap",!0),me(ce,de,Se,"↭","\\leftrightsquigarrow",!0),me(ce,de,Se,"⇉","\\rightrightarrows",!0),me(ce,de,Se,"⇄","\\rightleftarrows",!0),me(ce,de,Se,"↠","\\twoheadrightarrow",!0),me(ce,de,Se,"↣","\\rightarrowtail",!0),me(ce,de,Se,"↬","\\looparrowright",!0),me(ce,de,Se,"↷","\\curvearrowright",!0),me(ce,de,Se,"↻","\\circlearrowright",!0),me(ce,de,Se,"↱","\\Rsh",!0),me(ce,de,Se,"⇊","\\downdownarrows",!0),me(ce,de,Se,"↾","\\upharpoonright",!0),me(ce,de,Se,"⇂","\\downharpoonright",!0),me(ce,de,Se,"⇝","\\rightsquigarrow",!0),me(ce,de,Se,"⇝","\\leadsto"),me(ce,de,Se,"⇛","\\Rrightarrow",!0),me(ce,de,Se,"↾","\\restriction"),me(ce,ue,ze,"‘","`"),me(ce,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\textdollar"),me(ce,ue,ze,"%","\\%"),me(pe,ue,ze,"%","\\%"),me(ce,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\textunderscore"),me(ce,ue,ze,"∠","\\angle",!0),me(ce,ue,ze,"∞","\\infty",!0),me(ce,ue,ze,"′","\\prime"),me(ce,ue,ze,"△","\\triangle"),me(ce,ue,ze,"Γ","\\Gamma",!0),me(ce,ue,ze,"Δ","\\Delta",!0),me(ce,ue,ze,"Θ","\\Theta",!0),me(ce,ue,ze,"Λ","\\Lambda",!0),me(ce,ue,ze,"Ξ","\\Xi",!0),me(ce,ue,ze,"Π","\\Pi",!0),me(ce,ue,ze,"Σ","\\Sigma",!0),me(ce,ue,ze,"Υ","\\Upsilon",!0),me(ce,ue,ze,"Φ","\\Phi",!0),me(ce,ue,ze,"Ψ","\\Psi",!0),me(ce,ue,ze,"Ω","\\Omega",!0),me(ce,ue,ze,"A","Α"),me(ce,ue,ze,"B","Β"),me(ce,ue,ze,"E","Ε"),me(ce,ue,ze,"Z","Ζ"),me(ce,ue,ze,"H","Η"),me(ce,ue,ze,"I","Ι"),me(ce,ue,ze,"K","Κ"),me(ce,ue,ze,"M","Μ"),me(ce,ue,ze,"N","Ν"),me(ce,ue,ze,"O","Ο"),me(ce,ue,ze,"P","Ρ"),me(ce,ue,ze,"T","Τ"),me(ce,ue,ze,"X","Χ"),me(ce,ue,ze,"¬","\\neg",!0),me(ce,ue,ze,"¬","\\lnot"),me(ce,ue,ze,"⊤","\\top"),me(ce,ue,ze,"⊥","\\bot"),me(ce,ue,ze,"∅","\\emptyset"),me(ce,de,ze,"∅","\\varnothing"),me(ce,ue,ye,"α","\\alpha",!0),me(ce,ue,ye,"β","\\beta",!0),me(ce,ue,ye,"γ","\\gamma",!0),me(ce,ue,ye,"δ","\\delta",!0),me(ce,ue,ye,"ϵ","\\epsilon",!0),me(ce,ue,ye,"ζ","\\zeta",!0),me(ce,ue,ye,"η","\\eta",!0),me(ce,ue,ye,"θ","\\theta",!0),me(ce,ue,ye,"ι","\\iota",!0),me(ce,ue,ye,"κ","\\kappa",!0),me(ce,ue,ye,"λ","\\lambda",!0),me(ce,ue,ye,"μ","\\mu",!0),me(ce,ue,ye,"ν","\\nu",!0),me(ce,ue,ye,"ξ","\\xi",!0),me(ce,ue,ye,"ο","\\omicron",!0),me(ce,ue,ye,"π","\\pi",!0),me(ce,ue,ye,"ρ","\\rho",!0),me(ce,ue,ye,"σ","\\sigma",!0),me(ce,ue,ye,"τ","\\tau",!0),me(ce,ue,ye,"υ","\\upsilon",!0),me(ce,ue,ye,"ϕ","\\phi",!0),me(ce,ue,ye,"χ","\\chi",!0),me(ce,ue,ye,"ψ","\\psi",!0),me(ce,ue,ye,"ω","\\omega",!0),me(ce,ue,ye,"ε","\\varepsilon",!0),me(ce,ue,ye,"ϑ","\\vartheta",!0),me(ce,ue,ye,"ϖ","\\varpi",!0),me(ce,ue,ye,"ϱ","\\varrho",!0),me(ce,ue,ye,"ς","\\varsigma",!0),me(ce,ue,ye,"φ","\\varphi",!0),me(ce,ue,fe,"∗","*",!0),me(ce,ue,fe,"+","+"),me(ce,ue,fe,"−","-",!0),me(ce,ue,fe,"⋅","\\cdot",!0),me(ce,ue,fe,"∘","\\circ",!0),me(ce,ue,fe,"÷","\\div",!0),me(ce,ue,fe,"±","\\pm",!0),me(ce,ue,fe,"×","\\times",!0),me(ce,ue,fe,"∩","\\cap",!0),me(ce,ue,fe,"∪","\\cup",!0),me(ce,ue,fe,"∖","\\setminus",!0),me(ce,ue,fe,"∧","\\land"),me(ce,ue,fe,"∨","\\lor"),me(ce,ue,fe,"∧","\\wedge",!0),me(ce,ue,fe,"∨","\\vee",!0),me(ce,ue,ze,"√","\\surd"),me(ce,ue,we,"⟨","\\langle",!0),me(ce,ue,we,"∣","\\lvert"),me(ce,ue,we,"∥","\\lVert"),me(ce,ue,ve,"?","?"),me(ce,ue,ve,"!","!"),me(ce,ue,ve,"⟩","\\rangle",!0),me(ce,ue,ve,"∣","\\rvert"),me(ce,ue,ve,"∥","\\rVert"),me(ce,ue,Se,"=","="),me(ce,ue,Se,":",":"),me(ce,ue,Se,"≈","\\approx",!0),me(ce,ue,Se,"≅","\\cong",!0),me(ce,ue,Se,"≥","\\ge"),me(ce,ue,Se,"≥","\\geq",!0),me(ce,ue,Se,"←","\\gets"),me(ce,ue,Se,">","\\gt",!0),me(ce,ue,Se,"∈","\\in",!0),me(ce,ue,Se,"","\\@not"),me(ce,ue,Se,"⊂","\\subset",!0),me(ce,ue,Se,"⊃","\\supset",!0),me(ce,ue,Se,"⊆","\\subseteq",!0),me(ce,ue,Se,"⊇","\\supseteq",!0),me(ce,de,Se,"⊈","\\nsubseteq",!0),me(ce,de,Se,"⊉","\\nsupseteq",!0),me(ce,ue,Se,"⊨","\\models"),me(ce,ue,Se,"←","\\leftarrow",!0),me(ce,ue,Se,"≤","\\le"),me(ce,ue,Se,"≤","\\leq",!0),me(ce,ue,Se,"<","\\lt",!0),me(ce,ue,Se,"→","\\rightarrow",!0),me(ce,ue,Se,"→","\\to"),me(ce,de,Se,"≱","\\ngeq",!0),me(ce,de,Se,"≰","\\nleq",!0),me(ce,ue,Me," ","\\ "),me(ce,ue,Me," ","\\space"),me(ce,ue,Me," ","\\nobreakspace"),me(pe,ue,Me," ","\\ "),me(pe,ue,Me," "," "),me(pe,ue,Me," ","\\space"),me(pe,ue,Me," ","\\nobreakspace"),me(ce,ue,Me,null,"\\nobreak"),me(ce,ue,Me,null,"\\allowbreak"),me(ce,ue,ke,",",","),me(ce,ue,ke,";",";"),me(ce,de,fe,"⊼","\\barwedge",!0),me(ce,de,fe,"⊻","\\veebar",!0),me(ce,ue,fe,"⊙","\\odot",!0),me(ce,ue,fe,"⊕","\\oplus",!0),me(ce,ue,fe,"⊗","\\otimes",!0),me(ce,ue,ze,"∂","\\partial",!0),me(ce,ue,fe,"⊘","\\oslash",!0),me(ce,de,fe,"⊚","\\circledcirc",!0),me(ce,de,fe,"⊡","\\boxdot",!0),me(ce,ue,fe,"△","\\bigtriangleup"),me(ce,ue,fe,"▽","\\bigtriangledown"),me(ce,ue,fe,"†","\\dagger"),me(ce,ue,fe,"⋄","\\diamond"),me(ce,ue,fe,"⋆","\\star"),me(ce,ue,fe,"◃","\\triangleleft"),me(ce,ue,fe,"▹","\\triangleright"),me(ce,ue,we,"{","\\{"),me(pe,ue,ze,"{","\\{"),me(pe,ue,ze,"{","\\textbraceleft"),me(ce,ue,ve,"}","\\}"),me(pe,ue,ze,"}","\\}"),me(pe,ue,ze,"}","\\textbraceright"),me(ce,ue,we,"{","\\lbrace"),me(ce,ue,ve,"}","\\rbrace"),me(ce,ue,we,"[","\\lbrack",!0),me(pe,ue,ze,"[","\\lbrack",!0),me(ce,ue,ve,"]","\\rbrack",!0),me(pe,ue,ze,"]","\\rbrack",!0),me(ce,ue,we,"(","\\lparen",!0),me(ce,ue,ve,")","\\rparen",!0),me(pe,ue,ze,"<","\\textless",!0),me(pe,ue,ze,">","\\textgreater",!0),me(ce,ue,we,"⌊","\\lfloor",!0),me(ce,ue,ve,"⌋","\\rfloor",!0),me(ce,ue,we,"⌈","\\lceil",!0),me(ce,ue,ve,"⌉","\\rceil",!0),me(ce,ue,ze,"\\","\\backslash"),me(ce,ue,ze,"∣","|"),me(ce,ue,ze,"∣","\\vert"),me(pe,ue,ze,"|","\\textbar",!0),me(ce,ue,ze,"∥","\\|"),me(ce,ue,ze,"∥","\\Vert"),me(pe,ue,ze,"∥","\\textbardbl"),me(pe,ue,ze,"~","\\textasciitilde"),me(pe,ue,ze,"\\","\\textbackslash"),me(pe,ue,ze,"^","\\textasciicircum"),me(ce,ue,Se,"↑","\\uparrow",!0),me(ce,ue,Se,"⇑","\\Uparrow",!0),me(ce,ue,Se,"↓","\\downarrow",!0),me(ce,ue,Se,"⇓","\\Downarrow",!0),me(ce,ue,Se,"↕","\\updownarrow",!0),me(ce,ue,Se,"⇕","\\Updownarrow",!0),me(ce,ue,xe,"∐","\\coprod"),me(ce,ue,xe,"⋁","\\bigvee"),me(ce,ue,xe,"⋀","\\bigwedge"),me(ce,ue,xe,"⨄","\\biguplus"),me(ce,ue,xe,"⋂","\\bigcap"),me(ce,ue,xe,"⋃","\\bigcup"),me(ce,ue,xe,"∫","\\int"),me(ce,ue,xe,"∫","\\intop"),me(ce,ue,xe,"∬","\\iint"),me(ce,ue,xe,"∭","\\iiint"),me(ce,ue,xe,"∏","\\prod"),me(ce,ue,xe,"∑","\\sum"),me(ce,ue,xe,"⨂","\\bigotimes"),me(ce,ue,xe,"⨁","\\bigoplus"),me(ce,ue,xe,"⨀","\\bigodot"),me(ce,ue,xe,"∮","\\oint"),me(ce,ue,xe,"∯","\\oiint"),me(ce,ue,xe,"∰","\\oiiint"),me(ce,ue,xe,"⨆","\\bigsqcup"),me(ce,ue,xe,"∫","\\smallint"),me(pe,ue,be,"…","\\textellipsis"),me(ce,ue,be,"…","\\mathellipsis"),me(pe,ue,be,"…","\\ldots",!0),me(ce,ue,be,"…","\\ldots",!0),me(ce,ue,be,"⋯","\\@cdots",!0),me(ce,ue,be,"⋱","\\ddots",!0),me(ce,ue,ze,"⋮","\\varvdots"),me(ce,ue,ge,"ˊ","\\acute"),me(ce,ue,ge,"ˋ","\\grave"),me(ce,ue,ge,"¨","\\ddot"),me(ce,ue,ge,"~","\\tilde"),me(ce,ue,ge,"ˉ","\\bar"),me(ce,ue,ge,"˘","\\breve"),me(ce,ue,ge,"ˇ","\\check"),me(ce,ue,ge,"^","\\hat"),me(ce,ue,ge,"⃗","\\vec"),me(ce,ue,ge,"˙","\\dot"),me(ce,ue,ge,"˚","\\mathring"),me(ce,ue,ye,"","\\@imath"),me(ce,ue,ye,"","\\@jmath"),me(ce,ue,ze,"ı","ı"),me(ce,ue,ze,"ȷ","ȷ"),me(pe,ue,ze,"ı","\\i",!0),me(pe,ue,ze,"ȷ","\\j",!0),me(pe,ue,ze,"ß","\\ss",!0),me(pe,ue,ze,"æ","\\ae",!0),me(pe,ue,ze,"œ","\\oe",!0),me(pe,ue,ze,"ø","\\o",!0),me(pe,ue,ze,"Æ","\\AE",!0),me(pe,ue,ze,"Œ","\\OE",!0),me(pe,ue,ze,"Ø","\\O",!0),me(pe,ue,ge,"ˊ","\\'"),me(pe,ue,ge,"ˋ","\\`"),me(pe,ue,ge,"ˆ","\\^"),me(pe,ue,ge,"˜","\\~"),me(pe,ue,ge,"ˉ","\\="),me(pe,ue,ge,"˘","\\u"),me(pe,ue,ge,"˙","\\."),me(pe,ue,ge,"¸","\\c"),me(pe,ue,ge,"˚","\\r"),me(pe,ue,ge,"ˇ","\\v"),me(pe,ue,ge,"¨",'\\"'),me(pe,ue,ge,"˝","\\H"),me(pe,ue,ge,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};me(pe,ue,ze,"–","--",!0),me(pe,ue,ze,"–","\\textendash"),me(pe,ue,ze,"—","---",!0),me(pe,ue,ze,"—","\\textemdash"),me(pe,ue,ze,"‘","`",!0),me(pe,ue,ze,"‘","\\textquoteleft"),me(pe,ue,ze,"’","'",!0),me(pe,ue,ze,"’","\\textquoteright"),me(pe,ue,ze,"“","``",!0),me(pe,ue,ze,"“","\\textquotedblleft"),me(pe,ue,ze,"”","''",!0),me(pe,ue,ze,"”","\\textquotedblright"),me(ce,ue,ze,"°","\\degree",!0),me(pe,ue,ze,"°","\\degree"),me(pe,ue,ze,"°","\\textdegree",!0),me(ce,ue,ze,"£","\\pounds"),me(ce,ue,ze,"£","\\mathsterling",!0),me(pe,ue,ze,"£","\\pounds"),me(pe,ue,ze,"£","\\textsterling",!0),me(ce,de,ze,"✠","\\maltese"),me(pe,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);me(ce,ue,ze,Be,Be)}for(var Ne=0;Ne<25;Ne++){var qe='0123456789!@*()-=+";:?/.,'.charAt(Ne);me(pe,ue,ze,qe,qe)}for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=Ce.charAt(Ie);me(ce,ue,ye,Re,Re),me(pe,ue,ze,Re,Re)}me(ce,de,ze,"C","ℂ"),me(pe,de,ze,"C","ℂ"),me(ce,de,ze,"H","ℍ"),me(pe,de,ze,"H","ℍ"),me(ce,de,ze,"N","ℕ"),me(pe,de,ze,"N","ℕ"),me(ce,de,ze,"P","ℙ"),me(pe,de,ze,"P","ℙ"),me(ce,de,ze,"Q","ℚ"),me(pe,de,ze,"Q","ℚ"),me(ce,de,ze,"R","ℝ"),me(pe,de,ze,"R","ℝ"),me(ce,de,ze,"Z","ℤ"),me(pe,de,ze,"Z","ℤ"),me(ce,ue,ye,"h","ℎ"),me(pe,ue,ye,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=Ce.charAt(Oe);me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56320+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56372+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56424+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56580+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56736+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56788+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56840+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56944+Oe)),me(pe,ue,ze,Ee,He),Oe<26&&(me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56632+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56476+Oe)),me(pe,ue,ze,Ee,He))}me(ce,ue,ye,"k",He=String.fromCharCode(55349,56668)),me(pe,ue,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();me(ce,ue,ye,De,He=String.fromCharCode(55349,57294+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57314+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57324+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57334+Le)),me(pe,ue,ze,De,He)}for(var Ve=0;Ve<3;Ve++){var Pe="ÐÞþ".charAt(Ve);me(ce,ue,ye,Pe,Pe),me(pe,ue,ze,Pe,Pe)}var Fe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ue=function(e,t,r){return he[r][e]&&he[r][e].replace&&(e=he[r][e].replace),{value:e,metrics:L(e,t,r)}},Ye=function(e,t,r,a,n){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new re(e,s.height,s.depth,l,s.skew,s.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new re(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},Xe=(e,t)=>{if(j(e.classes)!==j(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},We=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},_e=function(e,t,r,a){var n=new J(e,t,r,a);return We(n),n},je=(e,t,r,a)=>new J(e,t,r,a),$e=function(e){var t=new R(e);return We(t),t},Ze=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ke={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Qe={fontMap:Ke,makeSymbol:Ye,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,a):Ye(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var a=_e([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=_(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new Q(e,t,r,a);return We(n),n},makeFragment:$e,wrapFragment:function(e,t){return e instanceof R?_e([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:a}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i{var r=_e(["mspace"],[],t),a=W(e,t);return r.style.marginRight=_(a),r},staticSvg:function(e,t){var[r,a,n]=Je[e],i=new ne(r),o=new ae([i],{width:_(a),height:_(n),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"}),s=je(["overlay"],[o],t);return s.height=n,s.style.height=_(n),s.style.width=_(a),s},svgData:Je,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&m(dt,a)?t.classes[0]="mord":"mbin"===a&&m(ut,r)&&(e.classes[0]="mord")}),{node:c},p,u),bt(n,((e,t)=>{var r=wt(t),a=wt(e),n=r&&a?e.hasClass("mtight")?nt[r][a]:at[r][a]:null;if(n)return Qe.makeGlue(n,l)}),{node:c},p,u),n},bt=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;or=>{t.splice(e+1,0,r),o++})(o)}}n&&t.pop()},yt=function(e){return e instanceof R||e instanceof Q||e instanceof J&&e.hasClass("enclosing")?e:null},xt=function e(t,r){var a=yt(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},wt=function(e,t){return e?(t&&(e=xt(e,t)),ft[e.classes[0]]||null):null},kt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(r))},St=function(e,t,r){if(!e)return pt();if(ot[e.type]){var a=ot[e.type](e,t);if(r&&t.size!==r.size){a=pt(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function Mt(e,t){var r=pt(["base"],e,t),a=pt(["strut"]);return a.style.height=_(r.height+r.depth),r.depth&&(a.style.verticalAlign=_(-r.depth)),r.children.unshift(a),r}function zt(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var a,n=vt(e,t,"root");2===n.length&&n[1].hasClass("tag")&&(a=n.pop());for(var i,o=[],s=[],l=0;l0&&(o.push(Mt(s,t)),s=[]),o.push(n[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):a&&o.push(a);var m=pt(["katex-html"],o);if(m.setAttribute("aria-hidden","true"),i){var c=i.children[0];c.style.height=_(m.height+m.depth),m.depth&&(c.style.verticalAlign=_(-m.depth))}return m}function At(e){return new R(e)}class Tt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=j(this.classes));for(var r=0;r0&&(e+=' class ="'+p(j(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map((e=>e.toText())).join("")}}class Bt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return p(this.toText())}toText(){return this.text}}var Nt={MathNode:Tt,TextNode:Bt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",_(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:At},qt=function(e,t,r){return!he[t][e]||!he[t][e].replace||55349===e.charCodeAt(0)||Ae.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=he[t][e].replace),new Nt.TextNode(e)},Ct=function(e){return 1===e.length?e[0]:new Nt.MathNode("mrow",e)},It=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var n=e.text;return m(["\\imath","\\jmath"],n)?null:(he[a][n]&&he[a][n].replace&&(n=he[a][n].replace),L(n,Qe.fontMap[r].fontName,a)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var a=Ot(e[0],t);return r&&a instanceof Tt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n,i=[],o=0;o0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(s),n=s}return i},Ht=function(e,t,r){return Ct(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Nt.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,a,n){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&m(["mrow","mtable"],o[0].type)?o[0]:new Nt.MathNode("mrow",o);var s=new Nt.MathNode("annotation",[new Nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Nt.MathNode("semantics",[i,s]),h=new Nt.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),Qe.makeSpan([n?"katex":"katex-mathml"],[h])}var Lt=function(e){return new G({style:e.displayMode?B.DISPLAY:B.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Qe.makeSpan(r,[e])}return e},Vt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Pt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ft=function(e){var t=new Nt.MathNode("mo",[new Nt.TextNode(Vt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(m(["widehat","widecheck","widetilde","utilde"],a)){var n,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,o=.42,i=a+"4"):(n=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][l],n=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=a+l):(r=[0,600,1033,2339,2340][l],n=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var h=new ne(i),c=new ae([h],{width:"100%",height:_(o),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[c],t),minWidth:0,height:o}}var p,u,d,g=[],f=Pt[a],[v,b,y]=f,x=y/1e3,w=v.length;if(1===w)p=["hide-tail"],u=[f[3]];else if(2===w)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=_(a)),r};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yt(e){var t=Xt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Xt(e){return e&&("atom"===e.type||le.hasOwnProperty(e.type))?e:null}var Wt=(e,t)=>{var r,a,n;e&&"supsub"===e.type?(r=(a=Ut(e.base,"accent")).base,e.base=r,n=function(e){if(e instanceof J)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=a):r=(a=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(a.isShifty&&g(r)){var s=d(r);o=oe(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===a.label,m=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(a.isStretchy)l=Gt(a,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+_(2*o)+")",marginLeft:_(2*o)}:void 0}]},t);else{var c,p;"\\vec"===a.label?(c=Qe.staticSvg("vec",t),p=Qe.svgData.vec[1]):((c=oe(c=Qe.makeOrd({mode:a.mode,text:a.label},t,"textord"))).italic=0,p=c.width,h&&(m+=c.depth)),l=Qe.makeSpan(["accent-body"],[c]);var u="\\textcircled"===a.label;u&&(l.classes.push("accent-full"),m=i.height);var f=o;u||(f-=p/2),l.style.left=_(f),"\\textcircled"===a.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return n?(n.children[0]=v,n.height=Math.max(v.height,n.height),n.classes[0]="mord",n):v},_t=(e,t)=>{var r=e.isStretchy?Ft(e.label):new Nt.MathNode("mo",[qt(e.label,e.mode)]),a=new Nt.MathNode("mover",[Ot(e.base,t),r]);return a.setAttribute("accent","true"),a},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));lt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=mt(t[0]),a=!jt.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=St(e.base,t),a=Gt(e,t),n="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Ft(e.label),a=new Nt.MathNode("munder",[Ot(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var $t=e=>{var t=new Nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};lt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Qe.wrapFragment(St(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Qe.wrapFragment(St(e.below,n,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=i.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Qe.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,a=Ft(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Nt.MathNode("munderover",[a,i,n])}else r=new Nt.MathNode("mover",[a,n])}else if(e.below){var o=$t(Ot(e.below,t));r=new Nt.MathNode("munder",[a,o])}else r=$t(),r=new Nt.MathNode("mover",[a,r]);return r}});var Zt=Qe.makeSpan;function Kt(e,t){var r=vt(e.body,t,!0);return Zt([e.mclass],r,t)}function Jt(e,t){var r,a=Rt(e.body,t);return"minner"===e.mclass?r=new Nt.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new Nt.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new Nt.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}lt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:ct(n),isCharacterBox:g(n)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};lt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Qt(t[0]),body:ct(t[1]),isCharacterBox:g(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],o=t[0];r="\\stackrel"!==n?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:ct(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===n?null:o,sub:"\\underset"===n?o:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:g(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Qt(t[0]),body:ct(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!0),a=Qe.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=Rt(e.body,t),a=new Nt.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=e=>"textord"===e.type&&"@"===e.text;function rr(e,t,r){var a=er[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n={type:"atom",text:a,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[n],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}lt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=Qe.wrapFragment(St(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=_(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new Nt.MathNode("mrow",[Ot(e.label,t)]);return(r=new Nt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Nt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Nt.MathNode("mrow",[Ot(e.fragment,t)])}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,a=Ut(t[0],"ordgroup").body,n="",o=0;o=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var ar=(e,t)=>{var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},nr=(e,t)=>{var r=Rt(e.body,t.withColor(e.color)),a=new Nt.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=Ut(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:ct(n)}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&Ut(n,"size").value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=_(W(e.size,t)))),r},mathmlBuilder(e,t){var r=new Nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",_(W(e.size,t)))),r}});var ir={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},or=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},sr=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(ir[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=ir[a.text]),Ut(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new i('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new i('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new i("Expected a macro definition");l[s].push(a.text)}var{tokens:h}=t.gullet.consumeArg();return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:s,delimiters:l},r===ir[r]),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken());t.gullet.consumeSpaces();var n=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return sr(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var a=L(he.math[e]&&he.math[e].replace||e,t,r);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},hr=function(e,t,r,a){var n=r.havingBaseStyle(t),i=Qe.makeSpan(a.concat(n.sizingClasses(r)),[e],r),o=n.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=n.sizeMultiplier,i},mr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=_(n),e.height-=n,e.depth+=n},cr=function(e,t,r,a,n,i){var o=function(e,t,r,a){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],a),B.TEXT,a,i);return r&&mr(s,a,B.TEXT),s},pr=function(e,t,r){return{type:"elem",elem:Qe.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[Qe.makeSpan([],[Qe.makeSymbol(e,t,r)])])}},ur=function(e,t,r){var a=H["Size4-Regular"][e.charCodeAt(0)]?H["Size4-Regular"][e.charCodeAt(0)][4]:H["Size1-Regular"][e.charCodeAt(0)][4],n=new ne("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new ae([n],{width:_(a),height:_(t),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=_(t),o.style.width=_(a),{type:"elem",elem:o}},dr={type:"kern",size:-.008},gr=["|","\\lvert","\\rvert","\\vert"],fr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,a,n,i){var o,s,l,h,c="",p=0;o=l=h=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):m(gr,e)?(l="∣",c="vert",p=333):m(fr,e)?(l="∥",c="doublevert",p=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",u="Size4-Regular",c="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",u="Size4-Regular",c="rbrack",p=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",u="Size4-Regular",c="lfloor",p=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",u="Size4-Regular",c="lceil",p=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",u="Size4-Regular",c="rfloor",p=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",u="Size4-Regular",c="rceil",p=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",u="Size4-Regular",c="lparen",p=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",u="Size4-Regular",c="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",u="Size4-Regular");var d=lr(o,u,n),g=d.height+d.depth,f=lr(l,u,n),v=f.height+f.depth,b=lr(h,u,n),y=b.height+b.depth,x=0,w=1;if(null!==s){var k=lr(s,u,n);x=k.height+k.depth,w=2}var S=g+y+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(c.length>0){var N=M-g-y,q=Math.round(1e3*M),C=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*N)),I=new ne(c,C),R=(p/1e3).toFixed(3)+"em",H=(q/1e3).toFixed(3)+"em",O=new ae([I],{width:R,height:H,viewBox:"0 0 "+p+" "+q}),E=Qe.makeSvgSpan([],[O],a);E.height=q/1e3,E.style.width=R,E.style.height=H,T.push({type:"elem",elem:E})}else{if(T.push(pr(h,u,n)),T.push(dr),null===s){var L=M-g-y+.016;T.push(ur(l,L,a))}else{var D=(M-g-y-x)/2+.016;T.push(ur(l,D,a)),T.push(dr),T.push(pr(s,u,n)),T.push(dr),T.push(ur(l,D,a))}T.push(dr),T.push(pr(o,u,n))}var V=a.havingBaseStyle(B.TEXT),P=Qe.makeVList({positionType:"bottom",positionData:A,children:T},V);return hr(Qe.makeSpan(["delimsizing","mult"],[P],V),B.TEXT,a,i)},br=.08,yr=function(e,t,r,a,n){var i=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e,t){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":a=function(e,t){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":a=function(e,t){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":a=function(e,t){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":a=function(e,t){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return a}(e,a,r),o=new ne(e,i),s=new ae([o],{width:"400em",height:_(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],n)},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],Ar=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);nt)return r[n]}return r[r.length-1]},Nr=function(e,t,r,a,n,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=m(kr,e)?Mr:m(xr,e)?Ar:zr;var s=Br(e,t,o,a);return"small"===s.type?function(e,t,r,a,n,i){var o=Qe.makeSymbol(e,"Main-Regular",n,a),s=hr(o,t,a,i);return r&&mr(s,a,t),s}(e,s.style,r,a,n,i):"large"===s.type?cr(e,s.size,r,a,n,i):vr(e,t,r,a,n,i)},qr={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=Br("\\surd",e*n.sizeMultiplier,Ar,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=yr("sqrtMain",l=(1+s+br)/o,m=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",a=.833/o):"large"===i.type?(m=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+br)/o,(r=yr("sqrtSize"+i.size,l,m,s,t)).style.minWidth="1.02em",a=1/o):(l=e+s+br,h=e+s,m=Math.floor(1e3*e+s)+80,(r=yr("sqrtTall",l,m,s,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=_(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m(xr,e)||m(kr,e))return cr(e,t,!1,r,a,n);if(m(wr,e))return vr(e,Sr[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Nr,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Nr(e,h,!0,a,n,i)}},Cr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ir=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rr(e,t){var r=Xt(e);if(r&&m(Ir,r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cr[e.funcName].size,mclass:Cr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?Qe.makeSpan([e.mclass]):qr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(qt(e.delim,e.mode));var r=new Nt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=_(qr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:r}}}),lt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=Ut(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Hr(e);for(var r,a,n=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l{Hr(e);var r=Rt(e.body,t);if("."!==e.left){var a=new Nt.MathNode("mo",[qt(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new Nt.MathNode("mo",[qt(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return Ct(r)}}),lt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=kt(t,[]);else{r=qr.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?qt("|","text"):qt(e.delim,e.mode),a=new Nt.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Or=(e,t)=>{var r,a,n,i=Qe.wrapFragment(St(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=g(e.body);if("sout"===o)(r=Qe.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var m=W({number:.6,unit:"pt"},t),c=W({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+m+c;i.style.paddingLeft=_(p/2+m);var u=Math.floor(1e3*p*s),d="M400000 "+(a=u)+" H0 L"+a/2+" 0 l65 45 L145 "+(a-80)+" H400000z",f=new ae([new ne("phase",d)],{width:"400em",height:_(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=Qe.makeSvgSpan(["hide-tail"],[f],t)).style.height=_(p),l=i.depth+m+c}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,b=0,y=0;/box/.test(o)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=v=t.fontMetrics().fboxsep+("colorbox"===o?0:y)):"angl"===o?(v=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-i.depth)):b=v=h?.2:0,r=function(e,t,r,a,n){var i,o=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=Qe.makeSpan(["stretchy",t],[],n),"fbox"===t){var s=n.color&&n.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ae(l,{width:"100%",height:_(o)});i=Qe.makeSvgSpan([],[h],n)}return i.height=o,i.style.height=_(o),i}(i,o,v,b,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=_(y)):"angl"===o&&.049!==y&&(r.style.borderTopWidth=_(y),r.style.borderRightWidth=_(y)),l=i.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var x=/cancel|phase/.test(o)?["svg-align"]:[];n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:x}]},t)}return/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!h?Qe.makeSpan(["mord","cancel-lap"],[n],t):Qe.makeSpan(["mord"],[n],t)},Er=(e,t)=>{var r=0,a=new Nt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Yr(e,t,r){var{hskipBeforeAndAfter:a,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(m)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(Fr(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(y+=.25),h.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(T+=b)&&(S=T),T=0),e.addJot&&(S+=g),M.height=k,M.depth=S,y+=k,M.pos=y,y+=S+T,l[r]=M,x(o[r+1])}var N,q,C=y/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=c(V.pregap,u))&&((N=Qe.makeSpan(["arraycolsep"],[])).style.width=_(Y),R.push(N));var X=[];for(r=0;r0){for(var K=Qe.makeLineSpan("hline",t,m),J=Qe.makeLineSpan("hdashline",t,m),Q=[{type:"elem",elem:l,shift:0}];h.length>0;){var ee=h.pop(),te=ee.pos-C;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Qe.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Qe.makeSpan(["mord"],[l],t);var re=Qe.makeVList({positionType:"individualShift",children:H},t);return re=Qe.makeSpan(["tag"],[re],t),Qe.makeFragment([l,re])},_r={c:"center ",l:"left ",r:"right "},jr=function(e,t){for(var r=[],a=new Nt.MathNode("mtd",[],["mtr-glue"]),n=new Nt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Yr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Yr(e.parser,a,Xr(e.envName))},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var o=Yr(e.parser,a,Xr(e.envName)),s=Math.max(0,...o.body.map((e=>e.length)));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Yr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Xr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m(["gather","gather*"],e.envName)&&Gr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Gr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,n,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(p)>-1))throw new i('Expected one of "<>AV=|." after @',h[c]);for(var d=0;d<2;d++){for(var g=!0,f=c+1;f{var r=e.font,a=t.withFont(r);return St(e.body,a)},Jr=(e,t)=>{var r=e.font,a=t.withFont(r);return Ot(e.body,a)},Qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};lt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=mt(t[0]),i=a;return i in Qr&&(i=Qr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Kr,mathmlBuilder:Jr}),lt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=g(a);return{type:"mclass",mode:r.mode,mclass:Qt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),lt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,o=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Kr,mathmlBuilder:Jr});var ea=(e,t)=>{var r=t;return"display"===e?r=r.id>=B.SCRIPT.id?r.text():B.DISPLAY:"text"===e&&r.size===B.DISPLAY.size?r=B.TEXT:"script"===e?r=B.SCRIPT:"scriptscript"===e&&(r=B.SCRIPTSCRIPT),r},ta=(e,t)=>{var r,a=ea(e.size,t.style),n=a.fracNum(),i=a.fracDen();r=t.havingStyle(n);var o=St(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(p=t.fontMetrics().num2,u=c):(p=t.fontMetrics().num3,u=3*c),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*m){var r=new Nt.MathNode("mfrac",[Ot(e.numer,t),Ot(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=W(e.barSize,t);r.setAttribute("linethickness",_(a))}}else r.setAttribute("linethickness","0px");var n=ea(e.size,t.style);if(n.size!==t.style.size){r=new Nt.MathNode("mstyle",[r]);var i=n.size===B.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new Nt.MathNode("mo",[new Nt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new Nt.MathNode("mo",[new Nt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Ct(o)}return r};lt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],o=t[1],s=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),lt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var aa=["display","text","script","scriptscript"],na=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};lt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],o=mt(t[0]),s="atom"===o.type&&"open"===o.family?na(o.text):null,l=mt(t[1]),h="atom"===l.type&&"close"===l.family?na(l.text):null,m=Ut(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=Ut(u.body[0],"textord");p=aa[Number(d.text)]}}else u=Ut(u,"textord"),p=aa[Number(u.text)];return{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:p}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:n}}}),lt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ta,mathmlBuilder:ra});var ia=(e,t)=>{var r,a,n=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(n.sup()),t):St(e.sub,t.havingStyle(n.sub()),t),a=Ut(e.base,"horizBrace")):a=Ut(e,"horizBrace");var i,o=St(a.base,t.havingBaseStyle(B.DISPLAY)),s=Gt(a,t);if(a.isOver?(i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Qe.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t);i=a.isOver?Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Qe.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:ia,mathmlBuilder:(e,t)=>{var r=Ft(e.label);return new Nt.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ct(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return r instanceof Tt||(r=new Tt("mrow",[r])),r.setAttribute("href",e.href),r}}),lt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew Nt.MathNode("mrow",Rt(e.body,t))}),lt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:o}=e,s=Ut(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var m=s.split(","),c=0;c{var r=vt(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=Qe.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>Ht(e.body,t)}),lt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ct(t[0]),mathml:ct(t[1])}},htmlBuilder:(e,t)=>{var r=vt(e.html,t,!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>Ht(e.mathml,t)});var oa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!X(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};lt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var h=Ut(r[0],"raw").string.split(","),m=0;m{var r=W(e.height,t),a=0;e.totalheight.number>0&&(a=W(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=W(e.width,t));var i={height:_(r+a)};n>0&&(i.width=_(n)),a>0&&(i.verticalAlign=_(-a));var o=new ee(e.src,e.alt,i);return o.height=r,o.depth=a,o},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=W(e.height,t),n=0;if(e.totalheight.number>0&&(n=W(e.totalheight,t)-a,r.setAttribute("valign",_(-n))),r.setAttribute("height",_(a+n)),e.width.number>0){var i=W(e.width,t);r.setAttribute("width",_(i))}return r.setAttribute("src",e.src),r}}),lt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=Ut(t[0],"size");if(r.settings.strict){var i="m"===a[1],o="mu"===n.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>Qe.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=W(e.dimension,t);return new Nt.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=Qe.makeSpan([],[St(e.body,t)]),r=Qe.makeSpan(["inner"],[r],t)):r=Qe.makeSpan(["inner"],[St(e.body,t)]);var a=Qe.makeSpan(["fix"],[]),n=Qe.makeSpan([e.alignment],[r,a],t),i=Qe.makeSpan(["strut"]);return i.style.height=_(n.height+n.depth),n.depth&&(i.style.verticalAlign=_(-n.depth)),n.children.unshift(i),n=Qe.makeSpan(["thinbox"],[n],t),Qe.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var sa=(e,t)=>{switch(t.style.size){case B.DISPLAY.size:return e.display;case B.TEXT.size:return e.text;case B.SCRIPT.size:return e.script;case B.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ct(t[0]),text:ct(t[1]),script:ct(t[2]),scriptscript:ct(t[3])}},htmlBuilder:(e,t)=>{var r=sa(e,t),a=vt(r,t,!1);return Qe.makeFragment(a)},mathmlBuilder:(e,t)=>{var r=sa(e,t);return Ht(r,t)}});var la=(e,t,r,a,n,i,o)=>{e=Qe.makeSpan([],[e]);var s,l,h,m=r&&g(r);if(t){var c=St(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=St(r,a.havingStyle(n.sub()),a);s={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var u=a.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(s){var d=e.height-o;h=Qe.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var f=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var v=[h];if(s&&0!==i&&!m){var b=Qe.makeSpan(["mspace"],[],a);b.style.marginRight=_(i),v.unshift(b)}return Qe.makeSpan(["mop","op-limits"],v,a)},ha=["\\smallint"],ma=(e,t)=>{var r,a,n,i=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"op"),i=!0):n=Ut(e,"op");var o,s=t.style,l=!1;if(s.size===B.DISPLAY.size&&n.symbol&&!m(ha,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==n.name&&"\\oiiint"!==n.name||(c=n.name.slice(1),n.name="oiint"===c?"\\iint":"\\iiint"),o=Qe.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var p=o.italic,u=Qe.staticSvg(c+"Size"+(l?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:u,shift:l?.08:0}]},t),n.name="\\"+c,o.classes.unshift("mop"),o.italic=p}}else if(n.body){var d=vt(n.body,t,!0);1===d.length&&d[0]instanceof re?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var g=[],f=1;f{var r;if(e.symbol)r=new Tt("mo",[qt(e.name,e.mode)]),m(ha,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Tt("mo",Rt(e.body,t));else{r=new Tt("mi",[new Bt(e.name.slice(1))]);var a=new Tt("mo",[qt("⁡","text")]);r=e.parentIsSupSub?new Tt("mrow",[r,a]):At([r,a])}return r},pa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};lt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=pa[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ct(a)}},htmlBuilder:ma,mathmlBuilder:ca});var ua={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};lt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=ua[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:ca});var da=(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"operatorname"),o=!0):n=Ut(e,"operatorname"),n.body.length>0){for(var s=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),h=0;h{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:ct(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:da,mathmlBuilder:(e,t)=>{for(var r=Rt(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText())).join("");r=[new Nt.TextNode(s)]}var l=new Nt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new Nt.MathNode("mo",[qt("⁡","text")]);return e.parentIsSupSub?new Nt.MathNode("mrow",[l,h]):Nt.newDocumentFragment([l,h])}}),Pr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ht({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Qe.makeFragment(vt(e.body,t,!1)):Qe.makeSpan(["mord"],vt(e.body,t,!0),t),mathmlBuilder:(e,t)=>Ht(e.body,t,!0)}),lt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle()),a=Qe.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return Qe.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("mover",[Ot(e.body,t),r]);return a.setAttribute("accent","true"),a}}),lt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:ct(a)}},htmlBuilder:(e,t)=>{var r=vt(e.body,t.withPhantom(),!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Rt(e.body,t);return new Nt.MathNode("mphantom",r)}}),lt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan([],[St(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),lt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan(["inner"],[St(e.body,t.withPhantom())]),a=Qe.makeSpan(["fix"],[]);return Qe.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),lt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=Ut(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=St(e.body,t),a=W(e.dy,t);return Qe.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),lt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),lt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=Ut(t[0],"size"),o=Ut(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&Ut(n,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mord","rule"],[],t),a=W(e.width,t),n=W(e.height,t),i=e.shift?W(e.shift,t):0;return r.style.borderRightWidth=_(a),r.style.borderTopWidth=_(n),r.style.bottom=_(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=W(e.width,t),a=W(e.height,t),n=e.shift?W(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Nt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",_(r)),o.setAttribute("height",_(a));var s=new Nt.MathNode("mpadded",[o]);return n>=0?s.setAttribute("height",_(n)):(s.setAttribute("height",_(n)),s.setAttribute("depth",_(-n))),s.setAttribute("voffset",_(n)),s}});var fa=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:fa,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:fa.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ga(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=Rt(e.body,r),n=new Nt.MathNode("mstyle",a);return n.setAttribute("mathsize",_(r.sizeMultiplier)),n}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;l{var r=Qe.makeSpan([],[St(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),lt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Qe.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=s.height-r.height-i-l;r.style.paddingLeft=_(h);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var u=t.havingStyle(B.SCRIPTSCRIPT),d=St(e.index,u,t),g=.6*(p.height-p.depth),f=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=Qe.makeSpan(["root"],[f]);return Qe.makeSpan(["mord","sqrt"],[v,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new Nt.MathNode("mroot",[Ot(r,t),Ot(a,t)]):new Nt.MathNode("msqrt",[Ot(r,t)])}});var va={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r).withFont("");return ga(e.body,a,t)},mathmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r),n=Rt(e.body,a),i=new Nt.MathNode("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),ht({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===B.DISPLAY.size||r.alwaysHandleSupSub)?ma:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===B.DISPLAY.size||r.limits)?da:null:"accent"===r.type?g(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ia:null:null}(e,t);if(r)return r(e,t);var a,n,i,{base:o,sup:s,sub:l}=e,h=St(o,t),m=t.fontMetrics(),c=0,p=0,u=o&&g(o);if(s){var d=t.havingStyle(t.style.sup());a=St(s,d,t),u||(c=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());n=St(l,f,t),u||(p=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===B.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2;var v,b=t.sizeMultiplier,y=_(.5/m.ptPerEm/b),x=null;if(n){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof re||w)&&(x=_(-h.italic))}if(a&&n){c=Math.max(c,i,a.depth+.25*m.xHeight),p=Math.max(p,m.sub2);var k=4*m.defaultRuleThickness;if(c-a.depth-(n.height-p)0&&(c+=S,p-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p,marginRight:y,marginLeft:x},{type:"elem",elem:a,shift:-c,marginRight:y}]},t)}else if(n){p=Math.max(p,m.sub1,n.height-.8*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:p,children:[{type:"elem",elem:n,marginLeft:x,marginRight:y}]},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");c=Math.max(c,i,a.depth+.25*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:a,marginRight:y}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var r,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var n,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===B.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===B.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===B.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===B.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===B.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===B.DISPLAY)?"mover":"msup"}return new Nt.MathNode(n,i)}}),ht({type:"atom",htmlBuilder:(e,t)=>Qe.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[qt(e.text,e.mode)]);if("bin"===e.family){var a=It(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ba={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new Nt.MathNode("mi",[qt(e.text,e.mode,t)]),a=It(e,t)||"italic";return a!==ba[r.type]&&r.setAttribute("mathvariant",a),r}}),ht({type:"textord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=qt(e.text,e.mode,t),n=It(e,t)||"normal";return r="text"===e.mode?new Nt.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new Nt.MathNode("mn",[a]):"\\prime"===e.text?new Nt.MathNode("mo",[a]):new Nt.MathNode("mi",[a]),n!==ba[r.type]&&r.setAttribute("mathvariant",n),r}});var ya={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder(e,t){if(xa.hasOwnProperty(e.text)){var r=xa[e.text].className||"";if("text"===e.mode){var a=Qe.makeOrd(e,t,"textord");return a.classes.push(r),a}return Qe.makeSpan(["mspace",r],[Qe.mathsym(e.text,e.mode,t)],t)}if(ya.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",ya[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!xa.hasOwnProperty(e.text)){if(ya.hasOwnProperty(e.text))return new Nt.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Nt.MathNode("mtext",[new Nt.TextNode(" ")])}});var wa=()=>{var e=new Nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder(e,t){var r=new Nt.MathNode("mtable",[new Nt.MathNode("mtr",[wa(),new Nt.MathNode("mtd",[Ht(e.body,t)]),wa(),new Nt.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var ka={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Sa={"\\textbf":"textbf","\\textmd":"textmd"},Ma={"\\textit":"textit","\\textup":"textup"},za=(e,t)=>{var r=e.font;return r?ka[r]?t.withTextFontFamily(ka[r]):Sa[r]?t.withTextFontWeight(Sa[r]):t.withTextFontShape(Ma[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:ct(n),font:a}},htmlBuilder(e,t){var r=za(e,t),a=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=za(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=Qe.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("munder",[Ot(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return Qe.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new Nt.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Aa(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"␣":" "),Ta=it,Ba="[ \r\n\t]",Na="(\\\\[a-zA-Z@]+)"+Ba+"*",qa="[̀-ͯ]",Ca=new RegExp(qa+"+$"),Ia="("+Ba+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+qa+"*|[\ud800-\udbff][\udc00-\udfff]"+qa+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Na+"|\\\\[^\ud800-\udfff])";class Ra{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ia,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new n(o,new a(this,t,this.tokenRegex.lastIndex))}}class Ha{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Oa=Vr;Pr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Ea={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Ea[r.text])||a>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Ea[e.future().text])&&n{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,o=e.isDefined(n);if(o&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};Pr("\\newcommand",(e=>La(e,!1,!0))),Pr("\\renewcommand",(e=>La(e,!0,!1))),Pr("\\providecommand",(e=>La(e,!0,!0))),Pr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ta[r],he.math[r],he.text[r]),""})),Pr("\\bgroup","{"),Pr("\\egroup","}"),Pr("~","\\nobreakspace"),Pr("\\lq","`"),Pr("\\rq","'"),Pr("\\aa","\\r a"),Pr("\\AA","\\r A"),Pr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Pr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Pr("ℬ","\\mathscr{B}"),Pr("ℰ","\\mathscr{E}"),Pr("ℱ","\\mathscr{F}"),Pr("ℋ","\\mathscr{H}"),Pr("ℐ","\\mathscr{I}"),Pr("ℒ","\\mathscr{L}"),Pr("ℳ","\\mathscr{M}"),Pr("ℛ","\\mathscr{R}"),Pr("ℭ","\\mathfrak{C}"),Pr("ℌ","\\mathfrak{H}"),Pr("ℨ","\\mathfrak{Z}"),Pr("\\Bbbk","\\Bbb{k}"),Pr("·","\\cdotp"),Pr("\\llap","\\mathllap{\\textrm{#1}}"),Pr("\\rlap","\\mathrlap{\\textrm{#1}}"),Pr("\\clap","\\mathclap{\\textrm{#1}}"),Pr("\\mathstrut","\\vphantom{(}"),Pr("\\underbar","\\underline{\\text{#1}}"),Pr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Pr("\\ne","\\neq"),Pr("≠","\\neq"),Pr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Pr("∉","\\notin"),Pr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Pr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Pr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Pr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Pr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Pr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Pr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Pr("⟂","\\perp"),Pr("‼","\\mathclose{!\\mkern-0.8mu!}"),Pr("∌","\\notni"),Pr("⌜","\\ulcorner"),Pr("⌝","\\urcorner"),Pr("⌞","\\llcorner"),Pr("⌟","\\lrcorner"),Pr("©","\\copyright"),Pr("®","\\textregistered"),Pr("️","\\textregistered"),Pr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pr("⋮","\\vdots"),Pr("\\varGamma","\\mathit{\\Gamma}"),Pr("\\varDelta","\\mathit{\\Delta}"),Pr("\\varTheta","\\mathit{\\Theta}"),Pr("\\varLambda","\\mathit{\\Lambda}"),Pr("\\varXi","\\mathit{\\Xi}"),Pr("\\varPi","\\mathit{\\Pi}"),Pr("\\varSigma","\\mathit{\\Sigma}"),Pr("\\varUpsilon","\\mathit{\\Upsilon}"),Pr("\\varPhi","\\mathit{\\Phi}"),Pr("\\varPsi","\\mathit{\\Psi}"),Pr("\\varOmega","\\mathit{\\Omega}"),Pr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Da={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Da?t=Da[r]:("\\not"===r.slice(0,4)||r in he.math&&m(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Va={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pr("\\dotso",(function(e){return e.future().text in Va?"\\ldots\\,":"\\ldots"})),Pr("\\dotsc",(function(e){var t=e.future().text;return t in Va&&","!==t?"\\ldots\\,":"\\ldots"})),Pr("\\cdots",(function(e){return e.future().text in Va?"\\@cdots\\,":"\\@cdots"})),Pr("\\dotsb","\\cdots"),Pr("\\dotsm","\\cdots"),Pr("\\dotsi","\\!\\cdots"),Pr("\\dotsx","\\ldots\\,"),Pr("\\DOTSI","\\relax"),Pr("\\DOTSB","\\relax"),Pr("\\DOTSX","\\relax"),Pr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pr("\\,","\\tmspace+{3mu}{.1667em}"),Pr("\\thinspace","\\,"),Pr("\\>","\\mskip{4mu}"),Pr("\\:","\\tmspace+{4mu}{.2222em}"),Pr("\\medspace","\\:"),Pr("\\;","\\tmspace+{5mu}{.2777em}"),Pr("\\thickspace","\\;"),Pr("\\!","\\tmspace-{3mu}{.1667em}"),Pr("\\negthinspace","\\!"),Pr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pr("\\enspace","\\kern.5em "),Pr("\\enskip","\\hskip.5em\\relax"),Pr("\\quad","\\hskip1em\\relax"),Pr("\\qquad","\\hskip2em\\relax"),Pr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pr("\\tag@paren","\\tag@literal{({#1})}"),Pr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pr("\\newline","\\\\\\relax"),Pr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Pa=_(H["Main-Regular"]["T".charCodeAt(0)][1]-.7*H["Main-Regular"]["A".charCodeAt(0)][1]);Pr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pr("\\@hspace","\\hskip #1\\relax"),Pr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pr("\\ordinarycolon",":"),Pr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pr("∷","\\dblcolon"),Pr("∹","\\eqcolon"),Pr("≔","\\coloneqq"),Pr("≕","\\eqqcolon"),Pr("⩴","\\Coloneqq"),Pr("\\ratio","\\vcentcolon"),Pr("\\coloncolon","\\dblcolon"),Pr("\\colonequals","\\coloneqq"),Pr("\\coloncolonequals","\\Coloneqq"),Pr("\\equalscolon","\\eqqcolon"),Pr("\\equalscoloncolon","\\Eqqcolon"),Pr("\\colonminus","\\coloneq"),Pr("\\coloncolonminus","\\Coloneq"),Pr("\\minuscolon","\\eqcolon"),Pr("\\minuscoloncolon","\\Eqcolon"),Pr("\\coloncolonapprox","\\Colonapprox"),Pr("\\coloncolonsim","\\Colonsim"),Pr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Pr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Pr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Pr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Pr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Pr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Pr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Pr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Pr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Pr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Pr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Pr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Pr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Pr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Pr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Pr("\\imath","\\html@mathml{\\@imath}{ı}"),Pr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Pr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Pr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Pr("⟦","\\llbracket"),Pr("⟧","\\rrbracket"),Pr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Pr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Pr("⦃","\\lBrace"),Pr("⦄","\\rBrace"),Pr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Pr("⦵","\\minuso"),Pr("\\darr","\\downarrow"),Pr("\\dArr","\\Downarrow"),Pr("\\Darr","\\Downarrow"),Pr("\\lang","\\langle"),Pr("\\rang","\\rangle"),Pr("\\uarr","\\uparrow"),Pr("\\uArr","\\Uparrow"),Pr("\\Uarr","\\Uparrow"),Pr("\\N","\\mathbb{N}"),Pr("\\R","\\mathbb{R}"),Pr("\\Z","\\mathbb{Z}"),Pr("\\alef","\\aleph"),Pr("\\alefsym","\\aleph"),Pr("\\Alpha","\\mathrm{A}"),Pr("\\Beta","\\mathrm{B}"),Pr("\\bull","\\bullet"),Pr("\\Chi","\\mathrm{X}"),Pr("\\clubs","\\clubsuit"),Pr("\\cnums","\\mathbb{C}"),Pr("\\Complex","\\mathbb{C}"),Pr("\\Dagger","\\ddagger"),Pr("\\diamonds","\\diamondsuit"),Pr("\\empty","\\emptyset"),Pr("\\Epsilon","\\mathrm{E}"),Pr("\\Eta","\\mathrm{H}"),Pr("\\exist","\\exists"),Pr("\\harr","\\leftrightarrow"),Pr("\\hArr","\\Leftrightarrow"),Pr("\\Harr","\\Leftrightarrow"),Pr("\\hearts","\\heartsuit"),Pr("\\image","\\Im"),Pr("\\infin","\\infty"),Pr("\\Iota","\\mathrm{I}"),Pr("\\isin","\\in"),Pr("\\Kappa","\\mathrm{K}"),Pr("\\larr","\\leftarrow"),Pr("\\lArr","\\Leftarrow"),Pr("\\Larr","\\Leftarrow"),Pr("\\lrarr","\\leftrightarrow"),Pr("\\lrArr","\\Leftrightarrow"),Pr("\\Lrarr","\\Leftrightarrow"),Pr("\\Mu","\\mathrm{M}"),Pr("\\natnums","\\mathbb{N}"),Pr("\\Nu","\\mathrm{N}"),Pr("\\Omicron","\\mathrm{O}"),Pr("\\plusmn","\\pm"),Pr("\\rarr","\\rightarrow"),Pr("\\rArr","\\Rightarrow"),Pr("\\Rarr","\\Rightarrow"),Pr("\\real","\\Re"),Pr("\\reals","\\mathbb{R}"),Pr("\\Reals","\\mathbb{R}"),Pr("\\Rho","\\mathrm{P}"),Pr("\\sdot","\\cdot"),Pr("\\sect","\\S"),Pr("\\spades","\\spadesuit"),Pr("\\sub","\\subset"),Pr("\\sube","\\subseteq"),Pr("\\supe","\\supseteq"),Pr("\\Tau","\\mathrm{T}"),Pr("\\thetasym","\\vartheta"),Pr("\\weierp","\\wp"),Pr("\\Zeta","\\mathrm{Z}"),Pr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pr("\\bra","\\mathinner{\\langle{#1}|}"),Pr("\\ket","\\mathinner{|{#1}\\rangle}"),Pr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pr("\\Bra","\\left\\langle#1\\right|"),Pr("\\Ket","\\left|#1\\right\\rangle");var Fa=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),n.length&&r.macros.set("\\|",s));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};Pr("\\bra@ket",Fa(!1)),Pr("\\bra@set",Fa(!0)),Pr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pr("\\angln","{\\angl n}"),Pr("\\blue","\\textcolor{##6495ed}{#1}"),Pr("\\orange","\\textcolor{##ffa500}{#1}"),Pr("\\pink","\\textcolor{##ff00af}{#1}"),Pr("\\red","\\textcolor{##df0030}{#1}"),Pr("\\green","\\textcolor{##28ae7b}{#1}"),Pr("\\gray","\\textcolor{gray}{#1}"),Pr("\\purple","\\textcolor{##9d38bd}{#1}"),Pr("\\blueA","\\textcolor{##ccfaff}{#1}"),Pr("\\blueB","\\textcolor{##80f6ff}{#1}"),Pr("\\blueC","\\textcolor{##63d9ea}{#1}"),Pr("\\blueD","\\textcolor{##11accd}{#1}"),Pr("\\blueE","\\textcolor{##0c7f99}{#1}"),Pr("\\tealA","\\textcolor{##94fff5}{#1}"),Pr("\\tealB","\\textcolor{##26edd5}{#1}"),Pr("\\tealC","\\textcolor{##01d1c1}{#1}"),Pr("\\tealD","\\textcolor{##01a995}{#1}"),Pr("\\tealE","\\textcolor{##208170}{#1}"),Pr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pr("\\greenB","\\textcolor{##8af281}{#1}"),Pr("\\greenC","\\textcolor{##74cf70}{#1}"),Pr("\\greenD","\\textcolor{##1fab54}{#1}"),Pr("\\greenE","\\textcolor{##0d923f}{#1}"),Pr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pr("\\goldB","\\textcolor{##ffbb71}{#1}"),Pr("\\goldC","\\textcolor{##ff9c39}{#1}"),Pr("\\goldD","\\textcolor{##e07d10}{#1}"),Pr("\\goldE","\\textcolor{##a75a05}{#1}"),Pr("\\redA","\\textcolor{##fca9a9}{#1}"),Pr("\\redB","\\textcolor{##ff8482}{#1}"),Pr("\\redC","\\textcolor{##f9685d}{#1}"),Pr("\\redD","\\textcolor{##e84d39}{#1}"),Pr("\\redE","\\textcolor{##bc2612}{#1}"),Pr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pr("\\maroonD","\\textcolor{##ca337c}{#1}"),Pr("\\maroonE","\\textcolor{##9e034e}{#1}"),Pr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pr("\\purpleD","\\textcolor{##7854ab}{#1}"),Pr("\\purpleE","\\textcolor{##543b78}{#1}"),Pr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pr("\\mintB","\\textcolor{##edf2df}{#1}"),Pr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pr("\\grayD","\\textcolor{##d6d8da}{#1}"),Pr("\\grayE","\\textcolor{##babec2}{#1}"),Pr("\\grayF","\\textcolor{##888d93}{#1}"),Pr("\\grayG","\\textcolor{##626569}{#1}"),Pr("\\grayH","\\textcolor{##3b3e40}{#1}"),Pr("\\grayI","\\textcolor{##21242c}{#1}"),Pr("\\kaBlue","\\textcolor{##314453}{#1}"),Pr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ga={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ua{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ha(Oa,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ra(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:a,end:r}=this.consumeArg(["]"]))}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,n=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1==--o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var n=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(n=n.slice()).length-1;s>=0;--s){var l=n[s];if("#"===l.text){if(0===s)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--s]).text)n.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#"))for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n;for(var o=new Ra(a,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Ta.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Ga.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ta.hasOwnProperty(e)&&!Ta[e].primitive}}var Ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),Wa={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},_a={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ja{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ua(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==ja.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Ta[a.text]&&Ta[a.text].infix)break;var n=this.parseAtom(t);if(!n)break;"internal"!==n.type&&r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,h=he[this.mode][t].group,m=a.range(e);if(se.hasOwnProperty(h)){var c=h;l={type:"atom",mode:this.mode,family:c,loc:m,text:t}}else l={type:h,mode:this.mode,loc:m,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(C(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var p=0;p{const e="daux-color-mode",t="dark",o="light",n="dark",r=function(){const n=window.localStorage.getItem(e);if("string"==typeof n)return n;const r=window.matchMedia("(prefers-color-scheme: dark)");return"boolean"==typeof r.matches&&r.matches?t:o}();document.body.classList.toggle(n,r===t);const l=document.body.querySelector(".ColorMode__button");l&&(l.checked=r===t,l.addEventListener("change",(r=>{const l=r.target.checked;document.body.classList.toggle(n,l),window.localStorage.setItem(e,l?t:o)}),!1))}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e].call(l.exports,l,l.exports,r),l.exports}r.m=o,r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>(({552:"mermaid",793:"katex"}[e]||e)+".mjs"),r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e={179:0},t=t=>{var o,n,{ids:l,modules:a,runtime:s}=t,c=0;for(o in a)r.o(a,o)&&(r.m[o]=a[o]);for(s&&s(r);c{var l=r.o(e,o)?e[o]:void 0;if(0!==l)if(l)n.push(l[1]);else{var a=import("./"+r.u(o)).then(t,(t=>{throw 0!==e[o]&&(e[o]=void 0),t}));a=Promise.race([a,new Promise((t=>l=e[o]=[t]))]),n.push(l[1]=a)}},(()=>{function e(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const t="daux_code_blocks_hidden";function o(e,o){for(let t=0;t{"0px"!==e.target.style.height&&(e.target.style.height="auto"),e.target.removeEventListener("transitionend",t)};e.addEventListener("transitionend",t)}(n),n.style.height=`${n.scrollHeight}px`,o.classList.add("Nav__item--open")):n.style.height="auto"}e((()=>{const e=document.querySelectorAll(".s-content pre"),n=document.querySelector(".CodeToggler");n&&(e.length?function(e,n){const r=e.querySelector(".CodeToggler__button--main");r.addEventListener("change",(e=>{o(n,!e.target.checked)}),!1);let l=!1;try{l=localStorage.getItem(t),"false"===l?l=!1:"true"===l&&(l=!0),l&&(o(n,!0),r.checked=!1)}catch(e){}}(n,e):n.classList.add("CodeToggler--hidden"))})),e((()=>{const e=document.querySelector(".Collapsible__trigger");if(e){const t=document.querySelector(".Collapsible__content");e.addEventListener("click",(o=>{t.classList.contains("Collapsible__content--open")?(t.style.height=0,t.classList.remove("Collapsible__content--open"),e.setAttribute("aria-expanded","false")):(e.setAttribute("aria-expanded","true"),t.style.transitionDuration="150ms",t.style.height=`${t.scrollHeight}px`,t.classList.add("Collapsible__content--open"))}))}})),e((()=>{const e=document.querySelectorAll("pre > code:not(.hljs, .katex)");e.length&&function(t,o){const n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=t,r.onload=()=>{[].forEach.call(e,window.hljs.highlightBlock)},n.appendChild(r)}(`${window.base_url}daux_libraries/highlight.pack.js`)})),e((()=>{const e=document.querySelectorAll("pre > code.katex");e.length&&(function(e){const t=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.href=e,t.appendChild(o)}(`${window.base_url}daux_libraries/katex.min.css`),r.e(793).then(r.bind(r,1008)).then((t=>{[].forEach.call(e,(e=>{const o=e.innerHTML,n=document.createElement("p"),r=document.createElement("span");n.className="katex-display",n.appendChild(r);const l=e.parentElement;l.parentElement.insertBefore(n,l),l.parentElement.removeChild(l),t.default.render(o,r,{throwOnError:!1})}))}),(e=>{console.error("Could not load katex",e)})))})),e((()=>{const e=document.querySelectorAll("div.mermaid");e.length&&r.e(552).then(r.bind(r,5484)).then((t=>{t.default.run({nodes:e})}),(e=>{console.error("Could not load katex",e)}))})),e((()=>{const e=document.querySelectorAll(".Nav__item.has-children i.Nav__arrow");for(let t,o=e.length-1;o>=0;o--)t=e[o],t.addEventListener("click",n),t.parentNode.parentNode.classList.contains("Nav__item--open")&&n({target:t});const t=document.querySelectorAll(".Nav__item__link--nopage");for(const e of t)e.addEventListener("click",n)})),r(9835)})(); \ No newline at end of file +var e,t,o={9835:()=>{const e="daux-color-mode",t="dark",o="light",n="dark",r=function(){const n=window.localStorage.getItem(e);if("string"==typeof n)return n;const r=window.matchMedia("(prefers-color-scheme: dark)");return"boolean"==typeof r.matches&&r.matches?t:o}();document.body.classList.toggle(n,r===t);const l=document.body.querySelector(".ColorMode__button");l&&(l.checked=r===t,l.addEventListener("change",(r=>{const l=r.target.checked;document.body.classList.toggle(n,l),window.localStorage.setItem(e,l?t:o)}),!1))}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e].call(l.exports,l,l.exports,r),l.exports}r.m=o,r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>(({552:"mermaid",793:"katex"}[e]||e)+".mjs"),r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e={179:0},t=t=>{var o,n,{ids:l,modules:a,runtime:s}=t,c=0;for(o in a)r.o(a,o)&&(r.m[o]=a[o]);for(s&&s(r);c{var l=r.o(e,o)?e[o]:void 0;if(0!==l)if(l)n.push(l[1]);else{var a=import("./"+r.u(o)).then(t,(t=>{throw 0!==e[o]&&(e[o]=void 0),t}));a=Promise.race([a,new Promise((t=>l=e[o]=[t]))]),n.push(l[1]=a)}},(()=>{function e(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const t="daux_code_blocks_hidden";function o(e,o){for(let t=0;t{"0px"!==e.target.style.height&&(e.target.style.height="auto"),e.target.removeEventListener("transitionend",t)};e.addEventListener("transitionend",t)}(n),n.style.height=`${n.scrollHeight}px`,o.classList.add("Nav__item--open")):n.style.height="auto"}e((()=>{const e=document.querySelectorAll(".s-content pre"),n=document.querySelector(".CodeToggler");n&&(e.length?function(e,n){const r=e.querySelector(".CodeToggler__button--main");r.addEventListener("change",(e=>{o(n,!e.target.checked)}),!1);let l=!1;try{l=localStorage.getItem(t),"false"===l?l=!1:"true"===l&&(l=!0),l&&(o(n,!0),r.checked=!1)}catch(e){}}(n,e):n.classList.add("CodeToggler--hidden"))})),e((()=>{const e=document.querySelector(".Collapsible__trigger");if(e){const t=document.querySelector(".Collapsible__content");e.addEventListener("click",(o=>{t.classList.contains("Collapsible__content--open")?(t.style.height=0,t.classList.remove("Collapsible__content--open"),e.setAttribute("aria-expanded","false")):(e.setAttribute("aria-expanded","true"),t.style.transitionDuration="150ms",t.style.height=`${t.scrollHeight}px`,t.classList.add("Collapsible__content--open"))}))}})),e((()=>{const e=document.querySelectorAll("pre > code:not(.hljs, .katex)");e.length&&function(t,o){const n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=t,r.onload=()=>{[].forEach.call(e,window.hljs.highlightBlock)},n.appendChild(r)}(`${window.base_url}daux_libraries/highlight.pack.js`)})),e((()=>{const e=document.querySelectorAll("pre > code.katex");e.length&&(function(e){const t=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.href=e,t.appendChild(o)}(`${window.base_url}daux_libraries/katex.min.css`),r.e(793).then(r.bind(r,1008)).then((t=>{[].forEach.call(e,(e=>{const o=e.innerHTML,n=document.createElement("p"),r=document.createElement("span");n.className="katex-display",n.appendChild(r);const l=e.parentElement;l.parentElement.insertBefore(n,l),l.parentElement.removeChild(l),t.default.render(o,r,{throwOnError:!1})}))}),(e=>{console.error("Could not load katex",e)})))})),e((()=>{const e=document.querySelectorAll("div.mermaid");e.length&&r.e(552).then(r.bind(r,6637)).then((t=>{t.default.run({nodes:e})}),(e=>{console.error("Could not load katex",e)}))})),e((()=>{const e=document.querySelectorAll(".Nav__item.has-children i.Nav__arrow");for(let t,o=e.length-1;o>=0;o--)t=e[o],t.addEventListener("click",n),t.parentNode.parentNode.classList.contains("Nav__item--open")&&n({target:t});const t=document.querySelectorAll(".Nav__item__link--nopage");for(const e of t)e.addEventListener("click",n)})),r(9835)})(); \ No newline at end of file diff --git a/themes/daux/js/mermaid.mjs b/themes/daux/js/mermaid.mjs index 59a1974e..81e6a981 100644 --- a/themes/daux/js/mermaid.mjs +++ b/themes/daux/js/mermaid.mjs @@ -1,2 +1,2 @@ /*! For license information please see mermaid.mjs.LICENSE.txt */ -export const id=552;export const ids=[552];export const modules={7967:(t,e)=>{e.N=void 0;var i=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,n=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.N=function(t){var e,l=(e=t||"",e.replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(n,"").replace(o,"").trim();if(!l)return"about:blank";if(function(t){return s.indexOf(t[0])>-1}(l))return l;var h=l.match(a);if(!h)return l;var c=h[0];return i.test(c)?"about:blank":l}},7484:function(t){t.exports=function(){var t=6e4,e=36e5,i="millisecond",r="second",n="minute",o="hour",a="day",s="week",l="month",h="quarter",c="year",u="date",f="Invalid Date",d=/^(\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,g={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"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},m=function(t,e,i){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(i)+t},y={s:m,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),r=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(n,2,"0")},m:function t(e,i){if(e.date()1)return t(a[0])}else{var s=e.name;b[s]=e,n=s}return!r&&n&&(_=n),n||!r&&_},v=function(t,e){if(C(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new w(i)},k=y;k.l=x,k.i=C,k.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function g(t){this.$L=x(t.locale,null,!0),this.parse(t)}var m=g.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(d);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.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()},m.$utils=function(){return k},m.isValid=function(){return!(this.$d.toString()===f)},m.isSame=function(t,e){var i=v(t);return this.startOf(e)<=i&&i<=this.endOf(e)},m.isAfter=function(t,e){return v(t)t.length)&&(e=t.length);for(var i=0,r=new Array(e);i1?i-1:0),n=1;n/gm),U=u(/\${[\w\W]*}/gm),H=u(/^data-[\-\w.\u00B7-\uFFFF]/),Y=u(/^aria-[\-\w]+$/),V=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=u(/^(?:\w+script|data):/i),X=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=u(/^html$/i),Q=function(){return"undefined"==typeof window?null:window};return function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q(),n=function(t){return e(t)};if(n.version="2.4.5",n.removed=[],!i||!i.document||9!==i.document.nodeType)return n.isSupported=!1,n;var o=i.document,a=i.document,s=i.DocumentFragment,l=i.HTMLTemplateElement,h=i.Node,u=i.Element,f=i.NodeFilter,d=i.NamedNodeMap,p=void 0===d?i.NamedNodeMap||i.MozNamedAttrMap:d,g=i.HTMLFormElement,m=i.DOMParser,M=i.trustedTypes,K=u.prototype,tt=A(K,"cloneNode"),et=A(K,"nextSibling"),it=A(K,"childNodes"),rt=A(K,"parentNode");if("function"==typeof l){var nt=a.createElement("template");nt.content&&nt.content.ownerDocument&&(a=nt.content.ownerDocument)}var ot=function(e,i){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,n="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(n)&&(r=i.currentScript.getAttribute(n));var o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(M,o),at=ot?ot.createHTML(""):"",st=a,lt=st.implementation,ht=st.createNodeIterator,ct=st.createDocumentFragment,ut=st.getElementsByTagName,ft=o.importNode,dt={};try{dt=L(a).documentMode?a.documentMode:{}}catch(t){}var pt={};n.isSupported="function"==typeof rt&<&&void 0!==lt.createHTMLDocument&&9!==dt;var gt,mt,yt=W,_t=P,bt=U,Ct=H,xt=Y,vt=G,kt=X,wt=V,Tt=null,St=F({},[].concat(r(E),r(O),r(N),r(D),r(z))),Bt=null,Mt=F({},[].concat(r(Z),r(j),r(R),r(q))),Ft=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}})),Lt=null,At=null,Et=!0,Ot=!0,Nt=!1,It=!0,Dt=!1,$t=!1,zt=!1,Zt=!1,jt=!1,Rt=!1,qt=!1,Wt=!0,Pt=!1,Ut=!0,Ht=!1,Yt={},Vt=null,Gt=F({},["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"]),Xt=null,Jt=F({},["audio","video","img","source","image","track"]),Qt=null,Kt=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml",re=ie,ne=!1,oe=null,ae=F({},[te,ee,ie],x),se=["application/xhtml+xml","text/html"],le=null,he=a.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(e){le&&le===e||(e&&"object"===t(e)||(e={}),e=L(e),gt=gt=-1===se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,mt="application/xhtml+xml"===gt?x:C,Tt="ALLOWED_TAGS"in e?F({},e.ALLOWED_TAGS,mt):St,Bt="ALLOWED_ATTR"in e?F({},e.ALLOWED_ATTR,mt):Mt,oe="ALLOWED_NAMESPACES"in e?F({},e.ALLOWED_NAMESPACES,x):ae,Qt="ADD_URI_SAFE_ATTR"in e?F(L(Kt),e.ADD_URI_SAFE_ATTR,mt):Kt,Xt="ADD_DATA_URI_TAGS"in e?F(L(Jt),e.ADD_DATA_URI_TAGS,mt):Jt,Vt="FORBID_CONTENTS"in e?F({},e.FORBID_CONTENTS,mt):Gt,Lt="FORBID_TAGS"in e?F({},e.FORBID_TAGS,mt):{},At="FORBID_ATTR"in e?F({},e.FORBID_ATTR,mt):{},Yt="USE_PROFILES"in e&&e.USE_PROFILES,Et=!1!==e.ALLOW_ARIA_ATTR,Ot=!1!==e.ALLOW_DATA_ATTR,Nt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,It=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Dt=e.SAFE_FOR_TEMPLATES||!1,$t=e.WHOLE_DOCUMENT||!1,jt=e.RETURN_DOM||!1,Rt=e.RETURN_DOM_FRAGMENT||!1,qt=e.RETURN_TRUSTED_TYPE||!1,Zt=e.FORCE_BODY||!1,Wt=!1!==e.SANITIZE_DOM,Pt=e.SANITIZE_NAMED_PROPS||!1,Ut=!1!==e.KEEP_CONTENT,Ht=e.IN_PLACE||!1,wt=e.ALLOWED_URI_REGEXP||wt,re=e.NAMESPACE||ie,Ft=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ce(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ft.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ce(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ft.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ft.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Dt&&(Ot=!1),Rt&&(jt=!0),Yt&&(Tt=F({},r(z)),Bt=[],!0===Yt.html&&(F(Tt,E),F(Bt,Z)),!0===Yt.svg&&(F(Tt,O),F(Bt,j),F(Bt,q)),!0===Yt.svgFilters&&(F(Tt,N),F(Bt,j),F(Bt,q)),!0===Yt.mathMl&&(F(Tt,D),F(Bt,R),F(Bt,q))),e.ADD_TAGS&&(Tt===St&&(Tt=L(Tt)),F(Tt,e.ADD_TAGS,mt)),e.ADD_ATTR&&(Bt===Mt&&(Bt=L(Bt)),F(Bt,e.ADD_ATTR,mt)),e.ADD_URI_SAFE_ATTR&&F(Qt,e.ADD_URI_SAFE_ATTR,mt),e.FORBID_CONTENTS&&(Vt===Gt&&(Vt=L(Vt)),F(Vt,e.FORBID_CONTENTS,mt)),Ut&&(Tt["#text"]=!0),$t&&F(Tt,["html","head","body"]),Tt.table&&(F(Tt,["tbody"]),delete Lt.tbody),c&&c(e),le=e)},fe=F({},["mi","mo","mn","ms","mtext"]),de=F({},["foreignobject","desc","title","annotation-xml"]),pe=F({},["title","style","font","a","script"]),ge=F({},O);F(ge,N),F(ge,I);var me=F({},D);F(me,$);var ye=function(t){b(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=at}catch(e){t.remove()}}},_e=function(t,e){try{b(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){b(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Bt[t])if(jt||Rt)try{ye(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},be=function(t){var e,i;if(Zt)t=""+t;else{var r=v(t,/^[\r\n\t ]+/);i=r&&r[0]}"application/xhtml+xml"===gt&&re===ie&&(t=''+t+"");var n=ot?ot.createHTML(t):t;if(re===ie)try{e=(new m).parseFromString(n,gt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(re,"template",null);try{e.documentElement.innerHTML=ne?at:n}catch(t){}}var o=e.body||e.documentElement;return t&&i&&o.insertBefore(a.createTextNode(i),o.childNodes[0]||null),re===ie?ut.call(e,$t?"html":"body")[0]:$t?e.documentElement:o},Ce=function(t){return ht.call(t.ownerDocument||t,t,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,null,!1)},xe=function(e){return"object"===t(h)?e instanceof h:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ve=function(t,e,i){pt[t]&&y(pt[t],(function(t){t.call(n,e,i,le)}))},ke=function(t){var e,i;if(ve("beforeSanitizeElements",t,null),(i=t)instanceof g&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof p)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes))return ye(t),!0;if(S(/[\u0080-\uFFFF]/,t.nodeName))return ye(t),!0;var r=mt(t.nodeName);if(ve("uponSanitizeElement",t,{tagName:r,allowedTags:Tt}),t.hasChildNodes()&&!xe(t.firstElementChild)&&(!xe(t.content)||!xe(t.content.firstElementChild))&&S(/<[/\w]/g,t.innerHTML)&&S(/<[/\w]/g,t.textContent))return ye(t),!0;if("select"===r&&S(/